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

Theorem clelab 2880
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 2158, see sbc5ALT 3723 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 2819 . 2 (𝐴 ∈ {𝑥𝜑} → ∃𝑦 𝑦 = 𝐴)
2 exsimpl 1876 . . 3 (∃𝑥(𝑥 = 𝐴𝜑) → ∃𝑥 𝑥 = 𝐴)
3 eqeq1 2741 . . . 4 (𝑥 = 𝑦 → (𝑥 = 𝐴𝑦 = 𝐴))
43cbvexvw 2045 . . 3 (∃𝑥 𝑥 = 𝐴 ↔ ∃𝑦 𝑦 = 𝐴)
52, 4sylib 221 . 2 (∃𝑥(𝑥 = 𝐴𝜑) → ∃𝑦 𝑦 = 𝐴)
6 df-clab 2715 . . . . 5 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
7 sb5 2272 . . . . 5 ([𝑦 / 𝑥]𝜑 ↔ ∃𝑥(𝑥 = 𝑦𝜑))
86, 7bitri 278 . . . 4 (𝑦 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝑦𝜑))
9 eleq1 2825 . . . . 5 (𝑦 = 𝐴 → (𝑦 ∈ {𝑥𝜑} ↔ 𝐴 ∈ {𝑥𝜑}))
10 eqeq2 2749 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
1110anbi1d 633 . . . . . 6 (𝑦 = 𝐴 → ((𝑥 = 𝑦𝜑) ↔ (𝑥 = 𝐴𝜑)))
1211exbidv 1929 . . . . 5 (𝑦 = 𝐴 → (∃𝑥(𝑥 = 𝑦𝜑) ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
139, 12bibi12d 349 . . . 4 (𝑦 = 𝐴 → ((𝑦 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝑦𝜑)) ↔ (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))))
148, 13mpbii 236 . . 3 (𝑦 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
1514exlimiv 1938 . 2 (∃𝑦 𝑦 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑)))
161, 5, 15pm5.21nii 383 1 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1543  wex 1787  [wsb 2070  wcel 2110  {cab 2714
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-12 2175  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816
This theorem is referenced by:  elrabiOLD  3597  sbc5  3722  bj-csbsnlem  34825  frege55c  41203  spr0nelg  44601
  Copyright terms: Public domain W3C validator