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

Theorem elabgt 3663
Description: Membership in a class abstraction, using implicit substitution. (Closed theorem version of elabg 3666.) (Contributed by NM, 7-Nov-2005.) (Proof shortened by Andrew Salmon, 8-Jun-2011.)
Assertion
Ref Expression
elabgt ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)

Proof of Theorem elabgt
StepHypRef Expression
1 nfcv 2977 . . 3 𝑥𝐴
2 nfab1 2979 . . . . 5 𝑥{𝑥𝜑}
32nfel2 2996 . . . 4 𝑥 𝐴 ∈ {𝑥𝜑}
4 nfv 1911 . . . 4 𝑥𝜓
53, 4nfbi 1900 . . 3 𝑥(𝐴 ∈ {𝑥𝜑} ↔ 𝜓)
6 pm5.5 364 . . 3 (𝑥 = 𝐴 → ((𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)) ↔ (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
71, 5, 6spcgf 3590 . 2 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
8 abid 2803 . . . . . . 7 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
9 eleq1 2900 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 ∈ {𝑥𝜑} ↔ 𝐴 ∈ {𝑥𝜑}))
108, 9syl5bbr 287 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝐴 ∈ {𝑥𝜑}))
1110bibi1d 346 . . . . 5 (𝑥 = 𝐴 → ((𝜑𝜓) ↔ (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1211biimpd 231 . . . 4 (𝑥 = 𝐴 → ((𝜑𝜓) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1312a2i 14 . . 3 ((𝑥 = 𝐴 → (𝜑𝜓)) → (𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1413alimi 1808 . 2 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥(𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
157, 14impel 508 1 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1531   = wceq 1533  wcel 2110  {cab 2799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3497
This theorem is referenced by:  elrab3t  3679  dfrtrcl2  14415  abfmpeld  30393  abfmpel  30394  dftrcl3  40058  dfrtrcl3  40071
  Copyright terms: Public domain W3C validator