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

Theorem nfsb4t 2503
Description: A variable not free in a proposition remains so after substitution in that proposition with a distinct variable (closed form of nfsb4 2504). Usage of this theorem is discouraged because it depends on ax-13 2372. (Contributed by NM, 7-Apr-2004.) (Revised by Mario Carneiro, 4-Oct-2016.) (Proof shortened by Wolf Lammen, 11-May-2018.) (New usage is discouraged.)
Assertion
Ref Expression
nfsb4t (∀𝑥𝑧𝜑 → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))

Proof of Theorem nfsb4t
StepHypRef Expression
1 sbequ12 2247 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
21sps 2180 . . . . . . 7 (∀𝑥 𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
32drnf2 2444 . . . . . 6 (∀𝑥 𝑥 = 𝑦 → (Ⅎ𝑧𝜑 ↔ Ⅎ𝑧[𝑦 / 𝑥]𝜑))
43biimpd 228 . . . . 5 (∀𝑥 𝑥 = 𝑦 → (Ⅎ𝑧𝜑 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
54spsd 2182 . . . 4 (∀𝑥 𝑥 = 𝑦 → (∀𝑥𝑧𝜑 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
65impcom 407 . . 3 ((∀𝑥𝑧𝜑 ∧ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑧[𝑦 / 𝑥]𝜑)
76a1d 25 . 2 ((∀𝑥𝑧𝜑 ∧ ∀𝑥 𝑥 = 𝑦) → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
8 nfnf1 2153 . . . . 5 𝑧𝑧𝜑
98nfal 2321 . . . 4 𝑧𝑥𝑧𝜑
10 nfnae 2434 . . . 4 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
119, 10nfan 1903 . . 3 𝑧(∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
12 nfa1 2150 . . . 4 𝑥𝑥𝑧𝜑
13 nfnae 2434 . . . 4 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
1412, 13nfan 1903 . . 3 𝑥(∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
15 sp 2178 . . . 4 (∀𝑥𝑧𝜑 → Ⅎ𝑧𝜑)
1615adantr 480 . . 3 ((∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑧𝜑)
17 nfsb2 2487 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
1817adantl 481 . . 3 ((∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
191a1i 11 . . 3 ((∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑)))
2011, 14, 16, 18, 19dvelimdf 2449 . 2 ((∀𝑥𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
217, 20pm2.61dan 809 1 (∀𝑥𝑧𝜑 → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537  wnf 1787  [wsb 2068
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  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069
This theorem is referenced by:  nfsb4  2504  nfsbd  2526
  Copyright terms: Public domain W3C validator