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

Theorem funcsetcres2 15294
Description: A functor into a smaller category of sets is a functor into the larger category. (Contributed by Mario Carneiro, 28-Jan-2017.)
Hypotheses
Ref Expression
resssetc.c  |-  C  =  ( SetCat `  U )
resssetc.d  |-  D  =  ( SetCat `  V )
resssetc.1  |-  ( ph  ->  U  e.  W )
resssetc.2  |-  ( ph  ->  V  C_  U )
Assertion
Ref Expression
funcsetcres2  |-  ( ph  ->  ( E  Func  D
)  C_  ( E  Func  C ) )

Proof of Theorem funcsetcres2
Dummy variable  f is distinct from all other variables.
StepHypRef Expression
1 eqidd 2444 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( Hom f  `  E
)  =  ( Hom f  `  E ) )
2 eqidd 2444 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  (compf `  E )  =  (compf `  E ) )
3 eqid 2443 . . . . . . . . 9  |-  ( Base `  C )  =  (
Base `  C )
4 eqid 2443 . . . . . . . . 9  |-  ( Hom f  `  C )  =  ( Hom f  `  C )
5 resssetc.1 . . . . . . . . . . 11  |-  ( ph  ->  U  e.  W )
6 resssetc.c . . . . . . . . . . . 12  |-  C  =  ( SetCat `  U )
76setccat 15286 . . . . . . . . . . 11  |-  ( U  e.  W  ->  C  e.  Cat )
85, 7syl 16 . . . . . . . . . 10  |-  ( ph  ->  C  e.  Cat )
98adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  C  e.  Cat )
10 resssetc.2 . . . . . . . . . . 11  |-  ( ph  ->  V  C_  U )
116, 5setcbas 15279 . . . . . . . . . . 11  |-  ( ph  ->  U  =  ( Base `  C ) )
1210, 11sseqtrd 3525 . . . . . . . . . 10  |-  ( ph  ->  V  C_  ( Base `  C ) )
1312adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  V  C_  ( Base `  C ) )
14 eqid 2443 . . . . . . . . 9  |-  ( Cs  V )  =  ( Cs  V )
15 eqid 2443 . . . . . . . . 9  |-  ( C  |`cat 
( ( Hom f  `  C )  |`  ( V  X.  V
) ) )  =  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) )
163, 4, 9, 13, 14, 15fullresc 15094 . . . . . . . 8  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( ( Hom f  `  ( Cs  V ) )  =  ( Hom f  `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V
) ) ) )  /\  (compf `  ( Cs  V ) )  =  (compf `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) ) ) ) )
1716simpld 459 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( Hom f  `  ( Cs  V ) )  =  ( Hom f  `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V
) ) ) ) )
18 resssetc.d . . . . . . . . . 10  |-  D  =  ( SetCat `  V )
196, 18, 5, 10resssetc 15293 . . . . . . . . 9  |-  ( ph  ->  ( ( Hom f  `  ( Cs  V ) )  =  ( Hom f  `  D )  /\  (compf `  ( Cs  V ) )  =  (compf `  D ) ) )
2019adantr 465 . . . . . . . 8  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( ( Hom f  `  ( Cs  V ) )  =  ( Hom f  `  D )  /\  (compf `  ( Cs  V ) )  =  (compf `  D ) ) )
2120simpld 459 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( Hom f  `  ( Cs  V ) )  =  ( Hom f  `  D ) )
2217, 21eqtr3d 2486 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( Hom f  `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V
) ) ) )  =  ( Hom f  `  D ) )
2316simprd 463 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  (compf `  ( Cs  V ) )  =  (compf `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) ) ) )
2420simprd 463 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  (compf `  ( Cs  V ) )  =  (compf `  D ) )
2523, 24eqtr3d 2486 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  (compf `  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) ) )  =  (compf `  D ) )
26 funcrcl 15106 . . . . . . . 8  |-  ( f  e.  ( E  Func  D )  ->  ( E  e.  Cat  /\  D  e. 
Cat ) )
2726adantl 466 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( E  e.  Cat  /\  D  e. 
Cat ) )
2827simpld 459 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  E  e.  Cat )
293, 4, 9, 13fullsubc 15093 . . . . . . 7  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( ( Hom f  `  C )  |`  ( V  X.  V ) )  e.  (Subcat `  C
) )
3015, 29subccat 15091 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V
) ) )  e. 
Cat )
3127simprd 463 . . . . . 6  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  D  e.  Cat )
321, 2, 22, 25, 28, 28, 30, 31funcpropd 15143 . . . . 5  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( E  Func  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) ) )  =  ( E  Func  D )
)
33 funcres2 15141 . . . . . 6  |-  ( ( ( Hom f  `  C )  |`  ( V  X.  V
) )  e.  (Subcat `  C )  ->  ( E  Func  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V
) ) ) ) 
C_  ( E  Func  C ) )
3429, 33syl 16 . . . . 5  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( E  Func  ( C  |`cat  ( ( Hom f  `  C )  |`  ( V  X.  V ) ) ) )  C_  ( E  Func  C ) )
3532, 34eqsstr3d 3524 . . . 4  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  ( E  Func  D )  C_  ( E  Func  C ) )
36 simpr 461 . . . 4  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  f  e.  ( E  Func  D ) )
3735, 36sseldd 3490 . . 3  |-  ( (
ph  /\  f  e.  ( E  Func  D ) )  ->  f  e.  ( E  Func  C ) )
3837ex 434 . 2  |-  ( ph  ->  ( f  e.  ( E  Func  D )  ->  f  e.  ( E 
Func  C ) ) )
3938ssrdv 3495 1  |-  ( ph  ->  ( E  Func  D
)  C_  ( E  Func  C ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1383    e. wcel 1804    C_ wss 3461    X. cxp 4987    |` cres 4991   ` cfv 5578  (class class class)co 6281   Basecbs 14509   ↾s cress 14510   Catccat 14938   Hom f chomf 14940  compfccomf 14941    |`cat cresc 15054  Subcatcsubc 15055    Func cfunc 15097   SetCatcsetc 15276
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1605  ax-4 1618  ax-5 1691  ax-6 1734  ax-7 1776  ax-8 1806  ax-9 1808  ax-10 1823  ax-11 1828  ax-12 1840  ax-13 1985  ax-ext 2421  ax-rep 4548  ax-sep 4558  ax-nul 4566  ax-pow 4615  ax-pr 4676  ax-un 6577  ax-cnex 9551  ax-resscn 9552  ax-1cn 9553  ax-icn 9554  ax-addcl 9555  ax-addrcl 9556  ax-mulcl 9557  ax-mulrcl 9558  ax-mulcom 9559  ax-addass 9560  ax-mulass 9561  ax-distr 9562  ax-i2m1 9563  ax-1ne0 9564  ax-1rid 9565  ax-rnegex 9566  ax-rrecex 9567  ax-cnre 9568  ax-pre-lttri 9569  ax-pre-lttrn 9570  ax-pre-ltadd 9571  ax-pre-mulgt0 9572
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 975  df-3an 976  df-tru 1386  df-fal 1389  df-ex 1600  df-nf 1604  df-sb 1727  df-eu 2272  df-mo 2273  df-clab 2429  df-cleq 2435  df-clel 2438  df-nfc 2593  df-ne 2640  df-nel 2641  df-ral 2798  df-rex 2799  df-reu 2800  df-rmo 2801  df-rab 2802  df-v 3097  df-sbc 3314  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-pss 3477  df-nul 3771  df-if 3927  df-pw 3999  df-sn 4015  df-pr 4017  df-tp 4019  df-op 4021  df-uni 4235  df-int 4272  df-iun 4317  df-br 4438  df-opab 4496  df-mpt 4497  df-tr 4531  df-eprel 4781  df-id 4785  df-po 4790  df-so 4791  df-fr 4828  df-we 4830  df-ord 4871  df-on 4872  df-lim 4873  df-suc 4874  df-xp 4995  df-rel 4996  df-cnv 4997  df-co 4998  df-dm 4999  df-rn 5000  df-res 5001  df-ima 5002  df-iota 5541  df-fun 5580  df-fn 5581  df-f 5582  df-f1 5583  df-fo 5584  df-f1o 5585  df-fv 5586  df-riota 6242  df-ov 6284  df-oprab 6285  df-mpt2 6286  df-om 6686  df-1st 6785  df-2nd 6786  df-recs 7044  df-rdg 7078  df-1o 7132  df-oadd 7136  df-er 7313  df-map 7424  df-pm 7425  df-ixp 7472  df-en 7519  df-dom 7520  df-sdom 7521  df-fin 7522  df-pnf 9633  df-mnf 9634  df-xr 9635  df-ltxr 9636  df-le 9637  df-sub 9812  df-neg 9813  df-nn 10543  df-2 10600  df-3 10601  df-4 10602  df-5 10603  df-6 10604  df-7 10605  df-8 10606  df-9 10607  df-10 10608  df-n0 10802  df-z 10871  df-dec 10985  df-uz 11091  df-fz 11682  df-struct 14511  df-ndx 14512  df-slot 14513  df-base 14514  df-sets 14515  df-ress 14516  df-hom 14598  df-cco 14599  df-cat 14942  df-cid 14943  df-homf 14944  df-comf 14945  df-ssc 15056  df-resc 15057  df-subc 15058  df-func 15101  df-setc 15277
This theorem is referenced by:  yonedalem1  15415
  Copyright terms: Public domain W3C validator