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

Theorem propeqop 5421
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 5418 . . . 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 5419 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
93, 8anbi12i 627 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ↔ ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
101, 2, 6, 7opeqpr 5419 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
114, 5opeqsn 5418 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸} ↔ (𝐶 = 𝐷𝐸 = {𝐶}))
1210, 11anbi12i 627 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸}) ↔ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
139, 12orbi12i 912 . 2 (((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
14 eqcom 2745 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
15 opex 5379 . . . 4 𝐴, 𝐵⟩ ∈ V
16 opex 5379 . . . 4 𝐶, 𝐷⟩ ∈ V
176, 7, 15, 16opeqpr 5419 . . 3 (⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
1814, 17bitri 274 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
19 simpl 483 . . . . . . . . 9 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → 𝐴 = 𝐵)
20 simpr 485 . . . . . . . . 9 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐴})
2119, 20anim12i 613 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐴 = 𝐵𝐸 = {𝐴}))
22 sneq 4571 . . . . . . . . . . . . 13 (𝐴 = 𝐶 → {𝐴} = {𝐶})
2322eqeq2d 2749 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} ↔ 𝐸 = {𝐶}))
2423biimpa 477 . . . . . . . . . . 11 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐶})
2524adantl 482 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
26 preq1 4669 . . . . . . . . . . . . . . 15 (𝐴 = 𝐶 → {𝐴, 𝐷} = {𝐶, 𝐷})
2726adantr 481 . . . . . . . . . . . . . 14 ((𝐴 = 𝐶𝐸 = {𝐴}) → {𝐴, 𝐷} = {𝐶, 𝐷})
2827eqeq2d 2749 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐹 = {𝐴, 𝐷} ↔ 𝐹 = {𝐶, 𝐷}))
2928biimpcd 248 . . . . . . . . . . . 12 (𝐹 = {𝐴, 𝐷} → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3029adantl 482 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3130imp 407 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐹 = {𝐶, 𝐷})
3225, 31jca 512 . . . . . . . . 9 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}))
3332orcd 870 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
3421, 33jca 512 . . . . . . 7 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
3534orcd 870 . . . . . 6 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
3635ex 413 . . . . 5 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
37 simpr 485 . . . . . . . . . . 11 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐹 = {𝐴, 𝐵})
3820, 37anim12i 613 . . . . . . . . . 10 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
3938ancoms 459 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
4039orcd 870 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
41 simpl 483 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐴 = 𝐶)
4241eqeq1d 2740 . . . . . . . . . . . 12 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐴 = 𝐷𝐶 = 𝐷))
4342biimpcd 248 . . . . . . . . . . 11 (𝐴 = 𝐷 → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4443adantr 481 . . . . . . . . . 10 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4544imp 407 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐶 = 𝐷)
4623biimpd 228 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} → 𝐸 = {𝐶}))
4746a1dd 50 . . . . . . . . . . 11 (𝐴 = 𝐶 → (𝐸 = {𝐴} → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶})))
4847imp 407 . . . . . . . . . 10 ((𝐴 = 𝐶𝐸 = {𝐴}) → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶}))
4948impcom 408 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
5045, 49jca 512 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐶 = 𝐷𝐸 = {𝐶}))
5140, 50jca 512 . . . . . . 7 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
5251olcd 871 . . . . . 6 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
5352ex 413 . . . . 5 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5436, 53jaoi 854 . . . 4 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5554impcom 408 . . 3 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
56 eqeq1 2742 . . . . . . . . . . . . 13 (𝐸 = {𝐶} → (𝐸 = {𝐴} ↔ {𝐶} = {𝐴}))
574sneqr 4771 . . . . . . . . . . . . . 14 ({𝐶} = {𝐴} → 𝐶 = 𝐴)
5857eqcomd 2744 . . . . . . . . . . . . 13 ({𝐶} = {𝐴} → 𝐴 = 𝐶)
5956, 58syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6059adantr 481 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
61 eqeq1 2742 . . . . . . . . . . . . 13 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} ↔ {𝐶, 𝐷} = {𝐴}))
624, 5preqsn 4792 . . . . . . . . . . . . . 14 ({𝐶, 𝐷} = {𝐴} ↔ (𝐶 = 𝐷𝐷 = 𝐴))
63 eqtr 2761 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐶 = 𝐴)
6463eqcomd 2744 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐶)
6562, 64sylbi 216 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → 𝐴 = 𝐶)
6661, 65syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6766adantr 481 . . . . . . . . . . 11 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6860, 67jaoi 854 . . . . . . . . . 10 (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6968com12 32 . . . . . . . . 9 (𝐸 = {𝐴} → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7069adantl 482 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7170impcom 408 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐴 = 𝐶)
72 simpr 485 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐸 = {𝐴})
7372adantl 482 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐸 = {𝐴})
7471, 73jca 512 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐴 = 𝐶𝐸 = {𝐴}))
75 simpl 483 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐴 = 𝐵)
7675adantr 481 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐴 = 𝐵)
77 eqeq1 2742 . . . . . . . . . . . . . . . . . 18 (𝐸 = {𝐴} → (𝐸 = {𝐶} ↔ {𝐴} = {𝐶}))
781sneqr 4771 . . . . . . . . . . . . . . . . . . 19 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
7978eqcomd 2744 . . . . . . . . . . . . . . . . . 18 ({𝐴} = {𝐶} → 𝐶 = 𝐴)
8077, 79syl6bi 252 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐴} → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8180adantl 482 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝐵𝐸 = {𝐴}) → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8281impcom 408 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐶 = 𝐴)
8382preq1d 4675 . . . . . . . . . . . . . 14 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → {𝐶, 𝐷} = {𝐴, 𝐷})
8483eqeq2d 2749 . . . . . . . . . . . . 13 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} ↔ 𝐹 = {𝐴, 𝐷}))
8584biimpd 228 . . . . . . . . . . . 12 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} → 𝐹 = {𝐴, 𝐷}))
8685impancom 452 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐹 = {𝐴, 𝐷}))
8786impcom 408 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐹 = {𝐴, 𝐷})
8876, 87jca 512 . . . . . . . . 9 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
8988ex 413 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
90 eqcom 2745 . . . . . . . . . . . . . . . . . . . . . 22 (𝐷 = 𝐴𝐴 = 𝐷)
9190biimpi 215 . . . . . . . . . . . . . . . . . . . . 21 (𝐷 = 𝐴𝐴 = 𝐷)
9291adantl 482 . . . . . . . . . . . . . . . . . . . 20 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐷)
9392adantr 481 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐷)
9493adantr 481 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐴 = 𝐷)
95 simpr 485 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
9664eqeq1d 2740 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵𝐶 = 𝐵))
9796biimpa 477 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐶 = 𝐵)
9897eqcomd 2744 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐵 = 𝐶)
991, 2preqsn 4792 . . . . . . . . . . . . . . . . . . . . . 22 ({𝐴, 𝐵} = {𝐶} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
10095, 98, 99sylanbrc 583 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐴, 𝐵} = {𝐶})
101100eqcomd 2744 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐶} = {𝐴, 𝐵})
102101eqeq2d 2749 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} ↔ 𝐹 = {𝐴, 𝐵}))
103102biimpa 477 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐹 = {𝐴, 𝐵})
10494, 103jca 512 . . . . . . . . . . . . . . . . 17 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))
105104ex 413 . . . . . . . . . . . . . . . 16 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
106105ex 413 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵 → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
107106com23 86 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10862, 107sylbi 216 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10961, 108syl6bi 252 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
110109com23 86 . . . . . . . . . . 11 (𝐸 = {𝐶, 𝐷} → (𝐹 = {𝐶} → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
111110imp 407 . . . . . . . . . 10 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
112111com13 88 . . . . . . . . 9 (𝐴 = 𝐵 → (𝐸 = {𝐴} → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
113112imp 407 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11489, 113orim12d 962 . . . . . . 7 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
115114impcom 408 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11674, 115jca 512 . . . . 5 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
117116ancoms 459 . . . 4 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
118 eqeq1 2742 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} ↔ {𝐶} = {𝐴, 𝐵}))
119 eqcom 2745 . . . . . . . . . . . . . . . . . 18 ({𝐶} = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐶})
120119, 99bitri 274 . . . . . . . . . . . . . . . . 17 ({𝐶} = {𝐴, 𝐵} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
121 eqtr 2761 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐶)
122121adantr 481 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐴 = 𝐶)
123121eqcomd 2744 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐶 = 𝐴)
124 sneq 4571 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐶 = 𝐴 → {𝐶} = {𝐴})
125123, 124syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → {𝐶} = {𝐴})
126125eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} ↔ 𝐸 = {𝐴}))
127126biimpa 477 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐸 = {𝐴})
128122, 127jca 512 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))
129128ex 413 . . . . . . . . . . . . . . . . . . 19 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))
130129a1i13 27 . . . . . . . . . . . . . . . . . 18 (𝐶 = 𝐷 → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))))
131130com14 96 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐶} → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
132120, 131syl5bi 241 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → ({𝐶} = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
133118, 132sylbid 239 . . . . . . . . . . . . . . 15 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
134133com24 95 . . . . . . . . . . . . . 14 (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴})))))
135134impcom 408 . . . . . . . . . . . . 13 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴}))))
136135com13 88 . . . . . . . . . . . 12 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))))
137136imp 407 . . . . . . . . . . 11 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
13859adantl 482 . . . . . . . . . . . . . . . 16 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
139138com12 32 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
140139adantr 481 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
141140imp 407 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐴 = 𝐶)
142 simpl 483 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐴})
143142adantr 481 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐸 = {𝐴})
144141, 143jca 512 . . . . . . . . . . . 12 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → (𝐴 = 𝐶𝐸 = {𝐴}))
145144ex 413 . . . . . . . . . . 11 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
146137, 145jaoi 854 . . . . . . . . . 10 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
147146impcom 408 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → (𝐴 = 𝐶𝐸 = {𝐴}))
148 eqeq1 2742 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} ↔ {𝐴, 𝐵} = {𝐶}))
149 simpl 483 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐵)
150149adantr 481 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → 𝐴 = 𝐵)
151150adantr 481 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐴 = 𝐵)
152 eqtr 2761 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝐴 = 𝐶𝐶 = 𝐷) → 𝐴 = 𝐷)
153 dfsn2 4574 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 {𝐴} = {𝐴, 𝐴}
154 preq2 4670 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐴 = 𝐷 → {𝐴, 𝐴} = {𝐴, 𝐷})
155153, 154eqtrid 2790 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐴 = 𝐷 → {𝐴} = {𝐴, 𝐷})
156152, 155syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝐴 = 𝐶𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
157156ex 413 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 = 𝐶 → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
158121, 157syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
159158imp 407 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
160159eqeq2d 2749 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} ↔ 𝐹 = {𝐴, 𝐷}))
161160biimpa 477 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐹 = {𝐴, 𝐷})
162151, 161jca 512 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
163162ex 413 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
164163ex 413 . . . . . . . . . . . . . . . . . 18 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
165164com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
16699, 165sylbi 216 . . . . . . . . . . . . . . . 16 ({𝐴, 𝐵} = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
167148, 166syl6bi 252 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
168167com23 86 . . . . . . . . . . . . . 14 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
169168imp 407 . . . . . . . . . . . . 13 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
170169com13 88 . . . . . . . . . . . 12 (𝐶 = 𝐷 → (𝐸 = {𝐶} → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
171170imp 407 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
17280imp 407 . . . . . . . . . . . . . . . . 17 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → 𝐶 = 𝐴)
173172eqeq1d 2740 . . . . . . . . . . . . . . . 16 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
174173biimpd 228 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
175174ex 413 . . . . . . . . . . . . . 14 (𝐸 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷𝐴 = 𝐷)))
176175com13 88 . . . . . . . . . . . . 13 (𝐶 = 𝐷 → (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐷)))
177176imp 407 . . . . . . . . . . . 12 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐷))
178177anim1d 611 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
179171, 178orim12d 962 . . . . . . . . . 10 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
180179imp 407 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
181147, 180jca 512 . . . . . . . 8 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
182181ex 413 . . . . . . 7 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
183182com12 32 . . . . . 6 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
184183orcoms 869 . . . . 5 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
185184imp 407 . . . 4 ((((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
186117, 185jaoi 854 . . 3 ((((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
18755, 186impbii 208 . 2 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
18813, 18, 1873bitr4i 303 1 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  Vcvv 3432  {csn 4561  {cpr 4563  cop 4567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568
This theorem is referenced by:  propssopi  5422  fun2dmnopgexmpl  44776
  Copyright terms: Public domain W3C validator