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

Theorem propeqop 5393
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 5390 . . . 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 5391 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
93, 8anbi12i 626 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ↔ ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
101, 2, 6, 7opeqpr 5391 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
114, 5opeqsn 5390 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸} ↔ (𝐶 = 𝐷𝐸 = {𝐶}))
1210, 11anbi12i 626 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸}) ↔ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
139, 12orbi12i 910 . 2 (((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
14 eqcom 2832 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
15 opex 5352 . . . 4 𝐴, 𝐵⟩ ∈ V
16 opex 5352 . . . 4 𝐶, 𝐷⟩ ∈ V
176, 7, 15, 16opeqpr 5391 . . 3 (⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
1814, 17bitri 276 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
19 simpl 483 . . . . . . . . 9 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → 𝐴 = 𝐵)
20 simpr 485 . . . . . . . . 9 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐴})
2119, 20anim12i 612 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐴 = 𝐵𝐸 = {𝐴}))
22 sneq 4573 . . . . . . . . . . . . 13 (𝐴 = 𝐶 → {𝐴} = {𝐶})
2322eqeq2d 2836 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} ↔ 𝐸 = {𝐶}))
2423biimpa 477 . . . . . . . . . . 11 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐶})
2524adantl 482 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
26 preq1 4667 . . . . . . . . . . . . . . 15 (𝐴 = 𝐶 → {𝐴, 𝐷} = {𝐶, 𝐷})
2726adantr 481 . . . . . . . . . . . . . 14 ((𝐴 = 𝐶𝐸 = {𝐴}) → {𝐴, 𝐷} = {𝐶, 𝐷})
2827eqeq2d 2836 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐹 = {𝐴, 𝐷} ↔ 𝐹 = {𝐶, 𝐷}))
2928biimpcd 250 . . . . . . . . . . . 12 (𝐹 = {𝐴, 𝐷} → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3029adantl 482 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3130imp 407 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐹 = {𝐶, 𝐷})
3225, 31jca 512 . . . . . . . . 9 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}))
3332orcd 871 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
3421, 33jca 512 . . . . . . 7 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
3534orcd 871 . . . . . 6 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
3635ex 413 . . . . 5 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
37 simpr 485 . . . . . . . . . . 11 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐹 = {𝐴, 𝐵})
3820, 37anim12i 612 . . . . . . . . . 10 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
3938ancoms 459 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
4039orcd 871 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
41 simpl 483 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐴 = 𝐶)
4241eqeq1d 2827 . . . . . . . . . . . 12 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐴 = 𝐷𝐶 = 𝐷))
4342biimpcd 250 . . . . . . . . . . 11 (𝐴 = 𝐷 → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4443adantr 481 . . . . . . . . . 10 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4544imp 407 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐶 = 𝐷)
4623biimpd 230 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} → 𝐸 = {𝐶}))
4746a1dd 50 . . . . . . . . . . 11 (𝐴 = 𝐶 → (𝐸 = {𝐴} → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶})))
4847imp 407 . . . . . . . . . 10 ((𝐴 = 𝐶𝐸 = {𝐴}) → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶}))
4948impcom 408 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
5045, 49jca 512 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐶 = 𝐷𝐸 = {𝐶}))
5140, 50jca 512 . . . . . . 7 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
5251olcd 872 . . . . . 6 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
5352ex 413 . . . . 5 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5436, 53jaoi 853 . . . 4 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5554impcom 408 . . 3 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
56 eqeq1 2829 . . . . . . . . . . . . 13 (𝐸 = {𝐶} → (𝐸 = {𝐴} ↔ {𝐶} = {𝐴}))
574sneqr 4769 . . . . . . . . . . . . . 14 ({𝐶} = {𝐴} → 𝐶 = 𝐴)
5857eqcomd 2831 . . . . . . . . . . . . 13 ({𝐶} = {𝐴} → 𝐴 = 𝐶)
5956, 58syl6bi 254 . . . . . . . . . . . 12 (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6059adantr 481 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
61 eqeq1 2829 . . . . . . . . . . . . 13 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} ↔ {𝐶, 𝐷} = {𝐴}))
624, 5preqsn 4790 . . . . . . . . . . . . . 14 ({𝐶, 𝐷} = {𝐴} ↔ (𝐶 = 𝐷𝐷 = 𝐴))
63 eqtr 2845 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐶 = 𝐴)
6463eqcomd 2831 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐶)
6562, 64sylbi 218 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → 𝐴 = 𝐶)
6661, 65syl6bi 254 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6766adantr 481 . . . . . . . . . . 11 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6860, 67jaoi 853 . . . . . . . . . 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 2829 . . . . . . . . . . . . . . . . . 18 (𝐸 = {𝐴} → (𝐸 = {𝐶} ↔ {𝐴} = {𝐶}))
781sneqr 4769 . . . . . . . . . . . . . . . . . . 19 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
7978eqcomd 2831 . . . . . . . . . . . . . . . . . 18 ({𝐴} = {𝐶} → 𝐶 = 𝐴)
8077, 79syl6bi 254 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐴} → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8180adantl 482 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝐵𝐸 = {𝐴}) → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8281impcom 408 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐶 = 𝐴)
8382preq1d 4673 . . . . . . . . . . . . . 14 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → {𝐶, 𝐷} = {𝐴, 𝐷})
8483eqeq2d 2836 . . . . . . . . . . . . 13 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} ↔ 𝐹 = {𝐴, 𝐷}))
8584biimpd 230 . . . . . . . . . . . 12 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} → 𝐹 = {𝐴, 𝐷}))
8685impancom 452 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐹 = {𝐴, 𝐷}))
8786impcom 408 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐹 = {𝐴, 𝐷})
8876, 87jca 512 . . . . . . . . 9 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
8988ex 413 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
90 eqcom 2832 . . . . . . . . . . . . . . . . . . . . . 22 (𝐷 = 𝐴𝐴 = 𝐷)
9190biimpi 217 . . . . . . . . . . . . . . . . . . . . 21 (𝐷 = 𝐴𝐴 = 𝐷)
9291adantl 482 . . . . . . . . . . . . . . . . . . . 20 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐷)
9392adantr 481 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐷)
9493adantr 481 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐴 = 𝐷)
95 simpr 485 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
9664eqeq1d 2827 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵𝐶 = 𝐵))
9796biimpa 477 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐶 = 𝐵)
9897eqcomd 2831 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐵 = 𝐶)
991, 2preqsn 4790 . . . . . . . . . . . . . . . . . . . . . 22 ({𝐴, 𝐵} = {𝐶} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
10095, 98, 99sylanbrc 583 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐴, 𝐵} = {𝐶})
101100eqcomd 2831 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐶} = {𝐴, 𝐵})
102101eqeq2d 2836 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} ↔ 𝐹 = {𝐴, 𝐵}))
103102biimpa 477 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐹 = {𝐴, 𝐵})
10494, 103jca 512 . . . . . . . . . . . . . . . . 17 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))
105104ex 413 . . . . . . . . . . . . . . . 16 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
106105ex 413 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵 → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
107106com23 86 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10862, 107sylbi 218 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10961, 108syl6bi 254 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
110109com23 86 . . . . . . . . . . 11 (𝐸 = {𝐶, 𝐷} → (𝐹 = {𝐶} → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
111110imp 407 . . . . . . . . . 10 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
112111com13 88 . . . . . . . . 9 (𝐴 = 𝐵 → (𝐸 = {𝐴} → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
113112imp 407 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11489, 113orim12d 960 . . . . . . 7 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
115114impcom 408 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11674, 115jca 512 . . . . 5 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
117116ancoms 459 . . . 4 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
118 eqeq1 2829 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} ↔ {𝐶} = {𝐴, 𝐵}))
119 eqcom 2832 . . . . . . . . . . . . . . . . . 18 ({𝐶} = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐶})
120119, 99bitri 276 . . . . . . . . . . . . . . . . 17 ({𝐶} = {𝐴, 𝐵} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
121 eqtr 2845 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐶)
122121adantr 481 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐴 = 𝐶)
123121eqcomd 2831 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐶 = 𝐴)
124 sneq 4573 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐶 = 𝐴 → {𝐶} = {𝐴})
125123, 124syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → {𝐶} = {𝐴})
126125eqeq2d 2836 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} ↔ 𝐸 = {𝐴}))
127126biimpa 477 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐸 = {𝐴})
128122, 127jca 512 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))
129128ex 413 . . . . . . . . . . . . . . . . . . 19 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))
130129a1i13 27 . . . . . . . . . . . . . . . . . 18 (𝐶 = 𝐷 → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))))
131130com14 96 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐶} → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
132120, 131syl5bi 243 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → ({𝐶} = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
133118, 132sylbid 241 . . . . . . . . . . . . . . 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 853 . . . . . . . . . 10 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
147146impcom 408 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → (𝐴 = 𝐶𝐸 = {𝐴}))
148 eqeq1 2829 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} ↔ {𝐴, 𝐵} = {𝐶}))
149 simpl 483 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐵)
150149adantr 481 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → 𝐴 = 𝐵)
151150adantr 481 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐴 = 𝐵)
152 eqtr 2845 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝐴 = 𝐶𝐶 = 𝐷) → 𝐴 = 𝐷)
153 dfsn2 4576 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 {𝐴} = {𝐴, 𝐴}
154 preq2 4668 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐴 = 𝐷 → {𝐴, 𝐴} = {𝐴, 𝐷})
155153, 154syl5eq 2872 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐴 = 𝐷 → {𝐴} = {𝐴, 𝐷})
156152, 155syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝐴 = 𝐶𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
157156ex 413 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 = 𝐶 → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
158121, 157syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
159158imp 407 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
160159eqeq2d 2836 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} ↔ 𝐹 = {𝐴, 𝐷}))
161160biimpa 477 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐹 = {𝐴, 𝐷})
162151, 161jca 512 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
163162ex 413 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
164163ex 413 . . . . . . . . . . . . . . . . . 18 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
165164com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
16699, 165sylbi 218 . . . . . . . . . . . . . . . 16 ({𝐴, 𝐵} = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
167148, 166syl6bi 254 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
168167com23 86 . . . . . . . . . . . . . 14 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
169168imp 407 . . . . . . . . . . . . 13 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
170169com13 88 . . . . . . . . . . . 12 (𝐶 = 𝐷 → (𝐸 = {𝐶} → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
171170imp 407 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
17280imp 407 . . . . . . . . . . . . . . . . 17 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → 𝐶 = 𝐴)
173172eqeq1d 2827 . . . . . . . . . . . . . . . 16 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
174173biimpd 230 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
175174ex 413 . . . . . . . . . . . . . 14 (𝐸 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷𝐴 = 𝐷)))
176175com13 88 . . . . . . . . . . . . 13 (𝐶 = 𝐷 → (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐷)))
177176imp 407 . . . . . . . . . . . 12 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐷))
178177anim1d 610 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
179171, 178orim12d 960 . . . . . . . . . 10 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
180179imp 407 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
181147, 180jca 512 . . . . . . . 8 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
182181ex 413 . . . . . . 7 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
183182com12 32 . . . . . 6 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
184183orcoms 870 . . . . 5 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
185184imp 407 . . . 4 ((((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
186117, 185jaoi 853 . . 3 ((((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
18755, 186impbii 210 . 2 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
18813, 18, 1873bitr4i 304 1 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wo 843   = wceq 1530  wcel 2107  Vcvv 3499  {csn 4563  {cpr 4565  cop 4569
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-sep 5199  ax-nul 5206  ax-pr 5325
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-v 3501  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4470  df-sn 4564  df-pr 4566  df-op 4570
This theorem is referenced by:  propssopi  5394  fun2dmnopgexmpl  43345
  Copyright terms: Public domain W3C validator