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

Theorem elabgt 3634
Description: Membership in a class abstraction, using implicit substitution. (Closed theorem version of elabg 3638.) (Contributed by NM, 7-Nov-2005.) (Proof shortened by Andrew Salmon, 8-Jun-2011.) Reduce axiom usage. (Revised by GG, 12-Oct-2024.) (Proof shortened by Wolf Lammen, 11-May-2025.) (Proof shortened by SN, 1-Dec-2025.)
Assertion
Ref Expression
elabgt ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Distinct variable groups:   𝑥,𝐴   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)

Proof of Theorem elabgt
StepHypRef Expression
1 elab6g 3631 . . 3 (𝐴𝐵 → (𝐴 ∈ {𝑥𝜑} ↔ ∀𝑥(𝑥 = 𝐴𝜑)))
2 pm5.74 273 . . . . . 6 ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ ((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
32biimpi 219 . . . . 5 ((𝑥 = 𝐴 → (𝜑𝜓)) → ((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
43alimi 1834 . . . 4 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
5 albi 1841 . . . 4 (∀𝑥((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
64, 5syl 18 . . 3 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
71, 6sylan9bb 518 . 2 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
8 19.23v 1965 . . . 4 (∀𝑥(𝑥 = 𝐴𝜓) ↔ (∃𝑥 𝑥 = 𝐴𝜓))
9 elisset 2847 . . . . 5 (𝐴𝐵 → ∃𝑥 𝑥 = 𝐴)
10 pm5.5 364 . . . . 5 (∃𝑥 𝑥 = 𝐴 → ((∃𝑥 𝑥 = 𝐴𝜓) ↔ 𝜓))
119, 10syl 18 . . . 4 (𝐴𝐵 → ((∃𝑥 𝑥 = 𝐴𝜓) ↔ 𝜓))
128, 11bitrid 286 . . 3 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜓))
1312adantr 485 . 2 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜓))
147, 13bitrd 282 1 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400  wal 1561   = wceq 1563  wex 1802  wcel 2145  {cab 2743
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737
This theorem depends on definitions:  df-bi 210  df-an 401  df-tru 1566  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840
This theorem is referenced by:  elabg  3638  elrab3t  3652  dfrtrcl2  15089  iinabrex  32824  abfmpeld  32911  abfmpel  32912  bj-elgab  37436  dftrcl3  44308  dfrtrcl3  44321
  Copyright terms: Public domain W3C validator