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

Theorem eupth2lem2 28583
Description: Lemma for eupth2 28603. (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 871 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐵 = 𝐵))
32biantrud 532 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵 ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
4 eupth2lem2.1 . . . . . 6 𝐵 ∈ V
5 eupth2lem1 28582 . . . . . 6 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
64, 5ax-mp 5 . . . . 5 (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵)))
73, 6bitr4di 289 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
8 simpr 485 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → 𝐵 = 𝑈)
98eleq1d 2823 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
107, 9bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
1110necon1bbid 2983 . 2 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵))
12 simpl 483 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → 𝐵𝐶)
13 neeq1 3006 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝐶𝐴𝐶))
1412, 13syl5ibcom 244 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐴𝐶))
1514pm4.71rd 563 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐴𝐶𝐵 = 𝐴)))
16 eqcom 2745 . . . . 5 (𝐴 = 𝐵𝐵 = 𝐴)
17 ancom 461 . . . . 5 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴𝐶𝐵 = 𝐴))
1815, 16, 173bitr4g 314 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐵 = 𝐴𝐴𝐶)))
1912neneqd 2948 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → ¬ 𝐵 = 𝐶)
20 biorf 934 . . . . . . 7 𝐵 = 𝐶 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
2119, 20syl 17 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
22 orcom 867 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐴) ↔ (𝐵 = 𝐴𝐵 = 𝐶))
2321, 22bitrdi 287 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐴𝐵 = 𝐶)))
2423anbi1d 630 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → ((𝐵 = 𝐴𝐴𝐶) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2518, 24bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
26 ancom 461 . . 3 ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶))
2725, 26bitr4di 289 . 2 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
28 eupth2lem1 28582 . . . 4 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
294, 28ax-mp 5 . . 3 (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)))
308eleq1d 2823 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3129, 30bitr3id 285 . 2 ((𝐵𝐶𝐵 = 𝑈) → ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
3211, 27, 313bitrd 305 1 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wne 2943  Vcvv 3432  c0 4256  ifcif 4459  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564
This theorem is referenced by:  eupth2lem3lem4  28595
  Copyright terms: Public domain W3C validator