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

Theorem arwass 14957
Description: Associativity of composition in a category using arrow notation. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
arwlid.h  |-  H  =  (Homa
`  C )
arwlid.o  |-  .x.  =  (compa `  C )
arwlid.a  |-  .1.  =  (Ida `  C )
arwlid.f  |-  ( ph  ->  F  e.  ( X H Y ) )
arwass.g  |-  ( ph  ->  G  e.  ( Y H Z ) )
arwass.k  |-  ( ph  ->  K  e.  ( Z H W ) )
Assertion
Ref Expression
arwass  |-  ( ph  ->  ( ( K  .x.  G )  .x.  F
)  =  ( K 
.x.  ( G  .x.  F ) ) )

Proof of Theorem arwass
StepHypRef Expression
1 eqid 2443 . . . . 5  |-  ( Base `  C )  =  (
Base `  C )
2 eqid 2443 . . . . 5  |-  ( Hom  `  C )  =  ( Hom  `  C )
3 eqid 2443 . . . . 5  |-  (comp `  C )  =  (comp `  C )
4 arwlid.f . . . . . 6  |-  ( ph  ->  F  e.  ( X H Y ) )
5 arwlid.h . . . . . . 7  |-  H  =  (Homa
`  C )
65homarcl 14911 . . . . . 6  |-  ( F  e.  ( X H Y )  ->  C  e.  Cat )
74, 6syl 16 . . . . 5  |-  ( ph  ->  C  e.  Cat )
85, 1homarcl2 14918 . . . . . . 7  |-  ( F  e.  ( X H Y )  ->  ( X  e.  ( Base `  C )  /\  Y  e.  ( Base `  C
) ) )
94, 8syl 16 . . . . . 6  |-  ( ph  ->  ( X  e.  (
Base `  C )  /\  Y  e.  ( Base `  C ) ) )
109simpld 459 . . . . 5  |-  ( ph  ->  X  e.  ( Base `  C ) )
119simprd 463 . . . . 5  |-  ( ph  ->  Y  e.  ( Base `  C ) )
12 arwass.k . . . . . . 7  |-  ( ph  ->  K  e.  ( Z H W ) )
135, 1homarcl2 14918 . . . . . . 7  |-  ( K  e.  ( Z H W )  ->  ( Z  e.  ( Base `  C )  /\  W  e.  ( Base `  C
) ) )
1412, 13syl 16 . . . . . 6  |-  ( ph  ->  ( Z  e.  (
Base `  C )  /\  W  e.  ( Base `  C ) ) )
1514simpld 459 . . . . 5  |-  ( ph  ->  Z  e.  ( Base `  C ) )
165, 2homahom 14922 . . . . . 6  |-  ( F  e.  ( X H Y )  ->  ( 2nd `  F )  e.  ( X ( Hom  `  C ) Y ) )
174, 16syl 16 . . . . 5  |-  ( ph  ->  ( 2nd `  F
)  e.  ( X ( Hom  `  C
) Y ) )
18 arwass.g . . . . . 6  |-  ( ph  ->  G  e.  ( Y H Z ) )
195, 2homahom 14922 . . . . . 6  |-  ( G  e.  ( Y H Z )  ->  ( 2nd `  G )  e.  ( Y ( Hom  `  C ) Z ) )
2018, 19syl 16 . . . . 5  |-  ( ph  ->  ( 2nd `  G
)  e.  ( Y ( Hom  `  C
) Z ) )
2114simprd 463 . . . . 5  |-  ( ph  ->  W  e.  ( Base `  C ) )
225, 2homahom 14922 . . . . . 6  |-  ( K  e.  ( Z H W )  ->  ( 2nd `  K )  e.  ( Z ( Hom  `  C ) W ) )
2312, 22syl 16 . . . . 5  |-  ( ph  ->  ( 2nd `  K
)  e.  ( Z ( Hom  `  C
) W ) )
241, 2, 3, 7, 10, 11, 15, 17, 20, 21, 23catass 14639 . . . 4  |-  ( ph  ->  ( ( ( 2nd `  K ) ( <. Y ,  Z >. (comp `  C ) W ) ( 2nd `  G
) ) ( <. X ,  Y >. (comp `  C ) W ) ( 2nd `  F
) )  =  ( ( 2nd `  K
) ( <. X ,  Z >. (comp `  C
) W ) ( ( 2nd `  G
) ( <. X ,  Y >. (comp `  C
) Z ) ( 2nd `  F ) ) ) )
25 arwlid.o . . . . . 6  |-  .x.  =  (compa `  C )
2625, 5, 18, 12, 3coa2 14952 . . . . 5  |-  ( ph  ->  ( 2nd `  ( K  .x.  G ) )  =  ( ( 2nd `  K ) ( <. Y ,  Z >. (comp `  C ) W ) ( 2nd `  G
) ) )
2726oveq1d 6121 . . . 4  |-  ( ph  ->  ( ( 2nd `  ( K  .x.  G ) ) ( <. X ,  Y >. (comp `  C ) W ) ( 2nd `  F ) )  =  ( ( ( 2nd `  K ) ( <. Y ,  Z >. (comp `  C ) W ) ( 2nd `  G
) ) ( <. X ,  Y >. (comp `  C ) W ) ( 2nd `  F
) ) )
2825, 5, 4, 18, 3coa2 14952 . . . . 5  |-  ( ph  ->  ( 2nd `  ( G  .x.  F ) )  =  ( ( 2nd `  G ) ( <. X ,  Y >. (comp `  C ) Z ) ( 2nd `  F
) ) )
2928oveq2d 6122 . . . 4  |-  ( ph  ->  ( ( 2nd `  K
) ( <. X ,  Z >. (comp `  C
) W ) ( 2nd `  ( G 
.x.  F ) ) )  =  ( ( 2nd `  K ) ( <. X ,  Z >. (comp `  C ) W ) ( ( 2nd `  G ) ( <. X ,  Y >. (comp `  C ) Z ) ( 2nd `  F ) ) ) )
3024, 27, 293eqtr4d 2485 . . 3  |-  ( ph  ->  ( ( 2nd `  ( K  .x.  G ) ) ( <. X ,  Y >. (comp `  C ) W ) ( 2nd `  F ) )  =  ( ( 2nd `  K
) ( <. X ,  Z >. (comp `  C
) W ) ( 2nd `  ( G 
.x.  F ) ) ) )
3130oteq3d 4088 . 2  |-  ( ph  -> 
<. X ,  W , 
( ( 2nd `  ( K  .x.  G ) ) ( <. X ,  Y >. (comp `  C ) W ) ( 2nd `  F ) ) >.  =  <. X ,  W ,  ( ( 2nd `  K ) ( <. X ,  Z >. (comp `  C ) W ) ( 2nd `  ( G  .x.  F ) ) ) >. )
3225, 5, 18, 12coahom 14953 . . 3  |-  ( ph  ->  ( K  .x.  G
)  e.  ( Y H W ) )
3325, 5, 4, 32, 3coaval 14951 . 2  |-  ( ph  ->  ( ( K  .x.  G )  .x.  F
)  =  <. X ,  W ,  ( ( 2nd `  ( K  .x.  G ) ) (
<. X ,  Y >. (comp `  C ) W ) ( 2nd `  F
) ) >. )
3425, 5, 4, 18coahom 14953 . . 3  |-  ( ph  ->  ( G  .x.  F
)  e.  ( X H Z ) )
3525, 5, 34, 12, 3coaval 14951 . 2  |-  ( ph  ->  ( K  .x.  ( G  .x.  F ) )  =  <. X ,  W ,  ( ( 2nd `  K ) ( <. X ,  Z >. (comp `  C ) W ) ( 2nd `  ( G  .x.  F ) ) ) >. )
3631, 33, 353eqtr4d 2485 1  |-  ( ph  ->  ( ( K  .x.  G )  .x.  F
)  =  ( K 
.x.  ( G  .x.  F ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1369    e. wcel 1756   <.cop 3898   <.cotp 3900   ` cfv 5433  (class class class)co 6106   2ndc2nd 6591   Basecbs 14189   Hom chom 14264  compcco 14265   Catccat 14617  Homachoma 14906  Idacida 14936  compaccoa 14937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4418  ax-sep 4428  ax-nul 4436  ax-pow 4485  ax-pr 4546  ax-un 6387
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-ral 2735  df-rex 2736  df-reu 2737  df-rab 2739  df-v 2989  df-sbc 3202  df-csb 3304  df-dif 3346  df-un 3348  df-in 3350  df-ss 3357  df-nul 3653  df-if 3807  df-pw 3877  df-sn 3893  df-pr 3895  df-op 3899  df-ot 3901  df-uni 4107  df-iun 4188  df-br 4308  df-opab 4366  df-mpt 4367  df-id 4651  df-xp 4861  df-rel 4862  df-cnv 4863  df-co 4864  df-dm 4865  df-rn 4866  df-res 4867  df-ima 4868  df-iota 5396  df-fun 5435  df-fn 5436  df-f 5437  df-f1 5438  df-fo 5439  df-f1o 5440  df-fv 5441  df-ov 6109  df-oprab 6110  df-mpt2 6111  df-1st 6592  df-2nd 6593  df-cat 14621  df-doma 14907  df-coda 14908  df-homa 14909  df-arw 14910  df-coa 14939
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator