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

Theorem ceqex 3609
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 2221 . . 3 ((𝑥 = 𝐴 ∧ 𝜑) → ∃𝑥(𝑥 = 𝐴 ∧ 𝜑))
21ex 418 . 2 (𝑥 = 𝐴 → (𝜑 → ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
3 eqvisset 3474 . . . 4 (𝑥 = 𝐴 → 𝐴 ∈ V)
4 alexeqg 3608 . . . 4 (𝐴 ∈ V → (∀𝑥(𝑥 = 𝐴 → 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
53, 4syl 18 . . 3 (𝑥 = 𝐴 → (∀𝑥(𝑥 = 𝐴 → 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
6 sp 2223 . . . 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 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456
This theorem is used by:  ceqsexg  3610
  Copyright terms: Public domain W3C validator