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

Theorem elrabsf 3787
Description: Membership in a restricted class abstraction, expressed with explicit class substitution. (The variation elrabf 3645 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 3744 . 2 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
2 elrabsf.1 . . 3 Ⅎ𝑥𝐵
3 nfcv 2926 . . 3 Ⅎ𝑦𝐵
4 nfv 1948 . . 3 Ⅎ𝑦𝜑
5 nfsbc1v 3762 . . 3 Ⅎ𝑥[𝑦 / 𝑥]𝜑
6 sbceq1a 3753 . . 3 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
72, 3, 4, 5, 6cbvrabw 3450 . 2 {𝑥 ∈ 𝐵 ∣ 𝜑} = {𝑦 ∈ 𝐵 ∣ [𝑦 / 𝑥]𝜑}
81, 7elrab2 3652 1 (𝐴 ∈ {𝑥 ∈ 𝐵 ∣ 𝜑} ↔ (𝐴 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∈ wcel 2146  Ⅎwnfc 2911  {crab 3416  [wsbc 3742
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-rab 3417  df-v 3456  df-sbc 3743
This theorem is used by:  frpoinsg  6353  onminesb  7817  tfisg  7875  mpoxopovel  8251  frinsg  9768  ac6num  10570  hashrabsn1  14531  bnj23  35405  bnj1204  35698  weiunlem  37381  rabrenfdioph  43964
  Copyright terms: Public domain W3C validator