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

Theorem clelab 2748
Description: Membership of a class variable in a class abstraction. (Contributed by NM, 23-Dec-1993.) (Proof shortened by Wolf Lammen, 16-Nov-2019.)
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 df-clel 2618 . 2 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑦(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑}))
2 nfv 1843 . . 3 𝑦(𝑥 = 𝐴𝜑)
3 nfv 1843 . . . 4 𝑥 𝑦 = 𝐴
4 nfsab1 2612 . . . 4 𝑥 𝑦 ∈ {𝑥𝜑}
53, 4nfan 1828 . . 3 𝑥(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑})
6 eqeq1 2626 . . . 4 (𝑥 = 𝑦 → (𝑥 = 𝐴𝑦 = 𝐴))
7 sbequ12 2111 . . . . 5 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
8 df-clab 2609 . . . . 5 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
97, 8syl6bbr 278 . . . 4 (𝑥 = 𝑦 → (𝜑𝑦 ∈ {𝑥𝜑}))
106, 9anbi12d 747 . . 3 (𝑥 = 𝑦 → ((𝑥 = 𝐴𝜑) ↔ (𝑦 = 𝐴𝑦 ∈ {𝑥𝜑})))
112, 5, 10cbvex 2272 . 2 (∃𝑥(𝑥 = 𝐴𝜑) ↔ ∃𝑦(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑}))
121, 11bitr4i 267 1 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1483  wex 1704  [wsb 1880  wcel 1990  {cab 2608
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618
This theorem is referenced by:  elrabi  3359  bj-csbsnlem  32898  frege55c  38212  spr0nelg  41726
  Copyright terms: Public domain W3C validator