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

Theorem clelab 2882
Description: Membership of a class variable in a class abstraction. (Contributed by NM, 23-Dec-1993.) (Proof shortened by Wolf Lammen, 16-Nov-2019.) Avoid ax-11 2156, see sbc5ALT 3740 for more details. (Revised by SN, 2-Sep-2024.)
Assertion
Ref Expression
clelab (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem clelab
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 elisset 2820 . 2 (𝐴 ∈ {𝑥𝜑} → ∃𝑦 𝑦 = 𝐴)
2 exsimpl 1872 . . 3 (∃𝑥(𝑥 = 𝐴𝜑) → ∃𝑥 𝑥 = 𝐴)
3 eqeq1 2742 . . . 4 (𝑥 = 𝑦 → (𝑥 = 𝐴𝑦 = 𝐴))
43cbvexvw 2041 . . 3 (∃𝑥 𝑥 = 𝐴 ↔ ∃𝑦 𝑦 = 𝐴)
52, 4sylib 217 . 2 (∃𝑥(𝑥 = 𝐴𝜑) → ∃𝑦 𝑦 = 𝐴)
6 df-clab 2716 . . . . 5 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
7 sb5 2271 . . . . 5 ([𝑦 / 𝑥]𝜑 ↔ ∃𝑥(𝑥 = 𝑦𝜑))
86, 7bitri 274 . . . 4 (𝑦 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝑦𝜑))
9 eleq1 2826 . . . . 5 (𝑦 = 𝐴 → (𝑦 ∈ {𝑥𝜑} ↔ 𝐴 ∈ {𝑥𝜑}))
10 eqeq2 2750 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
1110anbi1d 629 . . . . . 6 (𝑦 = 𝐴 → ((𝑥 = 𝑦𝜑) ↔ (𝑥 = 𝐴𝜑)))
1211exbidv 1925 . . . . 5 (𝑦 = 𝐴 → (∃𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
139, 12bibi12d 345 . . . 4 (𝑦 = 𝐴 → ((𝑦 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))))
148, 13mpbii 232 . . 3 (𝑦 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
1514exlimiv 1934 . 2 (∃𝑦 𝑦 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
161, 5, 15pm5.21nii 379 1 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wex 1783  [wsb 2068  wcel 2108  {cab 2715
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817
This theorem is referenced by:  elrabiOLD  3612  sbc5  3739  bj-csbsnlem  35015  frege55c  41415  spr0nelg  44816
  Copyright terms: Public domain W3C validator