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

Theorem eupth2lem2dc 16614
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 2239 . . . . . . . 8 (𝜑𝐵 = 𝐵)
32olcd 746 . . . . . . 7 (𝜑 → (𝐵 = 𝐴𝐵 = 𝐵))
43biantrud 304 . . . . . 6 (𝜑 → (𝐴𝐵 ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
5 eupth2lem2dc.1 . . . . . . 7 (𝜑𝐵𝑋)
6 eupth2lem1 16613 . . . . . . 7 (𝐵𝑋 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
75, 6syl 14 . . . . . 6 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
8 eupth2lem2dc.bu . . . . . . 7 (𝜑𝐵 = 𝑈)
98eleq1d 2307 . . . . . 6 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
104, 7, 93bitr2d 216 . . . . 5 (𝜑 → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
1110a1d 22 . . . 4 (𝜑 → (DECID 𝐴 = 𝐵 → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}))))
1211necon1bbiddc 2483 . . 3 (𝜑 → (DECID 𝐴 = 𝐵 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵)))
131, 12mpd 13 . 2 (𝜑 → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵))
14 eupth2lem2dc.bc . . . . . . 7 (𝜑𝐵𝐶)
15 neeq1 2433 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝐶𝐴𝐶))
1614, 15syl5ibcom 155 . . . . . 6 (𝜑 → (𝐵 = 𝐴𝐴𝐶))
1716pm4.71rd 398 . . . . 5 (𝜑 → (𝐵 = 𝐴 ↔ (𝐴𝐶𝐵 = 𝐴)))
18 eqcom 2240 . . . . 5 (𝐴 = 𝐵𝐵 = 𝐴)
19 ancom 266 . . . . 5 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴𝐶𝐵 = 𝐴))
2017, 18, 193bitr4g 223 . . . 4 (𝜑 → (𝐴 = 𝐵 ↔ (𝐵 = 𝐴𝐴𝐶)))
2114neneqd 2441 . . . . . . 7 (𝜑 → ¬ 𝐵 = 𝐶)
22 biorf 756 . . . . . . 7 𝐵 = 𝐶 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
2321, 22syl 14 . . . . . 6 (𝜑 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
24 orcom 740 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐴) ↔ (𝐵 = 𝐴𝐵 = 𝐶))
2523, 24bitrdi 196 . . . . 5 (𝜑 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐴𝐵 = 𝐶)))
2625anbi1d 469 . . . 4 (𝜑 → ((𝐵 = 𝐴𝐴𝐶) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2720, 26bitrd 188 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2827biancomd 271 . 2 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
29 eupth2lem1 16613 . . . 4 (𝐵𝑋 → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
305, 29syl 14 . . 3 (𝜑 → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
318eleq1d 2307 . . 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 720  DECID wdc 846   = wceq 1402  wcel 2209  wne 2420  c0 3520  ifcif 3635  {cpr 3706
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 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This theorem depends on definitions:  df-bi 117  df-stab 843  df-dc 847  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-v 2823  df-dif 3222  df-un 3224  df-nul 3521  df-if 3636  df-sn 3711  df-pr 3712
This theorem is referenced by:  eupth2lem3lem4fi  16628
  Copyright terms: Public domain W3C validator