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

Theorem fuclid 14083
Description: Left identity of natural transformations. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
fuclid.q  |-  Q  =  ( C FuncCat  D )
fuclid.n  |-  N  =  ( C Nat  D )
fuclid.x  |-  .xb  =  (comp `  Q )
fuclid.1  |-  .1.  =  ( Id `  D )
fuclid.r  |-  ( ph  ->  R  e.  ( F N G ) )
Assertion
Ref Expression
fuclid  |-  ( ph  ->  ( (  .1.  o.  ( 1st `  G ) ) ( <. F ,  G >.  .xb  G ) R )  =  R )

Proof of Theorem fuclid
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 eqid 2380 . . . . . . 7  |-  ( Base `  C )  =  (
Base `  C )
2 eqid 2380 . . . . . . 7  |-  ( Base `  D )  =  (
Base `  D )
3 relfunc 13979 . . . . . . . 8  |-  Rel  ( C  Func  D )
4 fuclid.r . . . . . . . . . 10  |-  ( ph  ->  R  e.  ( F N G ) )
5 fuclid.n . . . . . . . . . . 11  |-  N  =  ( C Nat  D )
65natrcl 14067 . . . . . . . . . 10  |-  ( R  e.  ( F N G )  ->  ( F  e.  ( C  Func  D )  /\  G  e.  ( C  Func  D
) ) )
74, 6syl 16 . . . . . . . . 9  |-  ( ph  ->  ( F  e.  ( C  Func  D )  /\  G  e.  ( C  Func  D ) ) )
87simprd 450 . . . . . . . 8  |-  ( ph  ->  G  e.  ( C 
Func  D ) )
9 1st2ndbr 6328 . . . . . . . 8  |-  ( ( Rel  ( C  Func  D )  /\  G  e.  ( C  Func  D
) )  ->  ( 1st `  G ) ( C  Func  D )
( 2nd `  G
) )
103, 8, 9sylancr 645 . . . . . . 7  |-  ( ph  ->  ( 1st `  G
) ( C  Func  D ) ( 2nd `  G
) )
111, 2, 10funcf1 13983 . . . . . 6  |-  ( ph  ->  ( 1st `  G
) : ( Base `  C ) --> ( Base `  D ) )
12 fvco3 5732 . . . . . 6  |-  ( ( ( 1st `  G
) : ( Base `  C ) --> ( Base `  D )  /\  x  e.  ( Base `  C
) )  ->  (
(  .1.  o.  ( 1st `  G ) ) `
 x )  =  (  .1.  `  (
( 1st `  G
) `  x )
) )
1311, 12sylan 458 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( (  .1.  o.  ( 1st `  G
) ) `  x
)  =  (  .1.  `  ( ( 1st `  G
) `  x )
) )
1413oveq1d 6028 . . . 4  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( (
(  .1.  o.  ( 1st `  G ) ) `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) )  =  ( (  .1.  `  ( ( 1st `  G
) `  x )
) ( <. (
( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) ) )
15 eqid 2380 . . . . 5  |-  (  Hom  `  D )  =  (  Hom  `  D )
16 fuclid.1 . . . . 5  |-  .1.  =  ( Id `  D )
177simpld 446 . . . . . . . 8  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
18 funcrcl 13980 . . . . . . . 8  |-  ( F  e.  ( C  Func  D )  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
1917, 18syl 16 . . . . . . 7  |-  ( ph  ->  ( C  e.  Cat  /\  D  e.  Cat )
)
2019simprd 450 . . . . . 6  |-  ( ph  ->  D  e.  Cat )
2120adantr 452 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  D  e.  Cat )
22 1st2ndbr 6328 . . . . . . . 8  |-  ( ( Rel  ( C  Func  D )  /\  F  e.  ( C  Func  D
) )  ->  ( 1st `  F ) ( C  Func  D )
( 2nd `  F
) )
233, 17, 22sylancr 645 . . . . . . 7  |-  ( ph  ->  ( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
241, 2, 23funcf1 13983 . . . . . 6  |-  ( ph  ->  ( 1st `  F
) : ( Base `  C ) --> ( Base `  D ) )
2524ffvelrnda 5802 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  F ) `  x )  e.  (
Base `  D )
)
26 eqid 2380 . . . . 5  |-  (comp `  D )  =  (comp `  D )
2711ffvelrnda 5802 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( ( 1st `  G ) `  x )  e.  (
Base `  D )
)
285, 4nat1st2nd 14068 . . . . . . 7  |-  ( ph  ->  R  e.  ( <.
( 1st `  F
) ,  ( 2nd `  F ) >. N <. ( 1st `  G ) ,  ( 2nd `  G
) >. ) )
2928adantr 452 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  R  e.  ( <. ( 1st `  F
) ,  ( 2nd `  F ) >. N <. ( 1st `  G ) ,  ( 2nd `  G
) >. ) )
30 simpr 448 . . . . . 6  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  x  e.  ( Base `  C )
)
315, 29, 1, 15, 30natcl 14070 . . . . 5  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( R `  x )  e.  ( ( ( 1st `  F
) `  x )
(  Hom  `  D ) ( ( 1st `  G
) `  x )
) )
322, 15, 16, 21, 25, 26, 27, 31catlid 13828 . . . 4  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( (  .1.  `  ( ( 1st `  G ) `  x
) ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) )  =  ( R `  x ) )
3314, 32eqtrd 2412 . . 3  |-  ( (
ph  /\  x  e.  ( Base `  C )
)  ->  ( (
(  .1.  o.  ( 1st `  G ) ) `
 x ) (
<. ( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) )  =  ( R `  x ) )
3433mpteq2dva 4229 . 2  |-  ( ph  ->  ( x  e.  (
Base `  C )  |->  ( ( (  .1. 
o.  ( 1st `  G
) ) `  x
) ( <. (
( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) ) )  =  ( x  e.  ( Base `  C
)  |->  ( R `  x ) ) )
35 fuclid.q . . 3  |-  Q  =  ( C FuncCat  D )
36 fuclid.x . . 3  |-  .xb  =  (comp `  Q )
3735, 5, 16, 8fucidcl 14082 . . 3  |-  ( ph  ->  (  .1.  o.  ( 1st `  G ) )  e.  ( G N G ) )
3835, 5, 1, 26, 36, 4, 37fucco 14079 . 2  |-  ( ph  ->  ( (  .1.  o.  ( 1st `  G ) ) ( <. F ,  G >.  .xb  G ) R )  =  ( x  e.  ( Base `  C
)  |->  ( ( (  .1.  o.  ( 1st `  G ) ) `  x ) ( <.
( ( 1st `  F
) `  x ) ,  ( ( 1st `  G ) `  x
) >. (comp `  D
) ( ( 1st `  G ) `  x
) ) ( R `
 x ) ) ) )
395, 28, 1natfn 14071 . . 3  |-  ( ph  ->  R  Fn  ( Base `  C ) )
40 dffn5 5704 . . 3  |-  ( R  Fn  ( Base `  C
)  <->  R  =  (
x  e.  ( Base `  C )  |->  ( R `
 x ) ) )
4139, 40sylib 189 . 2  |-  ( ph  ->  R  =  ( x  e.  ( Base `  C
)  |->  ( R `  x ) ) )
4234, 38, 413eqtr4d 2422 1  |-  ( ph  ->  ( (  .1.  o.  ( 1st `  G ) ) ( <. F ,  G >.  .xb  G ) R )  =  R )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1717   <.cop 3753   class class class wbr 4146    e. cmpt 4200    o. ccom 4815   Rel wrel 4816    Fn wfn 5382   -->wf 5383   ` cfv 5387  (class class class)co 6013   1stc1st 6279   2ndc2nd 6280   Basecbs 13389    Hom chom 13460  compcco 13461   Catccat 13809   Idccid 13810    Func cfunc 13971   Nat cnat 14058   FuncCat cfuc 14059
This theorem is referenced by:  fuccatid  14086
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-rep 4254  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337  ax-un 4634  ax-cnex 8972  ax-resscn 8973  ax-1cn 8974  ax-icn 8975  ax-addcl 8976  ax-addrcl 8977  ax-mulcl 8978  ax-mulrcl 8979  ax-mulcom 8980  ax-addass 8981  ax-mulass 8982  ax-distr 8983  ax-i2m1 8984  ax-1ne0 8985  ax-1rid 8986  ax-rnegex 8987  ax-rrecex 8988  ax-cnre 8989  ax-pre-lttri 8990  ax-pre-lttrn 8991  ax-pre-ltadd 8992  ax-pre-mulgt0 8993
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-nel 2546  df-ral 2647  df-rex 2648  df-reu 2649  df-rmo 2650  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-pss 3272  df-nul 3565  df-if 3676  df-pw 3737  df-sn 3756  df-pr 3757  df-tp 3758  df-op 3759  df-uni 3951  df-int 3986  df-iun 4030  df-br 4147  df-opab 4201  df-mpt 4202  df-tr 4237  df-eprel 4428  df-id 4432  df-po 4437  df-so 4438  df-fr 4475  df-we 4477  df-ord 4518  df-on 4519  df-lim 4520  df-suc 4521  df-om 4779  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018  df-1st 6281  df-2nd 6282  df-riota 6478  df-recs 6562  df-rdg 6597  df-1o 6653  df-oadd 6657  df-er 6834  df-map 6949  df-ixp 6993  df-en 7039  df-dom 7040  df-sdom 7041  df-fin 7042  df-pnf 9048  df-mnf 9049  df-xr 9050  df-ltxr 9051  df-le 9052  df-sub 9218  df-neg 9219  df-nn 9926  df-2 9983  df-3 9984  df-4 9985  df-5 9986  df-6 9987  df-7 9988  df-8 9989  df-9 9990  df-10 9991  df-n0 10147  df-z 10208  df-dec 10308  df-uz 10414  df-fz 10969  df-struct 13391  df-ndx 13392  df-slot 13393  df-base 13394  df-hom 13473  df-cco 13474  df-cat 13813  df-cid 13814  df-func 13975  df-nat 14060  df-fuc 14061
  Copyright terms: Public domain W3C validator