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

Theorem funssres 5258
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 vex 2740 . . . . 5  |-  y  e. 
_V
21opelres 4912 . . . 4  |-  ( <.
x ,  y >.  e.  ( F  |`  dom  G
)  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) )
3 ssel 3149 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  <. x ,  y >.  e.  F
) )
4 vex 2740 . . . . . . . . 9  |-  x  e. 
_V
54, 1opeldm 4830 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  G  ->  x  e. 
dom  G )
65a1i 9 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  x  e. 
dom  G ) )
73, 6jcad 307 . . . . . 6  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
87adantl 277 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
9 funeu2 5242 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  <. x ,  y >.  e.  F
)  ->  E! y <. x ,  y >.  e.  F )
104eldm2 4825 . . . . . . . . . . . . . 14  |-  ( x  e.  dom  G  <->  E. y <. x ,  y >.  e.  G )
113ancrd 326 . . . . . . . . . . . . . . 15  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1211eximdv 1880 . . . . . . . . . . . . . 14  |-  ( G 
C_  F  ->  ( E. y <. x ,  y
>.  e.  G  ->  E. y
( <. x ,  y
>.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1310, 12biimtrid 152 . . . . . . . . . . . . 13  |-  ( G 
C_  F  ->  (
x  e.  dom  G  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1413imp 124 . . . . . . . . . . . 12  |-  ( ( G  C_  F  /\  x  e.  dom  G )  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) )
15 eupick 2105 . . . . . . . . . . . 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
) )
169, 14, 15syl2an 289 . . . . . . . . . . 11  |-  ( ( ( Fun  F  /\  <.
x ,  y >.  e.  F )  /\  ( G  C_  F  /\  x  e.  dom  G ) )  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) )
1716exp43 372 . . . . . . . . . 10  |-  ( Fun 
F  ->  ( <. x ,  y >.  e.  F  ->  ( G  C_  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1817com23 78 . . . . . . . . 9  |-  ( Fun 
F  ->  ( G  C_  F  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1918imp 124 . . . . . . . 8  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  -> 
( <. x ,  y
>.  e.  F  ->  <. x ,  y >.  e.  G
) ) ) )
2019com34 83 . . . . . . 7  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( <.
x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) ) )
2120pm2.43d 50 . . . . . 6  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) )
2221impd 254 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  (
( <. x ,  y
>.  e.  F  /\  x  e.  dom  G )  ->  <. x ,  y >.  e.  G ) )
238, 22impbid 129 . . . 4  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
242, 23bitr4id 199 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  ( F  |`  dom  G
)  <->  <. x ,  y
>.  e.  G ) )
2524alrimivv 1875 . 2  |-  ( ( Fun  F  /\  G  C_  F )  ->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) )
26 relres 4935 . . 3  |-  Rel  ( F  |`  dom  G )
27 funrel 5233 . . . 4  |-  ( Fun 
F  ->  Rel  F )
28 relss 4713 . . . 4  |-  ( G 
C_  F  ->  ( Rel  F  ->  Rel  G ) )
2927, 28mpan9 281 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  Rel  G )
30 eqrel 4715 . . 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 414 . 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 167 1  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( F  |`  dom  G )  =  G )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105   A.wal 1351    = wceq 1353   E.wex 1492   E!weu 2026    e. wcel 2148    C_ wss 3129   <.cop 3595   dom cdm 4626    |` cres 4628   Rel wrel 4631   Fun wfun 5210
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-14 2151  ax-ext 2159  ax-sep 4121  ax-pow 4174  ax-pr 4209
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-rex 2461  df-v 2739  df-un 3133  df-in 3135  df-ss 3142  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-br 4004  df-opab 4065  df-id 4293  df-xp 4632  df-rel 4633  df-cnv 4634  df-co 4635  df-dm 4636  df-res 4638  df-fun 5218
This theorem is referenced by:  fun2ssres  5259  funcnvres  5289  funssfv  5541  oprssov  6015
  Copyright terms: Public domain W3C validator