Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sn-axprlem3 Structured version   Visualization version   GIF version

Theorem sn-axprlem3 43047
Description: axprlem3 5398 using only Tarski's FOL axiom schemes and ax-rep 5240. (Contributed by SN, 22-Sep-2023.)
Assertion
Ref Expression
sn-axprlem3 𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏))
Distinct variable groups:   𝑥,𝑤,𝑦,𝑧   𝜑,𝑦,𝑧   𝑦,𝑎,𝑧   𝑦,𝑏,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑤, 𝑎, 𝑏)

Proof of Theorem sn-axprlem3
StepHypRef Expression
1 axrep6 5249 . 2 (∀𝑤∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)))
2 ax6evr 2048 . . . . 5 𝑦 𝑎 = 𝑦
3 ifptru 1091 . . . . . . . . . 10 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑎))
43biimpd 232 . . . . . . . . 9 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑎))
5 equtrr 2055 . . . . . . . . 9 (𝑎 = 𝑦 → (𝑧 = 𝑎𝑧 = 𝑦))
64, 5sylan9r 518 . . . . . . . 8 ((𝑎 = 𝑦𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
76alrimiv 1960 . . . . . . 7 ((𝑎 = 𝑦𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
87expcom 419 . . . . . 6 (𝜑 → (𝑎 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
98eximdv 1950 . . . . 5 (𝜑 → (∃𝑦 𝑎 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
102, 9mpi 21 . . . 4 (𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
11 ax6evr 2048 . . . . 5 𝑦 𝑏 = 𝑦
12 ifpfal 1092 . . . . . . . . . 10 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑏))
1312biimpd 232 . . . . . . . . 9 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑏))
14 equtrr 2055 . . . . . . . . 9 (𝑏 = 𝑦 → (𝑧 = 𝑏𝑧 = 𝑦))
1513, 14sylan9r 518 . . . . . . . 8 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1615alrimiv 1960 . . . . . . 7 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1716expcom 419 . . . . . 6 𝜑 → (𝑏 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1817eximdv 1950 . . . . 5 𝜑 → (∃𝑦 𝑏 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1911, 18mpi 21 . . . 4 𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2010, 19pm2.61i 184 . . 3 𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)
21 dfmo 2570 . . 3 (∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2220, 21mpbir 234 . 2 ∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)
231, 22mpg 1830 1 𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401  if-wif 1078  wal 1568  wex 1812  ∃*wmo 2567  wrex 3091
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-rep 5240
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079  df-ex 1813  df-mo 2569  df-rex 3092
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator