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

Theorem sbequi 2363
 Description: An equality theorem for substitution. (Contributed by NM, 14-May-1993.) (Proof shortened by Wolf Lammen, 15-Sep-2018.)
Assertion
Ref Expression
sbequi (𝑥 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑))

Proof of Theorem sbequi
StepHypRef Expression
1 equtr 1935 . . 3 (𝑧 = 𝑥 → (𝑥 = 𝑦𝑧 = 𝑦))
2 sbequ2 1869 . . . 4 (𝑧 = 𝑥 → ([𝑥 / 𝑧]𝜑𝜑))
3 sbequ1 2096 . . . 4 (𝑧 = 𝑦 → (𝜑 → [𝑦 / 𝑧]𝜑))
42, 3syl9 75 . . 3 (𝑧 = 𝑥 → (𝑧 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑)))
51, 4syld 46 . 2 (𝑧 = 𝑥 → (𝑥 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑)))
6 ax13 2237 . . 3 𝑧 = 𝑥 → (𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
7 sp 2041 . . . . . 6 (∀𝑧 𝑧 = 𝑥𝑧 = 𝑥)
87con3i 149 . . . . 5 𝑧 = 𝑥 → ¬ ∀𝑧 𝑧 = 𝑥)
9 sb4 2344 . . . . 5 (¬ ∀𝑧 𝑧 = 𝑥 → ([𝑥 / 𝑧]𝜑 → ∀𝑧(𝑧 = 𝑥𝜑)))
108, 9syl 17 . . . 4 𝑧 = 𝑥 → ([𝑥 / 𝑧]𝜑 → ∀𝑧(𝑧 = 𝑥𝜑)))
11 equeuclr 1937 . . . . . . 7 (𝑥 = 𝑦 → (𝑧 = 𝑦𝑧 = 𝑥))
1211imim1d 80 . . . . . 6 (𝑥 = 𝑦 → ((𝑧 = 𝑥𝜑) → (𝑧 = 𝑦𝜑)))
1312al2imi 1733 . . . . 5 (∀𝑧 𝑥 = 𝑦 → (∀𝑧(𝑧 = 𝑥𝜑) → ∀𝑧(𝑧 = 𝑦𝜑)))
14 sb2 2340 . . . . 5 (∀𝑧(𝑧 = 𝑦𝜑) → [𝑦 / 𝑧]𝜑)
1513, 14syl6 34 . . . 4 (∀𝑧 𝑥 = 𝑦 → (∀𝑧(𝑧 = 𝑥𝜑) → [𝑦 / 𝑧]𝜑))
1610, 15syl9 75 . . 3 𝑧 = 𝑥 → (∀𝑧 𝑥 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑)))
176, 16syld 46 . 2 𝑧 = 𝑥 → (𝑥 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑)))
185, 17pm2.61i 175 1 (𝑥 = 𝑦 → ([𝑥 / 𝑧]𝜑 → [𝑦 / 𝑧]𝜑))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4  ∀wal 1473  [wsb 1867 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-12 2034  ax-13 2234 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868 This theorem is referenced by:  sbequ  2364
 Copyright terms: Public domain W3C validator