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

Theorem sbnf 2316
Description: Move nonfree predicate in and out of substitution; see sbal 2170 and sbex 2285. (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 1782 . . 3 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
21sbbii 2076 . 2 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ [𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑))
3 sbim 2307 . 2 ([𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑) ↔ ([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑))
4 sbex 2285 . . . 4 ([𝑧 / 𝑦]∃𝑥𝜑 ↔ ∃𝑥[𝑧 / 𝑦]𝜑)
5 sbal 2170 . . . 4 ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)
64, 5imbi12i 350 . . 3 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
7 df-nf 1782 . . 3 (Ⅎ𝑥[𝑧 / 𝑦]𝜑 ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
86, 7bitr4i 278 . 2 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
92, 3, 83bitri 297 1 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wal 1535  wex 1777  wnf 1781  [wsb 2064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-10 2141  ax-11 2158  ax-12 2178
This theorem depends on definitions:  df-bi 207  df-an 396  df-ex 1778  df-nf 1782  df-sb 2065
This theorem is referenced by:  bj-nfcf  36889  wl-nfsbtv  37531
  Copyright terms: Public domain W3C validator