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

Theorem ceqex 3616
Description: Equality implies equivalence with substitution. (Contributed by NM, 2-Mar-1995.) (Proof shortened by BJ, 1-May-2019.)
Assertion
Ref Expression
ceqex (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem ceqex
StepHypRef Expression
1 19.8a 2230 . . 3 ((𝑥 = 𝐴 ∧ 𝜑) → ∃𝑥(𝑥 = 𝐴 ∧ 𝜑))
21ex 418 . 2 (𝑥 = 𝐴 → (𝜑 → ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
3 eqvisset 3481 . . . 4 (𝑥 = 𝐴 → 𝐴 ∈ V)
4 alexeqg 3615 . . . 4 (𝐴 ∈ V → (∀𝑥(𝑥 = 𝐴 → 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
53, 4syl 18 . . 3 (𝑥 = 𝐴 → (∀𝑥(𝑥 = 𝐴 → 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
6 sp 2232 . . . 4 (∀𝑥(𝑥 = 𝐴 → 𝜑) → (𝑥 = 𝐴 → 𝜑))
76com12 33 . . 3 (𝑥 = 𝐴 → (∀𝑥(𝑥 = 𝐴 → 𝜑) → 𝜑))
85, 7sylbird 263 . 2 (𝑥 = 𝐴 → (∃𝑥(𝑥 = 𝐴 ∧ 𝜑) → 𝜑))
92, 8impbid 215 1 (𝑥 = 𝐴 → (𝜑 ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1818   ∈ wcel 2156  Vcvv 3461
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-8 2158  ax-9 2166  ax-10 2189  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463
This theorem is used by:  ceqsexg  3617
  Copyright terms: Public domain W3C validator