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

Theorem elabd2 3601
Description: Membership in a class abstraction, using implicit substitution. Deduction version of elab 3609. (Contributed by Gino Giotto, 12-Oct-2024.) (Revised by BJ, 16-Oct-2024.)
Hypotheses
Ref Expression
elabd2.ex (𝜑𝐴𝑉)
elabd2.eq (𝜑𝐵 = {𝑥𝜓})
elabd2.is ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
elabd2 (𝜑 → (𝐴𝐵𝜒))
Distinct variable groups:   𝜑,𝑥   𝜒,𝑥   𝑥,𝐴
Allowed substitution hints:   𝜓(𝑥)   𝐵(𝑥)   𝑉(𝑥)

Proof of Theorem elabd2
StepHypRef Expression
1 elabd2.ex . 2 (𝜑𝐴𝑉)
2 elabd2.eq . . . . 5 (𝜑𝐵 = {𝑥𝜓})
32eleq2d 2824 . . . 4 (𝜑 → (𝐴𝐵𝐴 ∈ {𝑥𝜓}))
4 elab6g 3600 . . . 4 (𝐴𝑉 → (𝐴 ∈ {𝑥𝜓} ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
53, 4sylan9bb 510 . . 3 ((𝜑𝐴𝑉) → (𝐴𝐵 ↔ ∀𝑥(𝑥 = 𝐴𝜓)))
6 elisset 2820 . . . 4 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
7 elabd2.is . . . . . . . 8 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
87pm5.74da 801 . . . . . . 7 (𝜑 → ((𝑥 = 𝐴𝜓) ↔ (𝑥 = 𝐴𝜒)))
98albidv 1923 . . . . . 6 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ ∀𝑥(𝑥 = 𝐴𝜒)))
10 19.23v 1945 . . . . . 6 (∀𝑥(𝑥 = 𝐴𝜒) ↔ (∃𝑥 𝑥 = 𝐴𝜒))
119, 10bitrdi 287 . . . . 5 (𝜑 → (∀𝑥(𝑥 = 𝐴𝜓) ↔ (∃𝑥 𝑥 = 𝐴𝜒)))
12 pm5.5 362 . . . . 5 (∃𝑥 𝑥 = 𝐴 → ((∃𝑥 𝑥 = 𝐴𝜒) ↔ 𝜒))
1311, 12sylan9bb 510 . . . 4 ((𝜑 ∧ ∃𝑥 𝑥 = 𝐴) → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜒))
146, 13sylan2 593 . . 3 ((𝜑𝐴𝑉) → (∀𝑥(𝑥 = 𝐴𝜓) ↔ 𝜒))
155, 14bitrd 278 . 2 ((𝜑𝐴𝑉) → (𝐴𝐵𝜒))
161, 15mpdan 684 1 (𝜑 → (𝐴𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  {cab 2715
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816
This theorem is referenced by:  elabd3  3602  elimasng1  5994
  Copyright terms: Public domain W3C validator