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

Theorem mptun 5374
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 4079 . 2  |-  ( x  e.  ( A  u.  B )  |->  C )  =  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }
2 df-mpt 4079 . . . 4  |-  ( x  e.  A  |->  C )  =  { <. x ,  y >.  |  ( x  e.  A  /\  y  =  C ) }
3 df-mpt 4079 . . . 4  |-  ( x  e.  B  |->  C )  =  { <. x ,  y >.  |  ( x  e.  B  /\  y  =  C ) }
42, 3uneq12i 3327 . . 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 3316 . . . . . . 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 4083 . . . 4  |-  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }  =  { <. x ,  y >.  |  ( ( x  e.  A  /\  y  =  C
)  \/  ( x  e.  B  /\  y  =  C ) ) }
10 unopab 4095 . . . 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 2306 . . 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 2306 . 2  |-  ( ( x  e.  A  |->  C )  u.  ( x  e.  B  |->  C ) )  =  { <. x ,  y >.  |  ( x  e.  ( A  u.  B )  /\  y  =  C ) }
131, 12eqtr4i 2306 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 1623    e. wcel 1684    u. cun 3150   {copab 4076    e. cmpt 4077
This theorem is referenced by:  fmptap  5710  fmptapd  23213  partfun  23240
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-or 359  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-nfc 2408  df-v 2790  df-un 3157  df-opab 4078  df-mpt 4079
  Copyright terms: Public domain W3C validator