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

Theorem cbvmpt2x 6164
Description: Rule to change the bound variable in a maps-to function, using implicit substitution. This version of cbvmpt2 6165 allows  B to be a function of  x. (Contributed by NM, 29-Dec-2014.)
Hypotheses
Ref Expression
cbvmpt2x.1  |-  F/_ z B
cbvmpt2x.2  |-  F/_ x D
cbvmpt2x.3  |-  F/_ z C
cbvmpt2x.4  |-  F/_ w C
cbvmpt2x.5  |-  F/_ x E
cbvmpt2x.6  |-  F/_ y E
cbvmpt2x.7  |-  ( x  =  z  ->  B  =  D )
cbvmpt2x.8  |-  ( ( x  =  z  /\  y  =  w )  ->  C  =  E )
Assertion
Ref Expression
cbvmpt2x  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  ( z  e.  A ,  w  e.  D  |->  E )
Distinct variable groups:    x, w, y, z, A    w, B    y, D
Allowed substitution hints:    B( x, y, z)    C( x, y, z, w)    D( x, z, w)    E( x, y, z, w)

Proof of Theorem cbvmpt2x
Dummy variable  u is distinct from all other variables.
StepHypRef Expression
1 nfv 1673 . . . . 5  |-  F/ z  x  e.  A
2 cbvmpt2x.1 . . . . . 6  |-  F/_ z B
32nfcri 2573 . . . . 5  |-  F/ z  y  e.  B
41, 3nfan 1861 . . . 4  |-  F/ z ( x  e.  A  /\  y  e.  B
)
5 cbvmpt2x.3 . . . . 5  |-  F/_ z C
65nfeq2 2590 . . . 4  |-  F/ z  u  =  C
74, 6nfan 1861 . . 3  |-  F/ z ( ( x  e.  A  /\  y  e.  B )  /\  u  =  C )
8 nfv 1673 . . . . 5  |-  F/ w  x  e.  A
9 nfcv 2579 . . . . . 6  |-  F/_ w B
109nfcri 2573 . . . . 5  |-  F/ w  y  e.  B
118, 10nfan 1861 . . . 4  |-  F/ w
( x  e.  A  /\  y  e.  B
)
12 cbvmpt2x.4 . . . . 5  |-  F/_ w C
1312nfeq2 2590 . . . 4  |-  F/ w  u  =  C
1411, 13nfan 1861 . . 3  |-  F/ w
( ( x  e.  A  /\  y  e.  B )  /\  u  =  C )
15 nfv 1673 . . . . 5  |-  F/ x  z  e.  A
16 cbvmpt2x.2 . . . . . 6  |-  F/_ x D
1716nfcri 2573 . . . . 5  |-  F/ x  w  e.  D
1815, 17nfan 1861 . . . 4  |-  F/ x
( z  e.  A  /\  w  e.  D
)
19 cbvmpt2x.5 . . . . 5  |-  F/_ x E
2019nfeq2 2590 . . . 4  |-  F/ x  u  =  E
2118, 20nfan 1861 . . 3  |-  F/ x
( ( z  e.  A  /\  w  e.  D )  /\  u  =  E )
22 nfv 1673 . . . 4  |-  F/ y ( z  e.  A  /\  w  e.  D
)
23 cbvmpt2x.6 . . . . 5  |-  F/_ y E
2423nfeq2 2590 . . . 4  |-  F/ y  u  =  E
2522, 24nfan 1861 . . 3  |-  F/ y ( ( z  e.  A  /\  w  e.  D )  /\  u  =  E )
26 eleq1 2503 . . . . . 6  |-  ( x  =  z  ->  (
x  e.  A  <->  z  e.  A ) )
2726adantr 465 . . . . 5  |-  ( ( x  =  z  /\  y  =  w )  ->  ( x  e.  A  <->  z  e.  A ) )
28 cbvmpt2x.7 . . . . . . 7  |-  ( x  =  z  ->  B  =  D )
2928eleq2d 2510 . . . . . 6  |-  ( x  =  z  ->  (
y  e.  B  <->  y  e.  D ) )
30 eleq1 2503 . . . . . 6  |-  ( y  =  w  ->  (
y  e.  D  <->  w  e.  D ) )
3129, 30sylan9bb 699 . . . . 5  |-  ( ( x  =  z  /\  y  =  w )  ->  ( y  e.  B  <->  w  e.  D ) )
3227, 31anbi12d 710 . . . 4  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ( x  e.  A  /\  y  e.  B )  <->  ( z  e.  A  /\  w  e.  D ) ) )
33 cbvmpt2x.8 . . . . 5  |-  ( ( x  =  z  /\  y  =  w )  ->  C  =  E )
3433eqeq2d 2454 . . . 4  |-  ( ( x  =  z  /\  y  =  w )  ->  ( u  =  C  <-> 
u  =  E ) )
3532, 34anbi12d 710 . . 3  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ( ( x  e.  A  /\  y  e.  B )  /\  u  =  C )  <->  ( (
z  e.  A  /\  w  e.  D )  /\  u  =  E
) ) )
367, 14, 21, 25, 35cbvoprab12 6160 . 2  |-  { <. <.
x ,  y >. ,  u >.  |  (
( x  e.  A  /\  y  e.  B
)  /\  u  =  C ) }  =  { <. <. z ,  w >. ,  u >.  |  ( ( z  e.  A  /\  w  e.  D
)  /\  u  =  E ) }
37 df-mpt2 6096 . 2  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  { <. <. x ,  y >. ,  u >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  u  =  C ) }
38 df-mpt2 6096 . 2  |-  ( z  e.  A ,  w  e.  D  |->  E )  =  { <. <. z ,  w >. ,  u >.  |  ( ( z  e.  A  /\  w  e.  D )  /\  u  =  E ) }
3936, 37, 383eqtr4i 2473 1  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  ( z  e.  A ,  w  e.  D  |->  E )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756   F/_wnfc 2566   {coprab 6092    e. cmpt2 6093
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 4413  ax-nul 4421  ax-pr 4531
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 2568  df-ne 2608  df-rab 2724  df-v 2974  df-dif 3331  df-un 3333  df-in 3335  df-ss 3342  df-nul 3638  df-if 3792  df-sn 3878  df-pr 3880  df-op 3884  df-opab 4351  df-oprab 6095  df-mpt2 6096
This theorem is referenced by:  cbvmpt2  6165  mpt2mptsx  6637  dmmpt2ssx  6639  gsumcom2  16467  ptcmpg  19629
  Copyright terms: Public domain W3C validator