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

Theorem reusv2lem2 5371
Description: Lemma for reusv2 5375. (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 5362 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2 exnal 1862 . . . . 5 (∃𝑥 ¬ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
31, 2sylib 221 . . . 4 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ¬ ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
4 rzal 4455 . . . . 5 (𝐴 = ∅ → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
54alrimiv 1964 . . . 4 (𝐴 = ∅ → ∀𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
63, 5nsyl3 139 . . 3 (𝐴 = ∅ → ¬ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
76pm2.21d 122 . 2 (𝐴 = ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
8 simpr 490 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
9 nfra1 3293 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑧 = 𝐵
10 nfra1 3293 . . . . . . . . . . 11 Ⅎ𝑦∀𝑦 ∈ 𝐴 𝑥 = 𝐵
11 simpr 490 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝐵)
12 rspa 3258 . . . . . . . . . . . . . . 15 ((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) → 𝑧 = 𝐵)
1312adantr 486 . . . . . . . . . . . . . 14 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑧 = 𝐵)
1411, 13eqtr4d 2807 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → 𝑥 = 𝑧)
15 eqeq1 2773 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑧 → (𝑥 = 𝐵 ↔ 𝑧 = 𝐵))
1615ralbidv 3195 . . . . . . . . . . . . . . 15 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵))
1716biimprcd 253 . . . . . . . . . . . . . 14 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1817ad2antrr 739 . . . . . . . . . . . . 13 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → (𝑥 = 𝑧 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
1914, 18mpd 16 . . . . . . . . . . . 12 (((∀𝑦 ∈ 𝐴 𝑧 = 𝐵 ∧ 𝑦 ∈ 𝐴) ∧ 𝑥 = 𝐵) → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
2019exp31 425 . . . . . . . . . . 11 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (𝑦 ∈ 𝐴 → (𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
219, 10, 20rexlimd 3276 . . . . . . . . . 10 (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2221adantl 487 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
23 r19.2z 4460 . . . . . . . . . . 11 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
2423ex 418 . . . . . . . . . 10 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2524adantr 486 . . . . . . . . 9 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
2622, 25impbid 215 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2726eubidv 2620 . . . . . . 7 ((𝐴 ≠ ∅ ∧ ∀𝑦 ∈ 𝐴 𝑧 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
2827ex 418 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
2928exlimdv 1970 . . . . 5 (𝐴 ≠ ∅ → (∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵 → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)))
30 euex 2611 . . . . . 6 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵)
3116cbvexvw 2074 . . . . . 6 (∃𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3230, 31sylib 221 . . . . 5 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃𝑧∀𝑦 ∈ 𝐴 𝑧 = 𝐵)
3329, 32impel 515 . . . 4 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → (∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵 ↔ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵))
348, 33mpbird 260 . . 3 ((𝐴 ≠ ∅ ∧ ∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵) → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
3534ex 418 . 2 (𝐴 ≠ ∅ → (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵))
367, 35pm2.61ine 3048 1 (∃!𝑥∀𝑦 ∈ 𝐴 𝑥 = 𝐵 → ∃!𝑥∃𝑦 ∈ 𝐴 𝑥 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2151  ∃!weu 2600   ≠ wne 2965  ∀wral 3086  ∃wrex 3096  ∅c0 4283
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-12 2220  ax-ext 2741  ax-nul 5269  ax-pow 5337
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-ne 2966  df-ral 3087  df-rex 3097  df-dif 4052  df-nul 4284
This theorem is used by:  reusv2lem3  5372
  Copyright terms: Public domain W3C validator