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

Theorem reusv2lem5 5325
Description: Lemma for reusv2 5326. (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 361 . . . . . . . . 9 ((𝐶𝐴 ∧ ⊤) → (𝑥 = 𝐶 ↔ ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
31, 2mpan2 688 . . . . . . . 8 (𝐶𝐴 → (𝑥 = 𝐶 ↔ ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶)))
4 ibar 529 . . . . . . . 8 (𝐶𝐴 → (𝑥 = 𝐶 ↔ (𝐶𝐴𝑥 = 𝐶)))
53, 4bitr3d 280 . . . . . . 7 (𝐶𝐴 → (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝐶𝐴𝑥 = 𝐶)))
6 eleq1 2826 . . . . . . . 8 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
76pm5.32ri 576 . . . . . . 7 ((𝑥𝐴𝑥 = 𝐶) ↔ (𝐶𝐴𝑥 = 𝐶))
85, 7bitr4di 289 . . . . . 6 (𝐶𝐴 → (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)))
98ralimi 3087 . . . . 5 (∀𝑦𝐵 𝐶𝐴 → ∀𝑦𝐵 (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)))
10 ralbi 3089 . . . . 5 (∀𝑦𝐵 (((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ (𝑥𝐴𝑥 = 𝐶)) → (∀𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
119, 10syl 17 . . . 4 (∀𝑦𝐵 𝐶𝐴 → (∀𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
1211eubidv 2586 . . 3 (∀𝑦𝐵 𝐶𝐴 → (∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 (𝑥𝐴𝑥 = 𝐶)))
13 r19.28zv 4431 . . . 4 (𝐵 ≠ ∅ → (∀𝑦𝐵 (𝑥𝐴𝑥 = 𝐶) ↔ (𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
1413eubidv 2586 . . 3 (𝐵 ≠ ∅ → (∃!𝑥𝑦𝐵 (𝑥𝐴𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
1512, 14sylan9bb 510 . 2 ((∀𝑦𝐵 𝐶𝐴𝐵 ≠ ∅) → (∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶) ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶)))
161biantrur 531 . . . . 5 (𝑥 = 𝐶 ↔ (⊤ ∧ 𝑥 = 𝐶))
1716rexbii 3181 . . . 4 (∃𝑦𝐵 𝑥 = 𝐶 ↔ ∃𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶))
1817reubii 3325 . . 3 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝐴𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶))
19 reusv2lem4 5324 . . 3 (∃!𝑥𝐴𝑦𝐵 (⊤ ∧ 𝑥 = 𝐶) ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶))
2018, 19bitri 274 . 2 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝑦𝐵 ((𝐶𝐴 ∧ ⊤) → 𝑥 = 𝐶))
21 df-reu 3072 . 2 (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥(𝑥𝐴 ∧ ∀𝑦𝐵 𝑥 = 𝐶))
2215, 20, 213bitr4g 314 1 ((∀𝑦𝐵 𝐶𝐴𝐵 ≠ ∅) → (∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶 ↔ ∃!𝑥𝐴𝑦𝐵 𝑥 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wtru 1540  wcel 2106  ∃!weu 2568  wne 2943  wral 3064  wrex 3065  ∃!wreu 3066  c0 4256
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-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230  ax-pow 5288
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-nul 4257
This theorem is referenced by:  reusv2  5326
  Copyright terms: Public domain W3C validator