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

Theorem elrabsf 3794
Description: Membership in a restricted class abstraction, expressed with explicit class substitution. (The variation elrabf 3652 has implicit substitution). The hypothesis specifies that 𝑥 must not be a free variable in 𝐵. (Contributed by NM, 30-Sep-2003.) (Proof shortened by Mario Carneiro, 13-Oct-2016.)
Hypothesis
Ref Expression
elrabsf.1 Ⅎ𝑥𝐵
Assertion
Ref Expression
elrabsf (𝐴 ∈ {𝑥 ∈ 𝐵 ∣ 𝜑} ↔ (𝐴 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑))

Proof of Theorem elrabsf
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfsbcq 3751 . 2 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
2 elrabsf.1 . . 3 Ⅎ𝑥𝐵
3 nfcv 2937 . . 3 Ⅎ𝑦𝐵
4 nfv 1956 . . 3 Ⅎ𝑦𝜑
5 nfsbc1v 3769 . . 3 Ⅎ𝑥[𝑦 / 𝑥]𝜑
6 sbceq1a 3760 . . 3 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
72, 3, 4, 5, 6cbvrabw 3457 . 2 {𝑥 ∈ 𝐵 ∣ 𝜑} = {𝑦 ∈ 𝐵 ∣ [𝑦 / 𝑥]𝜑}
81, 7elrab2 3659 1 (𝐴 ∈ {𝑥 ∈ 𝐵 ∣ 𝜑} ↔ (𝐴 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∈ wcel 2156  Ⅎwnfc 2922  {crab 3423  [wsbc 3749
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-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-rab 3424  df-v 3463  df-sbc 3750
This theorem is used by:  frpoinsg  6385  onminesb  7860  tfisg  7918  mpoxopovel  8294  frinsg  9811  ac6num  10615  hashrabsn1  14581  bnj23  35554  bnj1204  35847  weiunlem  37574  rabrenfdioph  44194
  Copyright terms: Public domain W3C validator