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

Theorem cbvoprab2 6180
Description: Change the second bound variable in an operation abstraction. (Contributed by Jeff Madsen, 11-Jun-2010.) (Revised by Mario Carneiro, 11-Dec-2016.)
Hypotheses
Ref Expression
cbvoprab2.1  |-  F/ w ph
cbvoprab2.2  |-  F/ y ps
cbvoprab2.3  |-  ( y  =  w  ->  ( ph 
<->  ps ) )
Assertion
Ref Expression
cbvoprab2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. <. x ,  w >. ,  z >.  |  ps }
Distinct variable group:    x, w, y, z
Allowed substitution hints:    ph( x, y, z, w)    ps( x, y, z, w)

Proof of Theorem cbvoprab2
Dummy variable  v is distinct from all other variables.
StepHypRef Expression
1 nfv 1673 . . . . . . 7  |-  F/ w  v  =  <. <. x ,  y >. ,  z
>.
2 cbvoprab2.1 . . . . . . 7  |-  F/ w ph
31, 2nfan 1861 . . . . . 6  |-  F/ w
( v  =  <. <.
x ,  y >. ,  z >.  /\  ph )
43nfex 1874 . . . . 5  |-  F/ w E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )
5 nfv 1673 . . . . . . 7  |-  F/ y  v  =  <. <. x ,  w >. ,  z >.
6 cbvoprab2.2 . . . . . . 7  |-  F/ y ps
75, 6nfan 1861 . . . . . 6  |-  F/ y ( v  =  <. <.
x ,  w >. ,  z >.  /\  ps )
87nfex 1874 . . . . 5  |-  F/ y E. z ( v  =  <. <. x ,  w >. ,  z >.  /\  ps )
9 opeq2 4081 . . . . . . . . 9  |-  ( y  =  w  ->  <. x ,  y >.  =  <. x ,  w >. )
109opeq1d 4086 . . . . . . . 8  |-  ( y  =  w  ->  <. <. x ,  y >. ,  z
>.  =  <. <. x ,  w >. ,  z >.
)
1110eqeq2d 2454 . . . . . . 7  |-  ( y  =  w  ->  (
v  =  <. <. x ,  y >. ,  z
>. 
<->  v  =  <. <. x ,  w >. ,  z >.
) )
12 cbvoprab2.3 . . . . . . 7  |-  ( y  =  w  ->  ( ph 
<->  ps ) )
1311, 12anbi12d 710 . . . . . 6  |-  ( y  =  w  ->  (
( v  =  <. <.
x ,  y >. ,  z >.  /\  ph ) 
<->  ( v  =  <. <.
x ,  w >. ,  z >.  /\  ps )
) )
1413exbidv 1680 . . . . 5  |-  ( y  =  w  ->  ( E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. z
( v  =  <. <.
x ,  w >. ,  z >.  /\  ps )
) )
154, 8, 14cbvex 1970 . . . 4  |-  ( E. y E. z ( v  =  <. <. x ,  y >. ,  z
>.  /\  ph )  <->  E. w E. z ( v  = 
<. <. x ,  w >. ,  z >.  /\  ps ) )
1615exbii 1634 . . 3  |-  ( E. x E. y E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. x E. w E. z ( v  =  <. <. x ,  w >. ,  z >.  /\  ps ) )
1716abbii 2561 . 2  |-  { v  |  E. x E. y E. z ( v  =  <. <. x ,  y
>. ,  z >.  /\ 
ph ) }  =  { v  |  E. x E. w E. z
( v  =  <. <.
x ,  w >. ,  z >.  /\  ps ) }
18 df-oprab 6116 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { v  |  E. x E. y E. z ( v  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) }
19 df-oprab 6116 . 2  |-  { <. <.
x ,  w >. ,  z >.  |  ps }  =  { v  |  E. x E. w E. z ( v  = 
<. <. x ,  w >. ,  z >.  /\  ps ) }
2017, 18, 193eqtr4i 2473 1  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { <. <. x ,  w >. ,  z >.  |  ps }
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586   F/wnf 1589   {cab 2429   <.cop 3904   {coprab 6113
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-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423
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-rab 2745  df-v 2995  df-dif 3352  df-un 3354  df-in 3356  df-ss 3363  df-nul 3659  df-if 3813  df-sn 3899  df-pr 3901  df-op 3905  df-oprab 6116
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator