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

Theorem fmptap 5374
Description: Append an additional value to a function. (Contributed by NM, 6-Jun-2006.) (Revised by Mario Carneiro, 31-Aug-2015.)
Hypotheses
Ref Expression
fmptap.0a  |-  A  e. 
_V
fmptap.0b  |-  B  e. 
_V
fmptap.1  |-  ( R  u.  { A }
)  =  S
fmptap.2  |-  ( x  =  A  ->  C  =  B )
Assertion
Ref Expression
fmptap  |-  ( ( x  e.  R  |->  C )  u.  { <. A ,  B >. } )  =  ( x  e.  S  |->  C )
Distinct variable groups:    x, A    x, B    x, R    x, S
Allowed substitution hint:    C( x)

Proof of Theorem fmptap
StepHypRef Expression
1 fmptap.0a . . . . 5  |-  A  e. 
_V
2 fmptap.0b . . . . 5  |-  B  e. 
_V
3 fmptsn 5373 . . . . 5  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  { <. A ,  B >. }  =  ( x  e.  { A }  |->  B ) )
41, 2, 3mp2an 416 . . . 4  |-  { <. A ,  B >. }  =  ( x  e.  { A }  |->  B )
5 elsni 3416 . . . . . 6  |-  ( x  e.  { A }  ->  x  =  A )
6 fmptap.2 . . . . . 6  |-  ( x  =  A  ->  C  =  B )
75, 6syl 14 . . . . 5  |-  ( x  e.  { A }  ->  C  =  B )
87mpteq2ia 3864 . . . 4  |-  ( x  e.  { A }  |->  C )  =  ( x  e.  { A }  |->  B )
94, 8eqtr4i 2104 . . 3  |-  { <. A ,  B >. }  =  ( x  e.  { A }  |->  C )
109uneq2i 3123 . 2  |-  ( ( x  e.  R  |->  C )  u.  { <. A ,  B >. } )  =  ( ( x  e.  R  |->  C )  u.  ( x  e. 
{ A }  |->  C ) )
11 mptun 5049 . 2  |-  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( ( x  e.  R  |->  C )  u.  ( x  e.  { A }  |->  C ) )
12 fmptap.1 . . 3  |-  ( R  u.  { A }
)  =  S
13 mpteq1 3862 . . 3  |-  ( ( R  u.  { A } )  =  S  ->  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( x  e.  S  |->  C ) )
1412, 13ax-mp 7 . 2  |-  ( x  e.  ( R  u.  { A } )  |->  C )  =  ( x  e.  S  |->  C )
1510, 11, 143eqtr2i 2107 1  |-  ( ( x  e.  R  |->  C )  u.  { <. A ,  B >. } )  =  ( x  e.  S  |->  C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = 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: (None)
  Copyright terms: Public domain W3C validator