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

Theorem sbnf2 2438
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.)
Assertion
Ref Expression
sbnf2 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
Distinct variable groups:   𝑥,𝑦,𝑧   𝜑,𝑦,𝑧
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem sbnf2
StepHypRef Expression
1 nfv 1840 . . . . . 6 𝑦𝜑
21sb8e 2424 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦[𝑦 / 𝑥]𝜑)
3 nfv 1840 . . . . . 6 𝑧𝜑
43sb8 2423 . . . . 5 (∀𝑥𝜑 ↔ ∀𝑧[𝑧 / 𝑥]𝜑)
52, 4imbi12i 340 . . . 4 ((∃𝑥𝜑 → ∀𝑥𝜑) ↔ (∃𝑦[𝑦 / 𝑥]𝜑 → ∀𝑧[𝑧 / 𝑥]𝜑))
6 df-nf 1707 . . . 4 (Ⅎ𝑥𝜑 ↔ (∃𝑥𝜑 → ∀𝑥𝜑))
7 pm11.53v 1903 . . . 4 (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ↔ (∃𝑦[𝑦 / 𝑥]𝜑 → ∀𝑧[𝑧 / 𝑥]𝜑))
85, 6, 73bitr4i 292 . . 3 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑))
93sb8e 2424 . . . . . 6 (∃𝑥𝜑 ↔ ∃𝑧[𝑧 / 𝑥]𝜑)
101sb8 2423 . . . . . 6 (∀𝑥𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)
119, 10imbi12i 340 . . . . 5 ((∃𝑥𝜑 → ∀𝑥𝜑) ↔ (∃𝑧[𝑧 / 𝑥]𝜑 → ∀𝑦[𝑦 / 𝑥]𝜑))
12 pm11.53v 1903 . . . . 5 (∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑) ↔ (∃𝑧[𝑧 / 𝑥]𝜑 → ∀𝑦[𝑦 / 𝑥]𝜑))
1311, 12bitr4i 267 . . . 4 ((∃𝑥𝜑 → ∀𝑥𝜑) ↔ ∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
14 alcom 2034 . . . 4 (∀𝑧𝑦([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑) ↔ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
156, 13, 143bitri 286 . . 3 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑))
168, 15anbi12i 732 . 2 ((Ⅎ𝑥𝜑 ∧ Ⅎ𝑥𝜑) ↔ (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ∧ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)))
17 pm4.24 674 . 2 (Ⅎ𝑥𝜑 ↔ (Ⅎ𝑥𝜑 ∧ Ⅎ𝑥𝜑))
18 2albiim 1814 . 2 (∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑) ↔ (∀𝑦𝑧([𝑦 / 𝑥]𝜑 → [𝑧 / 𝑥]𝜑) ∧ ∀𝑦𝑧([𝑧 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜑)))
1916, 17, 183bitr4i 292 1 (Ⅎ𝑥𝜑 ↔ ∀𝑦𝑧([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  wal 1478  wex 1701  wnf 1705  [wsb 1877
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-ex 1702  df-nf 1707  df-sb 1878
This theorem is referenced by:  sbnfc2  3979  nfnid  4857
  Copyright terms: Public domain W3C validator