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

Theorem propeqop 5100
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 5095 . . . 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 5097 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
93, 8anbi12i 612 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ↔ ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
101, 2, 6, 7opeqpr 5097 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
114, 5opeqsn 5095 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸} ↔ (𝐶 = 𝐷𝐸 = {𝐶}))
1210, 11anbi12i 612 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸}) ↔ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
139, 12orbi12i 898 . 2 (((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
14 eqcom 2778 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
15 opex 5060 . . . 4 𝐴, 𝐵⟩ ∈ V
16 opex 5060 . . . 4 𝐶, 𝐷⟩ ∈ V
176, 7, 15, 16opeqpr 5097 . . 3 (⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
1814, 17bitri 264 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
19 simpl 468 . . . . . . . . 9 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → 𝐴 = 𝐵)
20 simpr 471 . . . . . . . . 9 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐴})
2119, 20anim12i 600 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐴 = 𝐵𝐸 = {𝐴}))
22 sneq 4326 . . . . . . . . . . . . 13 (𝐴 = 𝐶 → {𝐴} = {𝐶})
2322eqeq2d 2781 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} ↔ 𝐸 = {𝐶}))
2423biimpa 462 . . . . . . . . . . 11 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐶})
2524adantl 467 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
26 preq1 4404 . . . . . . . . . . . . . . 15 (𝐴 = 𝐶 → {𝐴, 𝐷} = {𝐶, 𝐷})
2726adantr 466 . . . . . . . . . . . . . 14 ((𝐴 = 𝐶𝐸 = {𝐴}) → {𝐴, 𝐷} = {𝐶, 𝐷})
2827eqeq2d 2781 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐹 = {𝐴, 𝐷} ↔ 𝐹 = {𝐶, 𝐷}))
2928biimpcd 239 . . . . . . . . . . . 12 (𝐹 = {𝐴, 𝐷} → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3029adantl 467 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3130imp 393 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐹 = {𝐶, 𝐷})
3225, 31jca 501 . . . . . . . . 9 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}))
3332orcd 860 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
3421, 33jca 501 . . . . . . 7 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
3534orcd 860 . . . . . 6 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
3635ex 397 . . . . 5 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
37 simpr 471 . . . . . . . . . . 11 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐹 = {𝐴, 𝐵})
3820, 37anim12i 600 . . . . . . . . . 10 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
3938ancoms 455 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
4039orcd 860 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
41 simpl 468 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐴 = 𝐶)
4241eqeq1d 2773 . . . . . . . . . . . 12 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐴 = 𝐷𝐶 = 𝐷))
4342biimpcd 239 . . . . . . . . . . 11 (𝐴 = 𝐷 → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4443adantr 466 . . . . . . . . . 10 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4544imp 393 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐶 = 𝐷)
4623biimpd 219 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} → 𝐸 = {𝐶}))
4746a1dd 50 . . . . . . . . . . 11 (𝐴 = 𝐶 → (𝐸 = {𝐴} → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶})))
4847imp 393 . . . . . . . . . 10 ((𝐴 = 𝐶𝐸 = {𝐴}) → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶}))
4948impcom 394 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
5045, 49jca 501 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐶 = 𝐷𝐸 = {𝐶}))
5140, 50jca 501 . . . . . . 7 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
5251olcd 861 . . . . . 6 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
5352ex 397 . . . . 5 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5436, 53jaoi 844 . . . 4 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5554impcom 394 . . 3 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
56 eqeq1 2775 . . . . . . . . . . . . 13 (𝐸 = {𝐶} → (𝐸 = {𝐴} ↔ {𝐶} = {𝐴}))
574sneqr 4504 . . . . . . . . . . . . . 14 ({𝐶} = {𝐴} → 𝐶 = 𝐴)
5857eqcomd 2777 . . . . . . . . . . . . 13 ({𝐶} = {𝐴} → 𝐴 = 𝐶)
5956, 58syl6bi 243 . . . . . . . . . . . 12 (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6059adantr 466 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
61 eqeq1 2775 . . . . . . . . . . . . 13 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} ↔ {𝐶, 𝐷} = {𝐴}))
624, 5preqsn 4527 . . . . . . . . . . . . . 14 ({𝐶, 𝐷} = {𝐴} ↔ (𝐶 = 𝐷𝐷 = 𝐴))
63 eqtr 2790 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐶 = 𝐴)
6463eqcomd 2777 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐶)
6562, 64sylbi 207 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → 𝐴 = 𝐶)
6661, 65syl6bi 243 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6766adantr 466 . . . . . . . . . . 11 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6860, 67jaoi 844 . . . . . . . . . 10 (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6968com12 32 . . . . . . . . 9 (𝐸 = {𝐴} → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7069adantl 467 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7170impcom 394 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐴 = 𝐶)
72 simpr 471 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐸 = {𝐴})
7372adantl 467 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐸 = {𝐴})
7471, 73jca 501 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐴 = 𝐶𝐸 = {𝐴}))
75 simpl 468 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐴 = 𝐵)
7675adantr 466 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐴 = 𝐵)
77 eqeq1 2775 . . . . . . . . . . . . . . . . . 18 (𝐸 = {𝐴} → (𝐸 = {𝐶} ↔ {𝐴} = {𝐶}))
781sneqr 4504 . . . . . . . . . . . . . . . . . . 19 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
7978eqcomd 2777 . . . . . . . . . . . . . . . . . 18 ({𝐴} = {𝐶} → 𝐶 = 𝐴)
8077, 79syl6bi 243 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐴} → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8180adantl 467 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝐵𝐸 = {𝐴}) → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8281impcom 394 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐶 = 𝐴)
8382preq1d 4410 . . . . . . . . . . . . . 14 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → {𝐶, 𝐷} = {𝐴, 𝐷})
8483eqeq2d 2781 . . . . . . . . . . . . 13 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} ↔ 𝐹 = {𝐴, 𝐷}))
8584biimpd 219 . . . . . . . . . . . 12 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} → 𝐹 = {𝐴, 𝐷}))
8685impancom 439 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐹 = {𝐴, 𝐷}))
8786impcom 394 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐹 = {𝐴, 𝐷})
8876, 87jca 501 . . . . . . . . 9 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
8988ex 397 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
90 eqcom 2778 . . . . . . . . . . . . . . . . . . . . . 22 (𝐷 = 𝐴𝐴 = 𝐷)
9190biimpi 206 . . . . . . . . . . . . . . . . . . . . 21 (𝐷 = 𝐴𝐴 = 𝐷)
9291adantl 467 . . . . . . . . . . . . . . . . . . . 20 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐷)
9392adantr 466 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐷)
9493adantr 466 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐴 = 𝐷)
95 simpr 471 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
9664eqeq1d 2773 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵𝐶 = 𝐵))
9796biimpa 462 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐶 = 𝐵)
9897eqcomd 2777 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐵 = 𝐶)
991, 2preqsn 4527 . . . . . . . . . . . . . . . . . . . . . 22 ({𝐴, 𝐵} = {𝐶} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
10095, 98, 99sylanbrc 572 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐴, 𝐵} = {𝐶})
101100eqcomd 2777 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐶} = {𝐴, 𝐵})
102101eqeq2d 2781 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} ↔ 𝐹 = {𝐴, 𝐵}))
103102biimpa 462 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐹 = {𝐴, 𝐵})
10494, 103jca 501 . . . . . . . . . . . . . . . . 17 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))
105104ex 397 . . . . . . . . . . . . . . . 16 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
106105ex 397 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵 → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
107106com23 86 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10862, 107sylbi 207 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10961, 108syl6bi 243 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
110109com23 86 . . . . . . . . . . 11 (𝐸 = {𝐶, 𝐷} → (𝐹 = {𝐶} → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
111110imp 393 . . . . . . . . . 10 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
112111com13 88 . . . . . . . . 9 (𝐴 = 𝐵 → (𝐸 = {𝐴} → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
113112imp 393 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11489, 113orim12d 945 . . . . . . 7 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
115114impcom 394 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11674, 115jca 501 . . . . 5 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
117116ancoms 455 . . . 4 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
118 eqeq1 2775 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} ↔ {𝐶} = {𝐴, 𝐵}))
119 eqcom 2778 . . . . . . . . . . . . . . . . . 18 ({𝐶} = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐶})
120119, 99bitri 264 . . . . . . . . . . . . . . . . 17 ({𝐶} = {𝐴, 𝐵} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
121 eqtr 2790 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐶)
122121adantr 466 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐴 = 𝐶)
123121eqcomd 2777 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐶 = 𝐴)
124 sneq 4326 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐶 = 𝐴 → {𝐶} = {𝐴})
125123, 124syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → {𝐶} = {𝐴})
126125eqeq2d 2781 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} ↔ 𝐸 = {𝐴}))
127126biimpa 462 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐸 = {𝐴})
128122, 127jca 501 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))
129128ex 397 . . . . . . . . . . . . . . . . . . 19 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))
130129a1i13 27 . . . . . . . . . . . . . . . . . 18 (𝐶 = 𝐷 → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))))
131130com14 96 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐶} → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
132120, 131syl5bi 232 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → ({𝐶} = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
133118, 132sylbid 230 . . . . . . . . . . . . . . 15 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
134133com24 95 . . . . . . . . . . . . . 14 (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴})))))
135134impcom 394 . . . . . . . . . . . . 13 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴}))))
136135com13 88 . . . . . . . . . . . 12 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))))
137136imp 393 . . . . . . . . . . 11 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
13859adantl 467 . . . . . . . . . . . . . . . 16 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
139138com12 32 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
140139adantr 466 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
141140imp 393 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐴 = 𝐶)
142 simpl 468 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐴})
143142adantr 466 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐸 = {𝐴})
144141, 143jca 501 . . . . . . . . . . . 12 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → (𝐴 = 𝐶𝐸 = {𝐴}))
145144ex 397 . . . . . . . . . . 11 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
146137, 145jaoi 844 . . . . . . . . . 10 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
147146impcom 394 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → (𝐴 = 𝐶𝐸 = {𝐴}))
148 eqeq1 2775 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} ↔ {𝐴, 𝐵} = {𝐶}))
149 simpl 468 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐵)
150149adantr 466 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → 𝐴 = 𝐵)
151150adantr 466 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐴 = 𝐵)
152 eqtr 2790 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝐴 = 𝐶𝐶 = 𝐷) → 𝐴 = 𝐷)
153 dfsn2 4329 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 {𝐴} = {𝐴, 𝐴}
154 preq2 4405 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐴 = 𝐷 → {𝐴, 𝐴} = {𝐴, 𝐷})
155153, 154syl5eq 2817 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐴 = 𝐷 → {𝐴} = {𝐴, 𝐷})
156152, 155syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝐴 = 𝐶𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
157156ex 397 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 = 𝐶 → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
158121, 157syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
159158imp 393 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
160159eqeq2d 2781 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} ↔ 𝐹 = {𝐴, 𝐷}))
161160biimpa 462 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐹 = {𝐴, 𝐷})
162151, 161jca 501 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
163162ex 397 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
164163ex 397 . . . . . . . . . . . . . . . . . 18 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
165164com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
16699, 165sylbi 207 . . . . . . . . . . . . . . . 16 ({𝐴, 𝐵} = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
167148, 166syl6bi 243 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
168167com23 86 . . . . . . . . . . . . . 14 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
169168imp 393 . . . . . . . . . . . . 13 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
170169com13 88 . . . . . . . . . . . 12 (𝐶 = 𝐷 → (𝐸 = {𝐶} → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
171170imp 393 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
17280imp 393 . . . . . . . . . . . . . . . . 17 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → 𝐶 = 𝐴)
173172eqeq1d 2773 . . . . . . . . . . . . . . . 16 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
174173biimpd 219 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
175174ex 397 . . . . . . . . . . . . . 14 (𝐸 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷𝐴 = 𝐷)))
176175com13 88 . . . . . . . . . . . . 13 (𝐶 = 𝐷 → (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐷)))
177176imp 393 . . . . . . . . . . . 12 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐷))
178177anim1d 598 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
179171, 178orim12d 945 . . . . . . . . . 10 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
180179imp 393 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
181147, 180jca 501 . . . . . . . 8 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
182181ex 397 . . . . . . 7 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
183182com12 32 . . . . . 6 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
184183orcoms 859 . . . . 5 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
185184imp 393 . . . 4 ((((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
186117, 185jaoi 844 . . 3 ((((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
18755, 186impbii 199 . 2 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
18813, 18, 1873bitr4i 292 1 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  wo 834   = wceq 1631  wcel 2145  Vcvv 3351  {csn 4316  {cpr 4318  cop 4322
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pr 5034
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 835  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-v 3353  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323
This theorem is referenced by:  propssopi  5101  fun2dmnopgexmpl  41826
  Copyright terms: Public domain W3C validator