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

Theorem reusv2lem2 5290
Description: Lemma for reusv2 5294. (Contributed by NM, 27-Oct-2010.) (Proof shortened by Mario Carneiro, 19-Nov-2016.) (Proof shortened by JJ, 7-Aug-2021.)
Assertion
Ref Expression
reusv2lem2 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵
Allowed substitution hint:   𝐵(𝑦)

Proof of Theorem reusv2lem2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eunex 5281 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵)
2 exnal 1818 . . . . 5 (∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
31, 2sylib 219 . . . 4 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
4 rzal 4449 . . . . 5 (𝐴 = ∅ → ∀𝑦𝐴 𝑥 = 𝐵)
54alrimiv 1919 . . . 4 (𝐴 = ∅ → ∀𝑥𝑦𝐴 𝑥 = 𝐵)
63, 5nsyl3 140 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
76pm2.21d 121 . 2 (𝐴 = ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
8 simpr 485 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
9 nfra1 3216 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑧 = 𝐵
10 nfra1 3216 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑥 = 𝐵
11 simpr 485 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3203 . . . . . . . . . . . . . . 15 ((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) → 𝑧 = 𝐵)
1312adantr 481 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2856 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2822 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1615ralbidv 3194 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
1716biimprcd 251 . . . . . . . . . . . . . 14 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1817ad2antrr 722 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1914, 18mpd 15 . . . . . . . . . . . 12 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦𝐴 𝑥 = 𝐵)
2019exp31 420 . . . . . . . . . . 11 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑦𝐴 → (𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3314 . . . . . . . . . 10 (∀𝑦𝐴 𝑧 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221adantl 482 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
23 r19.2z 4436 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2423ex 413 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2524adantr 481 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2622, 25impbid 213 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
2726eubidv 2665 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
2827ex 413 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
2928exlimdv 1925 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
30 euex 2655 . . . . . 6 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
3116cbvexvw 2035 . . . . . 6 (∃𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3230, 31sylib 219 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3329, 32impel 506 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
348, 33mpbird 258 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
3534ex 413 . 2 (𝐴 ≠ ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3097 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wex 1771  wcel 2105  ∃!weu 2646  wne 3013  wral 3135  wrex 3136  c0 4288
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-nul 5201  ax-pow 5257
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-dif 3936  df-nul 4289
This theorem is referenced by:  reusv2lem3  5291
  Copyright terms: Public domain W3C validator