fbpx
Wikipedia

Kleisli category

In category theory, a Kleisli category is a category naturally associated to any monad T. It is equivalent to the category of free T-algebras. The Kleisli category is one of two extremal solutions to the question Does every monad arise from an adjunction? The other extremal solution is the Eilenberg–Moore category. Kleisli categories are named for the mathematician Heinrich Kleisli.

Formal definition edit

Let ⟨T, η, μ⟩ be a monad over a category C. The Kleisli category of C is the category CT whose objects and morphisms are given by

 

That is, every morphism f: X → T Y in C (with codomain TY) can also be regarded as a morphism in CT (but with codomain Y). Composition of morphisms in CT is given by

 

where f: X → T Y and g: Y → T Z. The identity morphism is given by the monad unit η:

 .

An alternative way of writing this, which clarifies the category in which each object lives, is used by Mac Lane.[1] We use very slightly different notation for this presentation. Given the same monad and category   as above, we associate with each object   in   a new object  , and for each morphism   in   a morphism  . Together, these objects and morphisms form our category  , where we define

 

Then the identity morphism in   is

 

Extension operators and Kleisli triples edit

Composition of Kleisli arrows can be expressed succinctly by means of the extension operator (–)# : Hom(X, TY) → Hom(TX, TY). Given a monad ⟨T, η, μ⟩ over a category C and a morphism f : XTY let

 

Composition in the Kleisli category CT can then be written

 

The extension operator satisfies the identities:

 

where f : XTY and g : YTZ. It follows trivially from these properties that Kleisli composition is associative and that ηX is the identity.

In fact, to give a monad is to give a Kleisli tripleT, η, (–)#⟩, i.e.

  • A function  ;
  • For each object   in  , a morphism  ;
  • For each morphism   in  , a morphism  

such that the above three equations for extension operators are satisfied.

Kleisli adjunction edit

Kleisli categories were originally defined in order to show that every monad arises from an adjunction. That construction is as follows.

Let ⟨T, η, μ⟩ be a monad over a category C and let CT be the associated Kleisli category. Using Mac Lane's notation mentioned in the “Formal definition” section above, define a functor FC → CT by

 
 

and a functor G : CTC by

 
 

One can show that F and G are indeed functors and that F is left adjoint to G. The counit of the adjunction is given by

 

Finally, one can show that T = GF and μ = GεF so that ⟨T, η, μ⟩ is the monad associated to the adjunction ⟨F, G, η, ε⟩.

Showing that GF = T edit

For any object X in category C:

 

For any   in category C:

 

Since   is true for any object X in C and   is true for any morphism f in C, then  . Q.E.D.

References edit

  1. ^ Mac Lane (1998). Categories for the Working Mathematician. p. 147.

External links edit

  • Kleisli category at the nLab

kleisli, category, category, theory, category, naturally, associated, monad, equivalent, category, free, algebras, extremal, solutions, question, does, every, monad, arise, from, adjunction, other, extremal, solution, eilenberg, moore, category, kleisli, categ. In category theory a Kleisli category is a category naturally associated to any monad T It is equivalent to the category of free T algebras The Kleisli category is one of two extremal solutions to the question Does every monad arise from an adjunction The other extremal solution is the Eilenberg Moore category Kleisli categories are named for the mathematician Heinrich Kleisli Contents 1 Formal definition 2 Extension operators and Kleisli triples 3 Kleisli adjunction 3 1 Showing that GF T 4 References 5 External linksFormal definition editLet T h m be a monad over a category C The Kleisli category of C is the category CT whose objects and morphisms are given by Obj CT Obj C HomCT X Y HomC X TY displaystyle begin aligned mathrm Obj mathcal C T amp mathrm Obj mathcal C mathrm Hom mathcal C T X Y amp mathrm Hom mathcal C X TY end aligned nbsp That is every morphism f X T Y in C with codomain TY can also be regarded as a morphism in CT but with codomain Y Composition of morphisms in CT is given by g Tf mZ Tg f X TY T2Z TZ displaystyle g circ T f mu Z circ Tg circ f X to TY to T 2 Z to TZ nbsp where f X T Y and g Y T Z The identity morphism is given by the monad unit h idX hX displaystyle mathrm id X eta X nbsp An alternative way of writing this which clarifies the category in which each object lives is used by Mac Lane 1 We use very slightly different notation for this presentation Given the same monad and category C displaystyle C nbsp as above we associate with each object X displaystyle X nbsp in C displaystyle C nbsp a new object XT displaystyle X T nbsp and for each morphism f X TY displaystyle f colon X to TY nbsp in C displaystyle C nbsp a morphism f XT YT displaystyle f colon X T to Y T nbsp Together these objects and morphisms form our category CT displaystyle C T nbsp where we define g Tf mZ Tg f displaystyle g circ T f mu Z circ Tg circ f nbsp Then the identity morphism in CT displaystyle C T nbsp is idXT hX displaystyle mathrm id X T eta X nbsp Extension operators and Kleisli triples editComposition of Kleisli arrows can be expressed succinctly by means of the extension operator Hom X TY Hom TX TY Given a monad T h m over a category C and a morphism f X TY let f mY Tf displaystyle f sharp mu Y circ Tf nbsp Composition in the Kleisli category CT can then be written g Tf g f displaystyle g circ T f g sharp circ f nbsp The extension operator satisfies the identities hX idTXf hX f g f g f displaystyle begin aligned eta X sharp amp mathrm id TX f sharp circ eta X amp f g sharp circ f sharp amp g sharp circ f sharp end aligned nbsp where f X TY and g Y TZ It follows trivially from these properties that Kleisli composition is associative and that hX is the identity In fact to give a monad is to give a Kleisli triple T h i e A function T ob C ob C displaystyle T colon mathrm ob C to mathrm ob C nbsp For each object A displaystyle A nbsp in C displaystyle C nbsp a morphism hA A T A displaystyle eta A colon A to T A nbsp For each morphism f A T B displaystyle f colon A to T B nbsp in C displaystyle C nbsp a morphism f T A T B displaystyle f sharp colon T A to T B nbsp such that the above three equations for extension operators are satisfied Kleisli adjunction editKleisli categories were originally defined in order to show that every monad arises from an adjunction That construction is as follows Let T h m be a monad over a category C and let CT be the associated Kleisli category Using Mac Lane s notation mentioned in the Formal definition section above define a functor F C CT by FX XT displaystyle FX X T nbsp F f X Y hY f displaystyle F f colon X to Y eta Y circ f nbsp and a functor G CT C by GYT TY displaystyle GY T TY nbsp G f XT YT mY Tf displaystyle G f colon X T to Y T mu Y circ Tf nbsp One can show that F and G are indeed functors and that F is left adjoint to G The counit of the adjunction is given by eYT idTY TY T YT displaystyle varepsilon Y T mathrm id TY TY T to Y T nbsp Finally one can show that T GF and m GeF so that T h m is the monad associated to the adjunction F G h e Showing that GF T edit For any object X in category C G F X G F X G XT TX displaystyle begin aligned G circ F X amp G F X amp G X T amp TX end aligned nbsp For any f X Y displaystyle f X to Y nbsp in category C G F f G F f G hY f mY T hY f mY ThY Tf idTY Tf Tf displaystyle begin aligned G circ F f amp G F f amp G eta Y circ f amp mu Y circ T eta Y circ f amp mu Y circ T eta Y circ Tf amp text id TY circ Tf amp Tf end aligned nbsp Since G F X TX displaystyle G circ F X TX nbsp is true for any object X in C and G F f Tf displaystyle G circ F f Tf nbsp is true for any morphism f in C then G F T displaystyle G circ F T nbsp Q E D References edit Mac Lane 1998 Categories for the Working Mathematician p 147 Mac Lane Saunders 1998 Categories for the Working Mathematician Graduate Texts in Mathematics Vol 5 2nd ed Springer ISBN 0 387 98403 8 Zbl 0906 18001 Pedicchio Maria Cristina Tholen Walter eds 2004 Categorical foundations Special topics in order topology algebra and sheaf theory Encyclopedia of Mathematics and Its Applications Vol 97 Cambridge University Press ISBN 0 521 83414 7 Zbl 1034 18001 Riehl Emily 2016 Category Theory in Context PDF Dover Publications ISBN 978 0 486 80903 8 OCLC 1006743127 Riguet Jacques Guitart Rene 1992 Enveloppe Karoubienne et categorie de Kleisli Cahiers de Topologie et Geometrie Differentielle Categoriques 33 3 261 6 MR 1186950 Zbl 0767 18008 External links editKleisli category at the nLab Retrieved from https en wikipedia org w index php title Kleisli category amp oldid 1212476783, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.