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

Theorem reusv2lem2 5325
Description: Lemma for reusv2 5329. (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 5316 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵)
2 exnal 1832 . . . . 5 (∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
31, 2sylib 217 . . . 4 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
4 rzal 4444 . . . . 5 (𝐴 = ∅ → ∀𝑦𝐴 𝑥 = 𝐵)
54alrimiv 1933 . . . 4 (𝐴 = ∅ → ∀𝑥𝑦𝐴 𝑥 = 𝐵)
63, 5nsyl3 138 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
76pm2.21d 121 . 2 (𝐴 = ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
8 simpr 484 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
9 nfra1 3144 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑧 = 𝐵
10 nfra1 3144 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑥 = 𝐵
11 simpr 484 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3132 . . . . . . . . . . . . . . 15 ((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) → 𝑧 = 𝐵)
1312adantr 480 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2782 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2743 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1615ralbidv 3122 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
1716biimprcd 249 . . . . . . . . . . . . . 14 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1817ad2antrr 722 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1914, 18mpd 15 . . . . . . . . . . . 12 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦𝐴 𝑥 = 𝐵)
2019exp31 419 . . . . . . . . . . 11 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑦𝐴 → (𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3247 . . . . . . . . . 10 (∀𝑦𝐴 𝑧 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221adantl 481 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
23 r19.2z 4430 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2423ex 412 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2524adantr 480 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2622, 25impbid 211 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
2726eubidv 2587 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
2827ex 412 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
2928exlimdv 1939 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
30 euex 2578 . . . . . 6 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
3116cbvexvw 2043 . . . . . 6 (∃𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3230, 31sylib 217 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3329, 32impel 505 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
348, 33mpbird 256 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
3534ex 412 . 2 (𝐴 ≠ ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3029 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1539   = wceq 1541  wex 1785  wcel 2109  ∃!weu 2569  wne 2944  wral 3065  wrex 3066  c0 4261
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-12 2174  ax-ext 2710  ax-nul 5233  ax-pow 5291
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-ne 2945  df-ral 3070  df-rex 3071  df-dif 3894  df-nul 4262
This theorem is referenced by:  reusv2lem3  5326
  Copyright terms: Public domain W3C validator