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

Theorem elrabsf 3441
Description: Membership in a restricted class abstraction, expressed with explicit class substitution. (The variation elrabf 3329 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 3404 . 2 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
2 elrabsf.1 . . 3 𝑥𝐵
3 nfcv 2751 . . 3 𝑦𝐵
4 nfv 1830 . . 3 𝑦𝜑
5 nfsbc1v 3422 . . 3 𝑥[𝑦 / 𝑥]𝜑
6 sbceq1a 3413 . . 3 (𝑥 = 𝑦 → (𝜑[𝑦 / 𝑥]𝜑))
72, 3, 4, 5, 6cbvrab 3171 . 2 {𝑥𝐵𝜑} = {𝑦𝐵[𝑦 / 𝑥]𝜑}
81, 7elrab2 3333 1 (𝐴 ∈ {𝑥𝐵𝜑} ↔ (𝐴𝐵[𝐴 / 𝑥]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383  wcel 1977  wnfc 2738  {crab 2900  [wsbc 3402
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rab 2905  df-v 3175  df-sbc 3403
This theorem is referenced by:  wfisg  5632  onminesb  6890  mpt2xopovel  7233  ac6num  9184  hashrabsn1  13024  bnj23  30038  bnj1204  30334  tfisg  30960  frinsg  30986  rabrenfdioph  36396
  Copyright terms: Public domain W3C validator