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 39158
Description: axprlem3 5326 using only Tarski's FOL axiom schemes and ax-rep 5190. (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 5197 . 2 (∀𝑤∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)))
2 ax6evr 2022 . . . . 5 𝑦 𝑎 = 𝑦
3 ifptru 1068 . . . . . . . . . 10 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑎))
43biimpd 231 . . . . . . . . 9 (𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑎))
5 equtrr 2029 . . . . . . . . 9 (𝑎 = 𝑦 → (𝑧 = 𝑎𝑧 = 𝑦))
64, 5sylan9r 511 . . . . . . . 8 ((𝑎 = 𝑦𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
76alrimiv 1928 . . . . . . 7 ((𝑎 = 𝑦𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
87expcom 416 . . . . . 6 (𝜑 → (𝑎 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
98eximdv 1918 . . . . 5 (𝜑 → (∃𝑦 𝑎 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
102, 9mpi 20 . . . 4 (𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
11 ax6evr 2022 . . . . 5 𝑦 𝑏 = 𝑦
12 ifpfal 1069 . . . . . . . . . 10 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ 𝑧 = 𝑏))
1312biimpd 231 . . . . . . . . 9 𝜑 → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑏))
14 equtrr 2029 . . . . . . . . 9 (𝑏 = 𝑦 → (𝑧 = 𝑏𝑧 = 𝑦))
1513, 14sylan9r 511 . . . . . . . 8 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → (if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1615alrimiv 1928 . . . . . . 7 ((𝑏 = 𝑦 ∧ ¬ 𝜑) → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
1716expcom 416 . . . . . 6 𝜑 → (𝑏 = 𝑦 → ∀𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1817eximdv 1918 . . . . 5 𝜑 → (∃𝑦 𝑏 = 𝑦 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)))
1911, 18mpi 20 . . . 4 𝜑 → ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2010, 19pm2.61i 184 . . 3 𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦)
21 df-mo 2622 . . 3 (∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) ↔ ∃𝑦𝑧(if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏) → 𝑧 = 𝑦))
2220, 21mpbir 233 . 2 ∃*𝑧if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏)
231, 22mpg 1798 1 𝑦𝑧(𝑧𝑦 ↔ ∃𝑤𝑥 if-(𝜑, 𝑧 = 𝑎, 𝑧 = 𝑏))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  if-wif 1057  wal 1535  wex 1780  ∃*wmo 2620  wrex 3139
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-rep 5190
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ifp 1058  df-ex 1781  df-mo 2622  df-rex 3144
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator