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

Theorem sbnf 2344
Description: Move nonfree predicate in and out of substitution; see sbal 2202 and sbex 2314. (Contributed by BJ, 2-May-2019.) (Proof shortened by Wolf Lammen, 2-May-2025.)
Assertion
Ref Expression
sbnf ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
Distinct variable groups:   𝑥,𝑦   𝑥,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem sbnf
StepHypRef Expression
1 df-nf 1812 . . 3 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
21sbbii 2108 . 2 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ [𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑))
3 sbim 2336 . 2 ([𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑) ↔ ([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑))
4 sbex 2314 . . . 4 ([𝑧 / 𝑦]∃𝑥𝜑 ↔ ∃𝑥[𝑧 / 𝑦]𝜑)
5 sbal 2202 . . . 4 ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)
64, 5imbi12i 353 . . 3 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
7 df-nf 1812 . . 3 (Ⅎ𝑥[𝑧 / 𝑦]𝜑 ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
86, 7bitr4i 281 . 2 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
92, 3, 83bitri 300 1 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1566  wex 1807  wnf 1811  [wsb 2094
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-10 2174  ax-11 2190  ax-12 2211
This theorem depends on definitions:  df-bi 210  df-an 401  df-ex 1808  df-nf 1812  df-sb 2095
This theorem is referenced by:  bj-nfcf  37502  wl-nfsbtv  38176
  Copyright terms: Public domain W3C validator