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

Theorem dfoprab3s 6839
Description: A way to define an operation class abstraction without using existential quantifiers. (Contributed by NM, 18-Aug-2006.) (Revised by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
dfoprab3s  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  ( w  e.  ( _V 
X.  _V )  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) }
Distinct variable groups:    ph, w    x, y, z, w
Allowed substitution hints:    ph( x, y, z)

Proof of Theorem dfoprab3s
StepHypRef Expression
1 dfoprab2 6327 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }
2 nfsbc1v 3351 . . . . 5  |-  F/ x [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph
3219.41 1920 . . . 4  |-  ( E. x ( E. y  w  =  <. x ,  y >.  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph )  <->  ( E. x E. y  w  = 
<. x ,  y >.  /\  [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph ) )
4 sbcopeq1a 6836 . . . . . . . 8  |-  ( w  =  <. x ,  y
>.  ->  ( [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph  <->  ph ) )
54pm5.32i 637 . . . . . . 7  |-  ( ( w  =  <. x ,  y >.  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph )  <->  ( w  =  <. x ,  y
>.  /\  ph ) )
65exbii 1644 . . . . . 6  |-  ( E. y ( w  = 
<. x ,  y >.  /\  [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph )  <->  E. y ( w  =  <. x ,  y
>.  /\  ph ) )
7 nfcv 2629 . . . . . . . 8  |-  F/_ y
( 1st `  w
)
8 nfsbc1v 3351 . . . . . . . 8  |-  F/ y
[. ( 2nd `  w
)  /  y ]. ph
97, 8nfsbc 3353 . . . . . . 7  |-  F/ y
[. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph
10919.41 1920 . . . . . 6  |-  ( E. y ( w  = 
<. x ,  y >.  /\  [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph )  <->  ( E. y  w  =  <. x ,  y >.  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) )
116, 10bitr3i 251 . . . . 5  |-  ( E. y ( w  = 
<. x ,  y >.  /\  ph )  <->  ( E. y  w  =  <. x ,  y >.  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) )
1211exbii 1644 . . . 4  |-  ( E. x E. y ( w  =  <. x ,  y >.  /\  ph ) 
<->  E. x ( E. y  w  =  <. x ,  y >.  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) )
13 elvv 5058 . . . . 5  |-  ( w  e.  ( _V  X.  _V )  <->  E. x E. y  w  =  <. x ,  y >. )
1413anbi1i 695 . . . 4  |-  ( ( w  e.  ( _V 
X.  _V )  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph )  <->  ( E. x E. y  w  = 
<. x ,  y >.  /\  [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph ) )
153, 12, 143bitr4i 277 . . 3  |-  ( E. x E. y ( w  =  <. x ,  y >.  /\  ph ) 
<->  ( w  e.  ( _V  X.  _V )  /\  [. ( 1st `  w
)  /  x ]. [. ( 2nd `  w
)  /  y ]. ph ) )
1615opabbii 4511 . 2  |-  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }  =  { <. w ,  z >.  |  ( w  e.  ( _V 
X.  _V )  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) }
171, 16eqtri 2496 1  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  ( w  e.  ( _V 
X.  _V )  /\  [. ( 1st `  w )  /  x ]. [. ( 2nd `  w )  /  y ]. ph ) }
Colors of variables: wff setvar class
Syntax hints:    /\ wa 369    = wceq 1379   E.wex 1596    e. wcel 1767   _Vcvv 3113   [.wsbc 3331   <.cop 4033   {copab 4504    X. cxp 4997   ` cfv 5588   {coprab 6285   1stc1st 6782   2ndc2nd 6783
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-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-sbc 3332  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-iota 5551  df-fun 5590  df-fv 5596  df-oprab 6288  df-1st 6784  df-2nd 6785
This theorem is referenced by:  dfoprab3  6840
  Copyright terms: Public domain W3C validator