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

Theorem sbnf 2324
Description: Move nonfree predicate in and out of substitution; see sbal 2182 and sbex 2294. (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 1792 . . 3 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
21sbbii 2088 . 2 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ [𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑))
3 sbim 2316 . 2 ([𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑) ↔ ([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑))
4 sbex 2294 . . . 4 ([𝑧 / 𝑦]∃𝑥𝜑 ↔ ∃𝑥[𝑧 / 𝑦]𝜑)
5 sbal 2182 . . . 4 ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)
64, 5imbi12i 352 . . 3 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
7 df-nf 1792 . . 3 (Ⅎ𝑥[𝑧 / 𝑦]𝜑 ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
86, 7bitr4i 280 . 2 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
92, 3, 83bitri 299 1 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1546  wex 1787  wnf 1791  [wsb 2074
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-10 2154  ax-11 2170  ax-12 2191
This theorem depends on definitions:  df-bi 209  df-an 398  df-ex 1788  df-nf 1792  df-sb 2075
This theorem is referenced by:  bj-nfcf  37291  wl-nfsbtv  37963
  Copyright terms: Public domain W3C validator