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

Theorem fmptapd 5375
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.0a . . . . 5  |-  ( ph  ->  A  e.  _V )
2 fmptapd.0b . . . . 5  |-  ( ph  ->  B  e.  _V )
3 fmptsn 5373 . . . . 5  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  { <. A ,  B >. }  =  ( x  e.  { A }  |->  B ) )
41, 2, 3syl2anc 403 . . . 4  |-  ( ph  ->  { <. A ,  B >. }  =  ( x  e.  { A }  |->  B ) )
5 elsni 3416 . . . . . 6  |-  ( x  e.  { A }  ->  x  =  A )
6 fmptapd.2 . . . . . 6  |-  ( (
ph  /\  x  =  A )  ->  C  =  B )
75, 6sylan2 280 . . . . 5  |-  ( (
ph  /\  x  e.  { A } )  ->  C  =  B )
87mpteq2dva 3868 . . . 4  |-  ( ph  ->  ( x  e.  { A }  |->  C )  =  ( x  e. 
{ A }  |->  B ) )
94, 8eqtr4d 2116 . . 3  |-  ( ph  ->  { <. A ,  B >. }  =  ( x  e.  { A }  |->  C ) )
109uneq2d 3126 . 2  |-  ( ph  ->  ( ( x  e.  R  |->  C )  u. 
{ <. A ,  B >. } )  =  ( ( x  e.  R  |->  C )  u.  (
x  e.  { A }  |->  C ) ) )
11 mptun 5049 . . 3  |-  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( ( x  e.  R  |->  C )  u.  ( x  e.  { A }  |->  C ) )
1211a1i 9 . 2  |-  ( ph  ->  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( ( x  e.  R  |->  C )  u.  ( x  e. 
{ A }  |->  C ) ) )
13 fmptapd.1 . . 3  |-  ( ph  ->  ( R  u.  { A } )  =  S )
1413mpteq1d 3863 . 2  |-  ( ph  ->  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( x  e.  S  |->  C ) )
1510, 12, 143eqtr2d 2119 1  |-  ( ph  ->  ( ( x  e.  R  |->  C )  u. 
{ <. A ,  B >. } )  =  ( x  e.  S  |->  C ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    = wceq 1284    e. wcel 1433   _Vcvv 2601    u. cun 2971   {csn 3398   <.cop 3401    |-> cmpt 3839
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-reu 2355  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-br 3786  df-opab 3840  df-mpt 3841  df-id 4048  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-rn 4374  df-fun 4924  df-fn 4925  df-f 4926  df-f1 4927  df-fo 4928  df-f1o 4929
This theorem is referenced by:  fmptpr  5376
  Copyright terms: Public domain W3C validator