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

Theorem xpccatid 15112
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 15102 . . . 4  |-  ( X  X.  Y )  =  ( Base `  T
)
54a1i 11 . . 3  |-  ( ph  ->  ( X  X.  Y
)  =  ( Base `  T ) )
6 eqidd 2453 . . 3  |-  ( ph  ->  ( Hom  `  T
)  =  ( Hom  `  T ) )
7 eqidd 2453 . . 3  |-  ( ph  ->  (comp `  T )  =  (comp `  T )
)
8 ovex 6220 . . . . 5  |-  ( C  X.c  D )  e.  _V
91, 8eqeltri 2536 . . . 4  |-  T  e. 
_V
109a1i 11 . . 3  |-  ( ph  ->  T  e.  _V )
11 biid 236 . . 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 2452 . . . . . 6  |-  ( Hom  `  C )  =  ( Hom  `  C )
13 xpccat.i . . . . . 6  |-  I  =  ( Id `  C
)
14 xpccat.c . . . . . . 7  |-  ( ph  ->  C  e.  Cat )
1514adantr 465 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  C  e.  Cat )
16 xp1st 6711 . . . . . . 7  |-  ( t  e.  ( X  X.  Y )  ->  ( 1st `  t )  e.  X )
1716adantl 466 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( 1st `  t )  e.  X )
182, 12, 13, 15, 17catidcl 14734 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  (
I `  ( 1st `  t ) )  e.  ( ( 1st `  t
) ( Hom  `  C
) ( 1st `  t
) ) )
19 eqid 2452 . . . . . 6  |-  ( Hom  `  D )  =  ( Hom  `  D )
20 xpccat.j . . . . . 6  |-  J  =  ( Id `  D
)
21 xpccat.d . . . . . . 7  |-  ( ph  ->  D  e.  Cat )
2221adantr 465 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  D  e.  Cat )
23 xp2nd 6712 . . . . . . 7  |-  ( t  e.  ( X  X.  Y )  ->  ( 2nd `  t )  e.  Y )
2423adantl 466 . . . . . 6  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( 2nd `  t )  e.  Y )
253, 19, 20, 22, 24catidcl 14734 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  ( J `  ( 2nd `  t ) )  e.  ( ( 2nd `  t
) ( Hom  `  D
) ( 2nd `  t
) ) )
26 opelxpi 4974 . . . . 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 661 . . . 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 2452 . . . . 5  |-  ( Hom  `  T )  =  ( Hom  `  T )
29 simpr 461 . . . . 5  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  t  e.  ( X  X.  Y
) )
301, 4, 12, 19, 28, 29, 29xpchom 15104 . . . 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 2543 . . 3  |-  ( (
ph  /\  t  e.  ( X  X.  Y
) )  ->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>.  e.  ( t ( Hom  `  T )
t ) )
32 fvex 5804 . . . . . . . 8  |-  ( I `
 ( 1st `  t
) )  e.  _V
33 fvex 5804 . . . . . . . 8  |-  ( J `
 ( 2nd `  t
) )  e.  _V
3432, 33op1st 6690 . . . . . . 7  |-  ( 1st `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )  =  ( I `  ( 1st `  t ) )
3534oveq1i 6205 . . . . . 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 465 . . . . . . 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 1045 . . . . . . . 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 6711 . . . . . . . 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 2452 . . . . . . 7  |-  (comp `  C )  =  (comp `  C )
41 simpr1r 1046 . . . . . . . 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 1078 . . . . . . . . 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 15104 . . . . . . . . 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 2542 . . . . . . . 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 6711 . . . . . . . 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 14735 . . . . . 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 2505 . . . . 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 6691 . . . . . . 7  |-  ( 2nd `  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >. )  =  ( J `  ( 2nd `  t ) )
5150oveq1i 6205 . . . . . 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 465 . . . . . . 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 6712 . . . . . . . 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 2452 . . . . . . 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 6712 . . . . . . . 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 14735 . . . . . 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 2505 . . . . 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 4170 . . . 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 2452 . . . . 5  |-  (comp `  T )  =  (comp `  T )
6341, 31syldan 470 . . . . 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 15107 . . . 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 6718 . . . . 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 2503 . . 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 6206 . . . . . 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 1047 . . . . . . . 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 6711 . . . . . . . 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 1079 . . . . . . . . 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 15104 . . . . . . . . 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 2542 . . . . . . . 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 6711 . . . . . . . 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 14736 . . . . . 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 2505 . . . . 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 6206 . . . . . 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 6712 . . . . . . . 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 6712 . . . . . . . 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 14736 . . . . . 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 2505 . . . . 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 4170 . . . 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 15107 . . . 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 6718 . . . . 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 2503 . . 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 14737 . . . . 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 14737 . . . . 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 4974 . . . . 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 661 . . . 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 15107 . . . 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 15104 . . . 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 2555 . . 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 1048 . . . . . . . 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 6711 . . . . . . . 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 1080 . . . . . . . . 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 15104 . . . . . . . . 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 2542 . . . . . . . 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 6711 . . . . . . . 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 14738 . . . . . 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 15107 . . . . . . . . 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 5798 . . . . . . . 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 6220 . . . . . . . . 9  |-  ( ( 1st `  h ) ( <. ( 1st `  t
) ,  ( 1st `  u ) >. (comp `  C ) ( 1st `  v ) ) ( 1st `  g ) )  e.  _V
110 ovex 6220 . . . . . . . . 9  |-  ( ( 2nd `  h ) ( <. ( 2nd `  t
) ,  ( 2nd `  u ) >. (comp `  D ) ( 2nd `  v ) ) ( 2nd `  g ) )  e.  _V
111109, 110op1st 6690 . . . . . . . 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 2509 . . . . . . 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 6210 . . . . . 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 5798 . . . . . . . 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 6220 . . . . . . . . 9  |-  ( ( 1st `  g ) ( <. ( 1st `  s
) ,  ( 1st `  t ) >. (comp `  C ) ( 1st `  u ) ) ( 1st `  f ) )  e.  _V
116 ovex 6220 . . . . . . . . 9  |-  ( ( 2nd `  g ) ( <. ( 2nd `  s
) ,  ( 2nd `  t ) >. (comp `  D ) ( 2nd `  u ) ) ( 2nd `  f ) )  e.  _V
117115, 116op1st 6690 . . . . . . . 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 2509 . . . . . . 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 6211 . . . . . 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 2503 . . . . 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 6712 . . . . . . . 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 6712 . . . . . . . 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 14738 . . . . . 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 5798 . . . . . . . 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 6691 . . . . . . . 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 2509 . . . . . . 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 6210 . . . . . 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 5798 . . . . . . . 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 6691 . . . . . . . 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 2509 . . . . . . 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 6211 . . . . . 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 2503 . . . . 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 4170 . . . 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 14737 . . . . . . 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 14737 . . . . . . 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 4974 . . . . . . 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 661 . . . . . 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 15104 . . . . . 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 2555 . . . . 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 15107 . . . 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 15107 . . . 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 2503 . . 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 14733 . 2  |-  ( ph  ->  ( T  e.  Cat  /\  ( Id `  T
)  =  ( t  e.  ( X  X.  Y )  |->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. ) ) )
146 vex 3075 . . . . . . . 8  |-  x  e. 
_V
147 vex 3075 . . . . . . . 8  |-  y  e. 
_V
148146, 147op1std 6692 . . . . . . 7  |-  ( t  =  <. x ,  y
>.  ->  ( 1st `  t
)  =  x )
149148fveq2d 5798 . . . . . 6  |-  ( t  =  <. x ,  y
>.  ->  ( I `  ( 1st `  t ) )  =  ( I `
 x ) )
150146, 147op2ndd 6693 . . . . . . 7  |-  ( t  =  <. x ,  y
>.  ->  ( 2nd `  t
)  =  y )
151150fveq2d 5798 . . . . . 6  |-  ( t  =  <. x ,  y
>.  ->  ( J `  ( 2nd `  t ) )  =  ( J `
 y ) )
152149, 151opeq12d 4170 . . . . 5  |-  ( t  =  <. x ,  y
>.  ->  <. ( I `  ( 1st `  t ) ) ,  ( J `
 ( 2nd `  t
) ) >.  =  <. ( I `  x ) ,  ( J `  y ) >. )
153152mpt2mpt 6287 . . . 4  |-  ( t  e.  ( X  X.  Y )  |->  <. (
I `  ( 1st `  t ) ) ,  ( J `  ( 2nd `  t ) )
>. )  =  (
x  e.  X , 
y  e.  Y  |->  <.
( I `  x
) ,  ( J `
 y ) >.
)
154153eqeq2i 2470 . . 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 694 . 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 196 1  |-  ( ph  ->  ( T  e.  Cat  /\  ( Id `  T
)  =  ( x  e.  X ,  y  e.  Y  |->  <. (
I `  x ) ,  ( J `  y ) >. )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    /\ w3a 965    = wceq 1370    e. wcel 1758   _Vcvv 3072   <.cop 3986    |-> cmpt 4453    X. cxp 4941   ` cfv 5521  (class class class)co 6195    |-> cmpt2 6197   1stc1st 6680   2ndc2nd 6681   Basecbs 14287   Hom chom 14363  compcco 14364   Catccat 14716   Idccid 14717    X.c cxpc 15092
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1954  ax-ext 2431  ax-rep 4506  ax-sep 4516  ax-nul 4524  ax-pow 4573  ax-pr 4634  ax-un 6477  ax-cnex 9444  ax-resscn 9445  ax-1cn 9446  ax-icn 9447  ax-addcl 9448  ax-addrcl 9449  ax-mulcl 9450  ax-mulrcl 9451  ax-mulcom 9452  ax-addass 9453  ax-mulass 9454  ax-distr 9455  ax-i2m1 9456  ax-1ne0 9457  ax-1rid 9458  ax-rnegex 9459  ax-rrecex 9460  ax-cnre 9461  ax-pre-lttri 9462  ax-pre-lttrn 9463  ax-pre-ltadd 9464  ax-pre-mulgt0 9465
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-fal 1376  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2265  df-mo 2266  df-clab 2438  df-cleq 2444  df-clel 2447  df-nfc 2602  df-ne 2647  df-nel 2648  df-ral 2801  df-rex 2802  df-reu 2803  df-rmo 2804  df-rab 2805  df-v 3074  df-sbc 3289  df-csb 3391  df-dif 3434  df-un 3436  df-in 3438  df-ss 3445  df-pss 3447  df-nul 3741  df-if 3895  df-pw 3965  df-sn 3981  df-pr 3983  df-tp 3985  df-op 3987  df-uni 4195  df-int 4232  df-iun 4276  df-br 4396  df-opab 4454  df-mpt 4455  df-tr 4489  df-eprel 4735  df-id 4739  df-po 4744  df-so 4745  df-fr 4782  df-we 4784  df-ord 4825  df-on 4826  df-lim 4827  df-suc 4828  df-xp 4949  df-rel 4950  df-cnv 4951  df-co 4952  df-dm 4953  df-rn 4954  df-res 4955  df-ima 4956  df-iota 5484  df-fun 5523  df-fn 5524  df-f 5525  df-f1 5526  df-fo 5527  df-f1o 5528  df-fv 5529  df-riota 6156  df-ov 6198  df-oprab 6199  df-mpt2 6200  df-om 6582  df-1st 6682  df-2nd 6683  df-recs 6937  df-rdg 6971  df-1o 7025  df-oadd 7029  df-er 7206  df-en 7416  df-dom 7417  df-sdom 7418  df-fin 7419  df-pnf 9526  df-mnf 9527  df-xr 9528  df-ltxr 9529  df-le 9530  df-sub 9703  df-neg 9704  df-nn 10429  df-2 10486  df-3 10487  df-4 10488  df-5 10489  df-6 10490  df-7 10491  df-8 10492  df-9 10493  df-10 10494  df-n0 10686  df-z 10753  df-dec 10862  df-uz 10968  df-fz 11550  df-struct 14289  df-ndx 14290  df-slot 14291  df-base 14292  df-hom 14376  df-cco 14377  df-cat 14720  df-cid 14721  df-xpc 15096
This theorem is referenced by:  xpcid  15113  xpccat  15114
  Copyright terms: Public domain W3C validator