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

Theorem reusv2lem2 5366
Description: Lemma for reusv2 5370. (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 5357 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2 exnal 1860 . . . . 5 (∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
31, 2sylib 221 . . . 4 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
4 rzal 4453 . . . . 5 (𝐴 = ∅ → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
54alrimiv 1962 . . . 4 (𝐴 = ∅ → ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
63, 5nsyl3 139 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
76pm2.21d 122 . 2 (𝐴 = ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
8 simpr 490 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
9 nfra1 3290 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑧 = 𝐵
10 nfra1 3290 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑥 = 𝐵
11 simpr 490 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3255 . . . . . . . . . . . . . . 15 ((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) → 𝑧 = 𝐵)
1312adantr 486 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2801 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2767 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵 ↔ 𝑧 = 𝐵))
1615ralbidv 3189 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵))
1716biimprcd 253 . . . . . . . . . . . . . 14 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1817ad2antrr 739 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1914, 18mpd 16 . . . . . . . . . . . 12 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2019exp31 425 . . . . . . . . . . 11 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑦 ∈ 𝐴 → (𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3273 . . . . . . . . . 10 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2221adantl 487 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
23 r19.2z 4458 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
2423ex 418 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2524adantr 486 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2622, 25impbid 215 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2726eubidv 2614 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2827ex 418 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
2928exlimdv 1968 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
30 euex 2605 . . . . . 6 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
3116cbvexvw 2072 . . . . . 6 (∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3230, 31sylib 221 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3329, 32impel 515 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
348, 33mpbird 260 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
3534ex 418 . 2 (𝐴 ≠ ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3042 1 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∃!weu 2596   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  ∅c0 4281
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-nul 5264  ax-pow 5332
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-ne 2960  df-ral 3081  df-rex 3091  df-dif 4050  df-nul 4282
This theorem is used by:  reusv2lem3  5367
  Copyright terms: Public domain W3C validator