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

Theorem ffvresb 5659
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 5353 . . . . . 6  |-  ( ( F  |`  A ) : A --> B  ->  dom  ( F  |`  A )  =  A )
2 dmres 4912 . . . . . . 7  |-  dom  ( F  |`  A )  =  ( A  i^i  dom  F )
3 inss2 3348 . . . . . . 7  |-  ( A  i^i  dom  F )  C_ 
dom  F
42, 3eqsstri 3179 . . . . . 6  |-  dom  ( F  |`  A )  C_  dom  F
51, 4eqsstrrdi 3200 . . . . 5  |-  ( ( F  |`  A ) : A --> B  ->  A  C_ 
dom  F )
65sselda 3147 . . . 4  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  x  e.  dom  F
)
7 fvres 5520 . . . . . 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 ffvelcdm 5629 . . . . 5  |-  ( ( ( F  |`  A ) : A --> B  /\  x  e.  A )  ->  ( ( F  |`  A ) `  x
)  e.  B )
108, 9eqeltrrd 2248 . . . 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 2543 . 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 2533 . . . . . 6  |-  ( A. x  e.  A  (
x  e.  dom  F  /\  ( F `  x
)  e.  B )  ->  A. x  e.  A  x  e.  dom  F )
15 dfss3 3137 . . . . . 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 5228 . . . . . 6  |-  ( Fun 
F  <->  F  Fn  dom  F )
18 fnssres 5311 . . . . . 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 2239 . . . . . . . 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 2531 . . . . . 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 5656 . . . . 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 5202 . . . 4  |-  ( ( F  |`  A ) : A --> B  <->  ( ( F  |`  A )  Fn  A  /\  ran  ( F  |`  A )  C_  B ) )
2920, 27, 28sylanbrc 415 . . 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 1348    e. wcel 2141   A.wral 2448    i^i cin 3120    C_ wss 3121   dom cdm 4611   ran crn 4612    |` cres 4613   Fun wfun 5192    Fn wfn 5193   -->wf 5194   ` cfv 5198
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 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-fv 5206
This theorem is referenced by:  resflem  5660  tfrcl  6343  frecfcllem  6383  lmbr2  13008  lmff  13043
  Copyright terms: Public domain W3C validator