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

Theorem xpcval 15091
Description: Value of the binary product of categories. (Contributed by Mario Carneiro, 10-Jan-2017.)
Hypotheses
Ref Expression
xpcval.t  |-  T  =  ( C  X.c  D )
xpcval.x  |-  X  =  ( Base `  C
)
xpcval.y  |-  Y  =  ( Base `  D
)
xpcval.h  |-  H  =  ( Hom  `  C
)
xpcval.j  |-  J  =  ( Hom  `  D
)
xpcval.o1  |-  .x.  =  (comp `  C )
xpcval.o2  |-  .xb  =  (comp `  D )
xpcval.c  |-  ( ph  ->  C  e.  V )
xpcval.d  |-  ( ph  ->  D  e.  W )
xpcval.b  |-  ( ph  ->  B  =  ( X  X.  Y ) )
xpcval.k  |-  ( ph  ->  K  =  ( u  e.  B ,  v  e.  B  |->  ( ( ( 1st `  u
) H ( 1st `  v ) )  X.  ( ( 2nd `  u
) J ( 2nd `  v ) ) ) ) )
xpcval.o  |-  ( ph  ->  O  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x ) K y ) ,  f  e.  ( K `  x
)  |->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) )
Assertion
Ref Expression
xpcval  |-  ( ph  ->  T  =  { <. (
Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. } )
Distinct variable groups:    f, g, u, v, x, y, B    ph, f, g, u, v, x, y    C, f, g, u, v, x, y    D, f, g, u, v, x, y    f, K, g, x, y
Allowed substitution hints:    .xb ( x, y, v, u, f, g)    T( x, y, v, u, f, g)    .x. ( x, y, v, u, f, g)    H( x, y, v, u, f, g)    J( x, y, v, u, f, g)    K( v, u)    O( x, y, v, u, f, g)    V( x, y, v, u, f, g)    W( x, y, v, u, f, g)    X( x, y, v, u, f, g)    Y( x, y, v, u, f, g)

Proof of Theorem xpcval
Dummy variables  b  h  r  s are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpcval.t . 2  |-  T  =  ( C  X.c  D )
2 df-xpc 15086 . . . 4  |-  X.c  =  ( r  e.  _V , 
s  e.  _V  |->  [_ ( ( Base `  r
)  X.  ( Base `  s ) )  / 
b ]_ [_ ( u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  /  h ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( Hom  `  ndx ) ,  h >. , 
<. (comp `  ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b 
|->  ( g  e.  ( ( 2nd `  x
) h y ) ,  f  e.  ( h `  x ) 
|->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>. (comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >. } )
32a1i 11 . . 3  |-  ( ph  ->  X.c  =  ( r  e. 
_V ,  s  e. 
_V  |->  [_ ( ( Base `  r )  X.  ( Base `  s ) )  /  b ]_ [_ (
u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  /  h ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( Hom  `  ndx ) ,  h >. , 
<. (comp `  ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b 
|->  ( g  e.  ( ( 2nd `  x
) h y ) ,  f  e.  ( h `  x ) 
|->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>. (comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >. } ) )
4 fvex 5801 . . . . . 6  |-  ( Base `  r )  e.  _V
5 fvex 5801 . . . . . 6  |-  ( Base `  s )  e.  _V
64, 5xpex 6610 . . . . 5  |-  ( (
Base `  r )  X.  ( Base `  s
) )  e.  _V
76a1i 11 . . . 4  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( ( Base `  r
)  X.  ( Base `  s ) )  e. 
_V )
8 simprl 755 . . . . . . . 8  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
r  =  C )
98fveq2d 5795 . . . . . . 7  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  r )  =  ( Base `  C
) )
10 xpcval.x . . . . . . 7  |-  X  =  ( Base `  C
)
119, 10syl6eqr 2510 . . . . . 6  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  r )  =  X )
12 simprr 756 . . . . . . . 8  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
s  =  D )
1312fveq2d 5795 . . . . . . 7  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  s )  =  ( Base `  D
) )
14 xpcval.y . . . . . . 7  |-  Y  =  ( Base `  D
)
1513, 14syl6eqr 2510 . . . . . 6  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  s )  =  Y )
1611, 15xpeq12d 4965 . . . . 5  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( ( Base `  r
)  X.  ( Base `  s ) )  =  ( X  X.  Y
) )
17 xpcval.b . . . . . 6  |-  ( ph  ->  B  =  ( X  X.  Y ) )
1817adantr 465 . . . . 5  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  ->  B  =  ( X  X.  Y ) )
1916, 18eqtr4d 2495 . . . 4  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( ( Base `  r
)  X.  ( Base `  s ) )  =  B )
20 vex 3073 . . . . . . 7  |-  b  e. 
_V
2120, 20mpt2ex 6752 . . . . . 6  |-  ( u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  e.  _V
2221a1i 11 . . . . 5  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  e.  _V )
23 simpr 461 . . . . . . 7  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  b  =  B )
24 simplrl 759 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  r  =  C )
2524fveq2d 5795 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  r )  =  ( Hom  `  C
) )
26 xpcval.h . . . . . . . . . 10  |-  H  =  ( Hom  `  C
)
2725, 26syl6eqr 2510 . . . . . . . . 9  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  r )  =  H )
2827oveqd 6209 . . . . . . . 8  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  =  ( ( 1st `  u
) H ( 1st `  v ) ) )
29 simplrr 760 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  s  =  D )
3029fveq2d 5795 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  s )  =  ( Hom  `  D
) )
31 xpcval.j . . . . . . . . . 10  |-  J  =  ( Hom  `  D
)
3230, 31syl6eqr 2510 . . . . . . . . 9  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  s )  =  J )
3332oveqd 6209 . . . . . . . 8  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) )  =  ( ( 2nd `  u
) J ( 2nd `  v ) ) )
3428, 33xpeq12d 4965 . . . . . . 7  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) )  =  ( ( ( 1st `  u ) H ( 1st `  v ) )  X.  ( ( 2nd `  u ) J ( 2nd `  v
) ) ) )
3523, 23, 34mpt2eq123dv 6249 . . . . . 6  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  =  ( u  e.  B ,  v  e.  B  |->  ( ( ( 1st `  u ) H ( 1st `  v
) )  X.  (
( 2nd `  u
) J ( 2nd `  v ) ) ) ) )
36 xpcval.k . . . . . . 7  |-  ( ph  ->  K  =  ( u  e.  B ,  v  e.  B  |->  ( ( ( 1st `  u
) H ( 1st `  v ) )  X.  ( ( 2nd `  u
) J ( 2nd `  v ) ) ) ) )
3736ad2antrr 725 . . . . . 6  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  K  =  ( u  e.  B ,  v  e.  B  |->  ( ( ( 1st `  u ) H ( 1st `  v
) )  X.  (
( 2nd `  u
) J ( 2nd `  v ) ) ) ) )
3835, 37eqtr4d 2495 . . . . 5  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  =  K )
39 simplr 754 . . . . . . 7  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  b  =  B )
4039opeq2d 4166 . . . . . 6  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. ( Base `  ndx ) ,  b >.  =  <. (
Base `  ndx ) ,  B >. )
41 simpr 461 . . . . . . 7  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  h  =  K )
4241opeq2d 4166 . . . . . 6  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. ( Hom  `  ndx ) ,  h >.  =  <. ( Hom  `  ndx ) ,  K >. )
4339, 39xpeq12d 4965 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
b  X.  b )  =  ( B  X.  B ) )
4441oveqd 6209 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
( 2nd `  x
) h y )  =  ( ( 2nd `  x ) K y ) )
4541fveq1d 5793 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
h `  x )  =  ( K `  x ) )
4624adantr 465 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  r  =  C )
4746fveq2d 5795 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  r )  =  (comp `  C ) )
48 xpcval.o1 . . . . . . . . . . . . . 14  |-  .x.  =  (comp `  C )
4947, 48syl6eqr 2510 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  r )  =  .x.  )
5049oveqd 6209 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  ( <. ( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>. (comp `  r )
( 1st `  y
) )  =  (
<. ( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) )
5150oveqd 6209 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) )  =  ( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) )
5229adantr 465 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  s  =  D )
5352fveq2d 5795 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  s )  =  (comp `  D ) )
54 xpcval.o2 . . . . . . . . . . . . . 14  |-  .xb  =  (comp `  D )
5553, 54syl6eqr 2510 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  s )  =  .xb  )
5655oveqd 6209 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  ( <. ( 2nd `  ( 1st `  x ) ) ,  ( 2nd `  ( 2nd `  x ) )
>. (comp `  s )
( 2nd `  y
) )  =  (
<. ( 2nd `  ( 1st `  x ) ) ,  ( 2nd `  ( 2nd `  x ) )
>.  .xb  ( 2nd `  y
) ) )
5756oveqd 6209 . . . . . . . . . . 11  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) )  =  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) )
5851, 57opeq12d 4167 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. (
( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.  =  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
)
5944, 45, 58mpt2eq123dv 6249 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
g  e.  ( ( 2nd `  x ) h y ) ,  f  e.  ( h `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
)  =  ( g  e.  ( ( 2nd `  x ) K y ) ,  f  e.  ( K `  x
)  |->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
) )
6043, 39, 59mpt2eq123dv 6249 . . . . . . . 8  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
x  e.  ( b  X.  b ) ,  y  e.  b  |->  ( g  e.  ( ( 2nd `  x ) h y ) ,  f  e.  ( h `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) )  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x ) K y ) ,  f  e.  ( K `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) )
61 xpcval.o . . . . . . . . 9  |-  ( ph  ->  O  =  ( x  e.  ( B  X.  B ) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x ) K y ) ,  f  e.  ( K `  x
)  |->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) )
6261ad3antrrr 729 . . . . . . . 8  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  O  =  ( x  e.  ( B  X.  B
) ,  y  e.  B  |->  ( g  e.  ( ( 2nd `  x
) K y ) ,  f  e.  ( K `  x ) 
|->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>.  .x.  ( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.  .xb  ( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) )
6360, 62eqtr4d 2495 . . . . . . 7  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
x  e.  ( b  X.  b ) ,  y  e.  b  |->  ( g  e.  ( ( 2nd `  x ) h y ) ,  f  e.  ( h `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) )  =  O )
6463opeq2d 4166 . . . . . 6  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. (comp ` 
ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b  |->  ( g  e.  ( ( 2nd `  x ) h y ) ,  f  e.  ( h `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >.  =  <. (comp `  ndx ) ,  O >. )
6540, 42, 64tpeq123d 4069 . . . . 5  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  { <. (
Base `  ndx ) ,  b >. ,  <. ( Hom  `  ndx ) ,  h >. ,  <. (comp ` 
ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b  |->  ( g  e.  ( ( 2nd `  x ) h y ) ,  f  e.  ( h `
 x )  |->  <.
( ( 1st `  g
) ( <. ( 1st `  ( 1st `  x
) ) ,  ( 1st `  ( 2nd `  x ) ) >.
(comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >. }  =  { <. ( Base `  ndx ) ,  B >. , 
<. ( Hom  `  ndx ) ,  K >. , 
<. (comp `  ndx ) ,  O >. } )
6622, 38, 65csbied2 3415 . . . 4  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  [_ (
u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  /  h ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( Hom  `  ndx ) ,  h >. , 
<. (comp `  ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b 
|->  ( g  e.  ( ( 2nd `  x
) h y ) ,  f  e.  ( h `  x ) 
|->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>. (comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >. }  =  { <. ( Base `  ndx ) ,  B >. , 
<. ( Hom  `  ndx ) ,  K >. , 
<. (comp `  ndx ) ,  O >. } )
677, 19, 66csbied2 3415 . . 3  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  ->  [_ ( ( Base `  r
)  X.  ( Base `  s ) )  / 
b ]_ [_ ( u  e.  b ,  v  e.  b  |->  ( ( ( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  X.  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) ) ) )  /  h ]_ { <. ( Base `  ndx ) ,  b >. , 
<. ( Hom  `  ndx ) ,  h >. , 
<. (comp `  ndx ) ,  ( x  e.  ( b  X.  b ) ,  y  e.  b 
|->  ( g  e.  ( ( 2nd `  x
) h y ) ,  f  e.  ( h `  x ) 
|->  <. ( ( 1st `  g ) ( <.
( 1st `  ( 1st `  x ) ) ,  ( 1st `  ( 2nd `  x ) )
>. (comp `  r )
( 1st `  y
) ) ( 1st `  f ) ) ,  ( ( 2nd `  g
) ( <. ( 2nd `  ( 1st `  x
) ) ,  ( 2nd `  ( 2nd `  x ) ) >.
(comp `  s )
( 2nd `  y
) ) ( 2nd `  f ) ) >.
) ) >. }  =  { <. ( Base `  ndx ) ,  B >. , 
<. ( Hom  `  ndx ) ,  K >. , 
<. (comp `  ndx ) ,  O >. } )
68 xpcval.c . . . 4  |-  ( ph  ->  C  e.  V )
69 elex 3079 . . . 4  |-  ( C  e.  V  ->  C  e.  _V )
7068, 69syl 16 . . 3  |-  ( ph  ->  C  e.  _V )
71 xpcval.d . . . 4  |-  ( ph  ->  D  e.  W )
72 elex 3079 . . . 4  |-  ( D  e.  W  ->  D  e.  _V )
7371, 72syl 16 . . 3  |-  ( ph  ->  D  e.  _V )
74 tpex 6481 . . . 4  |-  { <. (
Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. }  e.  _V
7574a1i 11 . . 3  |-  ( ph  ->  { <. ( Base `  ndx ) ,  B >. , 
<. ( Hom  `  ndx ) ,  K >. , 
<. (comp `  ndx ) ,  O >. }  e.  _V )
763, 67, 70, 73, 75ovmpt2d 6320 . 2  |-  ( ph  ->  ( C  X.c  D )  =  { <. ( Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. } )
771, 76syl5eq 2504 1  |-  ( ph  ->  T  =  { <. (
Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. } )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1370    e. wcel 1758   _Vcvv 3070   [_csb 3388   {ctp 3981   <.cop 3983    X. cxp 4938   ` cfv 5518  (class class class)co 6192    |-> cmpt2 6194   1stc1st 6677   2ndc2nd 6678   ndxcnx 14275   Basecbs 14278   Hom chom 14353  compcco 14354    X.c cxpc 15082
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 1952  ax-ext 2430  ax-rep 4503  ax-sep 4513  ax-nul 4521  ax-pow 4570  ax-pr 4631  ax-un 6474
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-ral 2800  df-rex 2801  df-reu 2802  df-rab 2804  df-v 3072  df-sbc 3287  df-csb 3389  df-dif 3431  df-un 3433  df-in 3435  df-ss 3442  df-nul 3738  df-if 3892  df-pw 3962  df-sn 3978  df-pr 3980  df-tp 3982  df-op 3984  df-uni 4192  df-iun 4273  df-br 4393  df-opab 4451  df-mpt 4452  df-id 4736  df-xp 4946  df-rel 4947  df-cnv 4948  df-co 4949  df-dm 4950  df-rn 4951  df-res 4952  df-ima 4953  df-iota 5481  df-fun 5520  df-fn 5521  df-f 5522  df-f1 5523  df-fo 5524  df-f1o 5525  df-fv 5526  df-ov 6195  df-oprab 6196  df-mpt2 6197  df-1st 6679  df-2nd 6680  df-xpc 15086
This theorem is referenced by:  xpcbas  15092  xpchomfval  15093  xpccofval  15096  catcxpccl  15121  xpcpropd  15122
  Copyright terms: Public domain W3C validator