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 40114
Description: axprlem3 5343 using only Tarski's FOL axiom schemes and ax-rep 5205. (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 5212 . 2 (∀𝑤∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)))
2 ax6evr 2019 . . . . 5 𝑦 𝑎 = 𝑦
3 ifptru 1072 . . . . . . . . . 10 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑎))
43biimpd 228 . . . . . . . . 9 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑎))
5 equtrr 2026 . . . . . . . . 9 (𝑎 = 𝑦 → (𝑧 = 𝑎𝑧 = 𝑦))
64, 5sylan9r 508 . . . . . . . 8 ((𝑎 = 𝑦𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
76alrimiv 1931 . . . . . . 7 ((𝑎 = 𝑦𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
87expcom 413 . . . . . 6 (𝜑 → (𝑎 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
98eximdv 1921 . . . . 5 (𝜑 → (∃𝑦 𝑎 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
102, 9mpi 20 . . . 4 (𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
11 ax6evr 2019 . . . . 5 𝑦 𝑏 = 𝑦
12 ifpfal 1073 . . . . . . . . . 10 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑏))
1312biimpd 228 . . . . . . . . 9 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑏))
14 equtrr 2026 . . . . . . . . 9 (𝑏 = 𝑦 → (𝑧 = 𝑏𝑧 = 𝑦))
1513, 14sylan9r 508 . . . . . . . 8 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1615alrimiv 1931 . . . . . . 7 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1716expcom 413 . . . . . 6 𝜑 → (𝑏 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1817eximdv 1921 . . . . 5 𝜑 → (∃𝑦 𝑏 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1911, 18mpi 20 . . . 4 𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2010, 19pm2.61i 182 . . 3 𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)
21 df-mo 2540 . . 3 (∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2220, 21mpbir 230 . 2 ∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)
231, 22mpg 1801 1 𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  if-wif 1059  wal 1537  wex 1783  ∃*wmo 2538  wrex 3064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-rep 5205
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ifp 1060  df-ex 1784  df-mo 2540  df-rex 3069
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator