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 40166
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 40165 . 2 (𝐴𝑉 → (𝐴 ∈ {𝑥𝜑} ↔ 𝜒))
62, 5syl5bb 283 1 (𝐴𝑉 → (𝐴𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  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:  elrab2w  40167
  Copyright terms: Public domain W3C validator