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

Theorem sbrim 2337
Description: Substitution in an implication with a variable not free in the antecedent affects only the consequent. (Contributed by NM, 2-Jun-1993.) (Revised by Mario Carneiro, 4-Oct-2016.) Avoid ax-10 2177. (Revised by GG, 20-Nov-2024.)
Hypothesis
Ref Expression
sbrim.1 Ⅎ𝑥𝜑
Assertion
Ref Expression
sbrim ([𝑦 / 𝑥](𝜑 → 𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))

Proof of Theorem sbrim
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 bi2.04 392 . . . . . . 7 ((𝑥 = 𝑡 → (𝜑 → 𝜓)) ↔ (𝜑 → (𝑥 = 𝑡 → 𝜓)))
21albii 1851 . . . . . 6 (∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓)) ↔ ∀𝑥(𝜑 → (𝑥 = 𝑡 → 𝜓)))
3 sbrim.1 . . . . . . 7 Ⅎ𝑥𝜑
4319.21 2243 . . . . . 6 (∀𝑥(𝜑 → (𝑥 = 𝑡 → 𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡 → 𝜓)))
52, 4bitri 278 . . . . 5 (∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡 → 𝜓)))
65imbi2i 339 . . . 4 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓))) ↔ (𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
7 bi2.04 392 . . . 4 ((𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡 → 𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
86, 7bitri 278 . . 3 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
98albii 1851 . 2 (∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓))) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
10 dfsb 2100 . 2 ([𝑦 / 𝑥](𝜑 → 𝜓) ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑 → 𝜓))))
11 dfsb 2100 . . . 4 ([𝑦 / 𝑥]𝜓 ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓)))
1211imbi2i 339 . . 3 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
13 19.21v 1971 . . 3 (∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
1412, 13bitr4i 281 . 2 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → 𝜓))))
159, 10, 143bitr4i 306 1 ([𝑦 / 𝑥](𝜑 → 𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567  Ⅎwnf 1815  [wsb 2098
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-nf 1816  df-sb 2099
This theorem is used by:  sbiedw  2346  sbied  2532  sbco2d  2541
  Copyright terms: Public domain W3C validator