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

Theorem clelab 2908
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 2197, see sbc5ALT 3771 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 elissetv 2845 . 2 (𝐴 ∈ {𝑥 ∣ 𝜑} → ∃𝑦 𝑦 = 𝐴)
2 exsimpl 1901 . . 3 (∃𝑥(𝑥 = 𝐴 ∧ 𝜑) → ∃𝑥 𝑥 = 𝐴)
3 iseqsetv-cleq 2827 . . 3 (∃𝑥 𝑥 = 𝐴 ↔ ∃𝑦 𝑦 = 𝐴)
42, 3sylib 221 . 2 (∃𝑥(𝑥 = 𝐴 ∧ 𝜑) → ∃𝑦 𝑦 = 𝐴)
5 eleq1 2852 . . . 4 (𝑦 = 𝐴 → (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝐴 ∈ {𝑥 ∣ 𝜑}))
6 df-clab 2742 . . . . . 6 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
7 sb5 2313 . . . . . 6 ([𝑦 / 𝑥]𝜑 ↔ ∃𝑥(𝑥 = 𝑦 ∧ 𝜑))
86, 7bitri 278 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑥(𝑥 = 𝑦 ∧ 𝜑))
9 eqeq2 2775 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦 ↔ 𝑥 = 𝐴))
109anbi1d 643 . . . . . 6 (𝑦 = 𝐴 → ((𝑥 = 𝑦 ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ 𝜑)))
1110exbidv 1956 . . . . 5 (𝑦 = 𝐴 → (∃𝑥(𝑥 = 𝑦 ∧ 𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
128, 11bitrid 286 . . . 4 (𝑦 = 𝐴 → (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
135, 12bitr3d 284 . . 3 (𝑦 = 𝐴 → (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
1413exlimiv 1965 . 2 (∃𝑦 𝑦 = 𝐴 → (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑)))
151, 4, 14pm5.21nii 381 1 (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812  [wsb 2101   ∈ wcel 2147  {cab 2741
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-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839
This theorem is used by:  sbc5  3770  bj-csbsnlem  37993  frege55c  45110  spr0nelg  48763
  Copyright terms: Public domain W3C validator