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

Theorem propeqop 5128
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 5123 . . . 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 5125 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
93, 8anbi12i 620 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ↔ ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
101, 2, 6, 7opeqpr 5125 . . . 4 (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ↔ ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
114, 5opeqsn 5123 . . . 4 (⟨𝐶, 𝐷⟩ = {𝐸} ↔ (𝐶 = 𝐷𝐸 = {𝐶}))
1210, 11anbi12i 620 . . 3 ((⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸}) ↔ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
139, 12orbi12i 938 . 2 (((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
14 eqcom 2772 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
15 opex 5088 . . . 4 𝐴, 𝐵⟩ ∈ V
16 opex 5088 . . . 4 𝐶, 𝐷⟩ ∈ V
176, 7, 15, 16opeqpr 5125 . . 3 (⟨𝐸, 𝐹⟩ = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
1814, 17bitri 266 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((⟨𝐴, 𝐵⟩ = {𝐸} ∧ ⟨𝐶, 𝐷⟩ = {𝐸, 𝐹}) ∨ (⟨𝐴, 𝐵⟩ = {𝐸, 𝐹} ∧ ⟨𝐶, 𝐷⟩ = {𝐸})))
19 simpl 474 . . . . . . . . 9 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → 𝐴 = 𝐵)
20 simpr 477 . . . . . . . . 9 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐴})
2119, 20anim12i 606 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐴 = 𝐵𝐸 = {𝐴}))
22 sneq 4344 . . . . . . . . . . . . 13 (𝐴 = 𝐶 → {𝐴} = {𝐶})
2322eqeq2d 2775 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} ↔ 𝐸 = {𝐶}))
2423biimpa 468 . . . . . . . . . . 11 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐸 = {𝐶})
2524adantl 473 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
26 preq1 4423 . . . . . . . . . . . . . . 15 (𝐴 = 𝐶 → {𝐴, 𝐷} = {𝐶, 𝐷})
2726adantr 472 . . . . . . . . . . . . . 14 ((𝐴 = 𝐶𝐸 = {𝐴}) → {𝐴, 𝐷} = {𝐶, 𝐷})
2827eqeq2d 2775 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐹 = {𝐴, 𝐷} ↔ 𝐹 = {𝐶, 𝐷}))
2928biimpcd 240 . . . . . . . . . . . 12 (𝐹 = {𝐴, 𝐷} → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3029adantl 473 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐹 = {𝐶, 𝐷}))
3130imp 395 . . . . . . . . . 10 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐹 = {𝐶, 𝐷})
3225, 31jca 507 . . . . . . . . 9 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}))
3332orcd 899 . . . . . . . 8 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})))
3421, 33jca 507 . . . . . . 7 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))))
3534orcd 899 . . . . . 6 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
3635ex 401 . . . . 5 ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
37 simpr 477 . . . . . . . . . . 11 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐹 = {𝐴, 𝐵})
3820, 37anim12i 606 . . . . . . . . . 10 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
3938ancoms 450 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))
4039orcd 899 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})))
41 simpl 474 . . . . . . . . . . . . 13 ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐴 = 𝐶)
4241eqeq1d 2767 . . . . . . . . . . . 12 ((𝐴 = 𝐶𝐸 = {𝐴}) → (𝐴 = 𝐷𝐶 = 𝐷))
4342biimpcd 240 . . . . . . . . . . 11 (𝐴 = 𝐷 → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4443adantr 472 . . . . . . . . . 10 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → 𝐶 = 𝐷))
4544imp 395 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐶 = 𝐷)
4623biimpd 220 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐸 = {𝐴} → 𝐸 = {𝐶}))
4746a1dd 50 . . . . . . . . . . 11 (𝐴 = 𝐶 → (𝐸 = {𝐴} → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶})))
4847imp 395 . . . . . . . . . 10 ((𝐴 = 𝐶𝐸 = {𝐴}) → ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐶}))
4948impcom 396 . . . . . . . . 9 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → 𝐸 = {𝐶})
5045, 49jca 507 . . . . . . . 8 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (𝐶 = 𝐷𝐸 = {𝐶}))
5140, 50jca 507 . . . . . . 7 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))
5251olcd 900 . . . . . 6 (((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) ∧ (𝐴 = 𝐶𝐸 = {𝐴})) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
5352ex 401 . . . . 5 ((𝐴 = 𝐷𝐹 = {𝐴, 𝐵}) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5436, 53jaoi 883 . . . 4 (((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})))))
5554impcom 396 . . 3 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) → (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
56 eqeq1 2769 . . . . . . . . . . . . 13 (𝐸 = {𝐶} → (𝐸 = {𝐴} ↔ {𝐶} = {𝐴}))
574sneqr 4523 . . . . . . . . . . . . . 14 ({𝐶} = {𝐴} → 𝐶 = 𝐴)
5857eqcomd 2771 . . . . . . . . . . . . 13 ({𝐶} = {𝐴} → 𝐴 = 𝐶)
5956, 58syl6bi 244 . . . . . . . . . . . 12 (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6059adantr 472 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
61 eqeq1 2769 . . . . . . . . . . . . 13 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} ↔ {𝐶, 𝐷} = {𝐴}))
624, 5preqsn 4547 . . . . . . . . . . . . . 14 ({𝐶, 𝐷} = {𝐴} ↔ (𝐶 = 𝐷𝐷 = 𝐴))
63 eqtr 2784 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐶 = 𝐴)
6463eqcomd 2771 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐶)
6562, 64sylbi 208 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → 𝐴 = 𝐶)
6661, 65syl6bi 244 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6766adantr 472 . . . . . . . . . . 11 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6860, 67jaoi 883 . . . . . . . . . 10 (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
6968com12 32 . . . . . . . . 9 (𝐸 = {𝐴} → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7069adantl 473 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → 𝐴 = 𝐶))
7170impcom 396 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐴 = 𝐶)
72 simpr 477 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐸 = {𝐴})
7372adantl 473 . . . . . . 7 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐸 = {𝐴})
7471, 73jca 507 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐴 = 𝐶𝐸 = {𝐴}))
75 simpl 474 . . . . . . . . . . 11 ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐴 = 𝐵)
7675adantr 472 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐴 = 𝐵)
77 eqeq1 2769 . . . . . . . . . . . . . . . . . 18 (𝐸 = {𝐴} → (𝐸 = {𝐶} ↔ {𝐴} = {𝐶}))
781sneqr 4523 . . . . . . . . . . . . . . . . . . 19 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
7978eqcomd 2771 . . . . . . . . . . . . . . . . . 18 ({𝐴} = {𝐶} → 𝐶 = 𝐴)
8077, 79syl6bi 244 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐴} → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8180adantl 473 . . . . . . . . . . . . . . . 16 ((𝐴 = 𝐵𝐸 = {𝐴}) → (𝐸 = {𝐶} → 𝐶 = 𝐴))
8281impcom 396 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → 𝐶 = 𝐴)
8382preq1d 4429 . . . . . . . . . . . . . 14 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → {𝐶, 𝐷} = {𝐴, 𝐷})
8483eqeq2d 2775 . . . . . . . . . . . . 13 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} ↔ 𝐹 = {𝐴, 𝐷}))
8584biimpd 220 . . . . . . . . . . . 12 ((𝐸 = {𝐶} ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → (𝐹 = {𝐶, 𝐷} → 𝐹 = {𝐴, 𝐷}))
8685impancom 443 . . . . . . . . . . 11 ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → ((𝐴 = 𝐵𝐸 = {𝐴}) → 𝐹 = {𝐴, 𝐷}))
8786impcom 396 . . . . . . . . . 10 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → 𝐹 = {𝐴, 𝐷})
8876, 87jca 507 . . . . . . . . 9 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ (𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷})) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
8988ex 401 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
90 eqcom 2772 . . . . . . . . . . . . . . . . . . . . . 22 (𝐷 = 𝐴𝐴 = 𝐷)
9190biimpi 207 . . . . . . . . . . . . . . . . . . . . 21 (𝐷 = 𝐴𝐴 = 𝐷)
9291adantl 473 . . . . . . . . . . . . . . . . . . . 20 ((𝐶 = 𝐷𝐷 = 𝐴) → 𝐴 = 𝐷)
9392adantr 472 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐷)
9493adantr 472 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐴 = 𝐷)
95 simpr 477 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
9664eqeq1d 2767 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵𝐶 = 𝐵))
9796biimpa 468 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐶 = 𝐵)
9897eqcomd 2771 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → 𝐵 = 𝐶)
991, 2preqsn 4547 . . . . . . . . . . . . . . . . . . . . . 22 ({𝐴, 𝐵} = {𝐶} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
10095, 98, 99sylanbrc 578 . . . . . . . . . . . . . . . . . . . . 21 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐴, 𝐵} = {𝐶})
101100eqcomd 2771 . . . . . . . . . . . . . . . . . . . 20 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → {𝐶} = {𝐴, 𝐵})
102101eqeq2d 2775 . . . . . . . . . . . . . . . . . . 19 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} ↔ 𝐹 = {𝐴, 𝐵}))
103102biimpa 468 . . . . . . . . . . . . . . . . . 18 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → 𝐹 = {𝐴, 𝐵})
10494, 103jca 507 . . . . . . . . . . . . . . . . 17 ((((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))
105104ex 401 . . . . . . . . . . . . . . . 16 (((𝐶 = 𝐷𝐷 = 𝐴) ∧ 𝐴 = 𝐵) → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
106105ex 401 . . . . . . . . . . . . . . 15 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐴 = 𝐵 → (𝐹 = {𝐶} → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
107106com23 86 . . . . . . . . . . . . . 14 ((𝐶 = 𝐷𝐷 = 𝐴) → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10862, 107sylbi 208 . . . . . . . . . . . . 13 ({𝐶, 𝐷} = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
10961, 108syl6bi 244 . . . . . . . . . . . 12 (𝐸 = {𝐶, 𝐷} → (𝐸 = {𝐴} → (𝐹 = {𝐶} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
110109com23 86 . . . . . . . . . . 11 (𝐸 = {𝐶, 𝐷} → (𝐹 = {𝐶} → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
111110imp 395 . . . . . . . . . 10 ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐸 = {𝐴} → (𝐴 = 𝐵 → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
112111com13 88 . . . . . . . . 9 (𝐴 = 𝐵 → (𝐸 = {𝐴} → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
113112imp 395 . . . . . . . 8 ((𝐴 = 𝐵𝐸 = {𝐴}) → ((𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11489, 113orim12d 987 . . . . . . 7 ((𝐴 = 𝐵𝐸 = {𝐴}) → (((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
115114impcom 396 . . . . . 6 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
11674, 115jca 507 . . . . 5 ((((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶})) ∧ (𝐴 = 𝐵𝐸 = {𝐴})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
117116ancoms 450 . . . 4 (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
118 eqeq1 2769 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} ↔ {𝐶} = {𝐴, 𝐵}))
119 eqcom 2772 . . . . . . . . . . . . . . . . . 18 ({𝐶} = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐶})
120119, 99bitri 266 . . . . . . . . . . . . . . . . 17 ({𝐶} = {𝐴, 𝐵} ↔ (𝐴 = 𝐵𝐵 = 𝐶))
121 eqtr 2784 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐶)
122121adantr 472 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐴 = 𝐶)
123121eqcomd 2771 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐶 = 𝐴)
124 sneq 4344 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐶 = 𝐴 → {𝐶} = {𝐴})
125123, 124syl 17 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → {𝐶} = {𝐴})
126125eqeq2d 2775 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} ↔ 𝐸 = {𝐴}))
127126biimpa 468 . . . . . . . . . . . . . . . . . . . . 21 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → 𝐸 = {𝐴})
128122, 127jca 507 . . . . . . . . . . . . . . . . . . . 20 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))
129128ex 401 . . . . . . . . . . . . . . . . . . 19 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))
130129a1i13 27 . . . . . . . . . . . . . . . . . 18 (𝐶 = 𝐷 → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐴 = 𝐶𝐸 = {𝐴})))))
131130com14 96 . . . . . . . . . . . . . . . . 17 (𝐸 = {𝐶} → ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
132120, 131syl5bi 233 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐶} → ({𝐶} = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
133118, 132sylbid 231 . . . . . . . . . . . . . . 15 (𝐸 = {𝐶} → (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐶𝐸 = {𝐴})))))
134133com24 95 . . . . . . . . . . . . . 14 (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴})))))
135134impcom 396 . . . . . . . . . . . . 13 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐹 = {𝐴} → (𝐸 = {𝐴, 𝐵} → (𝐴 = 𝐶𝐸 = {𝐴}))))
136135com13 88 . . . . . . . . . . . 12 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴}))))
137136imp 395 . . . . . . . . . . 11 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
13859adantl 473 . . . . . . . . . . . . . . . 16 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐶))
139138com12 32 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴} → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
140139adantr 472 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → 𝐴 = 𝐶))
141140imp 395 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐴 = 𝐶)
142 simpl 474 . . . . . . . . . . . . . 14 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → 𝐸 = {𝐴})
143142adantr 472 . . . . . . . . . . . . 13 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → 𝐸 = {𝐴})
144141, 143jca 507 . . . . . . . . . . . 12 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → (𝐴 = 𝐶𝐸 = {𝐴}))
145144ex 401 . . . . . . . . . . 11 ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
146137, 145jaoi 883 . . . . . . . . . 10 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐴 = 𝐶𝐸 = {𝐴})))
147146impcom 396 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → (𝐴 = 𝐶𝐸 = {𝐴}))
148 eqeq1 2769 . . . . . . . . . . . . . . . 16 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} ↔ {𝐴, 𝐵} = {𝐶}))
149 simpl 474 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐴 = 𝐵𝐵 = 𝐶) → 𝐴 = 𝐵)
150149adantr 472 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → 𝐴 = 𝐵)
151150adantr 472 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐴 = 𝐵)
152 eqtr 2784 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((𝐴 = 𝐶𝐶 = 𝐷) → 𝐴 = 𝐷)
153 dfsn2 4347 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 {𝐴} = {𝐴, 𝐴}
154 preq2 4424 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (𝐴 = 𝐷 → {𝐴, 𝐴} = {𝐴, 𝐷})
155153, 154syl5eq 2811 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝐴 = 𝐷 → {𝐴} = {𝐴, 𝐷})
156152, 155syl 17 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝐴 = 𝐶𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
157156ex 401 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝐴 = 𝐶 → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
158121, 157syl 17 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → {𝐴} = {𝐴, 𝐷}))
159158imp 395 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → {𝐴} = {𝐴, 𝐷})
160159eqeq2d 2775 . . . . . . . . . . . . . . . . . . . . . 22 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} ↔ 𝐹 = {𝐴, 𝐷}))
161160biimpa 468 . . . . . . . . . . . . . . . . . . . . 21 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → 𝐹 = {𝐴, 𝐷})
162151, 161jca 507 . . . . . . . . . . . . . . . . . . . 20 ((((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))
163162ex 401 . . . . . . . . . . . . . . . . . . 19 (((𝐴 = 𝐵𝐵 = 𝐶) ∧ 𝐶 = 𝐷) → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
164163ex 401 . . . . . . . . . . . . . . . . . 18 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐶 = 𝐷 → (𝐹 = {𝐴} → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
165164com23 86 . . . . . . . . . . . . . . . . 17 ((𝐴 = 𝐵𝐵 = 𝐶) → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
16699, 165sylbi 208 . . . . . . . . . . . . . . . 16 ({𝐴, 𝐵} = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
167148, 166syl6bi 244 . . . . . . . . . . . . . . 15 (𝐸 = {𝐴, 𝐵} → (𝐸 = {𝐶} → (𝐹 = {𝐴} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
168167com23 86 . . . . . . . . . . . . . 14 (𝐸 = {𝐴, 𝐵} → (𝐹 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))))
169168imp 395 . . . . . . . . . . . . 13 ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐸 = {𝐶} → (𝐶 = 𝐷 → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
170169com13 88 . . . . . . . . . . . 12 (𝐶 = 𝐷 → (𝐸 = {𝐶} → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷}))))
171170imp 395 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) → (𝐴 = 𝐵𝐹 = {𝐴, 𝐷})))
17280imp 395 . . . . . . . . . . . . . . . . 17 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → 𝐶 = 𝐴)
173172eqeq1d 2767 . . . . . . . . . . . . . . . 16 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
174173biimpd 220 . . . . . . . . . . . . . . 15 ((𝐸 = {𝐴} ∧ 𝐸 = {𝐶}) → (𝐶 = 𝐷𝐴 = 𝐷))
175174ex 401 . . . . . . . . . . . . . 14 (𝐸 = {𝐴} → (𝐸 = {𝐶} → (𝐶 = 𝐷𝐴 = 𝐷)))
176175com13 88 . . . . . . . . . . . . 13 (𝐶 = 𝐷 → (𝐸 = {𝐶} → (𝐸 = {𝐴} → 𝐴 = 𝐷)))
177176imp 395 . . . . . . . . . . . 12 ((𝐶 = 𝐷𝐸 = {𝐶}) → (𝐸 = {𝐴} → 𝐴 = 𝐷))
178177anim1d 604 . . . . . . . . . . 11 ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) → (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
179171, 178orim12d 987 . . . . . . . . . 10 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
180179imp 395 . . . . . . . . 9 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))
181147, 180jca 507 . . . . . . . 8 (((𝐶 = 𝐷𝐸 = {𝐶}) ∧ ((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
182181ex 401 . . . . . . 7 ((𝐶 = 𝐷𝐸 = {𝐶}) → (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
183182com12 32 . . . . . 6 (((𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴}) ∨ (𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
184183orcoms 898 . . . . 5 (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) → ((𝐶 = 𝐷𝐸 = {𝐶}) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵})))))
185184imp 395 . . . 4 ((((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶})) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
186117, 185jaoi 883 . . 3 ((((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))) → ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
18755, 186impbii 200 . 2 (((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))) ↔ (((𝐴 = 𝐵𝐸 = {𝐴}) ∧ ((𝐸 = {𝐶} ∧ 𝐹 = {𝐶, 𝐷}) ∨ (𝐸 = {𝐶, 𝐷} ∧ 𝐹 = {𝐶}))) ∨ (((𝐸 = {𝐴} ∧ 𝐹 = {𝐴, 𝐵}) ∨ (𝐸 = {𝐴, 𝐵} ∧ 𝐹 = {𝐴})) ∧ (𝐶 = 𝐷𝐸 = {𝐶}))))
18813, 18, 1873bitr4i 294 1 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ⟨𝐸, 𝐹⟩ ↔ ((𝐴 = 𝐶𝐸 = {𝐴}) ∧ ((𝐴 = 𝐵𝐹 = {𝐴, 𝐷}) ∨ (𝐴 = 𝐷𝐹 = {𝐴, 𝐵}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384  wo 873   = wceq 1652  wcel 2155  Vcvv 3350  {csn 4334  {cpr 4336  cop 4340
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pr 5062
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-v 3352  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-nul 4080  df-if 4244  df-sn 4335  df-pr 4337  df-op 4341
This theorem is referenced by:  propssopi  5129  fun2dmnopgexmpl  41965
  Copyright terms: Public domain W3C validator