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

Theorem sbi1 2074
Description: Distribute substitution over implication. (Contributed by NM, 14-May-1993.) Remove dependencies on axioms. (Revised by Steven Nguyen, 24-Jul-2023.)
Assertion
Ref Expression
sbi1 ([𝑦 / 𝑥](𝜑𝜓) → ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜓))

Proof of Theorem sbi1
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-sb 2068 . 2 ([𝑦 / 𝑥](𝜑𝜓) ↔ ∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧 → (𝜑𝜓))))
2 ax-2 7 . . . . . 6 ((𝑥 = 𝑧 → (𝜑𝜓)) → ((𝑥 = 𝑧𝜑) → (𝑥 = 𝑧𝜓)))
32al2imi 1818 . . . . 5 (∀𝑥(𝑥 = 𝑧 → (𝜑𝜓)) → (∀𝑥(𝑥 = 𝑧𝜑) → ∀𝑥(𝑥 = 𝑧𝜓)))
43imim3i 64 . . . 4 ((𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧 → (𝜑𝜓))) → ((𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜑)) → (𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜓))))
54al2imi 1818 . . 3 (∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧 → (𝜑𝜓))) → (∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜑)) → ∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜓))))
6 df-sb 2068 . . 3 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜑)))
7 df-sb 2068 . . 3 ([𝑦 / 𝑥]𝜓 ↔ ∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧𝜓)))
85, 6, 73imtr4g 296 . 2 (∀𝑧(𝑧 = 𝑦 → ∀𝑥(𝑥 = 𝑧 → (𝜑𝜓))) → ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜓))
91, 8sylbi 216 1 ([𝑦 / 𝑥](𝜑𝜓) → ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1537  [wsb 2067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812
This theorem depends on definitions:  df-bi 206  df-sb 2068
This theorem is referenced by:  spsbim  2075  sbimi  2077  sb2imi  2078  sbim  2300  sbcim1  3772  2sb5ndVD  42530  2sb5ndALT  42552
  Copyright terms: Public domain W3C validator