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

Theorem mpteq12f 4096
Description: An equality theorem for the maps to notation. (Contributed by Mario Carneiro, 16-Dec-2013.)
Assertion
Ref Expression
mpteq12f  |-  ( ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )  ->  (
x  e.  A  |->  B )  =  ( x  e.  C  |->  D ) )

Proof of Theorem mpteq12f
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 nfa1 1756 . . . 4  |-  F/ x A. x  A  =  C
2 nfra1 2593 . . . 4  |-  F/ x A. x  e.  A  B  =  D
31, 2nfan 1771 . . 3  |-  F/ x
( A. x  A  =  C  /\  A. x  e.  A  B  =  D )
4 nfv 1605 . . 3  |-  F/ y ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )
5 rsp 2603 . . . . . . 7  |-  ( A. x  e.  A  B  =  D  ->  ( x  e.  A  ->  B  =  D ) )
65imp 418 . . . . . 6  |-  ( ( A. x  e.  A  B  =  D  /\  x  e.  A )  ->  B  =  D )
76eqeq2d 2294 . . . . 5  |-  ( ( A. x  e.  A  B  =  D  /\  x  e.  A )  ->  ( y  =  B  <-> 
y  =  D ) )
87pm5.32da 622 . . . 4  |-  ( A. x  e.  A  B  =  D  ->  ( ( x  e.  A  /\  y  =  B )  <->  ( x  e.  A  /\  y  =  D )
) )
9 sp 1716 . . . . . 6  |-  ( A. x  A  =  C  ->  A  =  C )
109eleq2d 2350 . . . . 5  |-  ( A. x  A  =  C  ->  ( x  e.  A  <->  x  e.  C ) )
1110anbi1d 685 . . . 4  |-  ( A. x  A  =  C  ->  ( ( x  e.  A  /\  y  =  D )  <->  ( x  e.  C  /\  y  =  D ) ) )
128, 11sylan9bbr 681 . . 3  |-  ( ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )  ->  (
( x  e.  A  /\  y  =  B
)  <->  ( x  e.  C  /\  y  =  D ) ) )
133, 4, 12opabbid 4081 . 2  |-  ( ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )  ->  { <. x ,  y >.  |  ( x  e.  A  /\  y  =  B ) }  =  { <. x ,  y >.  |  ( x  e.  C  /\  y  =  D ) } )
14 df-mpt 4079 . 2  |-  ( x  e.  A  |->  B )  =  { <. x ,  y >.  |  ( x  e.  A  /\  y  =  B ) }
15 df-mpt 4079 . 2  |-  ( x  e.  C  |->  D )  =  { <. x ,  y >.  |  ( x  e.  C  /\  y  =  D ) }
1613, 14, 153eqtr4g 2340 1  |-  ( ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )  ->  (
x  e.  A  |->  B )  =  ( x  e.  C  |->  D ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358   A.wal 1527    = wceq 1623    e. wcel 1684   A.wral 2543   {copab 4076    e. cmpt 4077
This theorem is referenced by:  mpteq12dva  4097  mpteq12  4099  mpteq2ia  4102  mpteq2da  4105  esumeq12dvaf  23414  refsum2cnlem1  27708  stoweidlem19  27768
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-an 360  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-ral 2548  df-opab 4078  df-mpt 4079
  Copyright terms: Public domain W3C validator