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

Theorem funssres 5165
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 3091 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  <. x ,  y >.  e.  F
) )
2 vex 2689 . . . . . . . . 9  |-  x  e. 
_V
3 vex 2689 . . . . . . . . 9  |-  y  e. 
_V
42, 3opeldm 4742 . . . . . . . 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 305 . . . . . 6  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
76adantl 275 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
8 funeu2 5149 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  <. x ,  y >.  e.  F
)  ->  E! y <. x ,  y >.  e.  F )
92eldm2 4737 . . . . . . . . . . . . . 14  |-  ( x  e.  dom  G  <->  E. y <. x ,  y >.  e.  G )
101ancrd 324 . . . . . . . . . . . . . . 15  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1110eximdv 1852 . . . . . . . . . . . . . 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 2078 . . . . . . . . . . . 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 287 . . . . . . . . . . 11  |-  ( ( ( Fun  F  /\  <.
x ,  y >.  e.  F )  /\  ( G  C_  F  /\  x  e.  dom  G ) )  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) )
1615exp43 369 . . . . . . . . . 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 4824 . . . 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 1847 . 2  |-  ( ( Fun  F  /\  G  C_  F )  ->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) )
26 relres 4847 . . 3  |-  Rel  ( F  |`  dom  G )
27 funrel 5140 . . . 4  |-  ( Fun 
F  ->  Rel  F )
28 relss 4626 . . . 4  |-  ( G 
C_  F  ->  ( Rel  F  ->  Rel  G ) )
2927, 28mpan9 279 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  Rel  G )
30 eqrel 4628 . . 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 410 . 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 1329    = wceq 1331   E.wex 1468    e. wcel 1480   E!weu 1999    C_ wss 3071   <.cop 3530   dom cdm 4539    |` cres 4541   Rel wrel 4544   Fun wfun 5117
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-v 2688  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-br 3930  df-opab 3990  df-id 4215  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-res 4551  df-fun 5125
This theorem is referenced by:  fun2ssres  5166  funcnvres  5196  funssfv  5447  oprssov  5912
  Copyright terms: Public domain W3C validator