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

Theorem xpcval 16073
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 16068 . . . 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 5858 . . . . . 6  |-  ( Base `  r )  e.  _V
5 fvex 5858 . . . . . 6  |-  ( Base `  s )  e.  _V
64, 5xpex 6583 . . . . 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 769 . . . . . . . 8  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
r  =  C )
98fveq2d 5852 . . . . . . 7  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  r )  =  ( Base `  C
) )
10 xpcval.x . . . . . . 7  |-  X  =  ( Base `  C
)
119, 10syl6eqr 2504 . . . . . 6  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  r )  =  X )
12 simprr 771 . . . . . . . 8  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
s  =  D )
1312fveq2d 5852 . . . . . . 7  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  s )  =  ( Base `  D
) )
14 xpcval.y . . . . . . 7  |-  Y  =  ( Base `  D
)
1513, 14syl6eqr 2504 . . . . . 6  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( Base `  s )  =  Y )
1611, 15xpeq12d 4837 . . . . 5  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( ( Base `  r
)  X.  ( Base `  s ) )  =  ( X  X.  Y
) )
17 xpcval.b . . . . . 6  |-  ( ph  ->  B  =  ( X  X.  Y ) )
1817adantr 471 . . . . 5  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  ->  B  =  ( X  X.  Y ) )
1916, 18eqtr4d 2489 . . . 4  |-  ( (
ph  /\  ( r  =  C  /\  s  =  D ) )  -> 
( ( Base `  r
)  X.  ( Base `  s ) )  =  B )
20 vex 3016 . . . . . . 7  |-  b  e. 
_V
2120, 20mpt2ex 6858 . . . . . 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 467 . . . . . . 7  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  b  =  B )
24 simplrl 775 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  r  =  C )
2524fveq2d 5852 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  r )  =  ( Hom  `  C
) )
26 xpcval.h . . . . . . . . . 10  |-  H  =  ( Hom  `  C
)
2725, 26syl6eqr 2504 . . . . . . . . 9  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  r )  =  H )
2827oveqd 6293 . . . . . . . 8  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
( 1st `  u
) ( Hom  `  r
) ( 1st `  v
) )  =  ( ( 1st `  u
) H ( 1st `  v ) ) )
29 simplrr 776 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  s  =  D )
3029fveq2d 5852 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  s )  =  ( Hom  `  D
) )
31 xpcval.j . . . . . . . . . 10  |-  J  =  ( Hom  `  D
)
3230, 31syl6eqr 2504 . . . . . . . . 9  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  ( Hom  `  s )  =  J )
3332oveqd 6293 . . . . . . . 8  |-  ( ( ( ph  /\  (
r  =  C  /\  s  =  D )
)  /\  b  =  B )  ->  (
( 2nd `  u
) ( Hom  `  s
) ( 2nd `  v
) )  =  ( ( 2nd `  u
) J ( 2nd `  v ) ) )
3428, 33xpeq12d 4837 . . . . . . 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 6341 . . . . . 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 737 . . . . . 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 2489 . . . . 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 767 . . . . . . 7  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  b  =  B )
4039opeq2d 4143 . . . . . 6  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. ( Base `  ndx ) ,  b >.  =  <. (
Base `  ndx ) ,  B >. )
41 simpr 467 . . . . . . 7  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  h  =  K )
4241opeq2d 4143 . . . . . 6  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  <. ( Hom  `  ndx ) ,  h >.  =  <. ( Hom  `  ndx ) ,  K >. )
4339, 39xpeq12d 4837 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
b  X.  b )  =  ( B  X.  B ) )
4441oveqd 6293 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
( 2nd `  x
) h y )  =  ( ( 2nd `  x ) K y ) )
4541fveq1d 5850 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (
h `  x )  =  ( K `  x ) )
4624adantr 471 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  r  =  C )
4746fveq2d 5852 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  r )  =  (comp `  C ) )
48 xpcval.o1 . . . . . . . . . . . . . 14  |-  .x.  =  (comp `  C )
4947, 48syl6eqr 2504 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  r )  =  .x.  )
5049oveqd 6293 . . . . . . . . . . . 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 6293 . . . . . . . . . . 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 471 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  s  =  D )
5352fveq2d 5852 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  s )  =  (comp `  D ) )
54 xpcval.o2 . . . . . . . . . . . . . 14  |-  .xb  =  (comp `  D )
5553, 54syl6eqr 2504 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( r  =  C  /\  s  =  D ) )  /\  b  =  B )  /\  h  =  K )  ->  (comp `  s )  =  .xb  )
5655oveqd 6293 . . . . . . . . . . . 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 6293 . . . . . . . . . . 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 4144 . . . . . . . . . 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 6341 . . . . . . . . 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 6341 . . . . . . . 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 741 . . . . . . . 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 2489 . . . . . . 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 4143 . . . . . 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 4035 . . . . 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 3359 . . . 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 3359 . . 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 3022 . . . 4  |-  ( C  e.  V  ->  C  e.  _V )
7068, 69syl 17 . . 3  |-  ( ph  ->  C  e.  _V )
71 xpcval.d . . . 4  |-  ( ph  ->  D  e.  W )
72 elex 3022 . . . 4  |-  ( D  e.  W  ->  D  e.  _V )
7371, 72syl 17 . . 3  |-  ( ph  ->  D  e.  _V )
74 tpex 6578 . . . 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 6412 . 2  |-  ( ph  ->  ( C  X.c  D )  =  { <. ( Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. } )
771, 76syl5eq 2498 1  |-  ( ph  ->  T  =  { <. (
Base `  ndx ) ,  B >. ,  <. ( Hom  `  ndx ) ,  K >. ,  <. (comp ` 
ndx ) ,  O >. } )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 375    = wceq 1448    e. wcel 1891   _Vcvv 3013   [_csb 3331   {ctp 3940   <.cop 3942    X. cxp 4810   ` cfv 5561  (class class class)co 6276    |-> cmpt2 6278   1stc1st 6779   2ndc2nd 6780   ndxcnx 15129   Basecbs 15132   Hom chom 15212  compcco 15213    X.c cxpc 16064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1673  ax-4 1686  ax-5 1762  ax-6 1809  ax-7 1855  ax-8 1893  ax-9 1900  ax-10 1919  ax-11 1924  ax-12 1937  ax-13 2092  ax-ext 2432  ax-rep 4487  ax-sep 4497  ax-nul 4506  ax-pow 4554  ax-pr 4612  ax-un 6571
This theorem depends on definitions:  df-bi 190  df-or 376  df-an 377  df-3an 988  df-tru 1451  df-ex 1668  df-nf 1672  df-sb 1802  df-eu 2304  df-mo 2305  df-clab 2439  df-cleq 2445  df-clel 2448  df-nfc 2582  df-ne 2624  df-ral 2742  df-rex 2743  df-reu 2744  df-rab 2746  df-v 3015  df-sbc 3236  df-csb 3332  df-dif 3375  df-un 3377  df-in 3379  df-ss 3386  df-nul 3700  df-if 3850  df-pw 3921  df-sn 3937  df-pr 3939  df-tp 3941  df-op 3943  df-uni 4169  df-iun 4250  df-br 4375  df-opab 4434  df-mpt 4435  df-id 4727  df-xp 4818  df-rel 4819  df-cnv 4820  df-co 4821  df-dm 4822  df-rn 4823  df-res 4824  df-ima 4825  df-iota 5525  df-fun 5563  df-fn 5564  df-f 5565  df-f1 5566  df-fo 5567  df-f1o 5568  df-fv 5569  df-ov 6279  df-oprab 6280  df-mpt2 6281  df-1st 6781  df-2nd 6782  df-xpc 16068
This theorem is referenced by:  xpcbas  16074  xpchomfval  16075  xpccofval  16078  catcxpccl  16103  xpcpropd  16104
  Copyright terms: Public domain W3C validator