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

Theorem zfrep4 4572
Description: A version of Replacement using class abstractions. (Contributed by NM, 26-Nov-1995.)
Hypotheses
Ref Expression
zfrep4.1  |-  { x  |  ph }  e.  _V
zfrep4.2  |-  ( ph  ->  E. z A. y
( ps  ->  y  =  z ) )
Assertion
Ref Expression
zfrep4  |-  { y  |  E. x (
ph  /\  ps ) }  e.  _V
Distinct variable groups:    ph, y, z    ps, z    x, y, z
Allowed substitution hints:    ph( x)    ps( x, y)

Proof of Theorem zfrep4
StepHypRef Expression
1 abid 2454 . . . . 5  |-  ( x  e.  { x  | 
ph }  <->  ph )
21anbi1i 695 . . . 4  |-  ( ( x  e.  { x  |  ph }  /\  ps ) 
<->  ( ph  /\  ps ) )
32exbii 1644 . . 3  |-  ( E. x ( x  e. 
{ x  |  ph }  /\  ps )  <->  E. x
( ph  /\  ps )
)
43abbii 2601 . 2  |-  { y  |  E. x ( x  e.  { x  |  ph }  /\  ps ) }  =  {
y  |  E. x
( ph  /\  ps ) }
5 nfab1 2631 . . . . 5  |-  F/_ x { x  |  ph }
6 zfrep4.1 . . . . 5  |-  { x  |  ph }  e.  _V
7 zfrep4.2 . . . . . 6  |-  ( ph  ->  E. z A. y
( ps  ->  y  =  z ) )
81, 7sylbi 195 . . . . 5  |-  ( x  e.  { x  | 
ph }  ->  E. z A. y ( ps  ->  y  =  z ) )
95, 6, 8zfrepclf 4570 . . . 4  |-  E. z A. y ( y  e.  z  <->  E. x ( x  e.  { x  | 
ph }  /\  ps ) )
10 abeq2 2591 . . . . 5  |-  ( z  =  { y  |  E. x ( x  e.  { x  | 
ph }  /\  ps ) }  <->  A. y ( y  e.  z  <->  E. x
( x  e.  {
x  |  ph }  /\  ps ) ) )
1110exbii 1644 . . . 4  |-  ( E. z  z  =  {
y  |  E. x
( x  e.  {
x  |  ph }  /\  ps ) }  <->  E. z A. y ( y  e.  z  <->  E. x ( x  e.  { x  | 
ph }  /\  ps ) ) )
129, 11mpbir 209 . . 3  |-  E. z 
z  =  { y  |  E. x ( x  e.  { x  |  ph }  /\  ps ) }
1312issetri 3125 . 2  |-  { y  |  E. x ( x  e.  { x  |  ph }  /\  ps ) }  e.  _V
144, 13eqeltrri 2552 1  |-  { y  |  E. x (
ph  /\  ps ) }  e.  _V
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369   A.wal 1377    = wceq 1379   E.wex 1596    e. wcel 1767   {cab 2452   _Vcvv 3118
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4564
This theorem depends on definitions:  df-bi 185  df-an 371  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-v 3120
This theorem is referenced by:  zfpair  4690  cshwsexa  12772
  Copyright terms: Public domain W3C validator