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

Theorem ffvresb 5648
Description: A necessary and sufficient condition for a restricted function. (Contributed by Mario Carneiro, 14-Nov-2013.)
Assertion
Ref Expression
ffvresb  |-  ( Fun 
F  ->  ( ( F  |`  A ) : A --> B  <->  A. x  e.  A  ( x  e.  dom  F  /\  ( F `  x )  e.  B ) ) )
Distinct variable groups:    x, A    x, B    x, F

Proof of Theorem ffvresb
StepHypRef Expression
1 fdm 5343 . . . . . 6  |-  ( ( F  |`  A ) : A --> B  ->  dom  ( F  |`  A )  =  A )
2 dmres 4905 . . . . . . 7  |-  dom  ( F  |`  A )  =  ( A  i^i  dom  F )
3 inss2 3343 . . . . . . 7  |-  ( A  i^i  dom  F )  C_ 
dom  F
42, 3eqsstri 3174 . . . . . 6  |-  dom  ( F  |`  A )  C_  dom  F
51, 4eqsstrrdi 3195 . . . . 5  |-  ( ( F  |`  A ) : A --> B  ->  A  C_ 
dom  F )
65sselda 3142 . . . 4  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  x  e.  dom  F
)
7 fvres 5510 . . . . . 6  |-  ( x  e.  A  ->  (
( F  |`  A ) `
 x )  =  ( F `  x
) )
87adantl 275 . . . . 5  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  ( ( F  |`  A ) `  x
)  =  ( F `
 x ) )
9 ffvelrn 5618 . . . . 5  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  ( ( F  |`  A ) `  x
)  e.  B )
108, 9eqeltrrd 2244 . . . 4  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  ( F `  x
)  e.  B )
116, 10jca 304 . . 3  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  ( x  e.  dom  F  /\  ( F `  x )  e.  B
) )
1211ralrimiva 2539 . 2  |-  ( ( F  |`  A ) : A --> B  ->  A. x  e.  A  ( x  e.  dom  F  /\  ( F `  x )  e.  B ) )
13 simpl 108 . . . . . . 7  |-  ( ( x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  x  e.  dom  F )
1413ralimi 2529 . . . . . 6  |-  ( A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  A. x  e.  A  x  e.  dom  F )
15 dfss3 3132 . . . . . 6  |-  ( A 
C_  dom  F  <->  A. x  e.  A  x  e.  dom  F )
1614, 15sylibr 133 . . . . 5  |-  ( A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  A  C_  dom  F )
17 funfn 5218 . . . . . 6  |-  ( Fun 
F  <->  F  Fn  dom  F )
18 fnssres 5301 . . . . . 6  |-  ( ( F  Fn  dom  F  /\  A  C_  dom  F
)  ->  ( F  |`  A )  Fn  A
)
1917, 18sylanb 282 . . . . 5  |-  ( ( Fun  F  /\  A  C_ 
dom  F )  -> 
( F  |`  A )  Fn  A )
2016, 19sylan2 284 . . . 4  |-  ( ( Fun  F  /\  A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B ) )  ->  ( F  |`  A )  Fn  A
)
21 simpr 109 . . . . . . . 8  |-  ( ( x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  ( F `  x )  e.  B
)
227eleq1d 2235 . . . . . . . 8  |-  ( x  e.  A  ->  (
( ( F  |`  A ) `  x
)  e.  B  <->  ( F `  x )  e.  B
) )
2321, 22syl5ibr 155 . . . . . . 7  |-  ( x  e.  A  ->  (
( x  e.  dom  F  /\  ( F `  x )  e.  B
)  ->  ( ( F  |`  A ) `  x )  e.  B
) )
2423ralimia 2527 . . . . . 6  |-  ( A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  A. x  e.  A  ( ( F  |`  A ) `  x
)  e.  B )
2524adantl 275 . . . . 5  |-  ( ( Fun  F  /\  A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B ) )  ->  A. x  e.  A  ( ( F  |`  A ) `  x )  e.  B
)
26 fnfvrnss 5645 . . . . 5  |-  ( ( ( F  |`  A )  Fn  A  /\  A. x  e.  A  (
( F  |`  A ) `
 x )  e.  B )  ->  ran  ( F  |`  A ) 
C_  B )
2720, 25, 26syl2anc 409 . . . 4  |-  ( ( Fun  F  /\  A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B ) )  ->  ran  ( F  |`  A )  C_  B
)
28 df-f 5192 . . . 4  |-  ( ( F  |`  A ) : A --> B  <->  ( ( F  |`  A )  Fn  A  /\  ran  ( F  |`  A )  C_  B ) )
2920, 27, 28sylanbrc 414 . . 3  |-  ( ( Fun  F  /\  A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B ) )  ->  ( F  |`  A ) : A --> B )
3029ex 114 . 2  |-  ( Fun 
F  ->  ( A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  ( F  |`  A ) : A --> B ) )
3112, 30impbid2 142 1  |-  ( Fun 
F  ->  ( ( F  |`  A ) : A --> B  <->  A. x  e.  A  ( x  e.  dom  F  /\  ( F `  x )  e.  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343    e. wcel 2136   A.wral 2444    i^i cin 3115    C_ wss 3116   dom cdm 4604   ran crn 4605    |` cres 4606   Fun wfun 5182    Fn wfn 5183   -->wf 5184   ` cfv 5188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-fv 5196
This theorem is referenced by:  resflem  5649  tfrcl  6332  frecfcllem  6372  lmbr2  12864  lmff  12899
  Copyright terms: Public domain W3C validator