MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  propeqop Structured version   Visualization version   GIF version

Theorem propeqop 5415
Description: Equivalence for an ordered pair equal to a pair of ordered pairs. (Contributed by AV, 18-Sep-2020.) (Proof shortened by AV, 16-Jun-2022.) (Avoid depending on this detail.)
Hypotheses
Ref Expression
snopeqop.a 𝐴 ∈ V
snopeqop.b 𝐵 ∈ V
propeqop.c 𝐶 ∈ V
propeqop.d 𝐷 ∈ V
propeqop.e 𝐸 ∈ V
propeqop.f 𝐹 ∈ V
Assertion
Ref Expression
propeqop ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))

Proof of Theorem propeqop
StepHypRef Expression
1 snopeqop.a . . . . 5 𝐴 ∈ V
2 snopeqop.b . . . . 5 𝐵 ∈ V
31, 2opeqsn 5412 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸} ↔ (𝐴 = 𝐵𝐸 = {𝐴}))
4 propeqop.c . . . . 5 𝐶 ∈ V
5 propeqop.d . . . . 5 𝐷 ∈ V
6 propeqop.e . . . . 5 𝐸 ∈ V
7 propeqop.f . . . . 5 𝐹 ∈ V
84, 5, 6, 7opeqpr 5413 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
93, 8anbi12i 626 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ↔ ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
101, 2, 6, 7opeqpr 5413 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
114, 5opeqsn 5412 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸} ↔ (𝐶 = 𝐷𝐸 = {𝐶}))
1210, 11anbi12i 626 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸}) ↔ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
139, 12orbi12i 911 . 2 (((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
14 eqcom 2745 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
15 opex 5373 . . . 4 𝐴, 𝐵⟩ ∈ V
16 opex 5373 . . . 4 𝐶, 𝐷⟩ ∈ V
176, 7, 15, 16opeqpr 5413 . . 3 (⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
1814, 17bitri 274 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
19 simpl 482 . . . . . . . . 9 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → 𝐴 = 𝐵)
20 simpr 484 . . . . . . . . 9 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐴})
2119, 20anim12i 612 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐴 = 𝐵𝐸 = {𝐴}))
22 sneq 4568 . . . . . . . . . . . . 13 (𝐴 = 𝐶 → {𝐴} = {𝐶})
2322eqeq2d 2749 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} ↔ 𝐸 = {𝐶}))
2423biimpa 476 . . . . . . . . . . 11 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐶})
2524adantl 481 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
26 preq1 4666 . . . . . . . . . . . . . . 15 (𝐴 = 𝐶 → {𝐴, 𝐷} = {𝐶, 𝐷})
2726adantr 480 . . . . . . . . . . . . . 14 ((𝐴 = 𝐶𝐸 = {𝐴}) → {𝐴, 𝐷} = {𝐶, 𝐷})
2827eqeq2d 2749 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐹 = {𝐴, 𝐷} ↔ 𝐹 = {𝐶, 𝐷}))
2928biimpcd 248 . . . . . . . . . . . 12 (𝐹 = {𝐴, 𝐷} → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3029adantl 481 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3130imp 406 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐹 = {𝐶, 𝐷})
3225, 31jca 511 . . . . . . . . 9 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}))
3332orcd 869 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
3421, 33jca 511 . . . . . . 7 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
3534orcd 869 . . . . . 6 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
3635ex 412 . . . . 5 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
37 simpr 484 . . . . . . . . . . 11 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐹 = {𝐴, 𝐵})
3820, 37anim12i 612 . . . . . . . . . 10 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
3938ancoms 458 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
4039orcd 869 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
41 simpl 482 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐴 = 𝐶)
4241eqeq1d 2740 . . . . . . . . . . . 12 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐴 = 𝐷𝐶 = 𝐷))
4342biimpcd 248 . . . . . . . . . . 11 (𝐴 = 𝐷 → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4443adantr 480 . . . . . . . . . 10 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4544imp 406 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐶 = 𝐷)
4623biimpd 228 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} → 𝐸 = {𝐶}))
4746a1dd 50 . . . . . . . . . . 11 (𝐴 = 𝐶 → (𝐸 = {𝐴} → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶})))
4847imp 406 . . . . . . . . . 10 ((𝐴 = 𝐶𝐸 = {𝐴}) → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶}))
4948impcom 407 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
5045, 49jca 511 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐶 = 𝐷𝐸 = {𝐶}))
5140, 50jca 511 . . . . . . 7 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
5251olcd 870 . . . . . 6 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
5352ex 412 . . . . 5 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5436, 53jaoi 853 . . . 4 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5554impcom 407 . . 3 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
56 eqeq1 2742 . . . . . . . . . . . . 13 (𝐸 = {𝐶} → (𝐸 = {𝐴} ↔ {𝐶} = {𝐴}))
574sneqr 4768 . . . . . . . . . . . . . 14 ({𝐶} = {𝐴} → 𝐶 = 𝐴)
5857eqcomd 2744 . . . . . . . . . . . . 13 ({𝐶} = {𝐴} → 𝐴 = 𝐶)
5956, 58syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6059adantr 480 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
61 eqeq1 2742 . . . . . . . . . . . . 13 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} ↔ {𝐶, 𝐷} = {𝐴}))
624, 5preqsn 4789 . . . . . . . . . . . . . 14 ({𝐶, 𝐷} = {𝐴} ↔ (𝐶 = 𝐷𝐷 = 𝐴))
63 eqtr 2761 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐶 = 𝐴)
6463eqcomd 2744 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐶)
6562, 64sylbi 216 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → 𝐴 = 𝐶)
6661, 65syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6766adantr 480 . . . . . . . . . . 11 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6860, 67jaoi 853 . . . . . . . . . 10 (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6968com12 32 . . . . . . . . 9 (𝐸 = {𝐴} → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7069adantl 481 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7170impcom 407 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐴 = 𝐶)
72 simpr 484 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐸 = {𝐴})
7372adantl 481 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐸 = {𝐴})
7471, 73jca 511 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐴 = 𝐶𝐸 = {𝐴}))
75 simpl 482 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐴 = 𝐵)
7675adantr 480 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐴 = 𝐵)
77 eqeq1 2742 . . . . . . . . . . . . . . . . . 18 (𝐸 = {𝐴} → (𝐸 = {𝐶} ↔ {𝐴} = {𝐶}))
781sneqr 4768 . . . . . . . . . . . . . . . . . . 19 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
7978eqcomd 2744 . . . . . . . . . . . . . . . . . 18 ({𝐴} = {𝐶} → 𝐶 = 𝐴)
8077, 79syl6bi 252 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐴} → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8180adantl 481 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝐵𝐸 = {𝐴}) → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8281impcom 407 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐶 = 𝐴)
8382preq1d 4672 . . . . . . . . . . . . . 14 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → {𝐶, 𝐷} = {𝐴, 𝐷})
8483eqeq2d 2749 . . . . . . . . . . . . 13 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} ↔ 𝐹 = {𝐴, 𝐷}))
8584biimpd 228 . . . . . . . . . . . 12 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} → 𝐹 = {𝐴, 𝐷}))
8685impancom 451 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐹 = {𝐴, 𝐷}))
8786impcom 407 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐹 = {𝐴, 𝐷})
8876, 87jca 511 . . . . . . . . 9 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
8988ex 412 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
90 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . 22 (𝐷 = 𝐴𝐴 = 𝐷)
9190biimpi 215 . . . . . . . . . . . . . . . . . . . . 21 (𝐷 = 𝐴𝐴 = 𝐷)
9291adantl 481 . . . . . . . . . . . . . . . . . . . 20 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐷)
9392adantr 480 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐷)
9493adantr 480 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐴 = 𝐷)
95 simpr 484 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
9664eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵𝐶 = 𝐵))
9796biimpa 476 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐶 = 𝐵)
9897eqcomd 2744 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐵 = 𝐶)
991, 2preqsn 4789 . . . . . . . . . . . . . . . . . . . . . 22 ({𝐴, 𝐵} = {𝐶} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
10095, 98, 99sylanbrc 582 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐴, 𝐵} = {𝐶})
101100eqcomd 2744 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐶} = {𝐴, 𝐵})
102101eqeq2d 2749 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} ↔ 𝐹 = {𝐴, 𝐵}))
103102biimpa 476 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐹 = {𝐴, 𝐵})
10494, 103jca 511 . . . . . . . . . . . . . . . . 17 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))
105104ex 412 . . . . . . . . . . . . . . . 16 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
106105ex 412 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵 → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
107106com23 86 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10862, 107sylbi 216 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10961, 108syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
110109com23 86 . . . . . . . . . . 11 (𝐸 = {𝐶, 𝐷} → (𝐹 = {𝐶} → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
111110imp 406 . . . . . . . . . 10 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
112111com13 88 . . . . . . . . 9 (𝐴 = 𝐵 → (𝐸 = {𝐴} → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
113112imp 406 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11489, 113orim12d 961 . . . . . . 7 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
115114impcom 407 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11674, 115jca 511 . . . . 5 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
117116ancoms 458 . . . 4 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
118 eqeq1 2742 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} ↔ {𝐶} = {𝐴, 𝐵}))
119 eqcom 2745 . . . . . . . . . . . . . . . . . 18 ({𝐶} = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐶})
120119, 99bitri 274 . . . . . . . . . . . . . . . . 17 ({𝐶} = {𝐴, 𝐵} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
121 eqtr 2761 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐶)
122121adantr 480 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐴 = 𝐶)
123121eqcomd 2744 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐶 = 𝐴)
124 sneq 4568 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐶 = 𝐴 → {𝐶} = {𝐴})
125123, 124syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → {𝐶} = {𝐴})
126125eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} ↔ 𝐸 = {𝐴}))
127126biimpa 476 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐸 = {𝐴})
128122, 127jca 511 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))
129128ex 412 . . . . . . . . . . . . . . . . . . 19 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))
130129a1i13 27 . . . . . . . . . . . . . . . . . 18 (𝐶 = 𝐷 → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))))
131130com14 96 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐶} → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
132120, 131syl5bi 241 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → ({𝐶} = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
133118, 132sylbid 239 . . . . . . . . . . . . . . 15 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
134133com24 95 . . . . . . . . . . . . . 14 (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴})))))
135134impcom 407 . . . . . . . . . . . . 13 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴}))))
136135com13 88 . . . . . . . . . . . 12 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))))
137136imp 406 . . . . . . . . . . 11 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
13859adantl 481 . . . . . . . . . . . . . . . 16 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
139138com12 32 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
140139adantr 480 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
141140imp 406 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐴 = 𝐶)
142 simpl 482 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐴})
143142adantr 480 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐸 = {𝐴})
144141, 143jca 511 . . . . . . . . . . . 12 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → (𝐴 = 𝐶𝐸 = {𝐴}))
145144ex 412 . . . . . . . . . . 11 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
146137, 145jaoi 853 . . . . . . . . . 10 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
147146impcom 407 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → (𝐴 = 𝐶𝐸 = {𝐴}))
148 eqeq1 2742 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} ↔ {𝐴, 𝐵} = {𝐶}))
149 simpl 482 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐵)
150149adantr 480 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → 𝐴 = 𝐵)
151150adantr 480 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐴 = 𝐵)
152 eqtr 2761 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝐴 = 𝐶𝐶 = 𝐷) → 𝐴 = 𝐷)
153 dfsn2 4571 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 {𝐴} = {𝐴, 𝐴}
154 preq2 4667 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐴 = 𝐷 → {𝐴, 𝐴} = {𝐴, 𝐷})
155153, 154eqtrid 2790 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐴 = 𝐷 → {𝐴} = {𝐴, 𝐷})
156152, 155syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝐴 = 𝐶𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
157156ex 412 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 = 𝐶 → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
158121, 157syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
159158imp 406 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
160159eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} ↔ 𝐹 = {𝐴, 𝐷}))
161160biimpa 476 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐹 = {𝐴, 𝐷})
162151, 161jca 511 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
163162ex 412 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
164163ex 412 . . . . . . . . . . . . . . . . . 18 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
165164com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
16699, 165sylbi 216 . . . . . . . . . . . . . . . 16 ({𝐴, 𝐵} = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
167148, 166syl6bi 252 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
168167com23 86 . . . . . . . . . . . . . 14 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
169168imp 406 . . . . . . . . . . . . 13 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
170169com13 88 . . . . . . . . . . . 12 (𝐶 = 𝐷 → (𝐸 = {𝐶} → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
171170imp 406 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
17280imp 406 . . . . . . . . . . . . . . . . 17 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → 𝐶 = 𝐴)
173172eqeq1d 2740 . . . . . . . . . . . . . . . 16 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
174173biimpd 228 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
175174ex 412 . . . . . . . . . . . . . 14 (𝐸 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷𝐴 = 𝐷)))
176175com13 88 . . . . . . . . . . . . 13 (𝐶 = 𝐷 → (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐷)))
177176imp 406 . . . . . . . . . . . 12 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐷))
178177anim1d 610 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
179171, 178orim12d 961 . . . . . . . . . 10 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
180179imp 406 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
181147, 180jca 511 . . . . . . . 8 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
182181ex 412 . . . . . . 7 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
183182com12 32 . . . . . 6 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
184183orcoms 868 . . . . 5 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
185184imp 406 . . . 4 ((((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
186117, 185jaoi 853 . . 3 ((((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
18755, 186impbii 208 . 2 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
18813, 18, 1873bitr4i 302 1 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  Vcvv 3422  {csn 4558  {cpr 4560  cop 4564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565
This theorem is referenced by:  propssopi  5416  fun2dmnopgexmpl  44663
  Copyright terms: Public domain W3C validator