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

Theorem cbvoprab12 6138
Description: Rule used to change first two bound variables in an operation abstraction, using implicit substitution. (Contributed by NM, 21-Feb-2004.) (Proof shortened by Andrew Salmon, 22-Oct-2011.)
Hypotheses
Ref Expression
cbvoprab12.1  |-  F/ w ph
cbvoprab12.2  |-  F/ v
ph
cbvoprab12.3  |-  F/ x ps
cbvoprab12.4  |-  F/ y ps
cbvoprab12.5  |-  ( ( x  =  w  /\  y  =  v )  ->  ( ph  <->  ps )
)
Assertion
Ref Expression
cbvoprab12  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. <. w ,  v >. ,  z
>.  |  ps }
Distinct variable group:    x, y, z, w, v
Allowed substitution hints:    ph( x, y, z, w, v)    ps( x, y, z, w, v)

Proof of Theorem cbvoprab12
Dummy variable  u is distinct from all other variables.
StepHypRef Expression
1 nfv 1629 . . . . 5  |-  F/ w  u  =  <. x ,  y >.
2 cbvoprab12.1 . . . . 5  |-  F/ w ph
31, 2nfan 1846 . . . 4  |-  F/ w
( u  =  <. x ,  y >.  /\  ph )
4 nfv 1629 . . . . 5  |-  F/ v  u  =  <. x ,  y >.
5 cbvoprab12.2 . . . . 5  |-  F/ v
ph
64, 5nfan 1846 . . . 4  |-  F/ v ( u  =  <. x ,  y >.  /\  ph )
7 nfv 1629 . . . . 5  |-  F/ x  u  =  <. w ,  v >.
8 cbvoprab12.3 . . . . 5  |-  F/ x ps
97, 8nfan 1846 . . . 4  |-  F/ x
( u  =  <. w ,  v >.  /\  ps )
10 nfv 1629 . . . . 5  |-  F/ y  u  =  <. w ,  v >.
11 cbvoprab12.4 . . . . 5  |-  F/ y ps
1210, 11nfan 1846 . . . 4  |-  F/ y ( u  =  <. w ,  v >.  /\  ps )
13 opeq12 3978 . . . . . 6  |-  ( ( x  =  w  /\  y  =  v )  -> 
<. x ,  y >.  =  <. w ,  v
>. )
1413eqeq2d 2446 . . . . 5  |-  ( ( x  =  w  /\  y  =  v )  ->  ( u  =  <. x ,  y >.  <->  u  =  <. w ,  v >.
) )
15 cbvoprab12.5 . . . . 5  |-  ( ( x  =  w  /\  y  =  v )  ->  ( ph  <->  ps )
)
1614, 15anbi12d 692 . . . 4  |-  ( ( x  =  w  /\  y  =  v )  ->  ( ( u  = 
<. x ,  y >.  /\  ph )  <->  ( u  =  <. w ,  v
>.  /\  ps ) ) )
173, 6, 9, 12, 16cbvex2 1991 . . 3  |-  ( E. x E. y ( u  =  <. x ,  y >.  /\  ph ) 
<->  E. w E. v
( u  =  <. w ,  v >.  /\  ps ) )
1817opabbii 4264 . 2  |-  { <. u ,  z >.  |  E. x E. y ( u  =  <. x ,  y
>.  /\  ph ) }  =  { <. u ,  z >.  |  E. w E. v ( u  =  <. w ,  v
>.  /\  ps ) }
19 dfoprab2 6113 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. u ,  z >.  |  E. x E. y ( u  =  <. x ,  y
>.  /\  ph ) }
20 dfoprab2 6113 . 2  |-  { <. <.
w ,  v >. ,  z >.  |  ps }  =  { <. u ,  z >.  |  E. w E. v ( u  =  <. w ,  v
>.  /\  ps ) }
2118, 19, 203eqtr4i 2465 1  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. <. w ,  v >. ,  z
>.  |  ps }
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   E.wex 1550   F/wnf 1553    = wceq 1652   <.cop 3809   {copab 4257   {coprab 6074
This theorem is referenced by:  cbvoprab12v  6139  cbvmpt2x  6142  dfoprab4f  6397  fmpt2x  6409  tposoprab  6507
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pr 4395
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-rab 2706  df-v 2950  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-opab 4259  df-oprab 6077
  Copyright terms: Public domain W3C validator