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

Theorem fmptapd 6437
Description: Append an additional value to a function. (Contributed by Thierry Arnoux, 3-Jan-2017.)
Hypotheses
Ref Expression
fmptapd.0a  |-  ( ph  ->  A  e.  _V )
fmptapd.0b  |-  ( ph  ->  B  e.  _V )
fmptapd.1  |-  ( ph  ->  ( R  u.  { A } )  =  S )
fmptapd.2  |-  ( (
ph  /\  x  =  A )  ->  C  =  B )
Assertion
Ref Expression
fmptapd  |-  ( ph  ->  ( ( x  e.  R  |->  C )  u. 
{ <. A ,  B >. } )  =  ( x  e.  S  |->  C ) )
Distinct variable groups:    x, A    x, B    x, R    x, S    ph, x
Allowed substitution hint:    C( x)

Proof of Theorem fmptapd
StepHypRef Expression
1 fmptapd.2 . . . 4  |-  ( (
ph  /\  x  =  A )  ->  C  =  B )
2 fmptapd.0a . . . 4  |-  ( ph  ->  A  e.  _V )
3 fmptapd.0b . . . 4  |-  ( ph  ->  B  e.  _V )
41, 2, 3fmptsnd 6435 . . 3  |-  ( ph  ->  { <. A ,  B >. }  =  ( x  e.  { A }  |->  C ) )
54uneq2d 3767 . 2  |-  ( ph  ->  ( ( x  e.  R  |->  C )  u. 
{ <. A ,  B >. } )  =  ( ( x  e.  R  |->  C )  u.  (
x  e.  { A }  |->  C ) ) )
6 mptun 6025 . . 3  |-  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( ( x  e.  R  |->  C )  u.  ( x  e.  { A }  |->  C ) )
76a1i 11 . 2  |-  ( ph  ->  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( ( x  e.  R  |->  C )  u.  ( x  e. 
{ A }  |->  C ) ) )
8 fmptapd.1 . . 3  |-  ( ph  ->  ( R  u.  { A } )  =  S )
98mpteq1d 4738 . 2  |-  ( ph  ->  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( x  e.  S  |->  C ) )
105, 7, 93eqtr2d 2662 1  |-  ( ph  ->  ( ( x  e.  R  |->  C )  u. 
{ <. A ,  B >. } )  =  ( x  e.  S  |->  C ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 384    = wceq 1483    e. wcel 1990   _Vcvv 3200    u. cun 3572   {csn 4177   <.cop 4183    |-> cmpt 4729
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-opab 4713  df-mpt 4730
This theorem is referenced by:  fmptpr  6438  poimirlem3  33412  poimirlem4  33413  poimirlem16  33425  poimirlem17  33426  poimirlem19  33428  poimirlem20  33429
  Copyright terms: Public domain W3C validator