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

Theorem sbequ2 2297
Description: An equality theorem for substitution. (Contributed by NM, 16-May-1993.) Revise df-sb 2110. (Revised by BJ, 22-Dec-2020.) (Proof shortened by Wolf Lammen, 3-Feb-2024.)
Assertion
Ref Expression
sbequ2 (𝑥 = 𝑡 → ([𝑡 / 𝑥]𝜑 → 𝜑))

Proof of Theorem sbequ2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfsb 2111 . . . 4 ([𝑡 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑡 → ∀𝑥(𝑥 = 𝑦 → 𝜑)))
21biimpi 219 . . 3 ([𝑡 / 𝑥]𝜑 → ∀𝑦(𝑦 = 𝑡 → ∀𝑥(𝑥 = 𝑦 → 𝜑)))
3 equvinva 2072 . . 3 (𝑥 = 𝑡 → ∃𝑦(𝑥 = 𝑦 ∧ 𝑡 = 𝑦))
4 equcomi 2059 . . . . . 6 (𝑡 = 𝑦 → 𝑦 = 𝑡)
5 sp 2232 . . . . . 6 (∀𝑥(𝑥 = 𝑦 → 𝜑) → (𝑥 = 𝑦 → 𝜑))
64, 5imim12i 63 . . . . 5 ((𝑦 = 𝑡 → ∀𝑥(𝑥 = 𝑦 → 𝜑)) → (𝑡 = 𝑦 → (𝑥 = 𝑦 → 𝜑)))
76impcomd 417 . . . 4 ((𝑦 = 𝑡 → ∀𝑥(𝑥 = 𝑦 → 𝜑)) → ((𝑥 = 𝑦 ∧ 𝑡 = 𝑦) → 𝜑))
87aleximi 1871 . . 3 (∀𝑦(𝑦 = 𝑡 → ∀𝑥(𝑥 = 𝑦 → 𝜑)) → (∃𝑦(𝑥 = 𝑦 ∧ 𝑡 = 𝑦) → ∃𝑦𝜑))
92, 3, 8syl2im 41 . 2 ([𝑡 / 𝑥]𝜑 → (𝑥 = 𝑡 → ∃𝑦𝜑))
10 ax5e 1953 . 2 (∃𝑦𝜑 → 𝜑)
119, 10syl6com 38 1 (𝑥 = 𝑡 → ([𝑡 / 𝑥]𝜑 → 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1570  ∃wex 1818  [wsb 2109
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-12 2225
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1819  df-sb 2110
This theorem is used by:  stdpc7  2298  sbequ12  2299  sb4a  2521  dfsb1  2522  dfsb2  2534  bj-ssbid2  37859  2pm13.193  45935  2pm13.193VD  46285
  Copyright terms: Public domain W3C validator