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

Theorem natpropd 14173
Description: If two categories have the same set of objects, morphisms, and compositions, then they have the same natural transformations. (Contributed by Mario Carneiro, 26-Jan-2017.)
Hypotheses
Ref Expression
fucpropd.1  |-  ( ph  ->  (  Homf 
`  A )  =  (  Homf 
`  B ) )
fucpropd.2  |-  ( ph  ->  (compf `  A )  =  (compf `  B ) )
fucpropd.3  |-  ( ph  ->  (  Homf 
`  C )  =  (  Homf 
`  D ) )
fucpropd.4  |-  ( ph  ->  (compf `  C )  =  (compf `  D ) )
fucpropd.a  |-  ( ph  ->  A  e.  Cat )
fucpropd.b  |-  ( ph  ->  B  e.  Cat )
fucpropd.c  |-  ( ph  ->  C  e.  Cat )
fucpropd.d  |-  ( ph  ->  D  e.  Cat )
Assertion
Ref Expression
natpropd  |-  ( ph  ->  ( A Nat  C )  =  ( B Nat  D
) )

Proof of Theorem natpropd
Dummy variables  a 
f  g  h  r  s  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fucpropd.1 . . . 4  |-  ( ph  ->  (  Homf 
`  A )  =  (  Homf 
`  B ) )
2 fucpropd.2 . . . 4  |-  ( ph  ->  (compf `  A )  =  (compf `  B ) )
3 fucpropd.3 . . . 4  |-  ( ph  ->  (  Homf 
`  C )  =  (  Homf 
`  D ) )
4 fucpropd.4 . . . 4  |-  ( ph  ->  (compf `  C )  =  (compf `  D ) )
5 fucpropd.a . . . 4  |-  ( ph  ->  A  e.  Cat )
6 fucpropd.b . . . 4  |-  ( ph  ->  B  e.  Cat )
7 fucpropd.c . . . 4  |-  ( ph  ->  C  e.  Cat )
8 fucpropd.d . . . 4  |-  ( ph  ->  D  e.  Cat )
91, 2, 3, 4, 5, 6, 7, 8funcpropd 14097 . . 3  |-  ( ph  ->  ( A  Func  C
)  =  ( B 
Func  D ) )
109adantr 452 . . 3  |-  ( (
ph  /\  f  e.  ( A  Func  C ) )  ->  ( A  Func  C )  =  ( B  Func  D )
)
11 nfv 1629 . . . 4  |-  F/ r ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )
12 nfcsb1v 3283 . . . . 5  |-  F/_ r [_ ( 1st `  f
)  /  r ]_ [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }
1312a1i 11 . . . 4  |-  ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  ->  F/_ r [_ ( 1st `  f
)  /  r ]_ [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
14 fvex 5742 . . . . 5  |-  ( 1st `  f )  e.  _V
1514a1i 11 . . . 4  |-  ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  ->  ( 1st `  f )  e. 
_V )
16 nfv 1629 . . . . . 6  |-  F/ s ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )
17 nfcsb1v 3283 . . . . . . 7  |-  F/_ s [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }
1817a1i 11 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  ->  F/_ s [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
19 fvex 5742 . . . . . . 7  |-  ( 1st `  g )  e.  _V
2019a1i 11 . . . . . 6  |-  ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  -> 
( 1st `  g
)  e.  _V )
21 eqid 2436 . . . . . . . . . . 11  |-  ( Base `  C )  =  (
Base `  C )
22 eqid 2436 . . . . . . . . . . 11  |-  (  Hom  `  C )  =  (  Hom  `  C )
23 eqid 2436 . . . . . . . . . . 11  |-  (  Hom  `  D )  =  (  Hom  `  D )
243ad4antr 713 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  x  e.  ( Base `  A
) )  ->  (  Homf  `  C )  =  (  Homf 
`  D ) )
25 eqid 2436 . . . . . . . . . . . . 13  |-  ( Base `  A )  =  (
Base `  A )
26 simplr 732 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  r  =  ( 1st `  f
) )
27 relfunc 14059 . . . . . . . . . . . . . . 15  |-  Rel  ( A  Func  C )
28 simpllr 736 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )
2928simpld 446 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  f  e.  ( A  Func  C
) )
30 1st2ndbr 6396 . . . . . . . . . . . . . . 15  |-  ( ( Rel  ( A  Func  C )  /\  f  e.  ( A  Func  C
) )  ->  ( 1st `  f ) ( A  Func  C )
( 2nd `  f
) )
3127, 29, 30sylancr 645 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  ( 1st `  f ) ( A  Func  C )
( 2nd `  f
) )
3226, 31eqbrtrd 4232 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  r
( A  Func  C
) ( 2nd `  f
) )
3325, 21, 32funcf1 14063 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  r : ( Base `  A
) --> ( Base `  C
) )
3433ffvelrnda 5870 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  x  e.  ( Base `  A
) )  ->  (
r `  x )  e.  ( Base `  C
) )
35 simpr 448 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  s  =  ( 1st `  g
) )
3628simprd 450 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  g  e.  ( A  Func  C
) )
37 1st2ndbr 6396 . . . . . . . . . . . . . . 15  |-  ( ( Rel  ( A  Func  C )  /\  g  e.  ( A  Func  C
) )  ->  ( 1st `  g ) ( A  Func  C )
( 2nd `  g
) )
3827, 36, 37sylancr 645 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  ( 1st `  g ) ( A  Func  C )
( 2nd `  g
) )
3935, 38eqbrtrd 4232 . . . . . . . . . . . . 13  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  s
( A  Func  C
) ( 2nd `  g
) )
4025, 21, 39funcf1 14063 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  s : ( Base `  A
) --> ( Base `  C
) )
4140ffvelrnda 5870 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  x  e.  ( Base `  A
) )  ->  (
s `  x )  e.  ( Base `  C
) )
4221, 22, 23, 24, 34, 41homfeqval 13923 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  x  e.  ( Base `  A
) )  ->  (
( r `  x
) (  Hom  `  C
) ( s `  x ) )  =  ( ( r `  x ) (  Hom  `  D ) ( s `
 x ) ) )
4342ixpeq2dva 7077 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  X_ x  e.  ( Base `  A
) ( ( r `
 x ) (  Hom  `  C )
( s `  x
) )  =  X_ x  e.  ( Base `  A ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) ) )
441homfeqbas 13922 . . . . . . . . . . 11  |-  ( ph  ->  ( Base `  A
)  =  ( Base `  B ) )
4544ad3antrrr 711 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  ( Base `  A )  =  ( Base `  B
) )
4645ixpeq1d 7074 . . . . . . . . 9  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  X_ x  e.  ( Base `  A
) ( ( r `
 x ) (  Hom  `  D )
( s `  x
) )  =  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) ) )
4743, 46eqtrd 2468 . . . . . . . 8  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  X_ x  e.  ( Base `  A
) ( ( r `
 x ) (  Hom  `  C )
( s `  x
) )  =  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) ) )
48 fveq2 5728 . . . . . . . . . . . 12  |-  ( x  =  z  ->  (
r `  x )  =  ( r `  z ) )
49 fveq2 5728 . . . . . . . . . . . 12  |-  ( x  =  z  ->  (
s `  x )  =  ( s `  z ) )
5048, 49oveq12d 6099 . . . . . . . . . . 11  |-  ( x  =  z  ->  (
( r `  x
) (  Hom  `  C
) ( s `  x ) )  =  ( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )
5150cbvixpv 7080 . . . . . . . . . 10  |-  X_ x  e.  ( Base `  A
) ( ( r `
 x ) (  Hom  `  C )
( s `  x
) )  =  X_ z  e.  ( Base `  A ) ( ( r `  z ) (  Hom  `  C
) ( s `  z ) )
5251eleq2i 2500 . . . . . . . . 9  |-  ( a  e.  X_ x  e.  (
Base `  A )
( ( r `  x ) (  Hom  `  C ) ( s `
 x ) )  <-> 
a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )
5345adantr 452 . . . . . . . . . 10  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  ->  ( Base `  A )  =  (
Base `  B )
)
5453adantr 452 . . . . . . . . . . 11  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  ( Base `  A )  =  ( Base `  B
) )
55 eqid 2436 . . . . . . . . . . . . 13  |-  (  Hom  `  A )  =  (  Hom  `  A )
56 eqid 2436 . . . . . . . . . . . . 13  |-  (  Hom  `  B )  =  (  Hom  `  B )
571ad6antr 717 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
(  Homf 
`  A )  =  (  Homf 
`  B ) )
58 simplr 732 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  ->  x  e.  ( Base `  A ) )
59 simpr 448 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
y  e.  ( Base `  A ) )
6025, 55, 56, 57, 58, 59homfeqval 13923 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( x (  Hom  `  A ) y )  =  ( x (  Hom  `  B )
y ) )
61 eqid 2436 . . . . . . . . . . . . . 14  |-  (comp `  C )  =  (comp `  C )
62 eqid 2436 . . . . . . . . . . . . . 14  |-  (comp `  D )  =  (comp `  D )
633ad7antr 719 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  (  Homf  `  C
)  =  (  Homf  `  D ) )
644ad7antr 719 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  (compf `  C )  =  (compf `  D ) )
6534adantlr 696 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  (
r `  x )  e.  ( Base `  C
) )
6665ad2antrr 707 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( r `  x )  e.  (
Base `  C )
)
6733ad2antrr 707 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  r : ( Base `  A
) --> ( Base `  C
) )
6867ffvelrnda 5870 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( r `  y
)  e.  ( Base `  C ) )
6968adantr 452 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( r `  y )  e.  (
Base `  C )
)
7040ad2antrr 707 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  s : ( Base `  A
) --> ( Base `  C
) )
7170ffvelrnda 5870 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( s `  y
)  e.  ( Base `  C ) )
7271adantr 452 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( s `  y )  e.  (
Base `  C )
)
7332ad3antrrr 711 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
r ( A  Func  C ) ( 2nd `  f
) )
7425, 55, 22, 73, 58, 59funcf2 14065 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( x ( 2nd `  f ) y ) : ( x (  Hom  `  A )
y ) --> ( ( r `  x ) (  Hom  `  C
) ( r `  y ) ) )
7574ffvelrnda 5870 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( (
x ( 2nd `  f
) y ) `  h )  e.  ( ( r `  x
) (  Hom  `  C
) ( r `  y ) ) )
76 simplr 732 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )
77 fveq2 5728 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  y  ->  (
r `  z )  =  ( r `  y ) )
78 fveq2 5728 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  y  ->  (
s `  z )  =  ( s `  y ) )
7977, 78oveq12d 6099 . . . . . . . . . . . . . . . . 17  |-  ( z  =  y  ->  (
( r `  z
) (  Hom  `  C
) ( s `  z ) )  =  ( ( r `  y ) (  Hom  `  C ) ( s `
 y ) ) )
8079fvixp 7067 . . . . . . . . . . . . . . . 16  |-  ( ( a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) )  /\  y  e.  ( Base `  A
) )  ->  (
a `  y )  e.  ( ( r `  y ) (  Hom  `  C ) ( s `
 y ) ) )
8176, 80sylan 458 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( a `  y
)  e.  ( ( r `  y ) (  Hom  `  C
) ( s `  y ) ) )
8281adantr 452 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( a `  y )  e.  ( ( r `  y
) (  Hom  `  C
) ( s `  y ) ) )
8321, 22, 61, 62, 63, 64, 66, 69, 72, 75, 82comfeqval 13934 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( (
a `  y )
( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) ) )
8441adantlr 696 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  (
s `  x )  e.  ( Base `  C
) )
8584ad2antrr 707 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( s `  x )  e.  (
Base `  C )
)
86 fveq2 5728 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  x  ->  (
r `  z )  =  ( r `  x ) )
87 fveq2 5728 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  x  ->  (
s `  z )  =  ( s `  x ) )
8886, 87oveq12d 6099 . . . . . . . . . . . . . . . . 17  |-  ( z  =  x  ->  (
( r `  z
) (  Hom  `  C
) ( s `  z ) )  =  ( ( r `  x ) (  Hom  `  C ) ( s `
 x ) ) )
8988fvixp 7067 . . . . . . . . . . . . . . . 16  |-  ( ( a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) )  /\  x  e.  ( Base `  A
) )  ->  (
a `  x )  e.  ( ( r `  x ) (  Hom  `  C ) ( s `
 x ) ) )
9089adantll 695 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  (
a `  x )  e.  ( ( r `  x ) (  Hom  `  C ) ( s `
 x ) ) )
9190ad2antrr 707 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( a `  x )  e.  ( ( r `  x
) (  Hom  `  C
) ( s `  x ) ) )
9239ad3antrrr 711 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
s ( A  Func  C ) ( 2nd `  g
) )
9325, 55, 22, 92, 58, 59funcf2 14065 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( x ( 2nd `  g ) y ) : ( x (  Hom  `  A )
y ) --> ( ( s `  x ) (  Hom  `  C
) ( s `  y ) ) )
9493ffvelrnda 5870 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( (
x ( 2nd `  g
) y ) `  h )  e.  ( ( s `  x
) (  Hom  `  C
) ( s `  y ) ) )
9521, 22, 61, 62, 63, 64, 66, 85, 72, 91, 94comfeqval 13934 . . . . . . . . . . . . 13  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( (
( x ( 2nd `  g ) y ) `
 h ) (
<. ( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) )
9683, 95eqeq12d 2450 . . . . . . . . . . . 12  |-  ( ( ( ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  /\  y  e.  ( Base `  A
) )  /\  h  e.  ( x (  Hom  `  A ) y ) )  ->  ( (
( a `  y
) ( <. (
r `  x ) ,  ( r `  y ) >. (comp `  C ) ( s `
 y ) ) ( ( x ( 2nd `  f ) y ) `  h
) )  =  ( ( ( x ( 2nd `  g ) y ) `  h
) ( <. (
r `  x ) ,  ( s `  x ) >. (comp `  C ) ( s `
 y ) ) ( a `  x
) )  <->  ( (
a `  y )
( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) ) )
9760, 96raleqbidva 2918 . . . . . . . . . . 11  |-  ( ( ( ( ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  /\  s  =  ( 1st `  g ) )  /\  a  e.  X_ z  e.  ( Base `  A
) ( ( r `
 z ) (  Hom  `  C )
( s `  z
) ) )  /\  x  e.  ( Base `  A ) )  /\  y  e.  ( Base `  A ) )  -> 
( A. h  e.  ( x (  Hom  `  A ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) )  <->  A. h  e.  (
x (  Hom  `  B
) y ) ( ( a `  y
) ( <. (
r `  x ) ,  ( r `  y ) >. (comp `  D ) ( s `
 y ) ) ( ( x ( 2nd `  f ) y ) `  h
) )  =  ( ( ( x ( 2nd `  g ) y ) `  h
) ( <. (
r `  x ) ,  ( s `  x ) >. (comp `  D ) ( s `
 y ) ) ( a `  x
) ) ) )
9854, 97raleqbidva 2918 . . . . . . . . . 10  |-  ( ( ( ( ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  /\  x  e.  ( Base `  A
) )  ->  ( A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) )  <->  A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) ) )
9953, 98raleqbidva 2918 . . . . . . . . 9  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ z  e.  (
Base `  A )
( ( r `  z ) (  Hom  `  C ) ( s `
 z ) ) )  ->  ( A. x  e.  ( Base `  A ) A. y  e.  ( Base `  A
) A. h  e.  ( x (  Hom  `  A ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) )  <->  A. x  e.  ( Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x (  Hom  `  B ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) ) )
10052, 99sylan2b 462 . . . . . . . 8  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  a  e.  X_ x  e.  (
Base `  A )
( ( r `  x ) (  Hom  `  C ) ( s `
 x ) ) )  ->  ( A. x  e.  ( Base `  A ) A. y  e.  ( Base `  A
) A. h  e.  ( x (  Hom  `  A ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) )  <->  A. x  e.  ( Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x (  Hom  `  B ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) ) )
10147, 100rabeqbidva 2952 . . . . . . 7  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  { a  e.  X_ x  e.  (
Base `  A )
( ( r `  x ) (  Hom  `  C ) ( s `
 x ) )  |  A. x  e.  ( Base `  A
) A. y  e.  ( Base `  A
) A. h  e.  ( x (  Hom  `  A ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) }  =  { a  e.  X_ x  e.  (
Base `  B )
( ( r `  x ) (  Hom  `  D ) ( s `
 x ) )  |  A. x  e.  ( Base `  B
) A. y  e.  ( Base `  B
) A. h  e.  ( x (  Hom  `  B ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
102 csbeq1a 3259 . . . . . . . 8  |-  ( s  =  ( 1st `  g
)  ->  { a  e.  X_ x  e.  (
Base `  B )
( ( r `  x ) (  Hom  `  D ) ( s `
 x ) )  |  A. x  e.  ( Base `  B
) A. y  e.  ( Base `  B
) A. h  e.  ( x (  Hom  `  B ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  g )  / 
s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x
) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
103102adantl 453 . . . . . . 7  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  { a  e.  X_ x  e.  (
Base `  B )
( ( r `  x ) (  Hom  `  D ) ( s `
 x ) )  |  A. x  e.  ( Base `  B
) A. y  e.  ( Base `  B
) A. h  e.  ( x (  Hom  `  B ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  g )  / 
s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x
) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
104101, 103eqtrd 2468 . . . . . 6  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  { a  e.  X_ x  e.  (
Base `  A )
( ( r `  x ) (  Hom  `  C ) ( s `
 x ) )  |  A. x  e.  ( Base `  A
) A. y  e.  ( Base `  A
) A. h  e.  ( x (  Hom  `  A ) y ) ( ( a `  y ) ( <.
( r `  x
) ,  ( r `
 y ) >.
(comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  g )  / 
s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x
) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
10516, 18, 20, 104csbiedf 3288 . . . . 5  |-  ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  ->  [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  A ) ( ( r `  x ) (  Hom  `  C
) ( s `  x ) )  | 
A. x  e.  (
Base `  A ) A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  g )  / 
s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x
) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
106 csbeq1a 3259 . . . . . 6  |-  ( r  =  ( 1st `  f
)  ->  [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  f )  / 
r ]_ [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
107106adantl 453 . . . . 5  |-  ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  ->  [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  f )  / 
r ]_ [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
108105, 107eqtrd 2468 . . . 4  |-  ( ( ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )  /\  r  =  ( 1st `  f ) )  ->  [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  A ) ( ( r `  x ) (  Hom  `  C
) ( s `  x ) )  | 
A. x  e.  (
Base `  A ) A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  f )  / 
r ]_ [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
10911, 13, 15, 108csbiedf 3288 . . 3  |-  ( (
ph  /\  ( f  e.  ( A  Func  C
)  /\  g  e.  ( A  Func  C ) ) )  ->  [_ ( 1st `  f )  / 
r ]_ [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  A ) ( ( r `  x ) (  Hom  `  C
) ( s `  x ) )  | 
A. x  e.  (
Base `  A ) A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) }  =  [_ ( 1st `  f )  / 
r ]_ [_ ( 1st `  g )  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
1109, 10, 109mpt2eq123dva 6135 . 2  |-  ( ph  ->  ( f  e.  ( A  Func  C ) ,  g  e.  ( A  Func  C )  |->  [_ ( 1st `  f )  /  r ]_ [_ ( 1st `  g )  / 
s ]_ { a  e.  X_ x  e.  ( Base `  A ) ( ( r `  x
) (  Hom  `  C
) ( s `  x ) )  | 
A. x  e.  (
Base `  A ) A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) } )  =  ( f  e.  ( B 
Func  D ) ,  g  e.  ( B  Func  D )  |->  [_ ( 1st `  f
)  /  r ]_ [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } ) )
111 eqid 2436 . . 3  |-  ( A Nat 
C )  =  ( A Nat  C )
112111, 25, 55, 22, 61natfval 14143 . 2  |-  ( A Nat 
C )  =  ( f  e.  ( A 
Func  C ) ,  g  e.  ( A  Func  C )  |->  [_ ( 1st `  f
)  /  r ]_ [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  A ) ( ( r `  x ) (  Hom  `  C
) ( s `  x ) )  | 
A. x  e.  (
Base `  A ) A. y  e.  ( Base `  A ) A. h  e.  ( x
(  Hom  `  A ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  C )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  C )
( s `  y
) ) ( a `
 x ) ) } )
113 eqid 2436 . . 3  |-  ( B Nat 
D )  =  ( B Nat  D )
114 eqid 2436 . . 3  |-  ( Base `  B )  =  (
Base `  B )
115113, 114, 56, 23, 62natfval 14143 . 2  |-  ( B Nat 
D )  =  ( f  e.  ( B 
Func  D ) ,  g  e.  ( B  Func  D )  |->  [_ ( 1st `  f
)  /  r ]_ [_ ( 1st `  g
)  /  s ]_ { a  e.  X_ x  e.  ( Base `  B ) ( ( r `  x ) (  Hom  `  D
) ( s `  x ) )  | 
A. x  e.  (
Base `  B ) A. y  e.  ( Base `  B ) A. h  e.  ( x
(  Hom  `  B ) y ) ( ( a `  y ) ( <. ( r `  x ) ,  ( r `  y )
>. (comp `  D )
( s `  y
) ) ( ( x ( 2nd `  f
) y ) `  h ) )  =  ( ( ( x ( 2nd `  g
) y ) `  h ) ( <.
( r `  x
) ,  ( s `
 x ) >.
(comp `  D )
( s `  y
) ) ( a `
 x ) ) } )
116110, 112, 1153eqtr4g 2493 1  |-  ( ph  ->  ( A Nat  C )  =  ( B Nat  D
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1652    e. wcel 1725   F/_wnfc 2559   A.wral 2705   {crab 2709   _Vcvv 2956   [_csb 3251   <.cop 3817   class class class wbr 4212   Rel wrel 4883   -->wf 5450   ` cfv 5454  (class class class)co 6081    e. cmpt2 6083   1stc1st 6347   2ndc2nd 6348   X_cixp 7063   Basecbs 13469    Hom chom 13540  compcco 13541   Catccat 13889    Homf chomf 13891  compfccomf 13892    Func cfunc 14051   Nat cnat 14138
This theorem is referenced by:  fucpropd  14174
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-rep 4320  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403  ax-un 4701
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-reu 2712  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-pw 3801  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-iun 4095  df-br 4213  df-opab 4267  df-mpt 4268  df-id 4498  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-f1 5459  df-fo 5460  df-f1o 5461  df-fv 5462  df-ov 6084  df-oprab 6085  df-mpt2 6086  df-1st 6349  df-2nd 6350  df-riota 6549  df-map 7020  df-ixp 7064  df-cat 13893  df-cid 13894  df-homf 13895  df-comf 13896  df-func 14055  df-nat 14140
  Copyright terms: Public domain W3C validator