ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eupth2lem2dc GIF version

Theorem eupth2lem2dc 16309
Description: Lemma for eupth2 . (Contributed by Mario Carneiro, 8-Apr-2015.)
Hypotheses
Ref Expression
eupth2lem2dc.1 (𝜑𝐵𝑋)
eupth2lem2dc.dc (𝜑DECID 𝐴 = 𝐵)
eupth2lem2dc.bc (𝜑𝐵𝐶)
eupth2lem2dc.bu (𝜑𝐵 = 𝑈)
Assertion
Ref Expression
eupth2lem2dc (𝜑 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))

Proof of Theorem eupth2lem2dc
StepHypRef Expression
1 eupth2lem2dc.dc . . 3 (𝜑DECID 𝐴 = 𝐵)
2 eqidd 2232 . . . . . . . 8 (𝜑𝐵 = 𝐵)
32olcd 741 . . . . . . 7 (𝜑 → (𝐵 = 𝐴𝐵 = 𝐵))
43biantrud 304 . . . . . 6 (𝜑 → (𝐴𝐵 ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
5 eupth2lem2dc.1 . . . . . . 7 (𝜑𝐵𝑋)
6 eupth2lem1 16308 . . . . . . 7 (𝐵𝑋 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
75, 6syl 14 . . . . . 6 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
8 eupth2lem2dc.bu . . . . . . 7 (𝜑𝐵 = 𝑈)
98eleq1d 2300 . . . . . 6 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
104, 7, 93bitr2d 216 . . . . 5 (𝜑 → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
1110a1d 22 . . . 4 (𝜑 → (DECID 𝐴 = 𝐵 → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}))))
1211necon1bbiddc 2465 . . 3 (𝜑 → (DECID 𝐴 = 𝐵 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵)))
131, 12mpd 13 . 2 (𝜑 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵))
14 eupth2lem2dc.bc . . . . . . 7 (𝜑𝐵𝐶)
15 neeq1 2415 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝐶𝐴𝐶))
1614, 15syl5ibcom 155 . . . . . 6 (𝜑 → (𝐵 = 𝐴𝐴𝐶))
1716pm4.71rd 394 . . . . 5 (𝜑 → (𝐵 = 𝐴 ↔ (𝐴𝐶𝐵 = 𝐴)))
18 eqcom 2233 . . . . 5 (𝐴 = 𝐵𝐵 = 𝐴)
19 ancom 266 . . . . 5 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴𝐶𝐵 = 𝐴))
2017, 18, 193bitr4g 223 . . . 4 (𝜑 → (𝐴 = 𝐵 ↔ (𝐵 = 𝐴𝐴𝐶)))
2114neneqd 2423 . . . . . . 7 (𝜑 → ¬ 𝐵 = 𝐶)
22 biorf 751 . . . . . . 7 𝐵 = 𝐶 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
2321, 22syl 14 . . . . . 6 (𝜑 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
24 orcom 735 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐴) ↔ (𝐵 = 𝐴𝐵 = 𝐶))
2523, 24bitrdi 196 . . . . 5 (𝜑 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐴𝐵 = 𝐶)))
2625anbi1d 465 . . . 4 (𝜑 → ((𝐵 = 𝐴𝐴𝐶) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2720, 26bitrd 188 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2827biancomd 271 . 2 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
29 eupth2lem1 16308 . . . 4 (𝐵𝑋 → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
305, 29syl 14 . . 3 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
318eleq1d 2300 . . 3 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3230, 31bitr3d 190 . 2 (𝜑 → ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3313, 28, 323bitrd 214 1 (𝜑 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 715  DECID wdc 841   = wceq 1397  wcel 2202  wne 2402  c0 3494  ifcif 3605  {cpr 3670
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-ext 2213
This theorem depends on definitions:  df-bi 117  df-stab 838  df-dc 842  df-tru 1400  df-nf 1509  df-sb 1811  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-v 2804  df-dif 3202  df-un 3204  df-nul 3495  df-if 3606  df-sn 3675  df-pr 3676
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator