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

Theorem xpccatid 14240
Description: The product of two categories is a category. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
xpccat.t  |-  T  =  ( C  X.c  D )
xpccat.c  |-  ( ph  ->  C  e.  Cat )
xpccat.d  |-  ( ph  ->  D  e.  Cat )
xpccat.x  |-  X  =  ( Base `  C
)
xpccat.y  |-  Y  =  ( Base `  D
)
xpccat.i  |-  I  =  ( Id `  C
)
xpccat.j  |-  J  =  ( Id `  D
)
Assertion
Ref Expression
xpccatid  |-  ( ph  ->  ( T  e.  Cat  /\  ( Id `  T
)  =  ( x  e.  X ,  y  e.  Y  |->  <. (
I `  x ) ,  ( J `  y ) >. )
) )
Distinct variable groups:    x, y, I    x, J, y    x, C, y    ph, x, y   
x, X, y    x, D, y    x, Y, y
Allowed substitution hints:    T( x, y)

Proof of Theorem xpccatid
Dummy variables  f 
g  h  s  t  u  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpccat.t . . . . 5  |-  T  =  ( C  X.c  D )
2 xpccat.x . . . . 5  |-  X  =  ( Base `  C
)
3 xpccat.y . . . . 5  |-  Y  =  ( Base `  D
)
41, 2, 3xpcbas 14230 . . . 4  |-  ( X  X.  Y )  =  ( Base `  T
)
54a1i 11 . . 3  |-  ( ph  ->  ( X  X.  Y
)  =  ( Base `  T ) )
6 eqidd 2405 . . 3  |-  ( ph  ->  (  Hom  `  T
)  =  (  Hom  `  T ) )
7 eqidd 2405 . . 3  |-  ( ph  ->  (comp `  T )  =  (comp `  T )
)
8 ovex 6065 . . . . 5  |-  ( C  X.c  D )  e.  _V
91, 8eqeltri 2474 . . . 4  |-  T  e. 
_V
109a1i 11 . . 3  |-  ( ph  ->  T  e.  _V )
11 biid 228 . . 3  |-  ( ( ( s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y
) )  /\  (
f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) )  <->  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )
12 eqid 2404 . . . . . 6  |-  (  Hom  `  C )  =  (  Hom  `  C )
13 xpccat.i . . . . . 6  |-  I  =  ( Id `  C
)
14 xpccat.c . . . . . . 7  |-  ( ph  ->  C  e.  Cat )
1514adantr 452 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  C  e.  Cat )
16 xp1st 6335 . . . . . . 7  |-  ( t  e.  ( X  X.  Y )  ->  ( 1st `  t )  e.  X )
1716adantl 453 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( 1st `  t )  e.  X )
182, 12, 13, 15, 17catidcl 13862 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  (
I `  ( 1st `  t ) )  e.  ( ( 1st `  t
) (  Hom  `  C
) ( 1st `  t
) ) )
19 eqid 2404 . . . . . 6  |-  (  Hom  `  D )  =  (  Hom  `  D )
20 xpccat.j . . . . . 6  |-  J  =  ( Id `  D
)
21 xpccat.d . . . . . . 7  |-  ( ph  ->  D  e.  Cat )
2221adantr 452 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  D  e.  Cat )
23 xp2nd 6336 . . . . . . 7  |-  ( t  e.  ( X  X.  Y )  ->  ( 2nd `  t )  e.  Y )
2423adantl 453 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( 2nd `  t )  e.  Y )
253, 19, 20, 22, 24catidcl 13862 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( J `  ( 2nd `  t ) )  e.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  t
) ) )
26 opelxpi 4869 . . . . 5  |-  ( ( ( I `  ( 1st `  t ) )  e.  ( ( 1st `  t ) (  Hom  `  C ) ( 1st `  t ) )  /\  ( J `  ( 2nd `  t ) )  e.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  t
) ) )  ->  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) ) >.  e.  (
( ( 1st `  t
) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  t
) ) ) )
2718, 25, 26syl2anc 643 . . . 4  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>.  e.  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  t
) ) ) )
28 eqid 2404 . . . . 5  |-  (  Hom  `  T )  =  (  Hom  `  T )
29 simpr 448 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  t  e.  ( X  X.  Y
) )
301, 4, 12, 19, 28, 29, 29xpchom 14232 . . . 4  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  (
t (  Hom  `  T
) t )  =  ( ( ( 1st `  t ) (  Hom  `  C ) ( 1st `  t ) )  X.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  t
) ) ) )
3127, 30eleqtrrd 2481 . . 3  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>.  e.  ( t (  Hom  `  T )
t ) )
32 fvex 5701 . . . . . . . 8  |-  ( I `
 ( 1st `  t
) )  e.  _V
33 fvex 5701 . . . . . . . 8  |-  ( J `
 ( 2nd `  t
) )  e.  _V
3432, 33op1st 6314 . . . . . . 7  |-  ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )  =  ( I `  ( 1st `  t ) )
3534oveq1i 6050 . . . . . 6  |-  ( ( 1st `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  t
) ) ( 1st `  f ) )  =  ( ( I `  ( 1st `  t ) ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  t
) ) ( 1st `  f ) )
3614adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  C  e.  Cat )
37 simpr1l 1014 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
s  e.  ( X  X.  Y ) )
38 xp1st 6335 . . . . . . . 8  |-  ( s  e.  ( X  X.  Y )  ->  ( 1st `  s )  e.  X )
3937, 38syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  s
)  e.  X )
40 eqid 2404 . . . . . . 7  |-  (comp `  C )  =  (comp `  C )
41 simpr1r 1015 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
t  e.  ( X  X.  Y ) )
4241, 16syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  t
)  e.  X )
43 simpr31 1047 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
f  e.  ( s (  Hom  `  T
) t ) )
441, 4, 12, 19, 28, 37, 41xpchom 14232 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( s (  Hom  `  T ) t )  =  ( ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  t
) ) ) )
4543, 44eleqtrd 2480 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
f  e.  ( ( ( 1st `  s
) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  t
) ) ) )
46 xp1st 6335 . . . . . . . 8  |-  ( f  e.  ( ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  t
) ) )  -> 
( 1st `  f
)  e.  ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) ) )
4745, 46syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  f
)  e.  ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) ) )
482, 12, 13, 36, 39, 40, 42, 47catlid 13863 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( I `  ( 1st `  t ) ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  t
) ) ( 1st `  f ) )  =  ( 1st `  f
) )
4935, 48syl5eq 2448 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  t
) ) ( 1st `  f ) )  =  ( 1st `  f
) )
5032, 33op2nd 6315 . . . . . . 7  |-  ( 2nd `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )  =  ( J `  ( 2nd `  t ) )
5150oveq1i 6050 . . . . . 6  |-  ( ( 2nd `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) )  =  ( ( J `  ( 2nd `  t ) ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) )
5221adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  D  e.  Cat )
53 xp2nd 6336 . . . . . . . 8  |-  ( s  e.  ( X  X.  Y )  ->  ( 2nd `  s )  e.  Y )
5437, 53syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  s
)  e.  Y )
55 eqid 2404 . . . . . . 7  |-  (comp `  D )  =  (comp `  D )
5641, 23syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  t
)  e.  Y )
57 xp2nd 6336 . . . . . . . 8  |-  ( f  e.  ( ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  t
) ) )  -> 
( 2nd `  f
)  e.  ( ( 2nd `  s ) (  Hom  `  D
) ( 2nd `  t
) ) )
5845, 57syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  f
)  e.  ( ( 2nd `  s ) (  Hom  `  D
) ( 2nd `  t
) ) )
593, 19, 20, 52, 54, 55, 56, 58catlid 13863 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( J `  ( 2nd `  t ) ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) )  =  ( 2nd `  f
) )
6051, 59syl5eq 2448 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) )  =  ( 2nd `  f
) )
6149, 60opeq12d 3952 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  t
) ) ( 1st `  f ) ) ,  ( ( 2nd `  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) ) >.  =  <. ( 1st `  f
) ,  ( 2nd `  f ) >. )
62 eqid 2404 . . . . 5  |-  (comp `  T )  =  (comp `  T )
6341, 31syldan 457 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) ) >.  e.  (
t (  Hom  `  T
) t ) )
641, 4, 28, 40, 55, 62, 37, 41, 41, 43, 63xpcco 14235 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. ( <. s ,  t >.
(comp `  T )
t ) f )  =  <. ( ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
( <. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  t ) ) ( 1st `  f ) ) ,  ( ( 2nd `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  t
) ) ( 2nd `  f ) ) >.
)
65 1st2nd2 6345 . . . . 5  |-  ( f  e.  ( ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  t
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  t
) ) )  -> 
f  =  <. ( 1st `  f ) ,  ( 2nd `  f
) >. )
6645, 65syl 16 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
f  =  <. ( 1st `  f ) ,  ( 2nd `  f
) >. )
6761, 64, 663eqtr4d 2446 . . 3  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. ( <. s ,  t >.
(comp `  T )
t ) f )  =  f )
6834oveq2i 6051 . . . . . 6  |-  ( ( 1st `  g ) ( <. ( 1st `  t
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) )  =  ( ( 1st `  g
) ( <. ( 1st `  t ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( I `
 ( 1st `  t
) ) )
69 simpr2l 1016 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  u  e.  ( X  X.  Y ) )
70 xp1st 6335 . . . . . . . 8  |-  ( u  e.  ( X  X.  Y )  ->  ( 1st `  u )  e.  X )
7169, 70syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  u
)  e.  X )
72 simpr32 1048 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
g  e.  ( t (  Hom  `  T
) u ) )
731, 4, 12, 19, 28, 41, 69xpchom 14232 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( t (  Hom  `  T ) u )  =  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  u
) ) ) )
7472, 73eleqtrd 2480 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
g  e.  ( ( ( 1st `  t
) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  u
) ) ) )
75 xp1st 6335 . . . . . . . 8  |-  ( g  e.  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  u
) ) )  -> 
( 1st `  g
)  e.  ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) ) )
7674, 75syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  g
)  e.  ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) ) )
772, 12, 13, 36, 42, 40, 71, 76catrid 13864 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  g
) ( <. ( 1st `  t ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( I `
 ( 1st `  t
) ) )  =  ( 1st `  g
) )
7868, 77syl5eq 2448 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  g
) ( <. ( 1st `  t ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
)  =  ( 1st `  g ) )
7950oveq2i 6051 . . . . . 6  |-  ( ( 2nd `  g ) ( <. ( 2nd `  t
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) )  =  ( ( 2nd `  g
) ( <. ( 2nd `  t ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( J `
 ( 2nd `  t
) ) )
80 xp2nd 6336 . . . . . . . 8  |-  ( u  e.  ( X  X.  Y )  ->  ( 2nd `  u )  e.  Y )
8169, 80syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  u
)  e.  Y )
82 xp2nd 6336 . . . . . . . 8  |-  ( g  e.  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  u
) ) )  -> 
( 2nd `  g
)  e.  ( ( 2nd `  t ) (  Hom  `  D
) ( 2nd `  u
) ) )
8374, 82syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  g
)  e.  ( ( 2nd `  t ) (  Hom  `  D
) ( 2nd `  u
) ) )
843, 19, 20, 52, 56, 55, 81, 83catrid 13864 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  g
) ( <. ( 2nd `  t ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( J `
 ( 2nd `  t
) ) )  =  ( 2nd `  g
) )
8579, 84syl5eq 2448 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  g
) ( <. ( 2nd `  t ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
)  =  ( 2nd `  g ) )
8678, 85opeq12d 3952 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( ( 1st `  g
) ( <. ( 1st `  t ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
) ,  ( ( 2nd `  g ) ( <. ( 2nd `  t
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ) >.  =  <. ( 1st `  g ) ,  ( 2nd `  g
) >. )
871, 4, 28, 40, 55, 62, 41, 41, 69, 63, 72xpcco 14235 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( g ( <.
t ,  t >.
(comp `  T )
u ) <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. )  =  <. ( ( 1st `  g
) ( <. ( 1st `  t ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
) ,  ( ( 2nd `  g ) ( <. ( 2nd `  t
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ) >. )
88 1st2nd2 6345 . . . . 5  |-  ( g  e.  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  u
) ) )  -> 
g  =  <. ( 1st `  g ) ,  ( 2nd `  g
) >. )
8974, 88syl 16 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
g  =  <. ( 1st `  g ) ,  ( 2nd `  g
) >. )
9086, 87, 893eqtr4d 2446 . . 3  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( g ( <.
t ,  t >.
(comp `  T )
u ) <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. )  =  g
)
912, 12, 40, 36, 39, 42, 71, 47, 76catcocl 13865 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) )  e.  ( ( 1st `  s
) (  Hom  `  C
) ( 1st `  u
) ) )
923, 19, 55, 52, 54, 56, 81, 58, 83catcocl 13865 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) )  e.  ( ( 2nd `  s
) (  Hom  `  D
) ( 2nd `  u
) ) )
93 opelxpi 4869 . . . . 5  |-  ( ( ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) )  e.  ( ( 1st `  s
) (  Hom  `  C
) ( 1st `  u
) )  /\  (
( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) )  e.  ( ( 2nd `  s
) (  Hom  `  D
) ( 2nd `  u
) ) )  ->  <. ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) ) >.  e.  ( ( ( 1st `  s ) (  Hom  `  C ) ( 1st `  u ) )  X.  ( ( 2nd `  s
) (  Hom  `  D
) ( 2nd `  u
) ) ) )
9491, 92, 93syl2anc 643 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) ) >.  e.  ( ( ( 1st `  s ) (  Hom  `  C ) ( 1st `  u ) )  X.  ( ( 2nd `  s
) (  Hom  `  D
) ( 2nd `  u
) ) ) )
951, 4, 28, 40, 55, 62, 37, 41, 69, 43, 72xpcco 14235 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( g ( <.
s ,  t >.
(comp `  T )
u ) f )  =  <. ( ( 1st `  g ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) ) ,  ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) ) >. )
961, 4, 12, 19, 28, 37, 69xpchom 14232 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( s (  Hom  `  T ) u )  =  ( ( ( 1st `  s ) (  Hom  `  C
) ( 1st `  u
) )  X.  (
( 2nd `  s
) (  Hom  `  D
) ( 2nd `  u
) ) ) )
9794, 95, 963eltr4d 2485 . . 3  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( g ( <.
s ,  t >.
(comp `  T )
u ) f )  e.  ( s (  Hom  `  T )
u ) )
98 simpr2r 1017 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
v  e.  ( X  X.  Y ) )
99 xp1st 6335 . . . . . . . 8  |-  ( v  e.  ( X  X.  Y )  ->  ( 1st `  v )  e.  X )
10098, 99syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  v
)  e.  X )
101 simpr33 1049 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  h  e.  ( u
(  Hom  `  T ) v ) )
1021, 4, 12, 19, 28, 69, 98xpchom 14232 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( u (  Hom  `  T ) v )  =  ( ( ( 1st `  u ) (  Hom  `  C
) ( 1st `  v
) )  X.  (
( 2nd `  u
) (  Hom  `  D
) ( 2nd `  v
) ) ) )
103101, 102eleqtrd 2480 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  h  e.  ( (
( 1st `  u
) (  Hom  `  C
) ( 1st `  v
) )  X.  (
( 2nd `  u
) (  Hom  `  D
) ( 2nd `  v
) ) ) )
104 xp1st 6335 . . . . . . . 8  |-  ( h  e.  ( ( ( 1st `  u ) (  Hom  `  C
) ( 1st `  v
) )  X.  (
( 2nd `  u
) (  Hom  `  D
) ( 2nd `  v
) ) )  -> 
( 1st `  h
)  e.  ( ( 1st `  u ) (  Hom  `  C
) ( 1st `  v
) ) )
105103, 104syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  h
)  e.  ( ( 1st `  u ) (  Hom  `  C
) ( 1st `  v
) ) )
1062, 12, 40, 36, 39, 42, 71, 47, 76, 100, 105catass 13866 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( ( 1st `  h ) ( <.
( 1st `  t
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  g ) ) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  f ) )  =  ( ( 1st `  h
) ( <. ( 1st `  s ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( ( 1st `  g ) ( <. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) ) ) )
1071, 4, 28, 40, 55, 62, 41, 69, 98, 72, 101xpcco 14235 . . . . . . . . 9  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( h ( <.
t ,  u >. (comp `  T ) v ) g )  =  <. ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) >.
)
108107fveq2d 5691 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) )  =  ( 1st `  <. (
( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) >.
) )
109 ovex 6065 . . . . . . . . 9  |-  ( ( 1st `  h ) ( <. ( 1st `  t
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  g ) )  e.  _V
110 ovex 6065 . . . . . . . . 9  |-  ( ( 2nd `  h ) ( <. ( 2nd `  t
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  g ) )  e.  _V
111109, 110op1st 6314 . . . . . . . 8  |-  ( 1st `  <. ( ( 1st `  h ) ( <.
( 1st `  t
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  g ) ) ,  ( ( 2nd `  h ) ( <. ( 2nd `  t
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  g ) ) >. )  =  ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) )
112108, 111syl6eq 2452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) )  =  ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) )
113112oveq1d 6055 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  f ) )  =  ( ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) (
<. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  f ) ) )
11495fveq2d 5691 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  (
g ( <. s ,  t >. (comp `  T ) u ) f ) )  =  ( 1st `  <. ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) ) >.
) )
115 ovex 6065 . . . . . . . . 9  |-  ( ( 1st `  g ) ( <. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) )  e.  _V
116 ovex 6065 . . . . . . . . 9  |-  ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) )  e.  _V
117115, 116op1st 6314 . . . . . . . 8  |-  ( 1st `  <. ( ( 1st `  g ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) ) ,  ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) ) >. )  =  ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) )
118114, 117syl6eq 2452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 1st `  (
g ( <. s ,  t >. (comp `  T ) u ) f ) )  =  ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) ) )
119118oveq2d 6056 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  h
) ( <. ( 1st `  s ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) )  =  ( ( 1st `  h
) ( <. ( 1st `  s ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( ( 1st `  g ) ( <. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) ) ) )
120106, 113, 1193eqtr4d 2446 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  f ) )  =  ( ( 1st `  h ) ( <. ( 1st `  s
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  ( g ( <. s ,  t
>. (comp `  T )
u ) f ) ) ) )
121 xp2nd 6336 . . . . . . . 8  |-  ( v  e.  ( X  X.  Y )  ->  ( 2nd `  v )  e.  Y )
12298, 121syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  v
)  e.  Y )
123 xp2nd 6336 . . . . . . . 8  |-  ( h  e.  ( ( ( 1st `  u ) (  Hom  `  C
) ( 1st `  v
) )  X.  (
( 2nd `  u
) (  Hom  `  D
) ( 2nd `  v
) ) )  -> 
( 2nd `  h
)  e.  ( ( 2nd `  u ) (  Hom  `  D
) ( 2nd `  v
) ) )
124103, 123syl 16 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  h
)  e.  ( ( 2nd `  u ) (  Hom  `  D
) ( 2nd `  v
) ) )
1253, 19, 55, 52, 54, 56, 81, 58, 83, 122, 124catass 13866 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( ( 2nd `  h ) ( <.
( 2nd `  t
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  g ) ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  f ) )  =  ( ( 2nd `  h
) ( <. ( 2nd `  s ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) ) ) )
126107fveq2d 5691 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) )  =  ( 2nd `  <. (
( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) >.
) )
127109, 110op2nd 6315 . . . . . . . 8  |-  ( 2nd `  <. ( ( 1st `  h ) ( <.
( 1st `  t
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  g ) ) ,  ( ( 2nd `  h ) ( <. ( 2nd `  t
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  g ) ) >. )  =  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) )
128126, 127syl6eq 2452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) )  =  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) )
129128oveq1d 6055 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) ) ( <.
( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  f ) )  =  ( ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) (
<. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  f ) ) )
13095fveq2d 5691 . . . . . . . 8  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  (
g ( <. s ,  t >. (comp `  T ) u ) f ) )  =  ( 2nd `  <. ( ( 1st `  g
) ( <. ( 1st `  s ) ,  ( 1st `  t
) >. (comp `  C
) ( 1st `  u
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) ) >.
) )
131115, 116op2nd 6315 . . . . . . . 8  |-  ( 2nd `  <. ( ( 1st `  g ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) ) ,  ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) ) >. )  =  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) )
132130, 131syl6eq 2452 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( 2nd `  (
g ( <. s ,  t >. (comp `  T ) u ) f ) )  =  ( ( 2nd `  g
) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  u
) ) ( 2nd `  f ) ) )
133132oveq2d 6056 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  h
) ( <. ( 2nd `  s ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) )  =  ( ( 2nd `  h
) ( <. ( 2nd `  s ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) ) ) )
134125, 129, 1333eqtr4d 2446 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) ) ( <.
( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  f ) )  =  ( ( 2nd `  h ) ( <. ( 2nd `  s
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  ( g ( <. s ,  t
>. (comp `  T )
u ) f ) ) ) )
135120, 134opeq12d 3952 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( ( 1st `  (
h ( <. t ,  u >. (comp `  T
) v ) g ) ) ( <.
( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  f ) ) ,  ( ( 2nd `  ( h ( <. t ,  u >. (comp `  T )
v ) g ) ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  f ) ) >.  =  <. ( ( 1st `  h ) ( <.
( 1st `  s
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  ( g ( <. s ,  t
>. (comp `  T )
u ) f ) ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  s ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) ) >. )
1362, 12, 40, 36, 42, 71, 100, 76, 105catcocl 13865 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) )  e.  ( ( 1st `  t
) (  Hom  `  C
) ( 1st `  v
) ) )
1373, 19, 55, 52, 56, 81, 122, 83, 124catcocl 13865 . . . . . . 7  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) )  e.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  v
) ) )
138 opelxpi 4869 . . . . . . 7  |-  ( ( ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) )  e.  ( ( 1st `  t
) (  Hom  `  C
) ( 1st `  v
) )  /\  (
( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) )  e.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  v
) ) )  ->  <. ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) >.  e.  ( ( ( 1st `  t ) (  Hom  `  C ) ( 1st `  v ) )  X.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  v
) ) ) )
139136, 137, 138syl2anc 643 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  ->  <. ( ( 1st `  h
) ( <. ( 1st `  t ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  g ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  t ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  g ) ) >.  e.  ( ( ( 1st `  t ) (  Hom  `  C ) ( 1st `  v ) )  X.  ( ( 2nd `  t
) (  Hom  `  D
) ( 2nd `  v
) ) ) )
1401, 4, 12, 19, 28, 41, 98xpchom 14232 . . . . . 6  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( t (  Hom  `  T ) v )  =  ( ( ( 1st `  t ) (  Hom  `  C
) ( 1st `  v
) )  X.  (
( 2nd `  t
) (  Hom  `  D
) ( 2nd `  v
) ) ) )
141139, 107, 1403eltr4d 2485 . . . . 5  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( h ( <.
t ,  u >. (comp `  T ) v ) g )  e.  ( t (  Hom  `  T
) v ) )
1421, 4, 28, 40, 55, 62, 37, 41, 98, 43, 141xpcco 14235 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( h (
<. t ,  u >. (comp `  T ) v ) g ) ( <.
s ,  t >.
(comp `  T )
v ) f )  =  <. ( ( 1st `  ( h ( <.
t ,  u >. (comp `  T ) v ) g ) ) (
<. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  f ) ) ,  ( ( 2nd `  ( h ( <. t ,  u >. (comp `  T )
v ) g ) ) ( <. ( 2nd `  s ) ,  ( 2nd `  t
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  f ) ) >.
)
1431, 4, 28, 40, 55, 62, 37, 69, 98, 97, 101xpcco 14235 . . . 4  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( h ( <.
s ,  u >. (comp `  T ) v ) ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) )  =  <. (
( 1st `  h
) ( <. ( 1st `  s ) ,  ( 1st `  u
) >. (comp `  C
) ( 1st `  v
) ) ( 1st `  ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) ) ,  ( ( 2nd `  h
) ( <. ( 2nd `  s ) ,  ( 2nd `  u
) >. (comp `  D
) ( 2nd `  v
) ) ( 2nd `  ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) ) >. )
144135, 142, 1433eqtr4d 2446 . . 3  |-  ( (
ph  /\  ( (
s  e.  ( X  X.  Y )  /\  t  e.  ( X  X.  Y ) )  /\  ( u  e.  ( X  X.  Y )  /\  v  e.  ( X  X.  Y ) )  /\  ( f  e.  ( s (  Hom  `  T
) t )  /\  g  e.  ( t
(  Hom  `  T ) u )  /\  h  e.  ( u (  Hom  `  T ) v ) ) ) )  -> 
( ( h (
<. t ,  u >. (comp `  T ) v ) g ) ( <.
s ,  t >.
(comp `  T )
v ) f )  =  ( h (
<. s ,  u >. (comp `  T ) v ) ( g ( <.
s ,  t >.
(comp `  T )
u ) f ) ) )
1455, 6, 7, 10, 11, 31, 67, 90, 97, 144iscatd2 13861 . 2  |-  ( ph  ->  ( T  e.  Cat  /\  ( Id `  T
)  =  ( t  e.  ( X  X.  Y )  |->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ) )
146 vex 2919 . . . . . . . 8  |-  x  e. 
_V
147 vex 2919 . . . . . . . 8  |-  y  e. 
_V
148146, 147op1std 6316 . . . . . . 7  |-  ( t  =  <. x ,  y
>.  ->  ( 1st `  t
)  =  x )
149148fveq2d 5691 . . . . . 6  |-  ( t  =  <. x ,  y
>.  ->  ( I `  ( 1st `  t ) )  =  ( I `
 x ) )
150146, 147op2ndd 6317 . . . . . . 7  |-  ( t  =  <. x ,  y
>.  ->  ( 2nd `  t
)  =  y )
151150fveq2d 5691 . . . . . 6  |-  ( t  =  <. x ,  y
>.  ->  ( J `  ( 2nd `  t ) )  =  ( J `
 y ) )
152149, 151opeq12d 3952 . . . . 5  |-  ( t  =  <. x ,  y
>.  ->  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >.  =  <. ( I `  x ) ,  ( J `  y ) >. )
153152mpt2mpt 6124 . . . 4  |-  ( t  e.  ( X  X.  Y )  |->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. )  =  (
x  e.  X , 
y  e.  Y  |->  <.
( I `  x
) ,  ( J `
 y ) >.
)
154153eqeq2i 2414 . . 3  |-  ( ( Id `  T )  =  ( t  e.  ( X  X.  Y
)  |->  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )  <->  ( Id `  T )  =  ( x  e.  X ,  y  e.  Y  |->  <. ( I `  x ) ,  ( J `  y )
>. ) )
155154anbi2i 676 . 2  |-  ( ( T  e.  Cat  /\  ( Id `  T )  =  ( t  e.  ( X  X.  Y
)  |->  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )
)  <->  ( T  e. 
Cat  /\  ( Id `  T )  =  ( x  e.  X , 
y  e.  Y  |->  <.
( I `  x
) ,  ( J `
 y ) >.
) ) )
156145, 155sylib 189 1  |-  ( ph  ->  ( T  e.  Cat  /\  ( Id `  T
)  =  ( x  e.  X ,  y  e.  Y  |->  <. (
I `  x ) ,  ( J `  y ) >. )
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721   _Vcvv 2916   <.cop 3777    e. cmpt 4226    X. cxp 4835   ` cfv 5413  (class class class)co 6040    e. cmpt2 6042   1stc1st 6306   2ndc2nd 6307   Basecbs 13424    Hom chom 13495  compcco 13496   Catccat 13844   Idccid 13845    X.c cxpc 14220
This theorem is referenced by:  xpcid  14241  xpccat  14242
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-rep 4280  ax-sep 4290  ax-nul 4298  ax-pow 4337  ax-pr 4363  ax-un 4660  ax-cnex 9002  ax-resscn 9003  ax-1cn 9004  ax-icn 9005  ax-addcl 9006  ax-addrcl 9007  ax-mulcl 9008  ax-mulrcl 9009  ax-mulcom 9010  ax-addass 9011  ax-mulass 9012  ax-distr 9013  ax-i2m1 9014  ax-1ne0 9015  ax-1rid 9016  ax-rnegex 9017  ax-rrecex 9018  ax-cnre 9019  ax-pre-lttri 9020  ax-pre-lttrn 9021  ax-pre-ltadd 9022  ax-pre-mulgt0 9023
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-nel 2570  df-ral 2671  df-rex 2672  df-reu 2673  df-rmo 2674  df-rab 2675  df-v 2918  df-sbc 3122  df-csb 3212  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-pss 3296  df-nul 3589  df-if 3700  df-pw 3761  df-sn 3780  df-pr 3781  df-tp 3782  df-op 3783  df-uni 3976  df-int 4011  df-iun 4055  df-br 4173  df-opab 4227  df-mpt 4228  df-tr 4263  df-eprel 4454  df-id 4458  df-po 4463  df-so 4464  df-fr 4501  df-we 4503  df-ord 4544  df-on 4545  df-lim 4546  df-suc 4547  df-om 4805  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fo 5419  df-f1o 5420  df-fv 5421  df-ov 6043  df-oprab 6044  df-mpt2 6045  df-1st 6308  df-2nd 6309  df-riota 6508  df-recs 6592  df-rdg 6627  df-1o 6683  df-oadd 6687  df-er 6864  df-en 7069  df-dom 7070  df-sdom 7071  df-fin 7072  df-pnf 9078  df-mnf 9079  df-xr 9080  df-ltxr 9081  df-le 9082  df-sub 9249  df-neg 9250  df-nn 9957  df-2 10014  df-3 10015  df-4 10016  df-5 10017  df-6 10018  df-7 10019  df-8 10020  df-9 10021  df-10 10022  df-n0 10178  df-z 10239  df-dec 10339  df-uz 10445  df-fz 11000  df-struct 13426  df-ndx 13427  df-slot 13428  df-base 13429  df-hom 13508  df-cco 13509  df-cat 13848  df-cid 13849  df-xpc 14224
  Copyright terms: Public domain W3C validator