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

Theorem cbvopab1 4496
Description: Change first bound variable in an ordered-pair class abstraction, using explicit substitution. (Contributed by NM, 6-Oct-2004.) (Revised by Mario Carneiro, 14-Oct-2016.)
Hypotheses
Ref Expression
cbvopab1.1  |-  F/ z
ph
cbvopab1.2  |-  F/ x ps
cbvopab1.3  |-  ( x  =  z  ->  ( ph 
<->  ps ) )
Assertion
Ref Expression
cbvopab1  |-  { <. x ,  y >.  |  ph }  =  { <. z ,  y >.  |  ps }
Distinct variable groups:    x, y    y, z
Allowed substitution hints:    ph( x, y, z)    ps( x, y, z)

Proof of Theorem cbvopab1
Dummy variables  w  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1754 . . . . 5  |-  F/ v E. y ( w  =  <. x ,  y
>.  /\  ph )
2 nfv 1754 . . . . . . 7  |-  F/ x  w  =  <. v ,  y >.
3 nfs1v 2233 . . . . . . 7  |-  F/ x [ v  /  x ] ph
42, 3nfan 1986 . . . . . 6  |-  F/ x
( w  =  <. v ,  y >.  /\  [
v  /  x ] ph )
54nfex 2006 . . . . 5  |-  F/ x E. y ( w  = 
<. v ,  y >.  /\  [ v  /  x ] ph )
6 opeq1 4190 . . . . . . . 8  |-  ( x  =  v  ->  <. x ,  y >.  =  <. v ,  y >. )
76eqeq2d 2443 . . . . . . 7  |-  ( x  =  v  ->  (
w  =  <. x ,  y >.  <->  w  =  <. v ,  y >.
) )
8 sbequ12 2049 . . . . . . 7  |-  ( x  =  v  ->  ( ph 
<->  [ v  /  x ] ph ) )
97, 8anbi12d 715 . . . . . 6  |-  ( x  =  v  ->  (
( w  =  <. x ,  y >.  /\  ph ) 
<->  ( w  =  <. v ,  y >.  /\  [
v  /  x ] ph ) ) )
109exbidv 1761 . . . . 5  |-  ( x  =  v  ->  ( E. y ( w  = 
<. x ,  y >.  /\  ph )  <->  E. y
( w  =  <. v ,  y >.  /\  [
v  /  x ] ph ) ) )
111, 5, 10cbvex 2078 . . . 4  |-  ( E. x E. y ( w  =  <. x ,  y >.  /\  ph ) 
<->  E. v E. y
( w  =  <. v ,  y >.  /\  [
v  /  x ] ph ) )
12 nfv 1754 . . . . . . 7  |-  F/ z  w  =  <. v ,  y >.
13 cbvopab1.1 . . . . . . . 8  |-  F/ z
ph
1413nfsb 2236 . . . . . . 7  |-  F/ z [ v  /  x ] ph
1512, 14nfan 1986 . . . . . 6  |-  F/ z ( w  =  <. v ,  y >.  /\  [
v  /  x ] ph )
1615nfex 2006 . . . . 5  |-  F/ z E. y ( w  =  <. v ,  y
>.  /\  [ v  /  x ] ph )
17 nfv 1754 . . . . 5  |-  F/ v E. y ( w  =  <. z ,  y
>.  /\  ps )
18 opeq1 4190 . . . . . . . 8  |-  ( v  =  z  ->  <. v ,  y >.  =  <. z ,  y >. )
1918eqeq2d 2443 . . . . . . 7  |-  ( v  =  z  ->  (
w  =  <. v ,  y >.  <->  w  =  <. z ,  y >.
) )
20 sbequ 2171 . . . . . . . 8  |-  ( v  =  z  ->  ( [ v  /  x ] ph  <->  [ z  /  x ] ph ) )
21 cbvopab1.2 . . . . . . . . 9  |-  F/ x ps
22 cbvopab1.3 . . . . . . . . 9  |-  ( x  =  z  ->  ( ph 
<->  ps ) )
2321, 22sbie 2203 . . . . . . . 8  |-  ( [ z  /  x ] ph 
<->  ps )
2420, 23syl6bb 264 . . . . . . 7  |-  ( v  =  z  ->  ( [ v  /  x ] ph  <->  ps ) )
2519, 24anbi12d 715 . . . . . 6  |-  ( v  =  z  ->  (
( w  =  <. v ,  y >.  /\  [
v  /  x ] ph )  <->  ( w  = 
<. z ,  y >.  /\  ps ) ) )
2625exbidv 1761 . . . . 5  |-  ( v  =  z  ->  ( E. y ( w  = 
<. v ,  y >.  /\  [ v  /  x ] ph )  <->  E. y
( w  =  <. z ,  y >.  /\  ps ) ) )
2716, 17, 26cbvex 2078 . . . 4  |-  ( E. v E. y ( w  =  <. v ,  y >.  /\  [
v  /  x ] ph )  <->  E. z E. y
( w  =  <. z ,  y >.  /\  ps ) )
2811, 27bitri 252 . . 3  |-  ( E. x E. y ( w  =  <. x ,  y >.  /\  ph ) 
<->  E. z E. y
( w  =  <. z ,  y >.  /\  ps ) )
2928abbii 2563 . 2  |-  { w  |  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) }  =  {
w  |  E. z E. y ( w  = 
<. z ,  y >.  /\  ps ) }
30 df-opab 4485 . 2  |-  { <. x ,  y >.  |  ph }  =  { w  |  E. x E. y
( w  =  <. x ,  y >.  /\  ph ) }
31 df-opab 4485 . 2  |-  { <. z ,  y >.  |  ps }  =  { w  |  E. z E. y
( w  =  <. z ,  y >.  /\  ps ) }
3229, 30, 313eqtr4i 2468 1  |-  { <. x ,  y >.  |  ph }  =  { <. z ,  y >.  |  ps }
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 187    /\ wa 370    = wceq 1437   E.wex 1659   F/wnf 1663   [wsb 1789   {cab 2414   <.cop 4008   {copab 4483
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1751  ax-6 1797  ax-7 1841  ax-10 1889  ax-11 1894  ax-12 1907  ax-13 2055  ax-ext 2407
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1790  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2579  df-rab 2791  df-v 3089  df-dif 3445  df-un 3447  df-in 3449  df-ss 3456  df-nul 3768  df-if 3916  df-sn 4003  df-pr 4005  df-op 4009  df-opab 4485
This theorem is referenced by:  cbvopab1v  4499  cbvmptf  4516  cbvmpt  4517  phpreu  31636  poimirlem26  31673  mbfposadd  31695
  Copyright terms: Public domain W3C validator