MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rabxfr Structured version   Unicode version

Theorem rabxfr 4659
Description: Class builder membership after substituting an expression  A (containing  y) for  x in the class expression  ph. (Contributed by NM, 10-Jun-2005.)
Hypotheses
Ref Expression
rabxfr.1  |-  F/_ y B
rabxfr.2  |-  F/_ y C
rabxfr.3  |-  ( y  e.  D  ->  A  e.  D )
rabxfr.4  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
rabxfr.5  |-  ( y  =  B  ->  A  =  C )
Assertion
Ref Expression
rabxfr  |-  ( B  e.  D  ->  ( C  e.  { x  e.  D  |  ph }  <->  B  e.  { y  e.  D  |  ps }
) )
Distinct variable groups:    x, A    x, y, D    ph, y    ps, x
Allowed substitution hints:    ph( x)    ps( y)    A( y)    B( x, y)    C( x, y)

Proof of Theorem rabxfr
StepHypRef Expression
1 tru 1402 . 2  |- T.
2 rabxfr.1 . . 3  |-  F/_ y B
3 rabxfr.2 . . 3  |-  F/_ y C
4 rabxfr.3 . . . 4  |-  ( y  e.  D  ->  A  e.  D )
54adantl 464 . . 3  |-  ( ( T.  /\  y  e.  D )  ->  A  e.  D )
6 rabxfr.4 . . 3  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
7 rabxfr.5 . . 3  |-  ( y  =  B  ->  A  =  C )
82, 3, 5, 6, 7rabxfrd 4658 . 2  |-  ( ( T.  /\  B  e.  D )  ->  ( C  e.  { x  e.  D  |  ph }  <->  B  e.  { y  e.  D  |  ps }
) )
91, 8mpan 668 1  |-  ( B  e.  D  ->  ( C  e.  { x  e.  D  |  ph }  <->  B  e.  { y  e.  D  |  ps }
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    = wceq 1398   T. wtru 1399    e. wcel 1823   F/_wnfc 2602   {crab 2808
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432
This theorem depends on definitions:  df-bi 185  df-an 369  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ral 2809  df-rab 2813  df-v 3108
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator