ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mpteq12f Unicode version

Theorem mpteq12f 4080
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 1541 . . . 4  |-  F/ x A. x  A  =  C
2 nfra1 2508 . . . 4  |-  F/ x A. x  e.  A  B  =  D
31, 2nfan 1565 . . 3  |-  F/ x
( A. x  A  =  C  /\  A. x  e.  A  B  =  D )
4 nfv 1528 . . 3  |-  F/ y ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )
5 rsp 2524 . . . . . . 7  |-  ( A. x  e.  A  B  =  D  ->  ( x  e.  A  ->  B  =  D ) )
65imp 124 . . . . . 6  |-  ( ( A. x  e.  A  B  =  D  /\  x  e.  A )  ->  B  =  D )
76eqeq2d 2189 . . . . 5  |-  ( ( A. x  e.  A  B  =  D  /\  x  e.  A )  ->  ( y  =  B  <-> 
y  =  D ) )
87pm5.32da 452 . . . 4  |-  ( A. x  e.  A  B  =  D  ->  ( ( x  e.  A  /\  y  =  B )  <->  ( x  e.  A  /\  y  =  D )
) )
9 sp 1511 . . . . . 6  |-  ( A. x  A  =  C  ->  A  =  C )
109eleq2d 2247 . . . . 5  |-  ( A. x  A  =  C  ->  ( x  e.  A  <->  x  e.  C ) )
1110anbi1d 465 . . . 4  |-  ( A. x  A  =  C  ->  ( ( x  e.  A  /\  y  =  D )  <->  ( x  e.  C  /\  y  =  D ) ) )
128, 11sylan9bbr 463 . . 3  |-  ( ( A. x  A  =  C  /\  A. x  e.  A  B  =  D )  ->  (
( x  e.  A  /\  y  =  B
)  <->  ( x  e.  C  /\  y  =  D ) ) )
133, 4, 12opabbid 4065 . 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 4063 . 2  |-  ( x  e.  A  |->  B )  =  { <. x ,  y >.  |  ( x  e.  A  /\  y  =  B ) }
15 df-mpt 4063 . 2  |-  ( x  e.  C  |->  D )  =  { <. x ,  y >.  |  ( x  e.  C  /\  y  =  D ) }
1613, 14, 153eqtr4g 2235 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 104   A.wal 1351    = wceq 1353    e. wcel 2148   A.wral 2455   {copab 4060    |-> cmpt 4061
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-11 1506  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-ext 2159
This theorem depends on definitions:  df-bi 117  df-tru 1356  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-ral 2460  df-opab 4062  df-mpt 4063
This theorem is referenced by:  mpteq12dva  4081  mpteq12  4083  mpteq2ia  4086  mpteq2da  4089
  Copyright terms: Public domain W3C validator