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

Theorem elabgw 3641
Description: Membership in a class abstraction, using two substitution hypotheses to avoid a disjoint variable condition on 𝑥 and 𝐴. This is to elabg 3640 what sbievw2 2146 is to sbievw 2142. (Contributed by SN, 20-Apr-2024.)
Hypotheses
Ref Expression
elabgw.1 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
elabgw.2 (𝑦 = 𝐴 → (𝜓 ↔ 𝜒))
Assertion
Ref Expression
elabgw (𝐴 ∈ 𝑉 → (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ 𝜒))
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦   𝜑,𝑦   𝜒,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑥)   𝐴(𝑥)   𝑉(𝑥, 𝑦)

Proof of Theorem elabgw
StepHypRef Expression
1 eleq1 2863 . 2 (𝑦 = 𝐴 → (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝐴 ∈ {𝑥 ∣ 𝜑}))
2 elabgw.2 . 2 (𝑦 = 𝐴 → (𝜓 ↔ 𝜒))
3 df-clab 2753 . . 3 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
4 elabgw.1 . . . 4 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
54sbievw 2142 . . 3 ([𝑦 / 𝑥]𝜑 ↔ 𝜓)
63, 5bitri 278 . 2 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝜓)
71, 2, 6vtoclbg 3530 1 (𝐴 ∈ 𝑉 → (𝐴 ∈ {𝑥 ∣ 𝜑} ↔ 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572  [wsb 2109   ∈ wcel 2156  {cab 2752
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850
This theorem is used by:  elab2gw  3642
  Copyright terms: Public domain W3C validator