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

Theorem reusv2lem2 5342
Description: Lemma for reusv2 5346. (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 5333 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵)
2 exnal 1828 . . . . 5 (∃𝑥 ¬ ∀𝑦𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
31, 2sylib 217 . . . 4 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ¬ ∀𝑥𝑦𝐴 𝑥 = 𝐵)
4 rzal 4453 . . . . 5 (𝐴 = ∅ → ∀𝑦𝐴 𝑥 = 𝐵)
54alrimiv 1929 . . . 4 (𝐴 = ∅ → ∀𝑥𝑦𝐴 𝑥 = 𝐵)
63, 5nsyl3 138 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
76pm2.21d 121 . 2 (𝐴 = ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
8 simpr 485 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
9 nfra1 3263 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑧 = 𝐵
10 nfra1 3263 . . . . . . . . . . 11 𝑦𝑦𝐴 𝑥 = 𝐵
11 simpr 485 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3227 . . . . . . . . . . . . . . 15 ((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) → 𝑧 = 𝐵)
1312adantr 481 . . . . . . . . . . . . . 14 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2779 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2740 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵𝑧 = 𝐵))
1615ralbidv 3170 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑧 = 𝐵))
1716biimprcd 249 . . . . . . . . . . . . . 14 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1817ad2antrr 723 . . . . . . . . . . . . 13 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦𝐴 𝑥 = 𝐵))
1914, 18mpd 15 . . . . . . . . . . . 12 (((∀𝑦𝐴 𝑧 = 𝐵𝑦𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦𝐴 𝑥 = 𝐵)
2019exp31 420 . . . . . . . . . . 11 (∀𝑦𝐴 𝑧 = 𝐵 → (𝑦𝐴 → (𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3245 . . . . . . . . . 10 (∀𝑦𝐴 𝑧 = 𝐵 → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
2221adantl 482 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 → ∀𝑦𝐴 𝑥 = 𝐵))
23 r19.2z 4439 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑥 = 𝐵) → ∃𝑦𝐴 𝑥 = 𝐵)
2423ex 413 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2524adantr 481 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∀𝑦𝐴 𝑥 = 𝐵 → ∃𝑦𝐴 𝑥 = 𝐵))
2622, 25impbid 211 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃𝑦𝐴 𝑥 = 𝐵 ↔ ∀𝑦𝐴 𝑥 = 𝐵))
2726eubidv 2584 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦𝐴 𝑧 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
2827ex 413 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
2928exlimdv 1935 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧𝑦𝐴 𝑧 = 𝐵 → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵)))
30 euex 2575 . . . . . 6 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑥𝑦𝐴 𝑥 = 𝐵)
3116cbvexvw 2039 . . . . . 6 (∃𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3230, 31sylib 217 . . . . 5 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃𝑧𝑦𝐴 𝑧 = 𝐵)
3329, 32impel 506 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 ↔ ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
348, 33mpbird 256 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥𝑦𝐴 𝑥 = 𝐵) → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
3534ex 413 . 2 (𝐴 ≠ ∅ → (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3025 1 (∃!𝑥𝑦𝐴 𝑥 = 𝐵 → ∃!𝑥𝑦𝐴 𝑥 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wal 1538   = wceq 1540  wex 1780  wcel 2105  ∃!weu 2566  wne 2940  wral 3061  wrex 3070  c0 4269
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-12 2170  ax-ext 2707  ax-nul 5250  ax-pow 5308
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-ne 2941  df-ral 3062  df-rex 3071  df-dif 3901  df-nul 4270
This theorem is referenced by:  reusv2lem3  5343
  Copyright terms: Public domain W3C validator