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

Theorem elabgt 3316
Description: Membership in a class abstraction, using implicit substitution. (Closed theorem version of elabg 3320.) (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 2751 . . 3 𝑥𝐴
2 nfab1 2753 . . . . 5 𝑥{𝑥𝜑}
32nfel2 2767 . . . 4 𝑥 𝐴 ∈ {𝑥𝜑}
4 nfv 1830 . . . 4 𝑥𝜓
53, 4nfbi 1821 . . 3 𝑥(𝐴 ∈ {𝑥𝜑} ↔ 𝜓)
6 pm5.5 350 . . 3 (𝑥 = 𝐴 → ((𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)) ↔ (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
71, 5, 6spcgf 3261 . 2 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
8 abid 2598 . . . . . . 7 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
9 eleq1 2676 . . . . . . 7 (𝑥 = 𝐴 → (𝑥 ∈ {𝑥𝜑} ↔ 𝐴 ∈ {𝑥𝜑}))
108, 9syl5bbr 273 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝐴 ∈ {𝑥𝜑}))
1110bibi1d 332 . . . . 5 (𝑥 = 𝐴 → ((𝜑𝜓) ↔ (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1211biimpd 218 . . . 4 (𝑥 = 𝐴 → ((𝜑𝜓) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1312a2i 14 . . 3 ((𝑥 = 𝐴 → (𝜑𝜓)) → (𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
1413alimi 1730 . 2 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥(𝑥 = 𝐴 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓)))
157, 14impel 484 1 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  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  df-nfc 2740  df-v 3175
This theorem is referenced by:  elrab3t  3330  dfrtrcl2  13650  abfmpeld  28834  abfmpel  28835  dftrcl3  37031  dfrtrcl3  37044
  Copyright terms: Public domain W3C validator