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

Theorem reusv2lem2 5265
Description: Lemma for reusv2 5269. (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 5256 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵)
2 exnal 1828 . . . . 5 (∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
31, 2sylib 221 . . . 4 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
4 rzal 4411 . . . . 5 (𝐴 = ∅ → ∀𝑦𝐴 𝑥 = 𝐵)
54alrimiv 1928 . . . 4 (𝐴 = ∅ → ∀𝑥𝑦𝐴 𝑥 = 𝐵)
63, 5nsyl3 140 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
76pm2.21d 121 . 2 (𝐴 = ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
8 simpr 488 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
9 nfra1 3183 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑧 = 𝐵
10 nfra1 3183 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑥 = 𝐵
11 simpr 488 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3171 . . . . . . . . . . . . . . 15 ((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) → 𝑧 = 𝐵)
1312adantr 484 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2836 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2802 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1615ralbidv 3162 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
1716biimprcd 253 . . . . . . . . . . . . . 14 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1817ad2antrr 725 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1914, 18mpd 15 . . . . . . . . . . . 12 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦𝐴 𝑥 = 𝐵)
2019exp31 423 . . . . . . . . . . 11 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑦𝐴 → (𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3276 . . . . . . . . . 10 (∀𝑦𝐴 𝑧 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221adantl 485 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
23 r19.2z 4398 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2423ex 416 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2524adantr 484 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2622, 25impbid 215 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
2726eubidv 2647 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
2827ex 416 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
2928exlimdv 1934 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
30 euex 2637 . . . . . 6 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
3116cbvexvw 2044 . . . . . 6 (∃𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3230, 31sylib 221 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3329, 32impel 509 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
348, 33mpbird 260 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
3534ex 416 . 2 (𝐴 ≠ ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3070 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1536   = wceq 1538  wex 1781  wcel 2111  ∃!weu 2628  wne 2987  wral 3106  wrex 3107  c0 4243
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-12 2175  ax-ext 2770  ax-nul 5174  ax-pow 5231
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-ne 2988  df-ral 3111  df-rex 3112  df-dif 3884  df-nul 4244
This theorem is referenced by:  reusv2lem3  5266
  Copyright terms: Public domain W3C validator