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

Theorem reusv2lem2 4795
Description: Lemma for reusv2 4800. (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 4785 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵)
2 exnal 1744 . . . . 5 (∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
31, 2sylib 207 . . . 4 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
4 rzal 4025 . . . . 5 (𝐴 = ∅ → ∀𝑦𝐴 𝑥 = 𝐵)
54alrimiv 1842 . . . 4 (𝐴 = ∅ → ∀𝑥𝑦𝐴 𝑥 = 𝐵)
63, 5nsyl3 132 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
76pm2.21d 117 . 2 (𝐴 = ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
8 simpr 476 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
9 nfra1 2925 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑧 = 𝐵
10 nfra1 2925 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑥 = 𝐵
11 simpr 476 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 2914 . . . . . . . . . . . . . . 15 ((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) → 𝑧 = 𝐵)
1312adantr 480 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2647 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2614 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1615ralbidv 2969 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
1716biimprcd 239 . . . . . . . . . . . . . 14 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1817ad2antrr 758 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1914, 18mpd 15 . . . . . . . . . . . 12 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦𝐴 𝑥 = 𝐵)
2019exp31 628 . . . . . . . . . . 11 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑦𝐴 → (𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3008 . . . . . . . . . 10 (∀𝑦𝐴 𝑧 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221adantl 481 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
23 r19.2z 4012 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2423ex 449 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2524adantr 480 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2622, 25impbid 201 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
2726eubidv 2478 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
2827ex 449 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
2928exlimdv 1848 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
30 euex 2482 . . . . . 6 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
3116cbvexv 2263 . . . . . 6 (∃𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3230, 31sylib 207 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3329, 32impel 484 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
348, 33mpbird 246 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
3534ex 449 . 2 (𝐴 ≠ ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 2865 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wex 1695  wcel 1977  ∃!weu 2458  wne 2780  wral 2896  wrex 2897  c0 3874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-nul 4717  ax-pow 4769
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-nul 3875
This theorem is referenced by:  reusv2lem3  4797
  Copyright terms: Public domain W3C validator