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

Theorem funssres 5123
Description: The restriction of a function to the domain of a subclass equals the subclass. (Contributed by NM, 15-Aug-1994.)
Assertion
Ref Expression
funssres  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( F  |`  dom  G )  =  G )

Proof of Theorem funssres
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3057 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  <. x ,  y >.  e.  F
) )
2 vex 2660 . . . . . . . . 9  |-  x  e. 
_V
3 vex 2660 . . . . . . . . 9  |-  y  e. 
_V
42, 3opeldm 4702 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  G  ->  x  e. 
dom  G )
54a1i 9 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  x  e. 
dom  G ) )
61, 5jcad 303 . . . . . 6  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
76adantl 273 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
8 funeu2 5107 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  <. x ,  y >.  e.  F
)  ->  E! y <. x ,  y >.  e.  F )
92eldm2 4697 . . . . . . . . . . . . . 14  |-  ( x  e.  dom  G  <->  E. y <. x ,  y >.  e.  G )
101ancrd 322 . . . . . . . . . . . . . . 15  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1110eximdv 1834 . . . . . . . . . . . . . 14  |-  ( G 
C_  F  ->  ( E. y <. x ,  y
>.  e.  G  ->  E. y
( <. x ,  y
>.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
129, 11syl5bi 151 . . . . . . . . . . . . 13  |-  ( G 
C_  F  ->  (
x  e.  dom  G  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1312imp 123 . . . . . . . . . . . 12  |-  ( ( G  C_  F  /\  x  e.  dom  G )  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) )
14 eupick 2054 . . . . . . . . . . . 12  |-  ( ( E! y <. x ,  y >.  e.  F  /\  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) )  ->  ( <. x ,  y >.  e.  F  ->  <. x ,  y >.  e.  G
) )
158, 13, 14syl2an 285 . . . . . . . . . . 11  |-  ( ( ( Fun  F  /\  <.
x ,  y >.  e.  F )  /\  ( G  C_  F  /\  x  e.  dom  G ) )  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) )
1615exp43 367 . . . . . . . . . 10  |-  ( Fun 
F  ->  ( <. x ,  y >.  e.  F  ->  ( G  C_  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1716com23 78 . . . . . . . . 9  |-  ( Fun 
F  ->  ( G  C_  F  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1817imp 123 . . . . . . . 8  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  -> 
( <. x ,  y
>.  e.  F  ->  <. x ,  y >.  e.  G
) ) ) )
1918com34 83 . . . . . . 7  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( <.
x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) ) )
2019pm2.43d 50 . . . . . 6  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) )
2120impd 252 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  (
( <. x ,  y
>.  e.  F  /\  x  e.  dom  G )  ->  <. x ,  y >.  e.  G ) )
227, 21impbid 128 . . . 4  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
233opelres 4782 . . . 4  |-  ( <.
x ,  y >.  e.  ( F  |`  dom  G
)  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) )
2422, 23syl6rbbr 198 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  ( F  |`  dom  G
)  <->  <. x ,  y
>.  e.  G ) )
2524alrimivv 1829 . 2  |-  ( ( Fun  F  /\  G  C_  F )  ->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) )
26 relres 4805 . . 3  |-  Rel  ( F  |`  dom  G )
27 funrel 5098 . . . 4  |-  ( Fun 
F  ->  Rel  F )
28 relss 4586 . . . 4  |-  ( G 
C_  F  ->  ( Rel  F  ->  Rel  G ) )
2927, 28mpan9 277 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  Rel  G )
30 eqrel 4588 . . 3  |-  ( ( Rel  ( F  |`  dom  G )  /\  Rel  G )  ->  ( ( F  |`  dom  G )  =  G  <->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) ) )
3126, 29, 30sylancr 408 . 2  |-  ( ( Fun  F  /\  G  C_  F )  ->  (
( F  |`  dom  G
)  =  G  <->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) ) )
3225, 31mpbird 166 1  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( F  |`  dom  G )  =  G )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104   A.wal 1312    = wceq 1314   E.wex 1451    e. wcel 1463   E!weu 1975    C_ wss 3037   <.cop 3496   dom cdm 4499    |` cres 4501   Rel wrel 4504   Fun wfun 5075
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 681  ax-5 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-10 1466  ax-11 1467  ax-i12 1468  ax-bndl 1469  ax-4 1470  ax-14 1475  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498  ax-ext 2097  ax-sep 4006  ax-pow 4058  ax-pr 4091
This theorem depends on definitions:  df-bi 116  df-3an 947  df-tru 1317  df-nf 1420  df-sb 1719  df-eu 1978  df-mo 1979  df-clab 2102  df-cleq 2108  df-clel 2111  df-nfc 2244  df-ral 2395  df-rex 2396  df-v 2659  df-un 3041  df-in 3043  df-ss 3050  df-pw 3478  df-sn 3499  df-pr 3500  df-op 3502  df-br 3896  df-opab 3950  df-id 4175  df-xp 4505  df-rel 4506  df-cnv 4507  df-co 4508  df-dm 4509  df-res 4511  df-fun 5083
This theorem is referenced by:  fun2ssres  5124  funcnvres  5154  funssfv  5401  oprssov  5866
  Copyright terms: Public domain W3C validator