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

Theorem eupth2lem2 29739
Description: Lemma for eupth2 29759. (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 2731 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → 𝐵 = 𝐵)
21olcd 870 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐵 = 𝐵))
32biantrud 530 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵 ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
4 eupth2lem2.1 . . . . . 6 𝐵 ∈ V
5 eupth2lem1 29738 . . . . . 6 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵))))
64, 5ax-mp 5 . . . . 5 (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ (𝐴𝐵 ∧ (𝐵 = 𝐴𝐵 = 𝐵)))
73, 6bitr4di 288 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
8 simpr 483 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → 𝐵 = 𝑈)
98eleq1d 2816 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
107, 9bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴𝐵𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵})))
1110necon1bbid 2978 . 2 ((𝐵𝐶𝐵 = 𝑈) → (¬ 𝑈 ∈ if(𝐴 = 𝐵, ∅, {𝐴, 𝐵}) ↔ 𝐴 = 𝐵))
12 simpl 481 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → 𝐵𝐶)
13 neeq1 3001 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝐶𝐴𝐶))
1412, 13syl5ibcom 244 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴𝐴𝐶))
1514pm4.71rd 561 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐴𝐶𝐵 = 𝐴)))
16 eqcom 2737 . . . . 5 (𝐴 = 𝐵𝐵 = 𝐴)
17 ancom 459 . . . . 5 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴𝐶𝐵 = 𝐴))
1815, 16, 173bitr4g 313 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐵 = 𝐴𝐴𝐶)))
1912neneqd 2943 . . . . . . 7 ((𝐵𝐶𝐵 = 𝑈) → ¬ 𝐵 = 𝐶)
20 biorf 933 . . . . . . 7 𝐵 = 𝐶 → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
2119, 20syl 17 . . . . . 6 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐶𝐵 = 𝐴)))
22 orcom 866 . . . . . 6 ((𝐵 = 𝐶𝐵 = 𝐴) ↔ (𝐵 = 𝐴𝐵 = 𝐶))
2321, 22bitrdi 286 . . . . 5 ((𝐵𝐶𝐵 = 𝑈) → (𝐵 = 𝐴 ↔ (𝐵 = 𝐴𝐵 = 𝐶)))
2423anbi1d 628 . . . 4 ((𝐵𝐶𝐵 = 𝑈) → ((𝐵 = 𝐴𝐴𝐶) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
2518, 24bitrd 278 . . 3 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶)))
26 ancom 459 . . 3 ((𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)) ↔ ((𝐵 = 𝐴𝐵 = 𝐶) ∧ 𝐴𝐶))
2725, 26bitr4di 288 . 2 ((𝐵𝐶𝐵 = 𝑈) → (𝐴 = 𝐵 ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
28 eupth2lem1 29738 . . . 4 (𝐵 ∈ V → (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶))))
294, 28ax-mp 5 . . 3 (𝐵 ∈ if(𝐴 = 𝐶, ∅, {𝐴, 𝐶}) ↔ (𝐴𝐶 ∧ (𝐵 = 𝐴𝐵 = 𝐶)))
308eleq1d 2816 . . 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 394  wo 843   = wceq 1539  wcel 2104  wne 2938  Vcvv 3472  c0 4321  ifcif 4527  {cpr 4629
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2701
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-tru 1542  df-fal 1552  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2722  df-clel 2808  df-ne 2939  df-v 3474  df-dif 3950  df-un 3952  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630
This theorem is referenced by:  eupth2lem3lem4  29751
  Copyright terms: Public domain W3C validator