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

Theorem dfoprab2 6342
Description: Class abstraction for operations in terms of class abstraction of ordered pairs. (Contributed by NM, 12-Mar-1995.)
Assertion
Ref Expression
dfoprab2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }
Distinct variable groups:    x, z, w    y, z, w    ph, w
Allowed substitution hints:    ph( x, y, z)

Proof of Theorem dfoprab2
Dummy variable  v is distinct from all other variables.
StepHypRef Expression
1 excom 1850 . . . 4  |-  ( E. z E. w E. x E. y ( v  =  <. w ,  z
>.  /\  ( w  = 
<. x ,  y >.  /\  ph ) )  <->  E. w E. z E. x E. y ( v  = 
<. w ,  z >.  /\  ( w  =  <. x ,  y >.  /\  ph ) ) )
2 exrot4 1854 . . . . 5  |-  ( E. z E. w E. x E. y ( v  =  <. w ,  z
>.  /\  ( w  = 
<. x ,  y >.  /\  ph ) )  <->  E. x E. y E. z E. w ( v  = 
<. w ,  z >.  /\  ( w  =  <. x ,  y >.  /\  ph ) ) )
3 opeq1 4219 . . . . . . . . . . . 12  |-  ( w  =  <. x ,  y
>.  ->  <. w ,  z
>.  =  <. <. x ,  y >. ,  z
>. )
43eqeq2d 2471 . . . . . . . . . . 11  |-  ( w  =  <. x ,  y
>.  ->  ( v  = 
<. w ,  z >.  <->  v  =  <. <. x ,  y
>. ,  z >. ) )
54pm5.32ri 638 . . . . . . . . . 10  |-  ( ( v  =  <. w ,  z >.  /\  w  =  <. x ,  y
>. )  <->  ( v  = 
<. <. x ,  y
>. ,  z >.  /\  w  =  <. x ,  y >. )
)
65anbi1i 695 . . . . . . . . 9  |-  ( ( ( v  =  <. w ,  z >.  /\  w  =  <. x ,  y
>. )  /\  ph )  <->  ( ( v  =  <. <.
x ,  y >. ,  z >.  /\  w  =  <. x ,  y
>. )  /\  ph )
)
7 anass 649 . . . . . . . . 9  |-  ( ( ( v  =  <. w ,  z >.  /\  w  =  <. x ,  y
>. )  /\  ph )  <->  ( v  =  <. w ,  z >.  /\  (
w  =  <. x ,  y >.  /\  ph ) ) )
8 an32 798 . . . . . . . . 9  |-  ( ( ( v  =  <. <.
x ,  y >. ,  z >.  /\  w  =  <. x ,  y
>. )  /\  ph )  <->  ( ( v  =  <. <.
x ,  y >. ,  z >.  /\  ph )  /\  w  =  <. x ,  y >. )
)
96, 7, 83bitr3i 275 . . . . . . . 8  |-  ( ( v  =  <. w ,  z >.  /\  (
w  =  <. x ,  y >.  /\  ph ) )  <->  ( (
v  =  <. <. x ,  y >. ,  z
>.  /\  ph )  /\  w  =  <. x ,  y >. ) )
109exbii 1668 . . . . . . 7  |-  ( E. w ( v  = 
<. w ,  z >.  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  E. w
( ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  /\  w  =  <. x ,  y
>. ) )
11 opex 4720 . . . . . . . . 9  |-  <. x ,  y >.  e.  _V
1211isseti 3115 . . . . . . . 8  |-  E. w  w  =  <. x ,  y >.
13 19.42v 1776 . . . . . . . 8  |-  ( E. w ( ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph )  /\  w  =  <. x ,  y
>. )  <->  ( ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph )  /\  E. w  w  =  <. x ,  y >. )
)
1412, 13mpbiran2 919 . . . . . . 7  |-  ( E. w ( ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph )  /\  w  =  <. x ,  y
>. )  <->  ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) )
1510, 14bitri 249 . . . . . 6  |-  ( E. w ( v  = 
<. w ,  z >.  /\  ( w  =  <. x ,  y >.  /\  ph ) )  <->  ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph ) )
16153exbii 1670 . . . . 5  |-  ( E. x E. y E. z E. w ( v  =  <. w ,  z >.  /\  (
w  =  <. x ,  y >.  /\  ph ) )  <->  E. x E. y E. z ( v  =  <. <. x ,  y >. ,  z
>.  /\  ph ) )
172, 16bitri 249 . . . 4  |-  ( E. z E. w E. x E. y ( v  =  <. w ,  z
>.  /\  ( w  = 
<. x ,  y >.  /\  ph ) )  <->  E. x E. y E. z ( v  =  <. <. x ,  y >. ,  z
>.  /\  ph ) )
18 19.42vv 1778 . . . . 5  |-  ( E. x E. y ( v  =  <. w ,  z >.  /\  (
w  =  <. x ,  y >.  /\  ph ) )  <->  ( v  =  <. w ,  z
>.  /\  E. x E. y ( w  = 
<. x ,  y >.  /\  ph ) ) )
19182exbii 1669 . . . 4  |-  ( E. w E. z E. x E. y ( v  =  <. w ,  z >.  /\  (
w  =  <. x ,  y >.  /\  ph ) )  <->  E. w E. z ( v  = 
<. w ,  z >.  /\  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) ) )
201, 17, 193bitr3i 275 . . 3  |-  ( E. x E. y E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. w E. z ( v  = 
<. w ,  z >.  /\  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) ) )
2120abbii 2591 . 2  |-  { v  |  E. x E. y E. z ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph ) }  =  { v  |  E. w E. z ( v  =  <. w ,  z
>.  /\  E. x E. y ( w  = 
<. x ,  y >.  /\  ph ) ) }
22 df-oprab 6300 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { v  |  E. x E. y E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) }
23 df-opab 4516 . 2  |-  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }  =  { v  |  E. w E. z
( v  =  <. w ,  z >.  /\  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) ) }
2421, 22, 233eqtr4i 2496 1  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. w ,  z >.  |  E. x E. y ( w  =  <. x ,  y
>.  /\  ph ) }
Colors of variables: wff setvar class
Syntax hints:    /\ wa 369    = wceq 1395   E.wex 1613   {cab 2442   <.cop 4038   {copab 4514   {coprab 6297
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1619  ax-4 1632  ax-5 1705  ax-6 1748  ax-7 1791  ax-9 1823  ax-10 1838  ax-11 1843  ax-12 1855  ax-13 2000  ax-ext 2435  ax-sep 4578  ax-nul 4586  ax-pr 4695
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1398  df-ex 1614  df-nf 1618  df-sb 1741  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-rab 2816  df-v 3111  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-nul 3794  df-if 3945  df-sn 4033  df-pr 4035  df-op 4039  df-opab 4516  df-oprab 6300
This theorem is referenced by:  reloprab  6343  oprabv  6344  cbvoprab1  6368  cbvoprab12  6370  cbvoprab3  6372  dmoprab  6382  rnoprab  6384  ssoprab2i  6390  mpt2mptx  6392  resoprab  6397  funoprabg  6400  elrnmpt2res  6415  ov6g  6439  dfoprab3s  6854  xpcomco  7626  omxpenlem  7637  nvss  25612  mpt2mptxf  27666  mpt2mptx2  33026
  Copyright terms: Public domain W3C validator