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

Theorem funcres 14085
Description: A functor restricted to a subcategory is a functor. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
funcres.f  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
funcres.h  |-  ( ph  ->  H  e.  (Subcat `  C ) )
Assertion
Ref Expression
funcres  |-  ( ph  ->  ( F  |`f  H )  e.  ( ( C  |`cat  H )  Func  D ) )

Proof of Theorem funcres
Dummy variables  f 
g  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funcres.f . . . 4  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
2 funcres.h . . . 4  |-  ( ph  ->  H  e.  (Subcat `  C ) )
31, 2resfval 14081 . . 3  |-  ( ph  ->  ( F  |`f  H )  =  <. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) >.
)
43fveq2d 5724 . . . . 5  |-  ( ph  ->  ( 2nd `  ( F  |`f  H ) )  =  ( 2nd `  <. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) >.
) )
5 fvex 5734 . . . . . . 7  |-  ( 1st `  F )  e.  _V
65resex 5178 . . . . . 6  |-  ( ( 1st `  F )  |`  dom  dom  H )  e.  _V
7 dmexg 5122 . . . . . . 7  |-  ( H  e.  (Subcat `  C
)  ->  dom  H  e. 
_V )
8 mptexg 5957 . . . . . . 7  |-  ( dom 
H  e.  _V  ->  ( z  e.  dom  H  |->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) )  e.  _V )
92, 7, 83syl 19 . . . . . 6  |-  ( ph  ->  ( z  e.  dom  H 
|->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) )  e.  _V )
10 op2ndg 6352 . . . . . 6  |-  ( ( ( ( 1st `  F
)  |`  dom  dom  H
)  e.  _V  /\  ( z  e.  dom  H 
|->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) )  e.  _V )  -> 
( 2nd `  <. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) >.
)  =  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) )
116, 9, 10sylancr 645 . . . . 5  |-  ( ph  ->  ( 2nd `  <. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) >.
)  =  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) )
124, 11eqtrd 2467 . . . 4  |-  ( ph  ->  ( 2nd `  ( F  |`f  H ) )  =  ( z  e.  dom  H 
|->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) ) )
1312opeq2d 3983 . . 3  |-  ( ph  -> 
<. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( 2nd `  ( F  |`f  H ) ) >.  =  <. ( ( 1st `  F )  |`  dom  dom  H ) ,  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) ) >.
)
143, 13eqtr4d 2470 . 2  |-  ( ph  ->  ( F  |`f  H )  =  <. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( 2nd `  ( F  |`f  H ) ) >.
)
15 eqid 2435 . . . 4  |-  ( Base `  ( C  |`cat  H )
)  =  ( Base `  ( C  |`cat  H )
)
16 eqid 2435 . . . 4  |-  ( Base `  D )  =  (
Base `  D )
17 eqid 2435 . . . 4  |-  (  Hom  `  ( C  |`cat  H )
)  =  (  Hom  `  ( C  |`cat  H )
)
18 eqid 2435 . . . 4  |-  (  Hom  `  D )  =  (  Hom  `  D )
19 eqid 2435 . . . 4  |-  ( Id
`  ( C  |`cat  H
) )  =  ( Id `  ( C  |`cat 
H ) )
20 eqid 2435 . . . 4  |-  ( Id
`  D )  =  ( Id `  D
)
21 eqid 2435 . . . 4  |-  (comp `  ( C  |`cat  H ) )  =  (comp `  ( C  |`cat  H ) )
22 eqid 2435 . . . 4  |-  (comp `  D )  =  (comp `  D )
23 eqid 2435 . . . . 5  |-  ( C  |`cat 
H )  =  ( C  |`cat  H )
2423, 2subccat 14037 . . . 4  |-  ( ph  ->  ( C  |`cat  H )  e.  Cat )
25 funcrcl 14052 . . . . . 6  |-  ( F  e.  ( C  Func  D )  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
261, 25syl 16 . . . . 5  |-  ( ph  ->  ( C  e.  Cat  /\  D  e.  Cat )
)
2726simprd 450 . . . 4  |-  ( ph  ->  D  e.  Cat )
28 eqid 2435 . . . . . . 7  |-  ( Base `  C )  =  (
Base `  C )
29 relfunc 14051 . . . . . . . 8  |-  Rel  ( C  Func  D )
30 1st2ndbr 6388 . . . . . . . 8  |-  ( ( Rel  ( C  Func  D )  /\  F  e.  ( C  Func  D
) )  ->  ( 1st `  F ) ( C  Func  D )
( 2nd `  F
) )
3129, 1, 30sylancr 645 . . . . . . 7  |-  ( ph  ->  ( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
3228, 16, 31funcf1 14055 . . . . . 6  |-  ( ph  ->  ( 1st `  F
) : ( Base `  C ) --> ( Base `  D ) )
33 eqidd 2436 . . . . . . . 8  |-  ( ph  ->  dom  dom  H  =  dom  dom  H )
342, 33subcfn 14030 . . . . . . 7  |-  ( ph  ->  H  Fn  ( dom 
dom  H  X.  dom  dom  H ) )
352, 34, 28subcss1 14031 . . . . . 6  |-  ( ph  ->  dom  dom  H  C_  ( Base `  C ) )
36 fssres 5602 . . . . . 6  |-  ( ( ( 1st `  F
) : ( Base `  C ) --> ( Base `  D )  /\  dom  dom 
H  C_  ( Base `  C ) )  -> 
( ( 1st `  F
)  |`  dom  dom  H
) : dom  dom  H --> ( Base `  D
) )
3732, 35, 36syl2anc 643 . . . . 5  |-  ( ph  ->  ( ( 1st `  F
)  |`  dom  dom  H
) : dom  dom  H --> ( Base `  D
) )
3826simpld 446 . . . . . . 7  |-  ( ph  ->  C  e.  Cat )
3923, 28, 38, 34, 35rescbas 14021 . . . . . 6  |-  ( ph  ->  dom  dom  H  =  ( Base `  ( C  |`cat  H ) ) )
4039feq2d 5573 . . . . 5  |-  ( ph  ->  ( ( ( 1st `  F )  |`  dom  dom  H ) : dom  dom  H --> ( Base `  D
)  <->  ( ( 1st `  F )  |`  dom  dom  H ) : ( Base `  ( C  |`cat  H )
) --> ( Base `  D
) ) )
4137, 40mpbid 202 . . . 4  |-  ( ph  ->  ( ( 1st `  F
)  |`  dom  dom  H
) : ( Base `  ( C  |`cat  H )
) --> ( Base `  D
) )
42 fvex 5734 . . . . . . 7  |-  ( ( 2nd `  F ) `
 z )  e. 
_V
4342resex 5178 . . . . . 6  |-  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) )  e.  _V
44 eqid 2435 . . . . . 6  |-  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) )  =  ( z  e.  dom  H 
|->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) )
4543, 44fnmpti 5565 . . . . 5  |-  ( z  e.  dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) )  Fn 
dom  H
4612eqcomd 2440 . . . . . 6  |-  ( ph  ->  ( z  e.  dom  H 
|->  ( ( ( 2nd `  F ) `  z
)  |`  ( H `  z ) ) )  =  ( 2nd `  ( F  |`f  H ) ) )
47 fndm 5536 . . . . . . . 8  |-  ( H  Fn  ( dom  dom  H  X.  dom  dom  H
)  ->  dom  H  =  ( dom  dom  H  X.  dom  dom  H )
)
4834, 47syl 16 . . . . . . 7  |-  ( ph  ->  dom  H  =  ( dom  dom  H  X.  dom  dom  H ) )
4939, 39xpeq12d 4895 . . . . . . 7  |-  ( ph  ->  ( dom  dom  H  X.  dom  dom  H )  =  ( ( Base `  ( C  |`cat  H )
)  X.  ( Base `  ( C  |`cat  H )
) ) )
5048, 49eqtrd 2467 . . . . . 6  |-  ( ph  ->  dom  H  =  ( ( Base `  ( C  |`cat  H ) )  X.  ( Base `  ( C  |`cat  H ) ) ) )
5146, 50fneq12d 5530 . . . . 5  |-  ( ph  ->  ( ( z  e. 
dom  H  |->  ( ( ( 2nd `  F
) `  z )  |`  ( H `  z
) ) )  Fn 
dom  H  <->  ( 2nd `  ( F  |`f  H ) )  Fn  ( ( Base `  ( C  |`cat  H ) )  X.  ( Base `  ( C  |`cat  H ) ) ) ) )
5245, 51mpbii 203 . . . 4  |-  ( ph  ->  ( 2nd `  ( F  |`f  H ) )  Fn  ( ( Base `  ( C  |`cat  H ) )  X.  ( Base `  ( C  |`cat  H ) ) ) )
53 eqid 2435 . . . . . . . 8  |-  (  Hom  `  C )  =  (  Hom  `  C )
5431adantr 452 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
5535adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  dom  dom  H  C_  ( Base `  C ) )
56 simprl 733 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  x  e.  ( Base `  ( C  |`cat  H )
) )
5739adantr 452 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  dom  dom  H  =  (
Base `  ( C  |`cat  H ) ) )
5856, 57eleqtrrd 2512 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  x  e.  dom  dom  H
)
5955, 58sseldd 3341 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  x  e.  ( Base `  C ) )
60 simprr 734 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
y  e.  ( Base `  ( C  |`cat  H )
) )
6160, 57eleqtrrd 2512 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
y  e.  dom  dom  H )
6255, 61sseldd 3341 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
y  e.  ( Base `  C ) )
6328, 53, 18, 54, 59, 62funcf2 14057 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x ( 2nd `  F ) y ) : ( x (  Hom  `  C )
y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
) )
642adantr 452 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  H  e.  (Subcat `  C
) )
6534adantr 452 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  H  Fn  ( dom  dom 
H  X.  dom  dom  H ) )
6664, 65, 53, 58, 61subcss2 14032 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x H y )  C_  ( x
(  Hom  `  C ) y ) )
67 fssres 5602 . . . . . . 7  |-  ( ( ( x ( 2nd `  F ) y ) : ( x (  Hom  `  C )
y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
)  /\  ( x H y )  C_  ( x (  Hom  `  C ) y ) )  ->  ( (
x ( 2nd `  F
) y )  |`  ( x H y ) ) : ( x H y ) --> ( ( ( 1st `  F ) `  x
) (  Hom  `  D
) ( ( 1st `  F ) `  y
) ) )
6863, 66, 67syl2anc 643 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( x ( 2nd `  F ) y )  |`  (
x H y ) ) : ( x H y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
) )
691adantr 452 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  F  e.  ( C  Func  D ) )
7069, 64, 65, 58, 61resf2nd 14084 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x ( 2nd `  ( F  |`f  H ) ) y )  =  ( ( x ( 2nd `  F
) y )  |`  ( x H y ) ) )
7170feq1d 5572 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( x ( 2nd `  ( F  |`f  H ) ) y ) : ( x H y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
)  <->  ( ( x ( 2nd `  F
) y )  |`  ( x H y ) ) : ( x H y ) --> ( ( ( 1st `  F ) `  x
) (  Hom  `  D
) ( ( 1st `  F ) `  y
) ) ) )
7268, 71mpbird 224 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x ( 2nd `  ( F  |`f  H ) ) y ) : ( x H y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
) )
7323, 28, 38, 34, 35reschom 14022 . . . . . . . 8  |-  ( ph  ->  H  =  (  Hom  `  ( C  |`cat  H )
) )
7473adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  ->  H  =  (  Hom  `  ( C  |`cat  H )
) )
7574oveqd 6090 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x H y )  =  ( x (  Hom  `  ( C  |`cat  H ) ) y ) )
76 fvres 5737 . . . . . . . . 9  |-  ( x  e.  dom  dom  H  ->  ( ( ( 1st `  F )  |`  dom  dom  H ) `  x )  =  ( ( 1st `  F ) `  x
) )
7758, 76syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( ( 1st `  F )  |`  dom  dom  H ) `  x )  =  ( ( 1st `  F ) `  x
) )
78 fvres 5737 . . . . . . . . 9  |-  ( y  e.  dom  dom  H  ->  ( ( ( 1st `  F )  |`  dom  dom  H ) `  y )  =  ( ( 1st `  F ) `  y
) )
7961, 78syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( ( 1st `  F )  |`  dom  dom  H ) `  y )  =  ( ( 1st `  F ) `  y
) )
8077, 79oveq12d 6091 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( ( ( 1st `  F )  |`  dom  dom  H ) `  x ) (  Hom  `  D ) ( ( ( 1st `  F
)  |`  dom  dom  H
) `  y )
)  =  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
) )
8180eqcomd 2440 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( ( 1st `  F ) `  x
) (  Hom  `  D
) ( ( 1st `  F ) `  y
) )  =  ( ( ( ( 1st `  F )  |`  dom  dom  H ) `  x ) (  Hom  `  D
) ( ( ( 1st `  F )  |`  dom  dom  H ) `  y ) ) )
8275, 81feq23d 5580 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( ( x ( 2nd `  ( F  |`f  H ) ) y ) : ( x H y ) --> ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  F
) `  y )
)  <->  ( x ( 2nd `  ( F  |`f  H ) ) y ) : ( x (  Hom  `  ( C  |`cat  H ) ) y ) --> ( ( ( ( 1st `  F
)  |`  dom  dom  H
) `  x )
(  Hom  `  D ) ( ( ( 1st `  F )  |`  dom  dom  H ) `  y ) ) ) )
8372, 82mpbid 202 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
) ) )  -> 
( x ( 2nd `  ( F  |`f  H ) ) y ) : ( x (  Hom  `  ( C  |`cat  H ) ) y ) --> ( ( ( ( 1st `  F
)  |`  dom  dom  H
) `  x )
(  Hom  `  D ) ( ( ( 1st `  F )  |`  dom  dom  H ) `  y ) ) )
841adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  ->  F  e.  ( C  Func  D ) )
852adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  ->  H  e.  (Subcat `  C
) )
8634adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  ->  H  Fn  ( dom  dom 
H  X.  dom  dom  H ) )
8739eleq2d 2502 . . . . . . . 8  |-  ( ph  ->  ( x  e.  dom  dom 
H  <->  x  e.  ( Base `  ( C  |`cat  H
) ) ) )
8887biimpar 472 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  ->  x  e.  dom  dom  H
)
8984, 85, 86, 88, 88resf2nd 14084 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( x ( 2nd `  ( F  |`f  H ) ) x )  =  ( ( x ( 2nd `  F
) x )  |`  ( x H x ) ) )
90 eqid 2435 . . . . . . . 8  |-  ( Id
`  C )  =  ( Id `  C
)
9123, 85, 86, 90, 88subcid 14036 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( Id `  C ) `  x
)  =  ( ( Id `  ( C  |`cat 
H ) ) `  x ) )
9291eqcomd 2440 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( Id `  ( C  |`cat  H ) ) `  x )  =  ( ( Id `  C
) `  x )
)
9389, 92fveq12d 5726 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( x ( 2nd `  ( F  |`f  H ) ) x ) `  ( ( Id `  ( C  |`cat 
H ) ) `  x ) )  =  ( ( ( x ( 2nd `  F
) x )  |`  ( x H x ) ) `  (
( Id `  C
) `  x )
) )
9431adantr 452 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
9539, 35eqsstr3d 3375 . . . . . . . 8  |-  ( ph  ->  ( Base `  ( C  |`cat  H ) )  C_  ( Base `  C )
)
9695sselda 3340 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  ->  x  e.  ( Base `  C ) )
9728, 90, 20, 94, 96funcid 14059 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( x ( 2nd `  F ) x ) `  (
( Id `  C
) `  x )
)  =  ( ( Id `  D ) `
 ( ( 1st `  F ) `  x
) ) )
9885, 86, 88, 90subcidcl 14033 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( Id `  C ) `  x
)  e.  ( x H x ) )
99 fvres 5737 . . . . . . 7  |-  ( ( ( Id `  C
) `  x )  e.  ( x H x )  ->  ( (
( x ( 2nd `  F ) x )  |`  ( x H x ) ) `  (
( Id `  C
) `  x )
)  =  ( ( x ( 2nd `  F
) x ) `  ( ( Id `  C ) `  x
) ) )
10098, 99syl 16 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( ( x ( 2nd `  F
) x )  |`  ( x H x ) ) `  (
( Id `  C
) `  x )
)  =  ( ( x ( 2nd `  F
) x ) `  ( ( Id `  C ) `  x
) ) )
10188, 76syl 16 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( ( 1st `  F )  |`  dom  dom  H ) `  x )  =  ( ( 1st `  F ) `  x
) )
102101fveq2d 5724 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( Id `  D ) `  (
( ( 1st `  F
)  |`  dom  dom  H
) `  x )
)  =  ( ( Id `  D ) `
 ( ( 1st `  F ) `  x
) ) )
10397, 100, 1023eqtr4d 2477 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( ( x ( 2nd `  F
) x )  |`  ( x H x ) ) `  (
( Id `  C
) `  x )
)  =  ( ( Id `  D ) `
 ( ( ( 1st `  F )  |`  dom  dom  H ) `  x ) ) )
10493, 103eqtrd 2467 . . . 4  |-  ( (
ph  /\  x  e.  ( Base `  ( C  |`cat  H ) ) )  -> 
( ( x ( 2nd `  ( F  |`f  H ) ) x ) `  ( ( Id `  ( C  |`cat 
H ) ) `  x ) )  =  ( ( Id `  D ) `  (
( ( 1st `  F
)  |`  dom  dom  H
) `  x )
) )
10523ad2ant1 978 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  H  e.  (Subcat `  C ) )
106343ad2ant1 978 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  H  Fn  ( dom  dom  H  X.  dom  dom  H ) )
107 simp21 990 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  x  e.  ( Base `  ( C  |`cat  H ) ) )
108393ad2ant1 978 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  dom  dom  H  =  ( Base `  ( C  |`cat  H ) ) )
109107, 108eleqtrrd 2512 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  x  e.  dom  dom  H )
110 eqid 2435 . . . . . . . 8  |-  (comp `  C )  =  (comp `  C )
111 simp22 991 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  y  e.  ( Base `  ( C  |`cat  H ) ) )
112111, 108eleqtrrd 2512 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  y  e.  dom  dom  H )
113 simp23 992 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  z  e.  ( Base `  ( C  |`cat  H ) ) )
114113, 108eleqtrrd 2512 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  z  e.  dom  dom  H )
115 simp3l 985 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  f  e.  ( x (  Hom  `  ( C  |`cat  H )
) y ) )
116733ad2ant1 978 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  H  =  (  Hom  `  ( C  |`cat  H ) ) )
117116oveqd 6090 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( x H y )  =  ( x (  Hom  `  ( C  |`cat  H )
) y ) )
118115, 117eleqtrrd 2512 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  f  e.  ( x H y ) )
119 simp3r 986 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) )
120116oveqd 6090 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( y H z )  =  ( y (  Hom  `  ( C  |`cat  H )
) z ) )
121119, 120eleqtrrd 2512 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  g  e.  ( y H z ) )
122105, 106, 109, 110, 112, 114, 118, 121subccocl 14034 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( g
( <. x ,  y
>. (comp `  C )
z ) f )  e.  ( x H z ) )
123 fvres 5737 . . . . . . 7  |-  ( ( g ( <. x ,  y >. (comp `  C ) z ) f )  e.  ( x H z )  ->  ( ( ( x ( 2nd `  F
) z )  |`  ( x H z ) ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) )  =  ( ( x ( 2nd `  F ) z ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) ) )
124122, 123syl 16 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( x ( 2nd `  F ) z )  |`  ( x H z ) ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) )  =  ( ( x ( 2nd `  F ) z ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) ) )
125313ad2ant1 978 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( 1st `  F ) ( C 
Func  D ) ( 2nd `  F ) )
126353ad2ant1 978 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  dom  dom  H  C_  ( Base `  C
) )
127126, 109sseldd 3341 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  x  e.  ( Base `  C )
)
128126, 112sseldd 3341 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  y  e.  ( Base `  C )
)
129126, 114sseldd 3341 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  z  e.  ( Base `  C )
)
130105, 106, 53, 109, 112subcss2 14032 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( x H y )  C_  ( x (  Hom  `  C ) y ) )
131130, 118sseldd 3341 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  f  e.  ( x (  Hom  `  C ) y ) )
132105, 106, 53, 112, 114subcss2 14032 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( y H z )  C_  ( y (  Hom  `  C ) z ) )
133132, 121sseldd 3341 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  g  e.  ( y (  Hom  `  C ) z ) )
13428, 53, 110, 22, 125, 127, 128, 129, 131, 133funcco 14060 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
x ( 2nd `  F
) z ) `  ( g ( <.
x ,  y >.
(comp `  C )
z ) f ) )  =  ( ( ( y ( 2nd `  F ) z ) `
 g ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  z
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )
135124, 134eqtrd 2467 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( x ( 2nd `  F ) z )  |`  ( x H z ) ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) )  =  ( ( ( y ( 2nd `  F
) z ) `  g ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  z
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )
13613ad2ant1 978 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  F  e.  ( C  Func  D ) )
137136, 105, 106, 109, 114resf2nd 14084 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( x
( 2nd `  ( F  |`f  H ) ) z )  =  ( ( x ( 2nd `  F
) z )  |`  ( x H z ) ) )
13823, 28, 38, 34, 35, 110rescco 14024 . . . . . . . . . 10  |-  ( ph  ->  (comp `  C )  =  (comp `  ( C  |`cat  H ) ) )
1391383ad2ant1 978 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  (comp `  C
)  =  (comp `  ( C  |`cat  H ) ) )
140139eqcomd 2440 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  (comp `  ( C  |`cat  H ) )  =  (comp `  C )
)
141140oveqd 6090 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( <. x ,  y >. (comp `  ( C  |`cat  H )
) z )  =  ( <. x ,  y
>. (comp `  C )
z ) )
142141oveqd 6090 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( g
( <. x ,  y
>. (comp `  ( C  |`cat  H ) ) z ) f )  =  ( g ( <. x ,  y >. (comp `  C ) z ) f ) )
143137, 142fveq12d 5726 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
x ( 2nd `  ( F  |`f  H ) ) z ) `  ( g ( <. x ,  y
>. (comp `  ( C  |`cat  H ) ) z ) f ) )  =  ( ( ( x ( 2nd `  F
) z )  |`  ( x H z ) ) `  (
g ( <. x ,  y >. (comp `  C ) z ) f ) ) )
144109, 76syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( 1st `  F
)  |`  dom  dom  H
) `  x )  =  ( ( 1st `  F ) `  x
) )
145112, 78syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( 1st `  F
)  |`  dom  dom  H
) `  y )  =  ( ( 1st `  F ) `  y
) )
146144, 145opeq12d 3984 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  <. ( ( ( 1st `  F
)  |`  dom  dom  H
) `  x ) ,  ( ( ( 1st `  F )  |`  dom  dom  H ) `  y ) >.  =  <. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. )
147 fvres 5737 . . . . . . . 8  |-  ( z  e.  dom  dom  H  ->  ( ( ( 1st `  F )  |`  dom  dom  H ) `  z )  =  ( ( 1st `  F ) `  z
) )
148114, 147syl 16 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( 1st `  F
)  |`  dom  dom  H
) `  z )  =  ( ( 1st `  F ) `  z
) )
149146, 148oveq12d 6091 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( <. ( ( ( 1st `  F
)  |`  dom  dom  H
) `  x ) ,  ( ( ( 1st `  F )  |`  dom  dom  H ) `  y ) >. (comp `  D ) ( ( ( 1st `  F
)  |`  dom  dom  H
) `  z )
)  =  ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  z
) ) )
150136, 105, 106, 112, 114resf2nd 14084 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( y
( 2nd `  ( F  |`f  H ) ) z )  =  ( ( y ( 2nd `  F
) z )  |`  ( y H z ) ) )
151150fveq1d 5722 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
y ( 2nd `  ( F  |`f  H ) ) z ) `  g )  =  ( ( ( y ( 2nd `  F
) z )  |`  ( y H z ) ) `  g
) )
152 fvres 5737 . . . . . . . 8  |-  ( g  e.  ( y H z )  ->  (
( ( y ( 2nd `  F ) z )  |`  (
y H z ) ) `  g )  =  ( ( y ( 2nd `  F
) z ) `  g ) )
153121, 152syl 16 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( y ( 2nd `  F ) z )  |`  ( y H z ) ) `  g
)  =  ( ( y ( 2nd `  F
) z ) `  g ) )
154151, 153eqtrd 2467 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
y ( 2nd `  ( F  |`f  H ) ) z ) `  g )  =  ( ( y ( 2nd `  F
) z ) `  g ) )
155136, 105, 106, 109, 112resf2nd 14084 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( x
( 2nd `  ( F  |`f  H ) ) y )  =  ( ( x ( 2nd `  F
) y )  |`  ( x H y ) ) )
156155fveq1d 5722 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
x ( 2nd `  ( F  |`f  H ) ) y ) `  f )  =  ( ( ( x ( 2nd `  F
) y )  |`  ( x H y ) ) `  f
) )
157 fvres 5737 . . . . . . . 8  |-  ( f  e.  ( x H y )  ->  (
( ( x ( 2nd `  F ) y )  |`  (
x H y ) ) `  f )  =  ( ( x ( 2nd `  F
) y ) `  f ) )
158118, 157syl 16 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( x ( 2nd `  F ) y )  |`  ( x H y ) ) `  f
)  =  ( ( x ( 2nd `  F
) y ) `  f ) )
159156, 158eqtrd 2467 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
x ( 2nd `  ( F  |`f  H ) ) y ) `  f )  =  ( ( x ( 2nd `  F
) y ) `  f ) )
160149, 154, 159oveq123d 6094 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
( y ( 2nd `  ( F  |`f  H ) ) z ) `  g ) ( <. ( ( ( 1st `  F )  |`  dom  dom  H ) `  x ) ,  ( ( ( 1st `  F
)  |`  dom  dom  H
) `  y ) >. (comp `  D )
( ( ( 1st `  F )  |`  dom  dom  H ) `  z ) ) ( ( x ( 2nd `  ( F  |`f  H ) ) y ) `  f ) )  =  ( ( ( y ( 2nd `  F ) z ) `
 g ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  F ) `  z
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )
161135, 143, 1603eqtr4d 2477 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  ( C  |`cat  H ) )  /\  y  e.  ( Base `  ( C  |`cat  H )
)  /\  z  e.  ( Base `  ( C  |`cat  H ) ) )  /\  ( f  e.  ( x (  Hom  `  ( C  |`cat  H ) ) y )  /\  g  e.  ( y (  Hom  `  ( C  |`cat  H )
) z ) ) )  ->  ( (
x ( 2nd `  ( F  |`f  H ) ) z ) `  ( g ( <. x ,  y
>. (comp `  ( C  |`cat  H ) ) z ) f ) )  =  ( ( ( y ( 2nd `  ( F  |`f  H ) ) z ) `  g ) ( <. ( ( ( 1st `  F )  |`  dom  dom  H ) `  x ) ,  ( ( ( 1st `  F
)  |`  dom  dom  H
) `  y ) >. (comp `  D )
( ( ( 1st `  F )  |`  dom  dom  H ) `  z ) ) ( ( x ( 2nd `  ( F  |`f  H ) ) y ) `  f ) ) )
16215, 16, 17, 18, 19, 20, 21, 22, 24, 27, 41, 52, 83, 104, 161isfuncd 14054 . . 3  |-  ( ph  ->  ( ( 1st `  F
)  |`  dom  dom  H
) ( ( C  |`cat 
H )  Func  D
) ( 2nd `  ( F  |`f  H ) ) )
163 df-br 4205 . . 3  |-  ( ( ( 1st `  F
)  |`  dom  dom  H
) ( ( C  |`cat 
H )  Func  D
) ( 2nd `  ( F  |`f  H ) )  <->  <. ( ( 1st `  F )  |`  dom  dom  H ) ,  ( 2nd `  ( F  |`f  H ) ) >.  e.  ( ( C  |`cat  H
)  Func  D )
)
164162, 163sylib 189 . 2  |-  ( ph  -> 
<. ( ( 1st `  F
)  |`  dom  dom  H
) ,  ( 2nd `  ( F  |`f  H ) ) >.  e.  ( ( C  |`cat  H
)  Func  D )
)
16514, 164eqeltrd 2509 1  |-  ( ph  ->  ( F  |`f  H )  e.  ( ( C  |`cat  H )  Func  D ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   _Vcvv 2948    C_ wss 3312   <.cop 3809   class class class wbr 4204    e. cmpt 4258    X. cxp 4868   dom cdm 4870    |` cres 4872   Rel wrel 4875    Fn wfn 5441   -->wf 5442   ` cfv 5446  (class class class)co 6073   1stc1st 6339   2ndc2nd 6340   Basecbs 13461    Hom chom 13532  compcco 13533   Catccat 13881   Idccid 13882    |`cat cresc 14000  Subcatcsubc 14001    Func cfunc 14043    |`f cresf 14046
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-er 6897  df-map 7012  df-pm 7013  df-ixp 7056  df-en 7102  df-dom 7103  df-sdom 7104  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-nn 9993  df-2 10050  df-3 10051  df-4 10052  df-5 10053  df-6 10054  df-7 10055  df-8 10056  df-9 10057  df-10 10058  df-n0 10214  df-z 10275  df-dec 10375  df-ndx 13464  df-slot 13465  df-base 13466  df-sets 13467  df-ress 13468  df-hom 13545  df-cco 13546  df-cat 13885  df-cid 13886  df-homf 13887  df-ssc 14002  df-resc 14003  df-subc 14004  df-func 14047  df-resf 14050
  Copyright terms: Public domain W3C validator