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

Theorem sbrim 2315
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 2152. (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 388 . . . . . . 7 ((𝑥 = 𝑡 → (𝜑𝜓)) ↔ (𝜑 → (𝑥 = 𝑡𝜓)))
21albii 1826 . . . . . 6 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ ∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)))
3 sbrim.1 . . . . . . 7 𝑥𝜑
4319.21 2219 . . . . . 6 (∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
52, 4bitri 276 . . . . 5 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
65imbi2i 337 . . . 4 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))))
7 bi2.04 388 . . . 4 ((𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
86, 7bitri 276 . . 3 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
98albii 1826 . 2 (∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
10 dfsb 2075 . 2 ([𝑦 / 𝑥](𝜑𝜓) ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))))
11 dfsb 2075 . . . 4 ([𝑦 / 𝑥]𝜓 ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓)))
1211imbi2i 337 . . 3 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
13 19.21v 1946 . . 3 (∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
1412, 13bitr4i 279 . 2 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
159, 10, 143bitr4i 304 1 ([𝑦 / 𝑥](𝜑𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wal 1545  wnf 1790  [wsb 2073
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-12 2189
This theorem depends on definitions:  df-bi 208  df-an 397  df-ex 1787  df-nf 1791  df-sb 2074
This theorem is referenced by:  sbiedw  2325  sbied  2511  sbco2d  2520  2mosOLD  2654
  Copyright terms: Public domain W3C validator