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

Theorem elrabsf 3790
Description: Membership in a restricted class abstraction, expressed with explicit class substitution. (The variation elrabf 3648 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 3747 . 2 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
2 elrabsf.1 . . 3 𝑥𝐵
3 nfcv 2925 . . 3 𝑦𝐵
4 nfv 1935 . . 3 𝑦𝜑
5 nfsbc1v 3765 . . 3 𝑥[𝑦 / 𝑥]𝜑
6 sbceq1a 3756 . . 3 (𝑥 = 𝑦 → (𝜑[𝑦 / 𝑥]𝜑))
72, 3, 4, 5, 6cbvrabw 3450 . 2 {𝑥𝐵𝜑} = {𝑦𝐵[𝑦 / 𝑥]𝜑}
81, 7elrab2 3655 1 (𝐴 ∈ {𝑥𝐵𝜑} ↔ (𝐴𝐵[𝐴 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 399  wcel 2143  wnfc 2910  {crab 3415  [wsbc 3745
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1816  ax-4 1830  ax-5 1931  ax-6 1988  ax-7 2029  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-tru 1564  df-ex 1801  df-nf 1805  df-sb 2092  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-rab 3416  df-v 3457  df-sbc 3746
This theorem is referenced by:  frpoinsg  6331  onminesb  7777  tfisg  7835  mpoxopovel  8201  frinsg  9710  ac6num  10437  hashrabsn1  14388  bnj23  35015  bnj1204  35308  weiunlem  36824  rabrenfdioph  43392
  Copyright terms: Public domain W3C validator