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

Theorem sbnf 2347
Description: Move nonfree predicate in and out of substitution; see sbal 2205 and sbex 2317. (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 1806 . . 3 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
21sbbii 2111 . 2 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ [𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑))
3 sbim 2339 . 2 ([𝑧 / 𝑦](∃𝑥𝜑 → ∀𝑥𝜑) ↔ ([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑))
4 sbex 2317 . . . 4 ([𝑧 / 𝑦]∃𝑥𝜑 ↔ ∃𝑥[𝑧 / 𝑦]𝜑)
5 sbal 2205 . . . 4 ([𝑧 / 𝑦]∀𝑥𝜑 ↔ ∀𝑥[𝑧 / 𝑦]𝜑)
64, 5imbi12i 352 . . 3 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
7 df-nf 1806 . . 3 (Ⅎ𝑥[𝑧 / 𝑦]𝜑 ↔ (∃𝑥[𝑧 / 𝑦]𝜑 → ∀𝑥[𝑧 / 𝑦]𝜑))
86, 7bitr4i 280 . 2 (([𝑧 / 𝑦]∃𝑥𝜑 → [𝑧 / 𝑦]∀𝑥𝜑) ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
92, 3, 83bitri 299 1 ([𝑧 / 𝑦]Ⅎ𝑥𝜑 ↔ Ⅎ𝑥[𝑧 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1560  wex 1801  wnf 1805  [wsb 2092
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-10 2177  ax-11 2193  ax-12 2214
This theorem depends on definitions:  df-bi 209  df-an 400  df-ex 1802  df-nf 1806  df-sb 2093
This theorem is referenced by:  bj-nfcf  37413  wl-nfsbtv  38085
  Copyright terms: Public domain W3C validator