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

Theorem sbnf2 2334
Description: Two ways of expressing "𝑥 is (effectively) not free in 𝜑". (Contributed by Gérard Lang, 14-Nov-2013.) (Revised by Mario Carneiro, 6-Oct-2016.) (Proof shortened by Wolf Lammen, 22-Sep-2018.) Avoid ax-13 2344. (Revised by Wolf Lammen, 30-Jan-2023.)
Assertion
Ref Expression
sbnf2 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
Distinct variable groups:   𝑥,𝑦,𝑧   𝜑,𝑦,𝑧
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem sbnf2
StepHypRef Expression
1 nfv 1892 . . . . . 6 𝑦𝜑
21sb8ev 2330 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦[𝑦 / 𝑥]𝜑)
3 nfv 1892 . . . . . 6 𝑧𝜑
43sb8v 2329 . . . . 5 (∀𝑥𝜑 ↔ ∀𝑧[𝑧 / 𝑥]𝜑)
52, 4imbi12i 352 . . . 4 ((∃𝑥𝜑 → ∀𝑥𝜑) ↔ (∃𝑦[𝑦 / 𝑥]𝜑 → ∀𝑧[𝑧 / 𝑥]𝜑))
6 df-nf 1766 . . . 4 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
7 pm11.53v 1922 . . . 4 (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ↔ (∃𝑦[𝑦 / 𝑥]𝜑 → ∀𝑧[𝑧 / 𝑥]𝜑))
85, 6, 73bitr4i 304 . . 3 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑))
93sb8ev 2330 . . . . . 6 (∃𝑥𝜑 ↔ ∃𝑧[𝑧 / 𝑥]𝜑)
101sb8v 2329 . . . . . 6 (∀𝑥𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)
119, 10imbi12i 352 . . . . 5 ((∃𝑥𝜑 → ∀𝑥𝜑) ↔ (∃𝑧[𝑧 / 𝑥]𝜑 → ∀𝑦[𝑦 / 𝑥]𝜑))
12 pm11.53v 1922 . . . . 5 (∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑) ↔ (∃𝑧[𝑧 / 𝑥]𝜑 → ∀𝑦[𝑦 / 𝑥]𝜑))
1311, 6, 123bitr4i 304 . . . 4 (Ⅎ𝑥𝜑 ↔ ∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
14 alcom 2128 . . . 4 (∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑) ↔ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
1513, 14bitri 276 . . 3 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
168, 15anbi12i 626 . 2 ((Ⅎ𝑥𝜑 ∧ Ⅎ𝑥𝜑) ↔ (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ∧ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)))
17 pm4.24 564 . 2 (Ⅎ𝑥𝜑 ↔ (Ⅎ𝑥𝜑 ∧ Ⅎ𝑥𝜑))
18 2albiim 1872 . 2 (∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑) ↔ (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ∧ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)))
1916, 17, 183bitr4i 304 1 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1520  wex 1761  wnf 1765  [wsb 2042
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1777  ax-4 1791  ax-5 1888  ax-6 1947  ax-7 1992  ax-10 2112  ax-11 2126  ax-12 2141
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-ex 1762  df-nf 1766  df-sb 2043
This theorem is referenced by:  sbnfc2  4303  nfnid  5167  ichnfim  43126
  Copyright terms: Public domain W3C validator