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

Theorem mptun 5390
Description: Union of mappings which are mutually compatible. (Contributed by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
mptun  |-  ( x  e.  ( A  u.  B )  |->  C )  =  ( ( x  e.  A  |->  C )  u.  ( x  e.  B  |->  C ) )

Proof of Theorem mptun
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 df-mpt 4095 . 2  |-  ( x  e.  ( A  u.  B )  |->  C )  =  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }
2 df-mpt 4095 . . . 4  |-  ( x  e.  A  |->  C )  =  { <. x ,  y >.  |  ( x  e.  A  /\  y  =  C ) }
3 df-mpt 4095 . . . 4  |-  ( x  e.  B  |->  C )  =  { <. x ,  y >.  |  ( x  e.  B  /\  y  =  C ) }
42, 3uneq12i 3340 . . 3  |-  ( ( x  e.  A  |->  C )  u.  ( x  e.  B  |->  C ) )  =  ( {
<. x ,  y >.  |  ( x  e.  A  /\  y  =  C ) }  u.  {
<. x ,  y >.  |  ( x  e.  B  /\  y  =  C ) } )
5 elun 3329 . . . . . . 7  |-  ( x  e.  ( A  u.  B )  <->  ( x  e.  A  \/  x  e.  B ) )
65anbi1i 676 . . . . . 6  |-  ( ( x  e.  ( A  u.  B )  /\  y  =  C )  <->  ( ( x  e.  A  \/  x  e.  B
)  /\  y  =  C ) )
7 andir 838 . . . . . 6  |-  ( ( ( x  e.  A  \/  x  e.  B
)  /\  y  =  C )  <->  ( (
x  e.  A  /\  y  =  C )  \/  ( x  e.  B  /\  y  =  C
) ) )
86, 7bitri 240 . . . . 5  |-  ( ( x  e.  ( A  u.  B )  /\  y  =  C )  <->  ( ( x  e.  A  /\  y  =  C
)  \/  ( x  e.  B  /\  y  =  C ) ) )
98opabbii 4099 . . . 4  |-  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }  =  { <. x ,  y >.  |  ( ( x  e.  A  /\  y  =  C
)  \/  ( x  e.  B  /\  y  =  C ) ) }
10 unopab 4111 . . . 4  |-  ( {
<. x ,  y >.  |  ( x  e.  A  /\  y  =  C ) }  u.  {
<. x ,  y >.  |  ( x  e.  B  /\  y  =  C ) } )  =  { <. x ,  y >.  |  ( ( x  e.  A  /\  y  =  C
)  \/  ( x  e.  B  /\  y  =  C ) ) }
119, 10eqtr4i 2319 . . 3  |-  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }  =  ( { <. x ,  y >.  |  ( x  e.  A  /\  y  =  C ) }  u.  {
<. x ,  y >.  |  ( x  e.  B  /\  y  =  C ) } )
124, 11eqtr4i 2319 . 2  |-  ( ( x  e.  A  |->  C )  u.  ( x  e.  B  |->  C ) )  =  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }
131, 12eqtr4i 2319 1  |-  ( x  e.  ( A  u.  B )  |->  C )  =  ( ( x  e.  A  |->  C )  u.  ( x  e.  B  |->  C ) )
Colors of variables: wff set class
Syntax hints:    \/ wo 357    /\ wa 358    = wceq 1632    e. wcel 1696    u. cun 3163   {copab 4092    e. cmpt 4093
This theorem is referenced by:  fmptap  5726  fmptapd  23228  partfun  23255
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-v 2803  df-un 3170  df-opab 4094  df-mpt 4095
  Copyright terms: Public domain W3C validator