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

Theorem fuccocl 14994
Description: The composition of two natural transformations is a natural transformation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
fuccocl.q  |-  Q  =  ( C FuncCat  D )
fuccocl.n  |-  N  =  ( C Nat  D )
fuccocl.x  |-  .xb  =  (comp `  Q )
fuccocl.r  |-  ( ph  ->  R  e.  ( F N G ) )
fuccocl.s  |-  ( ph  ->  S  e.  ( G N H ) )
Assertion
Ref Expression
fuccocl  |-  ( ph  ->  ( S ( <. F ,  G >.  .xb 
H ) R )  e.  ( F N H ) )

Proof of Theorem fuccocl
Dummy variables  x  f  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fuccocl.q . . . 4  |-  Q  =  ( C FuncCat  D )
2 fuccocl.n . . . 4  |-  N  =  ( C Nat  D )
3 eqid 2454 . . . 4  |-  ( Base `  C )  =  (
Base `  C )
4 eqid 2454 . . . 4  |-  (comp `  D )  =  (comp `  D )
5 fuccocl.x . . . 4  |-  .xb  =  (comp `  Q )
6 fuccocl.r . . . 4  |-  ( ph  ->  R  e.  ( F N G ) )
7 fuccocl.s . . . 4  |-  ( ph  ->  S  e.  ( G N H ) )
81, 2, 3, 4, 5, 6, 7fucco 14992 . . 3  |-  ( ph  ->  ( S ( <. F ,  G >.  .xb 
H ) R )  =  ( x  e.  ( Base `  C
)  |->  ( ( S `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) ) ) )
9 eqid 2454 . . . . . 6  |-  ( Base `  D )  =  (
Base `  D )
10 eqid 2454 . . . . . 6  |-  ( Hom  `  D )  =  ( Hom  `  D )
112natrcl 14980 . . . . . . . . . . 11  |-  ( R  e.  ( F N G )  ->  ( F  e.  ( C  Func  D )  /\  G  e.  ( C  Func  D
) ) )
126, 11syl 16 . . . . . . . . . 10  |-  ( ph  ->  ( F  e.  ( C  Func  D )  /\  G  e.  ( C  Func  D ) ) )
1312simpld 459 . . . . . . . . 9  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
14 funcrcl 14893 . . . . . . . . 9  |-  ( F  e.  ( C  Func  D )  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
1513, 14syl 16 . . . . . . . 8  |-  ( ph  ->  ( C  e.  Cat  /\  D  e.  Cat )
)
1615simprd 463 . . . . . . 7  |-  ( ph  ->  D  e.  Cat )
1716adantr 465 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  D  e.  Cat )
18 relfunc 14892 . . . . . . . . 9  |-  Rel  ( C  Func  D )
19 1st2ndbr 6734 . . . . . . . . 9  |-  ( ( Rel  ( C  Func  D )  /\  F  e.  ( C  Func  D
) )  ->  ( 1st `  F ) ( C  Func  D )
( 2nd `  F
) )
2018, 13, 19sylancr 663 . . . . . . . 8  |-  ( ph  ->  ( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
213, 9, 20funcf1 14896 . . . . . . 7  |-  ( ph  ->  ( 1st `  F
) : ( Base `  C ) --> ( Base `  D ) )
2221ffvelrnda 5953 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  F ) `  x )  e.  (
Base `  D )
)
232natrcl 14980 . . . . . . . . . . 11  |-  ( S  e.  ( G N H )  ->  ( G  e.  ( C  Func  D )  /\  H  e.  ( C  Func  D
) ) )
247, 23syl 16 . . . . . . . . . 10  |-  ( ph  ->  ( G  e.  ( C  Func  D )  /\  H  e.  ( C  Func  D ) ) )
2524simpld 459 . . . . . . . . 9  |-  ( ph  ->  G  e.  ( C 
Func  D ) )
26 1st2ndbr 6734 . . . . . . . . 9  |-  ( ( Rel  ( C  Func  D )  /\  G  e.  ( C  Func  D
) )  ->  ( 1st `  G ) ( C  Func  D )
( 2nd `  G
) )
2718, 25, 26sylancr 663 . . . . . . . 8  |-  ( ph  ->  ( 1st `  G
) ( C  Func  D ) ( 2nd `  G
) )
283, 9, 27funcf1 14896 . . . . . . 7  |-  ( ph  ->  ( 1st `  G
) : ( Base `  C ) --> ( Base `  D ) )
2928ffvelrnda 5953 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  G ) `  x )  e.  (
Base `  D )
)
3024simprd 463 . . . . . . . . 9  |-  ( ph  ->  H  e.  ( C 
Func  D ) )
31 1st2ndbr 6734 . . . . . . . . 9  |-  ( ( Rel  ( C  Func  D )  /\  H  e.  ( C  Func  D
) )  ->  ( 1st `  H ) ( C  Func  D )
( 2nd `  H
) )
3218, 30, 31sylancr 663 . . . . . . . 8  |-  ( ph  ->  ( 1st `  H
) ( C  Func  D ) ( 2nd `  H
) )
333, 9, 32funcf1 14896 . . . . . . 7  |-  ( ph  ->  ( 1st `  H
) : ( Base `  C ) --> ( Base `  D ) )
3433ffvelrnda 5953 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  H ) `  x )  e.  (
Base `  D )
)
352, 6nat1st2nd 14981 . . . . . . . 8  |-  ( ph  ->  R  e.  ( <.
( 1st `  F
) ,  ( 2nd `  F ) >. N <. ( 1st `  G ) ,  ( 2nd `  G
) >. ) )
3635adantr 465 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  R  e.  ( <. ( 1st `  F
) ,  ( 2nd `  F ) >. N <. ( 1st `  G ) ,  ( 2nd `  G
) >. ) )
37 simpr 461 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  x  e.  ( Base `  C )
)
382, 36, 3, 10, 37natcl 14983 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( R `  x )  e.  ( ( ( 1st `  F
) `  x )
( Hom  `  D ) ( ( 1st `  G
) `  x )
) )
392, 7nat1st2nd 14981 . . . . . . . 8  |-  ( ph  ->  S  e.  ( <.
( 1st `  G
) ,  ( 2nd `  G ) >. N <. ( 1st `  H ) ,  ( 2nd `  H
) >. ) )
4039adantr 465 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  S  e.  ( <. ( 1st `  G
) ,  ( 2nd `  G ) >. N <. ( 1st `  H ) ,  ( 2nd `  H
) >. ) )
412, 40, 3, 10, 37natcl 14983 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( S `  x )  e.  ( ( ( 1st `  G
) `  x )
( Hom  `  D ) ( ( 1st `  H
) `  x )
) )
429, 10, 4, 17, 22, 29, 34, 38, 41catcocl 14743 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( S `  x )
( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) )  e.  ( ( ( 1st `  F ) `  x
) ( Hom  `  D
) ( ( 1st `  H ) `  x
) ) )
4342ralrimiva 2830 . . . 4  |-  ( ph  ->  A. x  e.  (
Base `  C )
( ( S `  x ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) )  e.  ( ( ( 1st `  F ) `
 x ) ( Hom  `  D )
( ( 1st `  H
) `  x )
) )
44 fvex 5810 . . . . 5  |-  ( Base `  C )  e.  _V
45 mptelixpg 7411 . . . . 5  |-  ( (
Base `  C )  e.  _V  ->  ( (
x  e.  ( Base `  C )  |->  ( ( S `  x ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) ) )  e.  X_ x  e.  (
Base `  C )
( ( ( 1st `  F ) `  x
) ( Hom  `  D
) ( ( 1st `  H ) `  x
) )  <->  A. x  e.  ( Base `  C
) ( ( S `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) )  e.  ( ( ( 1st `  F ) `
 x ) ( Hom  `  D )
( ( 1st `  H
) `  x )
) ) )
4644, 45ax-mp 5 . . . 4  |-  ( ( x  e.  ( Base `  C )  |->  ( ( S `  x ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) ) )  e.  X_ x  e.  (
Base `  C )
( ( ( 1st `  F ) `  x
) ( Hom  `  D
) ( ( 1st `  H ) `  x
) )  <->  A. x  e.  ( Base `  C
) ( ( S `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) )  e.  ( ( ( 1st `  F ) `
 x ) ( Hom  `  D )
( ( 1st `  H
) `  x )
) )
4743, 46sylibr 212 . . 3  |-  ( ph  ->  ( x  e.  (
Base `  C )  |->  ( ( S `  x ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) ) )  e.  X_ x  e.  ( Base `  C
) ( ( ( 1st `  F ) `
 x ) ( Hom  `  D )
( ( 1st `  H
) `  x )
) )
488, 47eqeltrd 2542 . 2  |-  ( ph  ->  ( S ( <. F ,  G >.  .xb 
H ) R )  e.  X_ x  e.  (
Base `  C )
( ( ( 1st `  F ) `  x
) ( Hom  `  D
) ( ( 1st `  H ) `  x
) ) )
4916adantr 465 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  D  e.  Cat )
5021adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  F ) : (
Base `  C ) --> ( Base `  D )
)
51 simpr1 994 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  x  e.  ( Base `  C )
)
5250, 51ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  F ) `  x )  e.  (
Base `  D )
)
53 simpr2 995 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  y  e.  ( Base `  C )
)
5450, 53ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  F ) `  y )  e.  (
Base `  D )
)
5528adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  G ) : (
Base `  C ) --> ( Base `  D )
)
5655, 53ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  G ) `  y )  e.  (
Base `  D )
)
57 eqid 2454 . . . . . . . 8  |-  ( Hom  `  C )  =  ( Hom  `  C )
5820adantr 465 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  F ) ( C 
Func  D ) ( 2nd `  F ) )
593, 57, 10, 58, 51, 53funcf2 14898 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( x
( 2nd `  F
) y ) : ( x ( Hom  `  C ) y ) --> ( ( ( 1st `  F ) `  x
) ( Hom  `  D
) ( ( 1st `  F ) `  y
) ) )
60 simpr3 996 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  f  e.  ( x ( Hom  `  C ) y ) )
6159, 60ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
x ( 2nd `  F
) y ) `  f )  e.  ( ( ( 1st `  F
) `  x )
( Hom  `  D ) ( ( 1st `  F
) `  y )
) )
6235adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  R  e.  ( <. ( 1st `  F
) ,  ( 2nd `  F ) >. N <. ( 1st `  G ) ,  ( 2nd `  G
) >. ) )
632, 62, 3, 10, 53natcl 14983 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( R `  y )  e.  ( ( ( 1st `  F
) `  y )
( Hom  `  D ) ( ( 1st `  G
) `  y )
) )
6433adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  H ) : (
Base `  C ) --> ( Base `  D )
)
6564, 53ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  H ) `  y )  e.  (
Base `  D )
)
6639adantr 465 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  S  e.  ( <. ( 1st `  G
) ,  ( 2nd `  G ) >. N <. ( 1st `  H ) ,  ( 2nd `  H
) >. ) )
672, 66, 3, 10, 53natcl 14983 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( S `  y )  e.  ( ( ( 1st `  G
) `  y )
( Hom  `  D ) ( ( 1st `  H
) `  y )
) )
689, 10, 4, 49, 52, 54, 56, 61, 63, 65, 67catass 14744 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S `  y
) ( <. (
( 1st `  F
) `  y ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 y ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( S `  y ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( R `  y ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  G
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) ) ) )
692, 62, 3, 57, 4, 51, 53, 60nati 14985 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( R `  y )
( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  G
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  G
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  y
) ) ( R `
 x ) ) )
7069oveq2d 6217 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( S `  y )
( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( R `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  G ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )  =  ( ( S `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( ( x ( 2nd `  G ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  y
) ) ( R `
 x ) ) ) )
7155, 51ffvelrnd 5954 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  G ) `  x )  e.  (
Base `  D )
)
722, 62, 3, 10, 51natcl 14983 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( R `  x )  e.  ( ( ( 1st `  F
) `  x )
( Hom  `  D ) ( ( 1st `  G
) `  x )
) )
7327adantr 465 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  G ) ( C 
Func  D ) ( 2nd `  G ) )
743, 57, 10, 73, 51, 53funcf2 14898 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( x
( 2nd `  G
) y ) : ( x ( Hom  `  C ) y ) --> ( ( ( 1st `  G ) `  x
) ( Hom  `  D
) ( ( 1st `  G ) `  y
) ) )
7574, 60ffvelrnd 5954 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
x ( 2nd `  G
) y ) `  f )  e.  ( ( ( 1st `  G
) `  x )
( Hom  `  D ) ( ( 1st `  G
) `  y )
) )
769, 10, 4, 49, 52, 71, 56, 72, 75, 65, 67catass 14744 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S `  y
) ( <. (
( 1st `  G
) `  x ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( x ( 2nd `  G
) y ) `  f ) ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 x ) )  =  ( ( S `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( ( x ( 2nd `  G ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  y
) ) ( R `
 x ) ) ) )
772, 66, 3, 57, 4, 51, 53, 60nati 14985 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( S `  y )
( <. ( ( 1st `  G ) `  x
) ,  ( ( 1st `  G ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( x ( 2nd `  G
) y ) `  f ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  G
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( S `
 x ) ) )
7877oveq1d 6216 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S `  y
) ( <. (
( 1st `  G
) `  x ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( x ( 2nd `  G
) y ) `  f ) ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 x ) )  =  ( ( ( ( x ( 2nd `  H ) y ) `
 f ) (
<. ( ( 1st `  G
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( S `
 x ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( R `  x ) ) )
7970, 76, 783eqtr2d 2501 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( S `  y )
( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( R `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  G ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) ) )  =  ( ( ( ( x ( 2nd `  H ) y ) `
 f ) (
<. ( ( 1st `  G
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( S `
 x ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( R `  x ) ) )
8064, 51ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( 1st `  H ) `  x )  e.  (
Base `  D )
)
812, 66, 3, 10, 51natcl 14983 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( S `  x )  e.  ( ( ( 1st `  G
) `  x )
( Hom  `  D ) ( ( 1st `  H
) `  x )
) )
8232adantr 465 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( 1st `  H ) ( C 
Func  D ) ( 2nd `  H ) )
833, 57, 10, 82, 51, 53funcf2 14898 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( x
( 2nd `  H
) y ) : ( x ( Hom  `  C ) y ) --> ( ( ( 1st `  H ) `  x
) ( Hom  `  D
) ( ( 1st `  H ) `  y
) ) )
8483, 60ffvelrnd 5954 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
x ( 2nd `  H
) y ) `  f )  e.  ( ( ( 1st `  H
) `  x )
( Hom  `  D ) ( ( 1st `  H
) `  y )
) )
859, 10, 4, 49, 52, 71, 80, 72, 81, 65, 84catass 14744 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( ( x ( 2nd `  H ) y ) `  f
) ( <. (
( 1st `  G
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( S `
 x ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( R `  x ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S `  x ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) ) ) )
8668, 79, 853eqtrd 2499 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S `  y
) ( <. (
( 1st `  F
) `  y ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 y ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S `  x ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) ) ) )
876adantr 465 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  R  e.  ( F N G ) )
887adantr 465 . . . . . 6  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  S  e.  ( G N H ) )
891, 2, 3, 4, 5, 87, 88, 53fuccoval 14993 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( S ( <. F ,  G >.  .xb  H ) R ) `  y )  =  ( ( S `
 y ) (
<. ( ( 1st `  F
) `  y ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 y ) ) )
9089oveq1d 6216 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S ( <. F ,  G >.  .xb 
H ) R ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( S `
 y ) (
<. ( ( 1st `  F
) `  y ) ,  ( ( 1st `  G ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( R `
 y ) ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) ) )
911, 2, 3, 4, 5, 87, 88, 51fuccoval 14993 . . . . 5  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( ( S ( <. F ,  G >.  .xb  H ) R ) `  x )  =  ( ( S `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  x
) ) ( R `
 x ) ) )
9291oveq2d 6217 . . . 4  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( x ( 2nd `  H ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S ( <. F ,  G >.  .xb  H ) R ) `  x ) )  =  ( ( ( x ( 2nd `  H ) y ) `
 f ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S `  x ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  G ) `
 x ) >.
(comp `  D )
( ( 1st `  H
) `  x )
) ( R `  x ) ) ) )
9386, 90, 923eqtr4d 2505 . . 3  |-  ( (
ph  /\  ( x  e.  ( Base `  C
)  /\  y  e.  ( Base `  C )  /\  f  e.  (
x ( Hom  `  C
) y ) ) )  ->  ( (
( S ( <. F ,  G >.  .xb 
H ) R ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S ( <. F ,  G >.  .xb  H ) R ) `  x ) ) )
9493ralrimivvva 2915 . 2  |-  ( ph  ->  A. x  e.  (
Base `  C ) A. y  e.  ( Base `  C ) A. f  e.  ( x
( Hom  `  C ) y ) ( ( ( S ( <. F ,  G >.  .xb 
H ) R ) `
 y ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  F ) `  y
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S ( <. F ,  G >.  .xb  H ) R ) `  x ) ) )
952, 3, 57, 10, 4, 13, 30isnat2 14978 . 2  |-  ( ph  ->  ( ( S (
<. F ,  G >.  .xb 
H ) R )  e.  ( F N H )  <->  ( ( S ( <. F ,  G >.  .xb  H ) R )  e.  X_ x  e.  ( Base `  C
) ( ( ( 1st `  F ) `
 x ) ( Hom  `  D )
( ( 1st `  H
) `  x )
)  /\  A. x  e.  ( Base `  C
) A. y  e.  ( Base `  C
) A. f  e.  ( x ( Hom  `  C ) y ) ( ( ( S ( <. F ,  G >. 
.xb  H ) R ) `  y ) ( <. ( ( 1st `  F ) `  x
) ,  ( ( 1st `  F ) `
 y ) >.
(comp `  D )
( ( 1st `  H
) `  y )
) ( ( x ( 2nd `  F
) y ) `  f ) )  =  ( ( ( x ( 2nd `  H
) y ) `  f ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  H ) `  x
) >. (comp `  D
) ( ( 1st `  H ) `  y
) ) ( ( S ( <. F ,  G >.  .xb  H ) R ) `  x ) ) ) ) )
9648, 94, 95mpbir2and 913 1  |-  ( ph  ->  ( S ( <. F ,  G >.  .xb 
H ) R )  e.  ( F N H ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1370    e. wcel 1758   A.wral 2799   _Vcvv 3078   <.cop 3992   class class class wbr 4401    |-> cmpt 4459   Rel wrel 4954   -->wf 5523   ` cfv 5527  (class class class)co 6201   1stc1st 6686   2ndc2nd 6687   X_cixp 7374   Basecbs 14293   Hom chom 14369  compcco 14370   Catccat 14722    Func cfunc 14884   Nat cnat 14971   FuncCat cfuc 14972
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-rep 4512  ax-sep 4522  ax-nul 4530  ax-pow 4579  ax-pr 4640  ax-un 6483  ax-cnex 9450  ax-resscn 9451  ax-1cn 9452  ax-icn 9453  ax-addcl 9454  ax-addrcl 9455  ax-mulcl 9456  ax-mulrcl 9457  ax-mulcom 9458  ax-addass 9459  ax-mulass 9460  ax-distr 9461  ax-i2m1 9462  ax-1ne0 9463  ax-1rid 9464  ax-rnegex 9465  ax-rrecex 9466  ax-cnre 9467  ax-pre-lttri 9468  ax-pre-lttrn 9469  ax-pre-ltadd 9470  ax-pre-mulgt0 9471
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-nel 2651  df-ral 2804  df-rex 2805  df-reu 2806  df-rab 2808  df-v 3080  df-sbc 3295  df-csb 3397  df-dif 3440  df-un 3442  df-in 3444  df-ss 3451  df-pss 3453  df-nul 3747  df-if 3901  df-pw 3971  df-sn 3987  df-pr 3989  df-tp 3991  df-op 3993  df-uni 4201  df-int 4238  df-iun 4282  df-br 4402  df-opab 4460  df-mpt 4461  df-tr 4495  df-eprel 4741  df-id 4745  df-po 4750  df-so 4751  df-fr 4788  df-we 4790  df-ord 4831  df-on 4832  df-lim 4833  df-suc 4834  df-xp 4955  df-rel 4956  df-cnv 4957  df-co 4958  df-dm 4959  df-rn 4960  df-res 4961  df-ima 4962  df-iota 5490  df-fun 5529  df-fn 5530  df-f 5531  df-f1 5532  df-fo 5533  df-f1o 5534  df-fv 5535  df-riota 6162  df-ov 6204  df-oprab 6205  df-mpt2 6206  df-om 6588  df-1st 6688  df-2nd 6689  df-recs 6943  df-rdg 6977  df-1o 7031  df-oadd 7035  df-er 7212  df-map 7327  df-ixp 7375  df-en 7422  df-dom 7423  df-sdom 7424  df-fin 7425  df-pnf 9532  df-mnf 9533  df-xr 9534  df-ltxr 9535  df-le 9536  df-sub 9709  df-neg 9710  df-nn 10435  df-2 10492  df-3 10493  df-4 10494  df-5 10495  df-6 10496  df-7 10497  df-8 10498  df-9 10499  df-10 10500  df-n0 10692  df-z 10759  df-dec 10868  df-uz 10974  df-fz 11556  df-struct 14295  df-ndx 14296  df-slot 14297  df-base 14298  df-hom 14382  df-cco 14383  df-cat 14726  df-func 14888  df-nat 14973  df-fuc 14974
This theorem is referenced by:  fucass  14998  fuccatid  14999  evlfcllem  15151  yonedalem3b  15209
  Copyright terms: Public domain W3C validator