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

Theorem axprglem 5394
Description: Lemma for axprg 5395. (Contributed by GG, 11-Mar-2026.)
Assertion
Ref Expression
axprglem (𝑥 = 𝐴 → ∃𝑧∀𝑤((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
Distinct variable groups:   𝑥,𝐴,𝑧,𝑤   𝑥,𝐵,𝑧,𝑤

Proof of Theorem axprglem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 iseqsetv-clel 2840 . . . 4 (∃𝑦 𝑦 = 𝐵 ↔ ∃𝑤 𝑤 = 𝐵)
2 ax-pr 5391 . . . . . 6 ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑦) → 𝑤 ∈ 𝑧)
3 eqtr3 2783 . . . . . . . . . . 11 ((𝑤 = 𝐵 ∧ 𝑦 = 𝐵) → 𝑤 = 𝑦)
43expcom 419 . . . . . . . . . 10 (𝑦 = 𝐵 → (𝑤 = 𝐵 → 𝑤 = 𝑦))
54orim2d 982 . . . . . . . . 9 (𝑦 = 𝐵 → ((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → (𝑤 = 𝑥 ∨ 𝑤 = 𝑦)))
65imim1d 83 . . . . . . . 8 (𝑦 = 𝐵 → (((𝑤 = 𝑥 ∨ 𝑤 = 𝑦) → 𝑤 ∈ 𝑧) → ((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
76alimdv 1949 . . . . . . 7 (𝑦 = 𝐵 → (∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑦) → 𝑤 ∈ 𝑧) → ∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
87eximdv 1950 . . . . . 6 (𝑦 = 𝐵 → (∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑦) → 𝑤 ∈ 𝑧) → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
92, 8mpi 21 . . . . 5 (𝑦 = 𝐵 → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
109exlimiv 1963 . . . 4 (∃𝑦 𝑦 = 𝐵 → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
111, 10sylbir 238 . . 3 (∃𝑤 𝑤 = 𝐵 → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
12 ax-pr 5391 . . . 4 ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧)
13 alnex 1814 . . . . . 6 (∀𝑤 ¬ 𝑤 = 𝐵 ↔ ¬ ∃𝑤 𝑤 = 𝐵)
14 orel2 904 . . . . . . . 8 (¬ 𝑤 = 𝐵 → ((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 = 𝑥))
15 pm2.67-2 905 . . . . . . . 8 (((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧) → (𝑤 = 𝑥 → 𝑤 ∈ 𝑧))
1614, 15syl9 78 . . . . . . 7 (¬ 𝑤 = 𝐵 → (((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧) → ((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
1716al2imi 1848 . . . . . 6 (∀𝑤 ¬ 𝑤 = 𝐵 → (∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧) → ∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
1813, 17sylbir 238 . . . . 5 (¬ ∃𝑤 𝑤 = 𝐵 → (∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧) → ∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
1918eximdv 1950 . . . 4 (¬ ∃𝑤 𝑤 = 𝐵 → (∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝑥) → 𝑤 ∈ 𝑧) → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
2012, 19mpi 21 . . 3 (¬ ∃𝑤 𝑤 = 𝐵 → ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
2111, 20pm2.61i 184 . 2 ∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)
22 eqtr3 2783 . . . . . . 7 ((𝑤 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑤 = 𝑥)
2322expcom 419 . . . . . 6 (𝑥 = 𝐴 → (𝑤 = 𝐴 → 𝑤 = 𝑥))
2423orim1d 981 . . . . 5 (𝑥 = 𝐴 → ((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → (𝑤 = 𝑥 ∨ 𝑤 = 𝐵)))
2524imim1d 83 . . . 4 (𝑥 = 𝐴 → (((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧) → ((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
2625alimdv 1949 . . 3 (𝑥 = 𝐴 → (∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧) → ∀𝑤((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
2726eximdv 1950 . 2 (𝑥 = 𝐴 → (∃𝑧∀𝑤((𝑤 = 𝑥 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧) → ∃𝑧∀𝑤((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧)))
2821, 27mpi 21 1 (𝑥 = 𝐴 → ∃𝑧∀𝑤((𝑤 = 𝐴 ∨ 𝑤 = 𝐵) → 𝑤 ∈ 𝑧))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∨ wo 861  ∀wal 1568   = wceq 1570  ∃wex 1812
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836
This theorem is used by:  axprg  5395
  Copyright terms: Public domain W3C validator