Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elab2gw Structured version   Visualization version   GIF version

Theorem elab2gw 40094
Description: Membership in a class abstraction, using two substitution hypotheses to avoid a disjoint variable condition on 𝑥 and 𝐴, which is not usually significant since 𝐵 is usually a constant. (Contributed by SN, 16-May-2024.)
Hypotheses
Ref Expression
elabgw.1 (𝑥 = 𝑦 → (𝜑𝜓))
elabgw.2 (𝑦 = 𝐴 → (𝜓𝜒))
elab2gw.3 𝐵 = {𝑥𝜑}
Assertion
Ref Expression
elab2gw (𝐴𝑉 → (𝐴𝐵𝜒))
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦   𝜑,𝑦   𝜒,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑥)   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem elab2gw
StepHypRef Expression
1 elab2gw.3 . . 3 𝐵 = {𝑥𝜑}
21eleq2i 2830 . 2 (𝐴𝐵𝐴 ∈ {𝑥𝜑})
3 elabgw.1 . . 3 (𝑥 = 𝑦 → (𝜑𝜓))
4 elabgw.2 . . 3 (𝑦 = 𝐴 → (𝜓𝜒))
53, 4elabgw 40093 . 2 (𝐴𝑉 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜒))
62, 5syl5bb 282 1 (𝐴𝑉 → (𝐴𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wcel 2108  {cab 2715
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817
This theorem is referenced by:  elrab2w  40095
  Copyright terms: Public domain W3C validator