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

Theorem resfunexg 5706
Description: The restriction of a function to a set exists. Compare Proposition 6.17 of [TakeutiZaring] p. 28. (Contributed by NM, 7-Apr-1995.) (Revised by Mario Carneiro, 22-Jun-2013.)
Assertion
Ref Expression
resfunexg  |-  ( ( Fun  A  /\  B  e.  C )  ->  ( A  |`  B )  e. 
_V )

Proof of Theorem resfunexg
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 funres 5229 . . . . 5  |-  ( Fun 
A  ->  Fun  ( A  |`  B ) )
2 funfvex 5503 . . . . . 6  |-  ( ( Fun  ( A  |`  B )  /\  x  e.  dom  ( A  |`  B ) )  -> 
( ( A  |`  B ) `  x
)  e.  _V )
32ralrimiva 2539 . . . . 5  |-  ( Fun  ( A  |`  B )  ->  A. x  e.  dom  ( A  |`  B ) ( ( A  |`  B ) `  x
)  e.  _V )
4 fnasrng 5665 . . . . 5  |-  ( A. x  e.  dom  ( A  |`  B ) ( ( A  |`  B ) `  x )  e.  _V  ->  ( x  e.  dom  ( A  |`  B ) 
|->  ( ( A  |`  B ) `  x
) )  =  ran  ( x  e.  dom  ( A  |`  B ) 
|->  <. x ,  ( ( A  |`  B ) `
 x ) >.
) )
51, 3, 43syl 17 . . . 4  |-  ( Fun 
A  ->  ( x  e.  dom  ( A  |`  B )  |->  ( ( A  |`  B ) `  x ) )  =  ran  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )
65adantr 274 . . 3  |-  ( ( Fun  A  /\  B  e.  C )  ->  (
x  e.  dom  ( A  |`  B )  |->  ( ( A  |`  B ) `
 x ) )  =  ran  ( x  e.  dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )
71adantr 274 . . . . 5  |-  ( ( Fun  A  /\  B  e.  C )  ->  Fun  ( A  |`  B ) )
8 funfn 5218 . . . . 5  |-  ( Fun  ( A  |`  B )  <-> 
( A  |`  B )  Fn  dom  ( A  |`  B ) )
97, 8sylib 121 . . . 4  |-  ( ( Fun  A  /\  B  e.  C )  ->  ( A  |`  B )  Fn 
dom  ( A  |`  B ) )
10 dffn5im 5532 . . . 4  |-  ( ( A  |`  B )  Fn  dom  ( A  |`  B )  ->  ( A  |`  B )  =  ( x  e.  dom  ( A  |`  B ) 
|->  ( ( A  |`  B ) `  x
) ) )
119, 10syl 14 . . 3  |-  ( ( Fun  A  /\  B  e.  C )  ->  ( A  |`  B )  =  ( x  e.  dom  ( A  |`  B ) 
|->  ( ( A  |`  B ) `  x
) ) )
12 vex 2729 . . . . . . . . 9  |-  x  e. 
_V
13 opexg 4206 . . . . . . . . 9  |-  ( ( x  e.  _V  /\  ( ( A  |`  B ) `  x
)  e.  _V )  -> 
<. x ,  ( ( A  |`  B ) `  x ) >.  e.  _V )
1412, 2, 13sylancr 411 . . . . . . . 8  |-  ( ( Fun  ( A  |`  B )  /\  x  e.  dom  ( A  |`  B ) )  ->  <. x ,  ( ( A  |`  B ) `  x ) >.  e.  _V )
1514ralrimiva 2539 . . . . . . 7  |-  ( Fun  ( A  |`  B )  ->  A. x  e.  dom  ( A  |`  B )
<. x ,  ( ( A  |`  B ) `  x ) >.  e.  _V )
16 dmmptg 5101 . . . . . . 7  |-  ( A. x  e.  dom  ( A  |`  B ) <. x ,  ( ( A  |`  B ) `  x
) >.  e.  _V  ->  dom  ( x  e.  dom  ( A  |`  B ) 
|->  <. x ,  ( ( A  |`  B ) `
 x ) >.
)  =  dom  ( A  |`  B ) )
171, 15, 163syl 17 . . . . . 6  |-  ( Fun 
A  ->  dom  ( x  e.  dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. )  =  dom  ( A  |`  B ) )
1817imaeq2d 4946 . . . . 5  |-  ( Fun 
A  ->  ( (
x  e.  dom  ( A  |`  B )  |->  <.
x ,  ( ( A  |`  B ) `  x ) >. ) " dom  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )  =  ( ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) " dom  ( A  |`  B ) ) )
19 imadmrn 4956 . . . . 5  |-  ( ( x  e.  dom  ( A  |`  B )  |->  <.
x ,  ( ( A  |`  B ) `  x ) >. ) " dom  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )  =  ran  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. )
2018, 19eqtr3di 2214 . . . 4  |-  ( Fun 
A  ->  ( (
x  e.  dom  ( A  |`  B )  |->  <.
x ,  ( ( A  |`  B ) `  x ) >. ) " dom  ( A  |`  B ) )  =  ran  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )
2120adantr 274 . . 3  |-  ( ( Fun  A  /\  B  e.  C )  ->  (
( x  e.  dom  ( A  |`  B ) 
|->  <. x ,  ( ( A  |`  B ) `
 x ) >.
) " dom  ( A  |`  B ) )  =  ran  ( x  e.  dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) )
226, 11, 213eqtr4d 2208 . 2  |-  ( ( Fun  A  /\  B  e.  C )  ->  ( A  |`  B )  =  ( ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) " dom  ( A  |`  B ) ) )
23 funmpt 5226 . . 3  |-  Fun  (
x  e.  dom  ( A  |`  B )  |->  <.
x ,  ( ( A  |`  B ) `  x ) >. )
24 dmresexg 4907 . . . 4  |-  ( B  e.  C  ->  dom  ( A  |`  B )  e.  _V )
2524adantl 275 . . 3  |-  ( ( Fun  A  /\  B  e.  C )  ->  dom  ( A  |`  B )  e.  _V )
26 funimaexg 5272 . . 3  |-  ( ( Fun  ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. )  /\  dom  ( A  |`  B )  e.  _V )  -> 
( ( x  e. 
dom  ( A  |`  B )  |->  <. x ,  ( ( A  |`  B ) `  x
) >. ) " dom  ( A  |`  B ) )  e.  _V )
2723, 25, 26sylancr 411 . 2  |-  ( ( Fun  A  /\  B  e.  C )  ->  (
( x  e.  dom  ( A  |`  B ) 
|->  <. x ,  ( ( A  |`  B ) `
 x ) >.
) " dom  ( A  |`  B ) )  e.  _V )
2822, 27eqeltrd 2243 1  |-  ( ( Fun  A  /\  B  e.  C )  ->  ( A  |`  B )  e. 
_V )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1343    e. wcel 2136   A.wral 2444   _Vcvv 2726   <.cop 3579    |-> cmpt 4043   dom cdm 4604   ran crn 4605    |` cres 4606   "cima 4607   Fun wfun 5182    Fn wfn 5183   ` 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-coll 4097  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-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  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-iun 3868  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-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196
This theorem is referenced by:  fnex  5707  ofexg  6054  cofunexg  6077  rdgivallem  6349  frecex  6362  frecsuclem  6374  djudoml  7175  djudomr  7176  fihashf1rn  10702  qnnen  12364
  Copyright terms: Public domain W3C validator