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

Theorem nfabdwOLD 2930
Description: Obsolete version of nfabdw 2929 as of 23-Sep-2024. (Contributed by Mario Carneiro, 8-Oct-2016.) (Revised by Gino Giotto, 10-Jan-2024.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
nfabdw.1 𝑦𝜑
nfabdw.2 (𝜑 → Ⅎ𝑥𝜓)
Assertion
Ref Expression
nfabdwOLD (𝜑𝑥{𝑦𝜓})
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)

Proof of Theorem nfabdwOLD
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1918 . 2 𝑧𝜑
2 df-clab 2716 . . 3 (𝑧 ∈ {𝑦𝜓} ↔ [𝑧 / 𝑦]𝜓)
3 nfabdw.1 . . . . 5 𝑦𝜑
4 nfabdw.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
53, 4alrimi 2209 . . . 4 (𝜑 → ∀𝑦𝑥𝜓)
6 nfa1 2150 . . . . . . . . 9 𝑦𝑦𝑥𝜓
7 sb6 2089 . . . . . . . . . . . 12 ([𝑧 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑧𝜓))
87a1i 11 . . . . . . . . . . 11 (∀𝑦𝑥𝜓 → ([𝑧 / 𝑦]𝜓 ↔ ∀𝑦(𝑦 = 𝑧𝜓)))
97biimpri 227 . . . . . . . . . . . 12 (∀𝑦(𝑦 = 𝑧𝜓) → [𝑧 / 𝑦]𝜓)
109axc4i 2320 . . . . . . . . . . 11 (∀𝑦(𝑦 = 𝑧𝜓) → ∀𝑦[𝑧 / 𝑦]𝜓)
118, 10syl6bi 252 . . . . . . . . . 10 (∀𝑦𝑥𝜓 → ([𝑧 / 𝑦]𝜓 → ∀𝑦[𝑧 / 𝑦]𝜓))
126, 11nf5d 2284 . . . . . . . . 9 (∀𝑦𝑥𝜓 → Ⅎ𝑦[𝑧 / 𝑦]𝜓)
136, 12nfim1 2195 . . . . . . . 8 𝑦(∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓)
14 sbequ12 2247 . . . . . . . . 9 (𝑦 = 𝑧 → (𝜓 ↔ [𝑧 / 𝑦]𝜓))
1514imbi2d 340 . . . . . . . 8 (𝑦 = 𝑧 → ((∀𝑦𝑥𝜓𝜓) ↔ (∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓)))
1613, 15equsalv 2262 . . . . . . 7 (∀𝑦(𝑦 = 𝑧 → (∀𝑦𝑥𝜓𝜓)) ↔ (∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓))
1716bicomi 223 . . . . . 6 ((∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓) ↔ ∀𝑦(𝑦 = 𝑧 → (∀𝑦𝑥𝜓𝜓)))
18 nfv 1918 . . . . . . . 8 𝑥 𝑦 = 𝑧
19 nfnf1 2153 . . . . . . . . . 10 𝑥𝑥𝜓
2019nfal 2321 . . . . . . . . 9 𝑥𝑦𝑥𝜓
21 sp 2178 . . . . . . . . 9 (∀𝑦𝑥𝜓 → Ⅎ𝑥𝜓)
2220, 21nfim1 2195 . . . . . . . 8 𝑥(∀𝑦𝑥𝜓𝜓)
2318, 22nfim 1900 . . . . . . 7 𝑥(𝑦 = 𝑧 → (∀𝑦𝑥𝜓𝜓))
2423nfal 2321 . . . . . 6 𝑥𝑦(𝑦 = 𝑧 → (∀𝑦𝑥𝜓𝜓))
2517, 24nfxfr 1856 . . . . 5 𝑥(∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓)
26 pm5.5 361 . . . . . 6 (∀𝑦𝑥𝜓 → ((∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓) ↔ [𝑧 / 𝑦]𝜓))
2720, 26nfbidf 2220 . . . . 5 (∀𝑦𝑥𝜓 → (Ⅎ𝑥(∀𝑦𝑥𝜓 → [𝑧 / 𝑦]𝜓) ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜓))
2825, 27mpbii 232 . . . 4 (∀𝑦𝑥𝜓 → Ⅎ𝑥[𝑧 / 𝑦]𝜓)
295, 28syl 17 . . 3 (𝜑 → Ⅎ𝑥[𝑧 / 𝑦]𝜓)
302, 29nfxfrd 1857 . 2 (𝜑 → Ⅎ𝑥 𝑧 ∈ {𝑦𝜓})
311, 30nfcd 2894 1 (𝜑𝑥{𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1537  wnf 1787  [wsb 2068  wcel 2108  {cab 2715  wnfc 2886
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-10 2139  ax-11 2156  ax-12 2173
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-nfc 2888
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator