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

Theorem hbsbw 2173
Description: If 𝑧 is not free in 𝜑, it is not free in [𝑦 / 𝑥]𝜑 when 𝑦 and 𝑧 are distinct. Version of hbsb 2544 with a disjoint variable condition, which requires fewer axioms. (Contributed by NM, 12-Aug-1993.) (Revised by Gino Giotto, 23-May-2024.)
Hypothesis
Ref Expression
hbsbw.1 (𝜑 → ∀𝑧𝜑)
Assertion
Ref Expression
hbsbw ([𝑦 / 𝑥]𝜑 → ∀𝑧[𝑦 / 𝑥]𝜑)
Distinct variable groups:   𝑥,𝑧   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem hbsbw
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 df-sb 2070 . 2 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑤(𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)))
2 hbsbw.1 . . . . . . . 8 (𝜑 → ∀𝑧𝜑)
32imim2i 16 . . . . . . 7 ((𝑥 = 𝑤𝜑) → (𝑥 = 𝑤 → ∀𝑧𝜑))
43alimi 1813 . . . . . 6 (∀𝑥(𝑥 = 𝑤𝜑) → ∀𝑥(𝑥 = 𝑤 → ∀𝑧𝜑))
5 19.21v 1940 . . . . . . . 8 (∀𝑧(𝑥 = 𝑤𝜑) ↔ (𝑥 = 𝑤 → ∀𝑧𝜑))
65biimpri 231 . . . . . . 7 ((𝑥 = 𝑤 → ∀𝑧𝜑) → ∀𝑧(𝑥 = 𝑤𝜑))
76alimi 1813 . . . . . 6 (∀𝑥(𝑥 = 𝑤 → ∀𝑧𝜑) → ∀𝑥𝑧(𝑥 = 𝑤𝜑))
8 ax-11 2158 . . . . . 6 (∀𝑥𝑧(𝑥 = 𝑤𝜑) → ∀𝑧𝑥(𝑥 = 𝑤𝜑))
94, 7, 83syl 18 . . . . 5 (∀𝑥(𝑥 = 𝑤𝜑) → ∀𝑧𝑥(𝑥 = 𝑤𝜑))
109imim2i 16 . . . 4 ((𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)) → (𝑤 = 𝑦 → ∀𝑧𝑥(𝑥 = 𝑤𝜑)))
11 19.21v 1940 . . . 4 (∀𝑧(𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)) ↔ (𝑤 = 𝑦 → ∀𝑧𝑥(𝑥 = 𝑤𝜑)))
1210, 11sylibr 237 . . 3 ((𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)) → ∀𝑧(𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)))
1312hbal 2171 . 2 (∀𝑤(𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)) → ∀𝑧𝑤(𝑤 = 𝑦 → ∀𝑥(𝑥 = 𝑤𝜑)))
141, 13hbxfrbi 1826 1 ([𝑦 / 𝑥]𝜑 → ∀𝑧[𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1536  [wsb 2069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-11 2158
This theorem depends on definitions:  df-bi 210  df-ex 1782  df-sb 2070
This theorem is referenced by:  hbab  2787  hblem  2920
  Copyright terms: Public domain W3C validator