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

Theorem fressnfv 6000
Description: The value of a function restricted to a singleton. (Contributed by NM, 9-Oct-2004.)
Assertion
Ref Expression
fressnfv  |-  ( ( F  Fn  A  /\  B  e.  A )  ->  ( ( F  |`  { B } ) : { B } --> C  <->  ( F `  B )  e.  C
) )

Proof of Theorem fressnfv
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 sneq 3990 . . . . . 6  |-  ( x  =  B  ->  { x }  =  { B } )
2 reseq2 5208 . . . . . . . 8  |-  ( { x }  =  { B }  ->  ( F  |`  { x } )  =  ( F  |`  { B } ) )
32feq1d 5649 . . . . . . 7  |-  ( { x }  =  { B }  ->  ( ( F  |`  { x } ) : {
x } --> C  <->  ( F  |` 
{ B } ) : { x } --> C ) )
4 feq2 5646 . . . . . . 7  |-  ( { x }  =  { B }  ->  ( ( F  |`  { B } ) : {
x } --> C  <->  ( F  |` 
{ B } ) : { B } --> C ) )
53, 4bitrd 253 . . . . . 6  |-  ( { x }  =  { B }  ->  ( ( F  |`  { x } ) : {
x } --> C  <->  ( F  |` 
{ B } ) : { B } --> C ) )
61, 5syl 16 . . . . 5  |-  ( x  =  B  ->  (
( F  |`  { x } ) : {
x } --> C  <->  ( F  |` 
{ B } ) : { B } --> C ) )
7 fveq2 5794 . . . . . 6  |-  ( x  =  B  ->  ( F `  x )  =  ( F `  B ) )
87eleq1d 2521 . . . . 5  |-  ( x  =  B  ->  (
( F `  x
)  e.  C  <->  ( F `  B )  e.  C
) )
96, 8bibi12d 321 . . . 4  |-  ( x  =  B  ->  (
( ( F  |`  { x } ) : { x } --> C 
<->  ( F `  x
)  e.  C )  <-> 
( ( F  |`  { B } ) : { B } --> C  <->  ( F `  B )  e.  C
) ) )
109imbi2d 316 . . 3  |-  ( x  =  B  ->  (
( F  Fn  A  ->  ( ( F  |`  { x } ) : { x } --> C 
<->  ( F `  x
)  e.  C ) )  <->  ( F  Fn  A  ->  ( ( F  |`  { B } ) : { B } --> C 
<->  ( F `  B
)  e.  C ) ) ) )
11 fnressn 5998 . . . . 5  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. } )
12 ssnid 4009 . . . . . . . . . 10  |-  x  e. 
{ x }
13 fvres 5808 . . . . . . . . . 10  |-  ( x  e.  { x }  ->  ( ( F  |`  { x } ) `
 x )  =  ( F `  x
) )
1412, 13ax-mp 5 . . . . . . . . 9  |-  ( ( F  |`  { x } ) `  x
)  =  ( F `
 x )
1514opeq2i 4166 . . . . . . . 8  |-  <. x ,  ( ( F  |`  { x } ) `
 x ) >.  =  <. x ,  ( F `  x )
>.
1615sneqi 3991 . . . . . . 7  |-  { <. x ,  ( ( F  |`  { x } ) `
 x ) >. }  =  { <. x ,  ( F `  x ) >. }
1716eqeq2i 2470 . . . . . 6  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  <->  ( F  |` 
{ x } )  =  { <. x ,  ( F `  x ) >. } )
18 vex 3075 . . . . . . . 8  |-  x  e. 
_V
1918fsn2 5987 . . . . . . 7  |-  ( ( F  |`  { x } ) : {
x } --> C  <->  ( (
( F  |`  { x } ) `  x
)  e.  C  /\  ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. } ) )
2014eleq1i 2529 . . . . . . . 8  |-  ( ( ( F  |`  { x } ) `  x
)  e.  C  <->  ( F `  x )  e.  C
)
21 iba 503 . . . . . . . 8  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  ->  (
( ( F  |`  { x } ) `
 x )  e.  C  <->  ( ( ( F  |`  { x } ) `  x
)  e.  C  /\  ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. } ) ) )
2220, 21syl5rbbr 260 . . . . . . 7  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  ->  (
( ( ( F  |`  { x } ) `
 x )  e.  C  /\  ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `
 x ) >. } )  <->  ( F `  x )  e.  C
) )
2319, 22syl5bb 257 . . . . . 6  |-  ( ( F  |`  { x } )  =  { <. x ,  ( ( F  |`  { x } ) `  x
) >. }  ->  (
( F  |`  { x } ) : {
x } --> C  <->  ( F `  x )  e.  C
) )
2417, 23sylbir 213 . . . . 5  |-  ( ( F  |`  { x } )  =  { <. x ,  ( F `
 x ) >. }  ->  ( ( F  |`  { x } ) : { x } --> C 
<->  ( F `  x
)  e.  C ) )
2511, 24syl 16 . . . 4  |-  ( ( F  Fn  A  /\  x  e.  A )  ->  ( ( F  |`  { x } ) : { x } --> C 
<->  ( F `  x
)  e.  C ) )
2625expcom 435 . . 3  |-  ( x  e.  A  ->  ( F  Fn  A  ->  ( ( F  |`  { x } ) : {
x } --> C  <->  ( F `  x )  e.  C
) ) )
2710, 26vtoclga 3136 . 2  |-  ( B  e.  A  ->  ( F  Fn  A  ->  ( ( F  |`  { B } ) : { B } --> C  <->  ( F `  B )  e.  C
) ) )
2827impcom 430 1  |-  ( ( F  Fn  A  /\  B  e.  A )  ->  ( ( F  |`  { B } ) : { B } --> C  <->  ( F `  B )  e.  C
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1370    e. wcel 1758   {csn 3980   <.cop 3986    |` cres 4945    Fn wfn 5516   -->wf 5517   ` cfv 5521
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1954  ax-ext 2431  ax-sep 4516  ax-nul 4524  ax-pr 4634
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2265  df-mo 2266  df-clab 2438  df-cleq 2444  df-clel 2447  df-nfc 2602  df-ne 2647  df-ral 2801  df-rex 2802  df-reu 2803  df-rab 2805  df-v 3074  df-sbc 3289  df-dif 3434  df-un 3436  df-in 3438  df-ss 3445  df-nul 3741  df-if 3895  df-sn 3981  df-pr 3983  df-op 3987  df-uni 4195  df-br 4396  df-opab 4454  df-id 4739  df-xp 4949  df-rel 4950  df-cnv 4951  df-co 4952  df-dm 4953  df-rn 4954  df-res 4955  df-ima 4956  df-iota 5484  df-fun 5523  df-fn 5524  df-f 5525  df-f1 5526  df-fo 5527  df-f1o 5528  df-fv 5529
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator