A monad is an endofunctor with unit and multiplication satisfying associativity and unit laws.
The unit repeats an element and multiplication selects the two outer diagonal entries. Both unit laws hold directly, and the associativity law selects the same two diagonal entries of an eight-entry array. Its algebras for a monad are precisely rectangular bands, including the empty algebra.
In a category with equalizers, the equalizer of defines a functor by . It has unit and multiplication characterized by
Cancelling the monomorphisms reduces its unit and associativity laws to those of , so is a monad morphism. The split equalizers associated with a monad show that is invertible. If every is monic, then every is invertible, the naturality square of at is a pullback in a category, and is an idempotent monad. This monicity hypothesis is essential to this last argument; arbitrary functors need not preserve monomorphisms.
A morphism of monads on one category is a natural transformation with and . These equations preserve the unit and multiplication. A terminal endofunctor in a full composition-closed subcategory containing the identity receives a unique such morphism from every monad whose functor belongs to that subcategory.
A monad morphism induces a functor between Eilenberg-Moore categories, identical on underlying objects and arrows. Its unit equation gives the restricted algebra's unit law. Naturality and the multiplication equation give . Naturality also preserves algebra morphisms.
On the Category of sets, the list monad sends to all finite ordered lists of elements of , including the empty list. Its unit inserts a singleton list and its multiplication concatenates a list of lists. Functoriality is entrywise application of functions. Ordered flattening proves the monad laws. This is the free-monoid monad, so order must not be discarded.
An algebra for a monad for the list monad is precisely a monoid. For an action , the identity is and multiplication is . The algebra laws force the unit and associativity laws and determine as ordered multiplication. Conversely ordered multiplication defines a list action. Algebra morphisms are exactly monoid homomorphisms, giving an isomorphism of categories .
The natural maps and defining a monad, subject to the associativity and two unit identities.
A monad whose endofunctor is an opmonoidal functor and whose unit and multiplication are opmonoidal natural transformations. Its Eilenberg-Moore category has a tensor of algebras and unit .
Let be the monoid of order-preserving functions , with , regarded as a one-object category. The endofunctor fixes that object and sends to , . The displayed maps give its monad unit and multiplication. The multiplication is not injective, so this is not an idempotent monad. Its only algebra for a monad is , because forces and monotonicity forces . Algebra endomorphisms are exactly the functions fixing zero. The Kleisli comparison functor sends to the function which is zero at zero and equals at ; its inverse sends to . Thus the comparison is an isomorphism of categories even though the monad is not idempotent.
A monad is idempotent when its multiplication is invertible. Then . If is an algebra for a monad, its unit law and naturality give and . Thus every algebra is isomorphic to a free algebra, and the Kleisli comparison functor into the Eilenberg-Moore category is an equivalence.
Let a full subcategory of the endofunctor category contain the identity, be closed under composition, and have terminal object . Then has a unique monad structure: the unit and multiplication are the unique maps to the terminal object. The monad laws hold because each compares two maps with codomain from the same object.
The ultrafilter functor carries the monad structure obtained from its terminality among finite-coproduct-preserving endofunctors of sets. Its unit sends a point to its principal ultrafilter; its multiplication sends an ultrafilter of ultrafilters to the ultrafilter of subsets whose corresponding basic set of ultrafilters is large.
An adjunction with unit and counit induces the monad
with unit .
Fix a monad on . Objects are adjunctions with left-hand category whose induced monads are identified with the fixed monad. A morphism between two such adjunctions is a functor between their right-hand categories commuting with both adjoints and respecting the specified units and counits. Strict identifications give a category; coherent identifications give the analogous universal property up to compatible natural isomorphism.
An algebra for a monad is an object with a morphism satisfying and .
Every algebra for a monad is the coequalizer, in the Eilenberg-Moore category, of with underlying arrows and , followed by . The pair has common section . If an algebra morphism equalizes the pair, the unique induced algebra morphism is . This explicit proof does not require general colimits of algebras.
For an algebra for a monad , its action satisfies .
For a monad , the free algebra functor sends to and to . It is a left adjoint to the forgetful functor , via and between and .
A morphism of algebras for a monad satisfies . Such morphisms are the morphisms of the Eilenberg-Moore category.
The Eilenberg-Moore category consists of algebras for a monad and their structure-preserving morphisms.
For algebra maps whose underlying maps have a split coequalizer , every functor preserves the split diagram, including and . Since equalizes , it factors uniquely to the displayed action . Cancellation of the epimorphisms proves the unit and multiplication laws. Any algebra-valued map equalizing the pair factors through , and cancelling proves that its factor preserves the action. This establishes creation of that coequalizer.
Given a diagram of algebras for a monad, take any chosen limit of its underlying diagram. The displayed equations uniquely determine , because their right-hand sides form a cone. Joint monicity of the limit projections proves and . The same projection argument proves that every induced mediating map preserves the algebra action. Thus the forgetful functor strictly creates this limit with the prescribed underlying cone, without assuming the monad preserves limits.
For a monad , the free algebra functor sends to and is a left adjoint to the forgetful functor from the Eilenberg-Moore category. The transpose bijection sends an monad algebra morphism to ; its inverse sends to , where is the algebra structure. The monad and algebra laws make these inverse and natural. The adjunction unit is and the adjunction counit at is , so the induced monad has exactly the original endofunctor, unit and multiplication.
For a functor between Eilenberg-Moore categories lying over a right adjoint on the base categories and compatible with the monad structures, an adjoint lifting theorem constructs a left adjoint when the required reflexive coequalizers of algebra presentations exist. Applied through power-object monadicity, this converts a left adjoint of a logical functor into a right adjoint of that logical functor. The coequalizer hypotheses are part of the theorem; commutation with the forgetful functors alone is insufficient.
For algebras for a monad and underlying binary coproducts in a category, put . If the algebra pair has a coequalizer, that coequalizer is their algebra coproduct. An algebra map from transposes to ; equalizing the pair is exactly the two algebra-morphism equations for . The pair is reflexive through .
If has finite colimits and a monad preserves reflexive coequalizers, its Eilenberg-Moore category has finite colimits. The forgetful functor creates reflexive coequalizers preserved by . The coproduct presentation for monad algebras yields binary coproducts, and is initial. Any pair can then be replaced by the reflexive pair , with identical coequalizers. Finite coproducts and coequalizers give all finite colimits.
For with induced monad , the Eilenberg-Moore comparison functor is
If each standard counit presentation is a coequalizer, the Eilenberg-Moore comparison functor is full and faithful. An monad algebra morphism makes equalize and ; its unique descent is the required morphism . The triangle identities for an adjunction make a split epimorphism, so descent has underlying arrow exactly . Epimorphic cancellation at proves faithfulness.
For an adjunction , applying to its standard counit presentation gives , split by the monad units. Reflection therefore makes every counit presentation a coequalizer and gives full faithfulness by descent. Conversely, monad algebra forgetful functor creates split coequalizers makes an existing G-split quotient a coequalizer in the Eilenberg-Moore category. Fullness and faithfulness of the comparison lift its universal factorization back to the original category.
The free-forgetful adjunction for the Eilenberg-Moore category is terminal in the category of adjunctions inducing a fixed monad. The unique morphism into it is the Eilenberg-Moore comparison functor . Its underlying objects and arrows are forced by the forgetful functor, and counit compatibility forces its algebra actions.
If induces and has coequalizers of reflexive pairs, then the comparison has a left adjoint. On a -algebra it is the coequalizer
The pair is reflexive through , and its universal property gives .
For inducing , the Eilenberg-Moore comparison functor has a left adjoint exactly when every algebra has a coequalizer of . Transposition identifies maps equalizing this pair with monad algebra morphisms , proving both directions of the criterion. The unit is and satisfies . In the base category, is a split coequalizer of , split by and . Consequently is invertible exactly when is also a coequalizer. The unit is invertible everywhere precisely when preserves all these specified coequalizers; preservation of arbitrary coequalizers is not required.
When each comparison functor has a left adjoint, iterating the Eilenberg-Moore comparison functor produces the monadic tower. Its monadic length is the least number of comparison steps needed to reach an equivalence; an equivalence has length zero and a non-equivalence that is already monadic has length one.
For the nested partial unary operation category tower, each one-step forgetful functor is a monadic adjunction right adjoint: it reflects isomorphisms and creates its split coequalizers. The Beck monadicity theorem identifies the first Eilenberg-Moore category with the next category in the tower. A long composite has that same first monad because free extension of nested partial unary operations leaves no new top fixed points. Repeating the comparison forgets one fewer operation at each step. The remaining forgetful functor is not full until no operation remains to forget, giving monadic length .
An adjunction is monadic when its comparison functor from the right-hand category to the Eilenberg-Moore category of the induced monad is an equivalence.
The induced monad determines this comparison; Beck's monadicity theorem gives a criterion for it to be an equivalence of categories.
A useful form of the crude monadicity theorem says that a right adjoint is monadic if it reflects isomorphisms and its source has and the functor preserves coequalizers of reflexive pairs.
An adjunction is comonadic when the comparison from its left-hand category to coalgebras for the induced comonad is an equivalence. The dual Beck theorem tests this using reflected isomorphisms and suitable equalizers.
The relevant criterion is the Beck comonadicity theorem, dual to Beck's monadicity theorem.
The Beck comonadicity theorem, dual to the Beck monadicity theorem, says that a left adjoint is comonadic when it reflects isomorphisms and preserves the required equalizers of pairs whose images admit split equalizers. A stronger convenient hypothesis is that it preserves all equalizers.
The precise monadicity theorem says that a right adjoint is monadic exactly when it reflects isomorphisms and creates coequalizers of the pairs whose images have split coequalizers.
If an endofunctor has a right adjoint and is a monad, the mate correspondence turns and into a counit and comultiplication . The reversed mate correspondence turns the monad laws into the comonad laws and identifies -algebras with -coalgebras.
For a monad on , the Kleisli category has the objects of and morphisms
Its identity on is , and the composite of and is .
For a monad , the free functor and functor with and form an adjunction inducing that monad. Every other adjunction inducing the same monad receives the unique Kleisli comparison functor commuting with its left and right adjoints and preserving the adjunction structure. This is initiality among adjunctions inducing the specified monad, with morphisms required to respect that structure.
If induces a monad , the comparison maps to and maps a Kleisli category arrow to . It is full and faithful, by the adjunction bijection . Consequently it is part of an equivalence of categories precisely when every object of is isomorphic to some .
The free functor is the identity on objects and sends to . A functor carries an algebra for the precomposition monad exactly when it factors through .
For a monad on and a category , postcomposition defines a monad whose unit and multiplication are pointwise. Its Eilenberg-Moore category is canonically equivalent to .
Precomposition defines a monad by , with unit and multiplication . Its Eilenberg-Moore category is canonically equivalent to .

Ancestors (5)

  1. Category theory
  2. Foundations of mathematics
  3. Area of mathematics
  4. Mathematics
  5. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.