Boolean domain

From formulasearchengine
Revision as of 18:54, 17 April 2013 by en>EmausBot (Bot: Migrating 1 interwiki links, now provided by Wikidata on d:Q3269980)
Jump to navigation Jump to search

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

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

Obj(𝒞T)=Obj(𝒞),Hom𝒞T(X,Y)=Hom𝒞(X,TY).

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

gTf=μZTgf

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

idX=ηX.

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 as above, we associate with each object X in C a new object XT, and for each morphism f:XTY in C a morphism f*:XTYT. Together, these objects and morphisms form our category CT, where we define

g*Tf*=(μZTgf)*.

Then the identity morphism in CT is

idXT=(ηX)*.

Extension operators and Kleisli triples

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

f*=μYTf.

Composition in the Kleisli category CT can then be written

gTf=g*f.

The extension operator satisfies the identities:

ηX*=idTXf*ηX=f(g*f)*=g*f*

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 triple, i.e.

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

Kleisli adjunction

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. Define a functor F : CCT by

FX=X
F(f:XY)=ηYf

and a functor G : CTC by

GY=TY
G(f:XTY)=μYTf

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

εY=idTY.

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

External links

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  1. Mac Lane(1998) p.147