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 40186
Description: axprlem3 5348 using only Tarski's FOL axiom schemes and ax-rep 5209. (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 5216 . 2 (∀𝑤∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)))
2 ax6evr 2018 . . . . 5 𝑦 𝑎 = 𝑦
3 ifptru 1073 . . . . . . . . . 10 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑎))
43biimpd 228 . . . . . . . . 9 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑎))
5 equtrr 2025 . . . . . . . . 9 (𝑎 = 𝑦 → (𝑧 = 𝑎𝑧 = 𝑦))
64, 5sylan9r 509 . . . . . . . 8 ((𝑎 = 𝑦𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
76alrimiv 1930 . . . . . . 7 ((𝑎 = 𝑦𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
87expcom 414 . . . . . 6 (𝜑 → (𝑎 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
98eximdv 1920 . . . . 5 (𝜑 → (∃𝑦 𝑎 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
102, 9mpi 20 . . . 4 (𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
11 ax6evr 2018 . . . . 5 𝑦 𝑏 = 𝑦
12 ifpfal 1074 . . . . . . . . . 10 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑏))
1312biimpd 228 . . . . . . . . 9 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑏))
14 equtrr 2025 . . . . . . . . 9 (𝑏 = 𝑦 → (𝑧 = 𝑏𝑧 = 𝑦))
1513, 14sylan9r 509 . . . . . . . 8 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1615alrimiv 1930 . . . . . . 7 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1716expcom 414 . . . . . 6 𝜑 → (𝑏 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1817eximdv 1920 . . . . 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 1800 1 𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  if-wif 1060  wal 1537  wex 1782  ∃*wmo 2538  wrex 3065
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-rep 5209
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-ifp 1061  df-ex 1783  df-mo 2540  df-rex 3070
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator