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

Theorem reusv2lem5 5320
Description: Lemma for reusv2 5321. (Contributed by NM, 4-Jan-2013.) (Proof shortened by Mario Carneiro, 19-Nov-2016.)
Assertion
Ref Expression
reusv2lem5 ((∀𝑦𝐵 𝐶𝐴𝐵 ≠ ∅) → (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶
Allowed substitution hint:   𝐶(𝑦)

Proof of Theorem reusv2lem5
StepHypRef Expression
1 tru 1543 . . . . . . . . 9
2 biimt 360 . . . . . . . . 9 ((𝐶𝐴 ∧ ⊤) → (𝑥 = 𝐶 ↔ ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
31, 2mpan2 687 . . . . . . . 8 (𝐶𝐴 → (𝑥 = 𝐶 ↔ ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
4 ibar 528 . . . . . . . 8 (𝐶𝐴 → (𝑥 = 𝐶 ↔ (𝐶𝐴𝑥 = 𝐶)))
53, 4bitr3d 280 . . . . . . 7 (𝐶𝐴 → (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝐶𝐴𝑥 = 𝐶)))
6 eleq1 2826 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76pm5.32ri 575 . . . . . . 7 ((𝑥𝐴𝑥 = 𝐶) ↔ (𝐶𝐴𝑥 = 𝐶))
85, 7bitr4di 288 . . . . . 6 (𝐶𝐴 → (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)))
98ralimi 3086 . . . . 5 (∀𝑦𝐵 𝐶𝐴 → ∀𝑦𝐵 (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)))
10 ralbi 3092 . . . . 5 (∀𝑦𝐵 (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)) → (∀𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
119, 10syl 17 . . . 4 (∀𝑦𝐵 𝐶𝐴 → (∀𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
1211eubidv 2586 . . 3 (∀𝑦𝐵 𝐶𝐴 → (∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
13 r19.28zv 4428 . . . 4 (𝐵 ≠ ∅ → (∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
1413eubidv 2586 . . 3 (𝐵 ≠ ∅ → (∃!𝑥𝑦𝐵 (𝑥𝐴𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
1512, 14sylan9bb 509 . 2 ((∀𝑦𝐵 𝐶𝐴𝐵 ≠ ∅) → (∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
161biantrur 530 . . . . 5 (𝑥 = 𝐶 ↔ (⊤ ∧ 𝑥 = 𝐶))
1716rexbii 3177 . . . 4 (∃𝑦𝐵 𝑥 = 𝐶 ↔ ∃𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶))
1817reubii 3317 . . 3 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝐴𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶))
19 reusv2lem4 5319 . . 3 (∃!𝑥𝐴𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶))
2018, 19bitri 274 . 2 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶))
21 df-reu 3070 . 2 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶))
2215, 20, 213bitr4g 313 1 ((∀𝑦𝐵 𝐶𝐴𝐵 ≠ ∅) → (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wtru 1540  wcel 2108  ∃!weu 2568  wne 2942  wral 3063  wrex 3064  ∃!wreu 3065  c0 4253
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-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225  ax-pow 5283
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-nul 4254
This theorem is referenced by:  reusv2  5321
  Copyright terms: Public domain W3C validator