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

Theorem eupth2lem2 28484
Description: Lemma for eupth2 28504. (Contributed by Mario Carneiro, 8-Apr-2015.)
Hypothesis
Ref Expression
eupth2lem2.1 𝐵 ∈ V
Assertion
Ref Expression
eupth2lem2 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))

Proof of Theorem eupth2lem2
StepHypRef Expression
1 eqidd 2739 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → 𝐵 = 𝐵)
21olcd 870 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐵 = 𝐵))
32biantrud 531 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵 ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
4 eupth2lem2.1 . . . . . 6 𝐵 ∈ V
5 eupth2lem1 28483 . . . . . 6 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
64, 5ax-mp 5 . . . . 5 (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵)))
73, 6bitr4di 288 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
8 simpr 484 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → 𝐵 = 𝑈)
98eleq1d 2823 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
107, 9bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
1110necon1bbid 2982 . 2 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵))
12 simpl 482 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → 𝐵𝐶)
13 neeq1 3005 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝐶𝐴𝐶))
1412, 13syl5ibcom 244 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐴𝐶))
1514pm4.71rd 562 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐴𝐶𝐵 = 𝐴)))
16 eqcom 2745 . . . . 5 (𝐴 = 𝐵𝐵 = 𝐴)
17 ancom 460 . . . . 5 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴𝐶𝐵 = 𝐴))
1815, 16, 173bitr4g 313 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐵 = 𝐴𝐴𝐶)))
1912neneqd 2947 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → ¬ 𝐵 = 𝐶)
20 biorf 933 . . . . . . 7 𝐵 = 𝐶 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
2119, 20syl 17 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
22 orcom 866 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐴) ↔ (𝐵 = 𝐴𝐵 = 𝐶))
2321, 22bitrdi 286 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐴𝐵 = 𝐶)))
2423anbi1d 629 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → ((𝐵 = 𝐴𝐴𝐶) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2518, 24bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
26 ancom 460 . . 3 ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶))
2725, 26bitr4di 288 . 2 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
28 eupth2lem1 28483 . . . 4 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
294, 28ax-mp 5 . . 3 (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)))
308eleq1d 2823 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3129, 30bitr3id 284 . 2 ((𝐵𝐶𝐵 = 𝑈) → ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3211, 27, 313bitrd 304 1 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  c0 4253  ifcif 4456  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561
This theorem is referenced by:  eupth2lem3lem4  28496
  Copyright terms: Public domain W3C validator