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

Theorem clelab 2735
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 2606 . 2 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑦(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑}))
2 nfv 1830 . . 3 𝑦(𝑥 = 𝐴𝜑)
3 nfv 1830 . . . 4 𝑥 𝑦 = 𝐴
4 nfsab1 2600 . . . 4 𝑥 𝑦 ∈ {𝑥𝜑}
53, 4nfan 1816 . . 3 𝑥(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑})
6 eqeq1 2614 . . . 4 (𝑥 = 𝑦 → (𝑥 = 𝐴𝑦 = 𝐴))
7 sbequ12 2097 . . . . 5 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
8 df-clab 2597 . . . . 5 (𝑦 ∈ {𝑥𝜑} ↔ [𝑦 / 𝑥]𝜑)
97, 8syl6bbr 277 . . . 4 (𝑥 = 𝑦 → (𝜑𝑦 ∈ {𝑥𝜑}))
106, 9anbi12d 743 . . 3 (𝑥 = 𝑦 → ((𝑥 = 𝐴𝜑) ↔ (𝑦 = 𝐴𝑦 ∈ {𝑥𝜑})))
112, 5, 10cbvex 2260 . 2 (∃𝑥(𝑥 = 𝐴𝜑) ↔ ∃𝑦(𝑦 = 𝐴𝑦 ∈ {𝑥𝜑}))
121, 11bitr4i 266 1 (𝐴 ∈ {𝑥𝜑} ↔ ∃𝑥(𝑥 = 𝐴𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383   = wceq 1475  wex 1695  [wsb 1867  wcel 1977  {cab 2596
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606
This theorem is referenced by:  elrabi  3328  bj-csbsnlem  32090  frege55c  37232
  Copyright terms: Public domain W3C validator