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

Theorem fnressn 5920
Description: A function restricted to a singleton. (Contributed by NM, 9-Oct-2004.)
Assertion
Ref Expression
fnressn  |-  ( ( F  Fn  A  /\  B  e.  A )  ->  ( F  |`  { B } )  =  { <. B ,  ( F `
 B ) >. } )

Proof of Theorem fnressn
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 sneq 3827 . . . . . 6  |-  ( x  =  B  ->  { x }  =  { B } )
21reseq2d 5148 . . . . 5  |-  ( x  =  B  ->  ( F  |`  { x }
)  =  ( F  |`  { B } ) )
3 fveq2 5730 . . . . . . 7  |-  ( x  =  B  ->  ( F `  x )  =  ( F `  B ) )
4 opeq12 3988 . . . . . . 7  |-  ( ( x  =  B  /\  ( F `  x )  =  ( F `  B ) )  ->  <. x ,  ( F `
 x ) >.  =  <. B ,  ( F `  B )
>. )
53, 4mpdan 651 . . . . . 6  |-  ( x  =  B  ->  <. x ,  ( F `  x ) >.  =  <. B ,  ( F `  B ) >. )
65sneqd 3829 . . . . 5  |-  ( x  =  B  ->  { <. x ,  ( F `  x ) >. }  =  { <. B ,  ( F `  B )
>. } )
72, 6eqeq12d 2452 . . . 4  |-  ( x  =  B  ->  (
( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. } 
<->  ( F  |`  { B } )  =  { <. B ,  ( F `
 B ) >. } ) )
87imbi2d 309 . . 3  |-  ( x  =  B  ->  (
( F  Fn  A  ->  ( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. } )  <->  ( F  Fn  A  ->  ( F  |`  { B } )  =  { <. B , 
( F `  B
) >. } ) ) )
9 vex 2961 . . . . . . 7  |-  x  e. 
_V
109snss 3928 . . . . . 6  |-  ( x  e.  A  <->  { x }  C_  A )
11 fnssres 5560 . . . . . 6  |-  ( ( F  Fn  A  /\  { x }  C_  A
)  ->  ( F  |` 
{ x } )  Fn  { x }
)
1210, 11sylan2b 463 . . . . 5  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( F  |`  { x } )  Fn  {
x } )
13 dffn2 5594 . . . . . 6  |-  ( ( F  |`  { x } )  Fn  {
x }  <->  ( F  |` 
{ x } ) : { x } --> _V )
149fsn2 5910 . . . . . 6  |-  ( ( F  |`  { x } ) : {
x } --> _V  <->  ( (
( F  |`  { x } ) `  x
)  e.  _V  /\  ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. } ) )
15 fvex 5744 . . . . . . . 8  |-  ( ( F  |`  { x } ) `  x
)  e.  _V
1615biantrur 494 . . . . . . 7  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  <->  ( (
( F  |`  { x } ) `  x
)  e.  _V  /\  ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. } ) )
179snid 3843 . . . . . . . . . . 11  |-  x  e. 
{ x }
18 fvres 5747 . . . . . . . . . . 11  |-  ( x  e.  { x }  ->  ( ( F  |`  { x } ) `
 x )  =  ( F `  x
) )
1917, 18ax-mp 8 . . . . . . . . . 10  |-  ( ( F  |`  { x } ) `  x
)  =  ( F `
 x )
2019opeq2i 3990 . . . . . . . . 9  |-  <. x ,  ( ( F  |`  { x } ) `
 x ) >.  =  <. x ,  ( F `  x )
>.
2120sneqi 3828 . . . . . . . 8  |-  { <. x ,  ( ( F  |`  { x } ) `
 x ) >. }  =  { <. x ,  ( F `  x ) >. }
2221eqeq2i 2448 . . . . . . 7  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  <->  ( F  |` 
{ x } )  =  { <. x ,  ( F `  x ) >. } )
2316, 22bitr3i 244 . . . . . 6  |-  ( ( ( ( F  |`  { x } ) `
 x )  e. 
_V  /\  ( F  |` 
{ x } )  =  { <. x ,  ( ( F  |`  { x } ) `
 x ) >. } )  <->  ( F  |` 
{ x } )  =  { <. x ,  ( F `  x ) >. } )
2413, 14, 233bitri 264 . . . . 5  |-  ( ( F  |`  { x } )  Fn  {
x }  <->  ( F  |` 
{ x } )  =  { <. x ,  ( F `  x ) >. } )
2512, 24sylib 190 . . . 4  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. } )
2625expcom 426 . . 3  |-  ( x  e.  A  ->  ( F  Fn  A  ->  ( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. } ) )
278, 26vtoclga 3019 . 2  |-  ( B  e.  A  ->  ( F  Fn  A  ->  ( F  |`  { B } )  =  { <. B ,  ( F `
 B ) >. } ) )
2827impcom 421 1  |-  ( ( F  Fn  A  /\  B  e.  A )  ->  ( F  |`  { B } )  =  { <. B ,  ( F `
 B ) >. } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   _Vcvv 2958    C_ wss 3322   {csn 3816   <.cop 3819    |` cres 4882    Fn wfn 5451   -->wf 5452   ` cfv 5456
This theorem is referenced by:  funressn  5921  fressnfv  5922  fnsnsplit  5932  canthp1lem2  8530  fseq1p1m1  11124  dprd2da  15602  dmdprdpr  15609  dprdpr  15610  dpjlem  15611  pgpfaclem1  15641  xpstopnlem1  17843  ptcmpfi  17847  2pthlem1  21597  eupath2lem3  21703  ginvsn  21939  subfacp1lem5  24872  cvmliftlem10  24983  islindf4  27287
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4332  ax-nul 4340  ax-pr 4405
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-reu 2714  df-rab 2716  df-v 2960  df-sbc 3164  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4215  df-opab 4269  df-id 4500  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464
  Copyright terms: Public domain W3C validator