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

Theorem resoprab 5940
Description: Restriction of an operation class abstraction. (Contributed by NM, 10-Feb-2007.)
Assertion
Ref Expression
resoprab  |-  ( {
<. <. x ,  y
>. ,  z >.  | 
ph }  |`  ( A  X.  B ) )  =  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  ph ) }
Distinct variable groups:    x, y,
z, A    x, B, y, z
Allowed substitution hints:    ph( x, y, z)

Proof of Theorem resoprab
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 resopab 4996 . . 3  |-  ( {
<. w ,  z >.  |  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) }  |`  ( A  X.  B ) )  =  { <. w ,  z >.  |  ( w  e.  ( A  X.  B )  /\  E. x E. y ( w  =  <. x ,  y >.  /\  ph ) ) }
2 19.42vv 1848 . . . . 5  |-  ( E. x E. y ( w  e.  ( A  X.  B )  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  ( w  e.  ( A  X.  B
)  /\  E. x E. y ( w  = 
<. x ,  y >.  /\  ph ) ) )
3 an12 772 . . . . . . 7  |-  ( ( w  e.  ( A  X.  B )  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  ( w  =  <. x ,  y
>.  /\  ( w  e.  ( A  X.  B
)  /\  ph ) ) )
4 eleq1 2343 . . . . . . . . . 10  |-  ( w  =  <. x ,  y
>.  ->  ( w  e.  ( A  X.  B
)  <->  <. x ,  y
>.  e.  ( A  X.  B ) ) )
5 opelxp 4719 . . . . . . . . . 10  |-  ( <.
x ,  y >.  e.  ( A  X.  B
)  <->  ( x  e.  A  /\  y  e.  B ) )
64, 5syl6bb 252 . . . . . . . . 9  |-  ( w  =  <. x ,  y
>.  ->  ( w  e.  ( A  X.  B
)  <->  ( x  e.  A  /\  y  e.  B ) ) )
76anbi1d 685 . . . . . . . 8  |-  ( w  =  <. x ,  y
>.  ->  ( ( w  e.  ( A  X.  B )  /\  ph ) 
<->  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) )
87pm5.32i 618 . . . . . . 7  |-  ( ( w  =  <. x ,  y >.  /\  (
w  e.  ( A  X.  B )  /\  ph ) )  <->  ( w  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) )
93, 8bitri 240 . . . . . 6  |-  ( ( w  e.  ( A  X.  B )  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  ( w  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) )
1092exbii 1570 . . . . 5  |-  ( E. x E. y ( w  e.  ( A  X.  B )  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  E. x E. y ( w  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) )
112, 10bitr3i 242 . . . 4  |-  ( ( w  e.  ( A  X.  B )  /\  E. x E. y ( w  =  <. x ,  y >.  /\  ph ) )  <->  E. x E. y ( w  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) )
1211opabbii 4083 . . 3  |-  { <. w ,  z >.  |  ( w  e.  ( A  X.  B )  /\  E. x E. y ( w  =  <. x ,  y >.  /\  ph ) ) }  =  { <. w ,  z
>.  |  E. x E. y ( w  = 
<. x ,  y >.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) }
131, 12eqtri 2303 . 2  |-  ( {
<. w ,  z >.  |  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) }  |`  ( A  X.  B ) )  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) }
14 dfoprab2 5895 . . 3  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }
1514reseq1i 4951 . 2  |-  ( {
<. <. x ,  y
>. ,  z >.  | 
ph }  |`  ( A  X.  B ) )  =  ( { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }  |`  ( A  X.  B
) )
16 dfoprab2 5895 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B
)  /\  ph ) }  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ( ( x  e.  A  /\  y  e.  B )  /\  ph ) ) }
1713, 15, 163eqtr4i 2313 1  |-  ( {
<. <. x ,  y
>. ,  z >.  | 
ph }  |`  ( A  X.  B ) )  =  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  ph ) }
Colors of variables: wff set class
Syntax hints:    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   <.cop 3643   {copab 4076    X. cxp 4687    |` cres 4691   {coprab 5859
This theorem is referenced by:  resoprab2  5941  df1stres  23243  df2ndres  23244
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-opab 4078  df-xp 4695  df-rel 4696  df-res 4701  df-oprab 5862
  Copyright terms: Public domain W3C validator