MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  funssres Structured version   Visualization version   Unicode version

Theorem funssres 5930
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 3597 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  <. x ,  y >.  e.  F
) )
2 vex 3203 . . . . . . . . 9  |-  x  e. 
_V
3 vex 3203 . . . . . . . . 9  |-  y  e. 
_V
42, 3opeldm 5328 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  G  ->  x  e. 
dom  G )
54a1i 11 . . . . . . 7  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  x  e. 
dom  G ) )
61, 5jcad 555 . . . . . 6  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
76adantl 482 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
8 funeu2 5914 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  <. x ,  y >.  e.  F
)  ->  E! y <. x ,  y >.  e.  F )
92eldm2 5322 . . . . . . . . . . . . . 14  |-  ( x  e.  dom  G  <->  E. y <. x ,  y >.  e.  G )
101ancrd 577 . . . . . . . . . . . . . . 15  |-  ( G 
C_  F  ->  ( <. x ,  y >.  e.  G  ->  ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1110eximdv 1846 . . . . . . . . . . . . . 14  |-  ( G 
C_  F  ->  ( E. y <. x ,  y
>.  e.  G  ->  E. y
( <. x ,  y
>.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
129, 11syl5bi 232 . . . . . . . . . . . . 13  |-  ( G 
C_  F  ->  (
x  e.  dom  G  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) ) )
1312imp 445 . . . . . . . . . . . 12  |-  ( ( G  C_  F  /\  x  e.  dom  G )  ->  E. y ( <.
x ,  y >.  e.  F  /\  <. x ,  y >.  e.  G
) )
14 eupick 2536 . . . . . . . . . . . 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 494 . . . . . . . . . . 11  |-  ( ( ( Fun  F  /\  <.
x ,  y >.  e.  F )  /\  ( G  C_  F  /\  x  e.  dom  G ) )  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) )
1615exp43 640 . . . . . . . . . 10  |-  ( Fun 
F  ->  ( <. x ,  y >.  e.  F  ->  ( G  C_  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1716com23 86 . . . . . . . . 9  |-  ( Fun 
F  ->  ( G  C_  F  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  ( <. x ,  y >.  e.  F  -> 
<. x ,  y >.  e.  G ) ) ) ) )
1817imp 445 . . . . . . . 8  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  -> 
( <. x ,  y
>.  e.  F  ->  <. x ,  y >.  e.  G
) ) ) )
1918com34 91 . . . . . . 7  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( <.
x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) ) )
2019pm2.43d 53 . . . . . 6  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  F  ->  ( x  e.  dom  G  ->  <. x ,  y >.  e.  G ) ) )
2120impd 447 . . . . 5  |-  ( ( Fun  F  /\  G  C_  F )  ->  (
( <. x ,  y
>.  e.  F  /\  x  e.  dom  G )  ->  <. x ,  y >.  e.  G ) )
227, 21impbid 202 . . . 4  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  G  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) ) )
233opelres 5401 . . . 4  |-  ( <.
x ,  y >.  e.  ( F  |`  dom  G
)  <->  ( <. x ,  y >.  e.  F  /\  x  e.  dom  G ) )
2422, 23syl6rbbr 279 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( <. x ,  y >.  e.  ( F  |`  dom  G
)  <->  <. x ,  y
>.  e.  G ) )
2524alrimivv 1856 . 2  |-  ( ( Fun  F  /\  G  C_  F )  ->  A. x A. y ( <. x ,  y >.  e.  ( F  |`  dom  G )  <->  <. x ,  y >.  e.  G ) )
26 relres 5426 . . 3  |-  Rel  ( F  |`  dom  G )
27 funrel 5905 . . . 4  |-  ( Fun 
F  ->  Rel  F )
28 relss 5206 . . . 4  |-  ( G 
C_  F  ->  ( Rel  F  ->  Rel  G ) )
2927, 28mpan9 486 . . 3  |-  ( ( Fun  F  /\  G  C_  F )  ->  Rel  G )
30 eqrel 5209 . . 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 695 . 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 247 1  |-  ( ( Fun  F  /\  G  C_  F )  ->  ( F  |`  dom  G )  =  G )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    /\ wa 384   A.wal 1481    = wceq 1483   E.wex 1704    e. wcel 1990   E!weu 2470    C_ wss 3574   <.cop 4183   dom cdm 5114    |` cres 5116   Rel wrel 5119   Fun wfun 5882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-res 5126  df-fun 5890
This theorem is referenced by:  fun2ssres  5931  funcnvres  5967  f1ssf1  6168  funssfv  6209  oprssov  6803  isngp2  22401  dvres3  23677  dvres3a  23678  dchrelbas2  24962  issubgr2  26164  uhgrissubgr  26167  funpsstri  31663  funsseq  31666
  Copyright terms: Public domain W3C validator