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

Theorem nfsb4t 2535
Description: A variable not free in a proposition remains so after substitution in that proposition with a distinct variable (closed form of nfsb4 2536). Usage of this theorem is discouraged because it depends on ax-13 2408. (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 2294 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
21sps 2229 . . . . . . 7 (∀𝑥 𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
32drnf2 2480 . . . . . 6 (∀𝑥 𝑥 = 𝑦 → (Ⅎ𝑧𝜑 ↔ Ⅎ𝑧[𝑦 / 𝑥]𝜑))
43biimpd 232 . . . . 5 (∀𝑥 𝑥 = 𝑦 → (Ⅎ𝑧𝜑 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
54spsd 2231 . . . 4 (∀𝑥 𝑥 = 𝑦 → (∀𝑥Ⅎ𝑧𝜑 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
65impcom 413 . . 3 ((∀𝑥Ⅎ𝑧𝜑 ∧ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑧[𝑦 / 𝑥]𝜑)
76a1d 26 . 2 ((∀𝑥Ⅎ𝑧𝜑 ∧ ∀𝑥 𝑥 = 𝑦) → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
8 nfnf1 2198 . . . . 5 Ⅎ𝑧Ⅎ𝑧𝜑
98nfal 2361 . . . 4 Ⅎ𝑧∀𝑥Ⅎ𝑧𝜑
10 nfnae 2470 . . . 4 Ⅎ𝑧 ¬ ∀𝑥 𝑥 = 𝑦
119, 10nfan 1936 . . 3 Ⅎ𝑧(∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
12 nfa1 2195 . . . 4 Ⅎ𝑥∀𝑥Ⅎ𝑧𝜑
13 nfnae 2470 . . . 4 Ⅎ𝑥 ¬ ∀𝑥 𝑥 = 𝑦
1412, 13nfan 1936 . . 3 Ⅎ𝑥(∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
15 sp 2227 . . . 4 (∀𝑥Ⅎ𝑧𝜑 → Ⅎ𝑧𝜑)
1615adantr 486 . . 3 ((∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑧𝜑)
17 nfsb2 2519 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
1817adantl 487 . . 3 ((∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
191a1i 11 . . 3 ((∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑)))
2011, 14, 16, 18, 19dvelimdf 2485 . 2 ((∀𝑥Ⅎ𝑧𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
217, 20pm2.61dan 825 1 (∀𝑥Ⅎ𝑧𝜑 → (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570  Ⅎwnf 1818  [wsb 2104
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-10 2184  ax-11 2201  ax-12 2220  ax-13 2408
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105
This theorem is used by:  nfsb4  2536  nfsbd  2558
  Copyright terms: Public domain W3C validator