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

Theorem elabgt 3627
Description: Membership in a class abstraction, using implicit substitution. (Closed theorem version of elabg 3632.) (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 3624 . . 3 (𝐴𝐵 → (𝐴 ∈ {𝑥𝜑} ↔ ∀𝑥(𝑥 = 𝐴𝜑)))
2 pm5.74 270 . . . . . 6 ((𝑥 = 𝐴 → (𝜑𝜓)) ↔ ((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
32biimpi 216 . . . . 5 ((𝑥 = 𝐴 → (𝜑𝜓)) → ((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
43alimi 1812 . . . 4 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)))
5 albi 1819 . . . 4 (∀𝑥((𝑥 = 𝐴𝜑) ↔ (𝑥 = 𝐴𝜓)) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
64, 5syl 17 . . 3 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (∀𝑥(𝑥 = 𝐴𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
71, 6sylan9bb 509 . 2 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
8 19.23v 1943 . . . 4 (∀𝑥(𝑥 = 𝐴𝜓) ↔ (∃𝑥 𝑥 = 𝐴𝜓))
9 elisset 2813 . . . . 5 (𝐴𝐵 → ∃𝑥 𝑥 = 𝐴)
10 pm5.5 361 . . . . 5 (∃𝑥 𝑥 = 𝐴 → ((∃𝑥 𝑥 = 𝐴𝜓) ↔ 𝜓))
119, 10syl 17 . . . 4 (𝐴𝐵 → ((∃𝑥 𝑥 = 𝐴𝜓) ↔ 𝜓))
128, 11bitrid 283 . . 3 (𝐴𝐵 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜓))
1312adantr 480 . 2 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜓))
147, 13bitrd 279 1 ((𝐴𝐵 ∧ ∀𝑥(𝑥 = 𝐴 → (𝜑𝜓))) → (𝐴 ∈ {𝑥𝜑} ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wal 1539   = wceq 1541  wex 1780  wcel 2111  {cab 2709
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1544  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806
This theorem is referenced by:  elabg  3632  elrab3t  3646  dfrtrcl2  14966  iinabrex  32544  abfmpeld  32631  abfmpel  32632  bj-elgab  36972  dftrcl3  43752  dfrtrcl3  43765
  Copyright terms: Public domain W3C validator