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

Theorem cbvoprab12 6179
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 1673 . . . . 5  |-  F/ w  u  =  <. x ,  y >.
2 cbvoprab12.1 . . . . 5  |-  F/ w ph
31, 2nfan 1861 . . . 4  |-  F/ w
( u  =  <. x ,  y >.  /\  ph )
4 nfv 1673 . . . . 5  |-  F/ v  u  =  <. x ,  y >.
5 cbvoprab12.2 . . . . 5  |-  F/ v
ph
64, 5nfan 1861 . . . 4  |-  F/ v ( u  =  <. x ,  y >.  /\  ph )
7 nfv 1673 . . . . 5  |-  F/ x  u  =  <. w ,  v >.
8 cbvoprab12.3 . . . . 5  |-  F/ x ps
97, 8nfan 1861 . . . 4  |-  F/ x
( u  =  <. w ,  v >.  /\  ps )
10 nfv 1673 . . . . 5  |-  F/ y  u  =  <. w ,  v >.
11 cbvoprab12.4 . . . . 5  |-  F/ y ps
1210, 11nfan 1861 . . . 4  |-  F/ y ( u  =  <. w ,  v >.  /\  ps )
13 opeq12 4080 . . . . . 6  |-  ( ( x  =  w  /\  y  =  v )  -> 
<. x ,  y >.  =  <. w ,  v
>. )
1413eqeq2d 2454 . . . . 5  |-  ( ( x  =  w  /\  y  =  v )  ->  ( u  =  <. x ,  y >.  <->  u  =  <. w ,  v >.
) )
15 cbvoprab12.5 . . . . 5  |-  ( ( x  =  w  /\  y  =  v )  ->  ( ph  <->  ps )
)
1614, 15anbi12d 710 . . . 4  |-  ( ( x  =  w  /\  y  =  v )  ->  ( ( u  = 
<. x ,  y >.  /\  ph )  <->  ( u  =  <. w ,  v
>.  /\  ps ) ) )
173, 6, 9, 12, 16cbvex2 1976 . . 3  |-  ( E. x E. y ( u  =  <. x ,  y >.  /\  ph ) 
<->  E. w E. v
( u  =  <. w ,  v >.  /\  ps ) )
1817opabbii 4375 . 2  |-  { <. u ,  z >.  |  E. x E. y ( u  =  <. x ,  y
>.  /\  ph ) }  =  { <. u ,  z >.  |  E. w E. v ( u  =  <. w ,  v
>.  /\  ps ) }
19 dfoprab2 6152 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. u ,  z >.  |  E. x E. y ( u  =  <. x ,  y
>.  /\  ph ) }
20 dfoprab2 6152 . 2  |-  { <. <.
w ,  v >. ,  z >.  |  ps }  =  { <. u ,  z >.  |  E. w E. v ( u  =  <. w ,  v
>.  /\  ps ) }
2118, 19, 203eqtr4i 2473 1  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. <. w ,  v >. ,  z
>.  |  ps }
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586   F/wnf 1589   <.cop 3902   {copab 4368   {coprab 6111
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4432  ax-nul 4440  ax-pr 4550
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-rab 2743  df-v 2993  df-dif 3350  df-un 3352  df-in 3354  df-ss 3361  df-nul 3657  df-if 3811  df-sn 3897  df-pr 3899  df-op 3903  df-opab 4370  df-oprab 6114
This theorem is referenced by:  cbvoprab12v  6180  cbvmpt2x  6183  dfoprab4f  6651  fmpt2x  6659  tposoprab  6800  cbvmpt2x2  30749
  Copyright terms: Public domain W3C validator