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

Theorem sbrim 2342
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 2179. (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 1852 . . . . . 6 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ ∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)))
3 sbrim.1 . . . . . . 7 𝑥𝜑
4319.21 2246 . . . . . 6 (∀𝑥(𝜑 → (𝑥 = 𝑡𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
52, 4bitri 278 . . . . 5 (∀𝑥(𝑥 = 𝑡 → (𝜑𝜓)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓)))
65imbi2i 339 . . . 4 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))))
7 bi2.04 392 . . . 4 ((𝑡 = 𝑦 → (𝜑 → ∀𝑥(𝑥 = 𝑡𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
86, 7bitri 278 . . 3 ((𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ (𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
98albii 1852 . 2 (∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))) ↔ ∀𝑡(𝜑 → (𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
10 dfsb 2101 . 2 ([𝑦 / 𝑥](𝜑𝜓) ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡 → (𝜑𝜓))))
11 dfsb 2101 . . . 4 ([𝑦 / 𝑥]𝜓 ↔ ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓)))
1211imbi2i 339 . . 3 ((𝜑 → [𝑦 / 𝑥]𝜓) ↔ (𝜑 → ∀𝑡(𝑡 = 𝑦 → ∀𝑥(𝑥 = 𝑡𝜓))))
13 19.21v 1972 . . 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 1568  wnf 1816  [wsb 2099
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-12 2216
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-nf 1817  df-sb 2100
This theorem is used by:  sbiedw  2352  sbied  2538  sbco2d  2547
  Copyright terms: Public domain W3C validator