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

Theorem reusv2lem2 5360
Description: Lemma for reusv2 5364. (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 5351 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2 exnal 1859 . . . . 5 (∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
31, 2sylib 221 . . . 4 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
4 rzal 4449 . . . . 5 (𝐴 = ∅ → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
54alrimiv 1959 . . . 4 (𝐴 = ∅ → ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
63, 5nsyl3 139 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
76pm2.21d 122 . 2 (𝐴 = ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
8 simpr 490 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
9 nfra1 3286 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑧 = 𝐵
10 nfra1 3286 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑥 = 𝐵
11 simpr 490 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3251 . . . . . . . . . . . . . . 15 ((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) → 𝑧 = 𝐵)
1312adantr 486 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2798 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2764 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵 ↔ 𝑧 = 𝐵))
1615ralbidv 3185 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵))
1716biimprcd 253 . . . . . . . . . . . . . 14 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1817ad2antrr 739 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1914, 18mpd 16 . . . . . . . . . . . 12 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2019exp31 425 . . . . . . . . . . 11 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑦 ∈ 𝐴 → (𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3269 . . . . . . . . . 10 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2221adantl 487 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
23 r19.2z 4454 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
2423ex 418 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2524adantr 486 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2622, 25impbid 215 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2726eubidv 2611 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2827ex 418 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
2928exlimdv 1965 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
30 euex 2602 . . . . . 6 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
3116cbvexvw 2069 . . . . . 6 (∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3230, 31sylib 221 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3329, 32impel 515 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
348, 33mpbird 260 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
3534ex 418 . 2 (𝐴 ≠ ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3038 1 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∃!weu 2593   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ∅c0 4278
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732  ax-nul 5259  ax-pow 5326
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-ne 2956  df-ral 3077  df-rex 3087  df-dif 4047  df-nul 4279
This theorem is used by:  reusv2lem3  5361
  Copyright terms: Public domain W3C validator