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

Theorem sscres 13716
Description: Any function restricted to a square domain is a subcategory subset of the original. (Contributed by Mario Carneiro, 6-Jan-2017.)
Assertion
Ref Expression
sscres  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  ( T  X.  T ) ) 
C_cat  H )

Proof of Theorem sscres
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 inss1 3402 . . 3  |-  ( S  i^i  T )  C_  S
2 inss2 3403 . . . . . . 7  |-  ( S  i^i  T )  C_  T
3 simpl 443 . . . . . . 7  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  ->  x  e.  ( S  i^i  T ) )
42, 3sseldi 3191 . . . . . 6  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  ->  x  e.  T )
5 simpr 447 . . . . . . 7  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  -> 
y  e.  ( S  i^i  T ) )
62, 5sseldi 3191 . . . . . 6  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  -> 
y  e.  T )
74, 6ovresd 6004 . . . . 5  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  -> 
( x ( H  |`  ( T  X.  T
) ) y )  =  ( x H y ) )
8 eqimss 3243 . . . . 5  |-  ( ( x ( H  |`  ( T  X.  T
) ) y )  =  ( x H y )  ->  (
x ( H  |`  ( T  X.  T
) ) y ) 
C_  ( x H y ) )
97, 8syl 15 . . . 4  |-  ( ( x  e.  ( S  i^i  T )  /\  y  e.  ( S  i^i  T ) )  -> 
( x ( H  |`  ( T  X.  T
) ) y ) 
C_  ( x H y ) )
109rgen2 2652 . . 3  |-  A. x  e.  ( S  i^i  T
) A. y  e.  ( S  i^i  T
) ( x ( H  |`  ( T  X.  T ) ) y )  C_  ( x H y )
111, 10pm3.2i 441 . 2  |-  ( ( S  i^i  T ) 
C_  S  /\  A. x  e.  ( S  i^i  T ) A. y  e.  ( S  i^i  T
) ( x ( H  |`  ( T  X.  T ) ) y )  C_  ( x H y ) )
12 simpl 443 . . . . 5  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  H  Fn  ( S  X.  S ) )
13 inss1 3402 . . . . 5  |-  ( ( S  X.  S )  i^i  ( T  X.  T ) )  C_  ( S  X.  S
)
14 fnssres 5373 . . . . 5  |-  ( ( H  Fn  ( S  X.  S )  /\  ( ( S  X.  S )  i^i  ( T  X.  T ) ) 
C_  ( S  X.  S ) )  -> 
( H  |`  (
( S  X.  S
)  i^i  ( T  X.  T ) ) )  Fn  ( ( S  X.  S )  i^i  ( T  X.  T
) ) )
1512, 13, 14sylancl 643 . . . 4  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  (
( S  X.  S
)  i^i  ( T  X.  T ) ) )  Fn  ( ( S  X.  S )  i^i  ( T  X.  T
) ) )
16 resres 4984 . . . . . 6  |-  ( ( H  |`  ( S  X.  S ) )  |`  ( T  X.  T
) )  =  ( H  |`  ( ( S  X.  S )  i^i  ( T  X.  T
) ) )
17 fnresdm 5369 . . . . . . . 8  |-  ( H  Fn  ( S  X.  S )  ->  ( H  |`  ( S  X.  S ) )  =  H )
1817adantr 451 . . . . . . 7  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  ( S  X.  S ) )  =  H )
1918reseq1d 4970 . . . . . 6  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( ( H  |`  ( S  X.  S
) )  |`  ( T  X.  T ) )  =  ( H  |`  ( T  X.  T
) ) )
2016, 19syl5eqr 2342 . . . . 5  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  (
( S  X.  S
)  i^i  ( T  X.  T ) ) )  =  ( H  |`  ( T  X.  T
) ) )
21 inxp 4834 . . . . . 6  |-  ( ( S  X.  S )  i^i  ( T  X.  T ) )  =  ( ( S  i^i  T )  X.  ( S  i^i  T ) )
2221a1i 10 . . . . 5  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( ( S  X.  S )  i^i  ( T  X.  T ) )  =  ( ( S  i^i  T )  X.  ( S  i^i  T
) ) )
2320, 22fneq12d 5353 . . . 4  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( ( H  |`  ( ( S  X.  S )  i^i  ( T  X.  T ) ) )  Fn  ( ( S  X.  S )  i^i  ( T  X.  T ) )  <->  ( H  |`  ( T  X.  T
) )  Fn  (
( S  i^i  T
)  X.  ( S  i^i  T ) ) ) )
2415, 23mpbid 201 . . 3  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  ( T  X.  T ) )  Fn  ( ( S  i^i  T )  X.  ( S  i^i  T
) ) )
25 simpr 447 . . 3  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  S  e.  V )
2624, 12, 25isssc 13713 . 2  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( ( H  |`  ( T  X.  T
) )  C_cat  H  <->  ( ( S  i^i  T )  C_  S  /\  A. x  e.  ( S  i^i  T
) A. y  e.  ( S  i^i  T
) ( x ( H  |`  ( T  X.  T ) ) y )  C_  ( x H y ) ) ) )
2711, 26mpbiri 224 1  |-  ( ( H  Fn  ( S  X.  S )  /\  S  e.  V )  ->  ( H  |`  ( T  X.  T ) ) 
C_cat  H )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696   A.wral 2556    i^i cin 3164    C_ wss 3165   class class class wbr 4039    X. cxp 4703    |` cres 4707    Fn wfn 5266  (class class class)co 5874    C_cat cssc 13700
This theorem is referenced by:  sscid  13717  fullsubc  13740
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ov 5877  df-ixp 6834  df-ssc 13703
  Copyright terms: Public domain W3C validator