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

Theorem natpropd 15587
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  ->  ( Hom f  `  A )  =  ( Hom f  `  B ) )
fucpropd.2  |-  ( ph  ->  (compf `  A )  =  (compf `  B ) )
fucpropd.3  |-  ( ph  ->  ( Hom f  `  C )  =  ( Hom f  `  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  ->  ( Hom f  `  A )  =  ( Hom f  `  B ) )
2 fucpropd.2 . . . 4  |-  ( ph  ->  (compf `  A )  =  (compf `  B ) )
3 fucpropd.3 . . . 4  |-  ( ph  ->  ( Hom f  `  C )  =  ( Hom f  `  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 15511 . . 3  |-  ( ph  ->  ( A  Func  C
)  =  ( B 
Func  D ) )
109adantr 463 . . 3  |-  ( (
ph  /\  f  e.  ( A  Func  C ) )  ->  ( A  Func  C )  =  ( B  Func  D )
)
11 nfv 1728 . . . 4  |-  F/ r ( ph  /\  (
f  e.  ( A 
Func  C )  /\  g  e.  ( A  Func  C
) ) )
12 nfcsb1v 3388 . . . . 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 5858 . . . . 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 1728 . . . . . 6  |-  F/ s ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )
17 nfcsb1v 3388 . . . . . . 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 5858 . . . . . . 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 2402 . . . . . . . . . . 11  |-  ( Base `  C )  =  (
Base `  C )
22 eqid 2402 . . . . . . . . . . 11  |-  ( Hom  `  C )  =  ( Hom  `  C )
23 eqid 2402 . . . . . . . . . . 11  |-  ( Hom  `  D )  =  ( Hom  `  D )
243ad4antr 730 . . . . . . . . . . 11  |-  ( ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  /\  x  e.  ( Base `  A
) )  ->  ( Hom f  `  C )  =  ( Hom f  `  D ) )
25 eqid 2402 . . . . . . . . . . . . 13  |-  ( Base `  A )  =  (
Base `  A )
26 simplr 754 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  r  =  ( 1st `  f
) )
27 relfunc 15473 . . . . . . . . . . . . . . 15  |-  Rel  ( A  Func  C )
28 simpllr 761 . . . . . . . . . . . . . . . 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 457 . . . . . . . . . . . . . . 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 6832 . . . . . . . . . . . . . . 15  |-  ( ( Rel  ( A  Func  C )  /\  f  e.  ( A  Func  C
) )  ->  ( 1st `  f ) ( A  Func  C )
( 2nd `  f
) )
3127, 29, 30sylancr 661 . . . . . . . . . . . . . 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 4414 . . . . . . . . . . . . 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 15477 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  r : ( Base `  A
) --> ( Base `  C
) )
3433ffvelrnda 6008 . . . . . . . . . . 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 459 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  s  =  ( 1st `  g
) )
3628simprd 461 . . . . . . . . . . . . . . 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 6832 . . . . . . . . . . . . . . 15  |-  ( ( Rel  ( A  Func  C )  /\  g  e.  ( A  Func  C
) )  ->  ( 1st `  g ) ( A  Func  C )
( 2nd `  g
) )
3827, 36, 37sylancr 661 . . . . . . . . . . . . . 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 4414 . . . . . . . . . . . . 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 15477 . . . . . . . . . . . 12  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  s : ( Base `  A
) --> ( Base `  C
) )
4140ffvelrnda 6008 . . . . . . . . . . 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 15308 . . . . . . . . . 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 7521 . . . . . . . . 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 15307 . . . . . . . . . . 11  |-  ( ph  ->  ( Base `  A
)  =  ( Base `  B ) )
4544ad3antrrr 728 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ( f  e.  ( A  Func  C )  /\  g  e.  ( A  Func  C ) ) )  /\  r  =  ( 1st `  f
) )  /\  s  =  ( 1st `  g
) )  ->  ( Base `  A )  =  ( Base `  B
) )
4645ixpeq1d 7518 . . . . . . . . 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 2443 . . . . . . . 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 5848 . . . . . . . . . . . 12  |-  ( x  =  z  ->  (
r `  x )  =  ( r `  z ) )
49 fveq2 5848 . . . . . . . . . . . 12  |-  ( x  =  z  ->  (
s `  x )  =  ( s `  z ) )
5048, 49oveq12d 6295 . . . . . . . . . . 11  |-  ( x  =  z  ->  (
( r `  x
) ( Hom  `  C
) ( s `  x ) )  =  ( ( r `  z ) ( Hom  `  C ) ( s `
 z ) ) )
5150cbvixpv 7524 . . . . . . . . . 10  |-  X_ x  e.  ( Base `  A
) ( ( r `
 x ) ( Hom  `  C )
( s `  x
) )  =  X_ z  e.  ( Base `  A ) ( ( r `  z ) ( Hom  `  C
) ( s `  z ) )
5251eleq2i 2480 . . . . . . . . 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 463 . . . . . . . . . 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 463 . . . . . . . . . . 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 2402 . . . . . . . . . . . . 13  |-  ( Hom  `  A )  =  ( Hom  `  A )
56 eqid 2402 . . . . . . . . . . . . 13  |-  ( Hom  `  B )  =  ( Hom  `  B )
571ad6antr 734 . . . . . . . . . . . . 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 ) )  -> 
( Hom f  `  A )  =  ( Hom f  `  B ) )
58 simplr 754 . . . . . . . . . . . . 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 459 . . . . . . . . . . . . 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 15308 . . . . . . . . . . . 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 2402 . . . . . . . . . . . . . 14  |-  (comp `  C )  =  (comp `  C )
62 eqid 2402 . . . . . . . . . . . . . 14  |-  (comp `  D )  =  (comp `  D )
633ad7antr 736 . . . . . . . . . . . . . 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 ) )  ->  ( Hom f  `  C
)  =  ( Hom f  `  D ) )
644ad7antr 736 . . . . . . . . . . . . . 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 713 . . . . . . . . . . . . . . 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 724 . . . . . . . . . . . . . 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 724 . . . . . . . . . . . . . . . 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 6008 . . . . . . . . . . . . . . 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 463 . . . . . . . . . . . . . 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 724 . . . . . . . . . . . . . . . 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 6008 . . . . . . . . . . . . . . 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 463 . . . . . . . . . . . . . 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 728 . . . . . . . . . . . . . . . 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 15479 . . . . . . . . . . . . . . 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 6008 . . . . . . . . . . . . . 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 754 . . . . . . . . . . . . . . . 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 5848 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  y  ->  (
r `  z )  =  ( r `  y ) )
78 fveq2 5848 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  y  ->  (
s `  z )  =  ( s `  y ) )
7977, 78oveq12d 6295 . . . . . . . . . . . . . . . . 17  |-  ( z  =  y  ->  (
( r `  z
) ( Hom  `  C
) ( s `  z ) )  =  ( ( r `  y ) ( Hom  `  C ) ( s `
 y ) ) )
8079fvixp 7511 . . . . . . . . . . . . . . . 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 469 . . . . . . . . . . . . . . 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 463 . . . . . . . . . . . . . 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 15319 . . . . . . . . . . . . 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 713 . . . . . . . . . . . . . . 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 724 . . . . . . . . . . . . . 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 5848 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  x  ->  (
r `  z )  =  ( r `  x ) )
87 fveq2 5848 . . . . . . . . . . . . . . . . . 18  |-  ( z  =  x  ->  (
s `  z )  =  ( s `  x ) )
8886, 87oveq12d 6295 . . . . . . . . . . . . . . . . 17  |-  ( z  =  x  ->  (
( r `  z
) ( Hom  `  C
) ( s `  z ) )  =  ( ( r `  x ) ( Hom  `  C ) ( s `
 x ) ) )
8988fvixp 7511 . . . . . . . . . . . . . . . 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 712 . . . . . . . . . . . . . . 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 724 . . . . . . . . . . . . . 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 728 . . . . . . . . . . . . . . . 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 15479 . . . . . . . . . . . . . . 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 6008 . . . . . . . . . . . . . 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 15319 . . . . . . . . . . . . 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 2424 . . . . . . . . . . . 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 3019 . . . . . . . . . . 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 3019 . . . . . . . . . 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 3019 . . . . . . . . 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 473 . . . . . . . 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 3054 . . . . . . 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 3381 . . . . . . . 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 464 . . . . . . 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 2443 . . . . . 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 3393 . . . . 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 3381 . . . . . 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 464 . . . . 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 2443 . . . 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 3393 . . 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 6338 . 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 2402 . . 3  |-  ( A Nat 
C )  =  ( A Nat  C )
112111, 25, 55, 22, 61natfval 15557 . 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 2402 . . 3  |-  ( B Nat 
D )  =  ( B Nat  D )
114 eqid 2402 . . 3  |-  ( Base `  B )  =  (
Base `  B )
115113, 114, 56, 23, 62natfval 15557 . 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 2468 1  |-  ( ph  ->  ( A Nat  C )  =  ( B Nat  D
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    = wceq 1405    e. wcel 1842   F/_wnfc 2550   A.wral 2753   {crab 2757   _Vcvv 3058   [_csb 3372   <.cop 3977   class class class wbr 4394   Rel wrel 4827   -->wf 5564   ` cfv 5568  (class class class)co 6277    |-> cmpt2 6279   1stc1st 6781   2ndc2nd 6782   X_cixp 7506   Basecbs 14839   Hom chom 14918  compcco 14919   Catccat 15276   Hom f chomf 15278  compfccomf 15279    Func cfunc 15465   Nat cnat 15552
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1639  ax-4 1652  ax-5 1725  ax-6 1771  ax-7 1814  ax-8 1844  ax-9 1846  ax-10 1861  ax-11 1866  ax-12 1878  ax-13 2026  ax-ext 2380  ax-rep 4506  ax-sep 4516  ax-nul 4524  ax-pow 4571  ax-pr 4629  ax-un 6573
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 976  df-tru 1408  df-fal 1411  df-ex 1634  df-nf 1638  df-sb 1764  df-eu 2242  df-mo 2243  df-clab 2388  df-cleq 2394  df-clel 2397  df-nfc 2552  df-ne 2600  df-ral 2758  df-rex 2759  df-reu 2760  df-rab 2762  df-v 3060  df-sbc 3277  df-csb 3373  df-dif 3416  df-un 3418  df-in 3420  df-ss 3427  df-nul 3738  df-if 3885  df-pw 3956  df-sn 3972  df-pr 3974  df-op 3978  df-uni 4191  df-iun 4272  df-br 4395  df-opab 4453  df-mpt 4454  df-id 4737  df-xp 4828  df-rel 4829  df-cnv 4830  df-co 4831  df-dm 4832  df-rn 4833  df-res 4834  df-ima 4835  df-iota 5532  df-fun 5570  df-fn 5571  df-f 5572  df-f1 5573  df-fo 5574  df-f1o 5575  df-fv 5576  df-riota 6239  df-ov 6280  df-oprab 6281  df-mpt2 6282  df-1st 6783  df-2nd 6784  df-map 7458  df-ixp 7507  df-cat 15280  df-cid 15281  df-homf 15282  df-comf 15283  df-func 15469  df-nat 15554
This theorem is referenced by:  fucpropd  15588
  Copyright terms: Public domain W3C validator