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 2174. (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 390 . . . . . . 7 ((𝑥 = 𝑡 → (𝜑𝜓)) ↔ (𝜑 → (𝑥 = 𝑡𝜓)))
21albii 1838 . . . . . 6 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ ∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)))
3 sbrim.1 . . . . . . 7 𝑥𝜑
4319.21 2241 . . . . . 6 (∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
52, 4bitri 277 . . . . 5 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
65imbi2i 338 . . . 4 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))))
7 bi2.04 390 . . . 4 ((𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
86, 7bitri 277 . . 3 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
98albii 1838 . 2 (∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
10 dfsb 2092 . 2 ([𝑦 / 𝑥](𝜑𝜓) ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))))
11 dfsb 2092 . . . 4 ([𝑦 / 𝑥]𝜓 ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓)))
1211imbi2i 338 . . 3 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
13 19.21v 1958 . . 3 (∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
1412, 13bitr4i 280 . 2 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
159, 10, 143bitr4i 305 1 ([𝑦 / 𝑥](𝜑𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1557  wnf 1802  [wsb 2089
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-12 2211
This theorem depends on definitions:  df-bi 209  df-an 400  df-ex 1799  df-nf 1803  df-sb 2090
This theorem is referenced by:  sbiedw  2347  sbied  2533  sbco2d  2542
  Copyright terms: Public domain W3C validator