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

Theorem mpt2eq123 6135
Description: An equality theorem for the maps to notation. (Contributed by Mario Carneiro, 16-Dec-2013.) (Revised by Mario Carneiro, 19-Mar-2015.)
Assertion
Ref Expression
mpt2eq123  |-  ( ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )  -> 
( x  e.  A ,  y  e.  B  |->  C )  =  ( x  e.  D , 
y  e.  E  |->  F ) )
Distinct variable groups:    x, y, A    y, B    x, D, y    y, E
Allowed substitution hints:    B( x)    C( x, y)    E( x)    F( x, y)

Proof of Theorem mpt2eq123
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 nfv 1630 . . . 4  |-  F/ x  A  =  D
2 nfra1 2758 . . . 4  |-  F/ x A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F )
31, 2nfan 1847 . . 3  |-  F/ x
( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )
4 nfv 1630 . . . 4  |-  F/ y  A  =  D
5 nfcv 2574 . . . . 5  |-  F/_ y A
6 nfv 1630 . . . . . 6  |-  F/ y  B  =  E
7 nfra1 2758 . . . . . 6  |-  F/ y A. y  e.  B  C  =  F
86, 7nfan 1847 . . . . 5  |-  F/ y ( B  =  E  /\  A. y  e.  B  C  =  F )
95, 8nfral 2761 . . . 4  |-  F/ y A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F )
104, 9nfan 1847 . . 3  |-  F/ y ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )
11 nfv 1630 . . 3  |-  F/ z ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )
12 rsp 2768 . . . . . . 7  |-  ( A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F )  ->  (
x  e.  A  -> 
( B  =  E  /\  A. y  e.  B  C  =  F ) ) )
13 rsp 2768 . . . . . . . . . 10  |-  ( A. y  e.  B  C  =  F  ->  ( y  e.  B  ->  C  =  F ) )
14 eqeq2 2447 . . . . . . . . . 10  |-  ( C  =  F  ->  (
z  =  C  <->  z  =  F ) )
1513, 14syl6 32 . . . . . . . . 9  |-  ( A. y  e.  B  C  =  F  ->  ( y  e.  B  ->  (
z  =  C  <->  z  =  F ) ) )
1615pm5.32d 622 . . . . . . . 8  |-  ( A. y  e.  B  C  =  F  ->  ( ( y  e.  B  /\  z  =  C )  <->  ( y  e.  B  /\  z  =  F )
) )
17 eleq2 2499 . . . . . . . . 9  |-  ( B  =  E  ->  (
y  e.  B  <->  y  e.  E ) )
1817anbi1d 687 . . . . . . . 8  |-  ( B  =  E  ->  (
( y  e.  B  /\  z  =  F
)  <->  ( y  e.  E  /\  z  =  F ) ) )
1916, 18sylan9bbr 683 . . . . . . 7  |-  ( ( B  =  E  /\  A. y  e.  B  C  =  F )  ->  (
( y  e.  B  /\  z  =  C
)  <->  ( y  e.  E  /\  z  =  F ) ) )
2012, 19syl6 32 . . . . . 6  |-  ( A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F )  ->  (
x  e.  A  -> 
( ( y  e.  B  /\  z  =  C )  <->  ( y  e.  E  /\  z  =  F ) ) ) )
2120pm5.32d 622 . . . . 5  |-  ( A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F )  ->  (
( x  e.  A  /\  ( y  e.  B  /\  z  =  C
) )  <->  ( x  e.  A  /\  (
y  e.  E  /\  z  =  F )
) ) )
22 eleq2 2499 . . . . . 6  |-  ( A  =  D  ->  (
x  e.  A  <->  x  e.  D ) )
2322anbi1d 687 . . . . 5  |-  ( A  =  D  ->  (
( x  e.  A  /\  ( y  e.  E  /\  z  =  F
) )  <->  ( x  e.  D  /\  (
y  e.  E  /\  z  =  F )
) ) )
2421, 23sylan9bbr 683 . . . 4  |-  ( ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )  -> 
( ( x  e.  A  /\  ( y  e.  B  /\  z  =  C ) )  <->  ( x  e.  D  /\  (
y  e.  E  /\  z  =  F )
) ) )
25 anass 632 . . . 4  |-  ( ( ( x  e.  A  /\  y  e.  B
)  /\  z  =  C )  <->  ( x  e.  A  /\  (
y  e.  B  /\  z  =  C )
) )
26 anass 632 . . . 4  |-  ( ( ( x  e.  D  /\  y  e.  E
)  /\  z  =  F )  <->  ( x  e.  D  /\  (
y  e.  E  /\  z  =  F )
) )
2724, 25, 263bitr4g 281 . . 3  |-  ( ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )  -> 
( ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C )  <->  ( (
x  e.  D  /\  y  e.  E )  /\  z  =  F
) ) )
283, 10, 11, 27oprabbid 6129 . 2  |-  ( ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )  ->  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  z  =  C ) }  =  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  D  /\  y  e.  E )  /\  z  =  F ) } )
29 df-mpt2 6088 . 2  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  z  =  C
) }
30 df-mpt2 6088 . 2  |-  ( x  e.  D ,  y  e.  E  |->  F )  =  { <. <. x ,  y >. ,  z
>.  |  ( (
x  e.  D  /\  y  e.  E )  /\  z  =  F
) }
3128, 29, 303eqtr4g 2495 1  |-  ( ( A  =  D  /\  A. x  e.  A  ( B  =  E  /\  A. y  e.  B  C  =  F ) )  -> 
( x  e.  A ,  y  e.  B  |->  C )  =  ( x  e.  D , 
y  e.  E  |->  F ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    = wceq 1653    e. wcel 1726   A.wral 2707   {coprab 6084    e. cmpt2 6085
This theorem is referenced by:  mpt2eq12  6136  mapxpen  7275  xkoptsub  17688  xkocnv  17848
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419
This theorem depends on definitions:  df-bi 179  df-an 362  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ral 2712  df-oprab 6087  df-mpt2 6088
  Copyright terms: Public domain W3C validator