Monads and their algebras
In the tree of ModernMath: ModernMath › 18-XX Category theory; homological algebra › 18Cxx Categories and theories › 18C15 Monads (= standard construction, triple or triad), algebras for monads, homology and derived functors for monads , the subject of its primary MSC2020 code; its secondary code 18C20 Eilenberg-Moore and Kleisli constructions for monads is a cross-reference. Show it in the tree and the cross-reference graph .
Every adjunction F ⊣ U F\dashv U F ⊣ U with U : D → C U\colon\mathcal{D}\to\mathcal{C} U : D → C induces on
C \mathcal{C} C a monad, an endofunctor with a unit and an associative
multiplication. Conversely every monad arises from an adjunction, in a
smallest way, through its Kleisli category, and in a largest way, through its
category of algebras. A functor is monadic when its domain is the category of
algebras of the induced monad; groups, rings and modules are monadic over
sets, and so, less obviously, are compact Hausdorff spaces.
A monad on a category C \mathcal{C} C consists of a functor
T : C → C T\colon\mathcal{C}\to\mathcal{C} T : C → C and natural transformations
η : 1 C ⇒ T \eta\colon1_{\mathcal{C}}\Rightarrow T η : 1 C ⇒ T , the unit , and
μ : T 2 ⇒ T \mu\colon T^2\Rightarrow T μ : T 2 ⇒ T , the multiplication , such that
μ ∘ T μ = μ ∘ μ T \mu\circ T\mu=\mu\circ\mu T μ ∘ T μ = μ ∘ μ T and μ ∘ T η = 1 T = μ ∘ η T \mu\circ T\eta=1_T=\mu\circ\eta T μ ∘ T η = 1 T = μ ∘ η T
(Definition 5.1.1 of Riehl (2016) ; Definition 4.1.1 of Borceux (1994) ).
Thus a monad is a monoid in the category of endofunctors of C \mathcal{C} C ,
with composition as product (Remark 5.1.2 of Riehl (2016) ). A comonad
on C \mathcal{C} C is a monad on C o p \mathcal{C}^{\mathrm{op}} C op
(Definition 5.1.6 of Riehl (2016) ).
An adjunction F ⊣ U F\dashv U F ⊣ U , with F : C → D F\colon\mathcal{C}\to\mathcal{D} F : C → D , unit η \eta η
and counit ϵ \epsilon ϵ , induces a monad ( U F , η , U ϵ F ) (UF,\eta,U\epsilon F) ( U F , η , U ϵ F ) on C \mathcal{C} C
(Lemma 5.1.3 of Riehl (2016) ).
The unit laws are the triangle identities of
Theorem 68.3 , whiskered by U U U and F F F , and
associativity, U ϵ F ∘ U F U ϵ F = U ϵ F ∘ U ϵ F U F U\epsilon F\circ UFU\epsilon F=U\epsilon F\circ U\epsilon FUF U ϵ F ∘ U F U ϵ F = U ϵ F ∘ U ϵ F U F ,
is the naturality of ϵ \epsilon ϵ applied to the components of ϵ \epsilon ϵ
(proof of Lemma 5.1.3 of Riehl (2016) ).
Let ( T , η , μ ) (T,\eta,\mu) ( T , η , μ ) be a monad on C \mathcal{C} C . A T T T -algebra is a pair
( A , a ) (A,a) ( A , a ) of an object A A A and a morphism a : T A → A a\colon TA\to A a : T A → A with a η A = 1 A a\eta_A=1_A a η A = 1 A
and a ∘ T a = a ∘ μ A a\circ Ta=a\circ\mu_A a ∘ T a = a ∘ μ A , and a morphism of T T T -algebras f : ( A , a ) → ( B , b ) f\colon(A,a)\to
(B,b) f : ( A , a ) → ( B , b ) is a morphism f : A → B f\colon A\to B f : A → B with f a = b ∘ T f f a=b\circ Tf f a = b ∘ T f . The T T T -algebras
form the Eilenberg–Moore category C T \mathcal{C}^T C T
(Definition 5.2.4 of Riehl (2016) ). The forgetful functor
U T : C T → C U^T\colon\mathcal{C}^T\to\mathcal{C} U T : C T → C has a left adjoint, which sends A A A to
the free algebra ( T A , μ A ) (TA,\mu_A) ( T A , μ A ) , and this adjunction induces the monad
T T T (Lemma 5.2.8 and Definition 5.2.14 of Riehl (2016) ).
The Kleisli category C T \mathcal{C}_T C T of a monad ( T , η , μ ) (T,\eta,\mu) ( T , η , μ ) has the
objects of C \mathcal{C} C , and a morphism A → B A\to B A → B of C T \mathcal{C}_T C T is a
morphism A → T B A\to TB A → TB of C \mathcal{C} C ; the composite of f : A → T B f\colon A\to TB f : A → TB and
g : B → T C g\colon B\to TC g : B → TC is μ C ∘ T g ∘ f \mu_C\circ Tg\circ f μ C ∘ T g ∘ f , and the identity of A A A is
η A \eta_A η A (Definition 5.2.9 of Riehl (2016) ). There is again an adjunction
between C \mathcal{C} C and C T \mathcal{C}_T C T that induces T T T , and C T \mathcal{C}_T C T
is equivalent to the full subcategory of free algebras in C T \mathcal{C}^T C T
(Lemmas 5.2.11 and 5.2.13 of Riehl (2016) ).
Let F ⊣ U F\dashv U F ⊣ U be an adjunction, with U : D → C U\colon\mathcal{D}\to\mathcal{C} U : D → C ,
inducing the monad T T T . There are unique functors C T → D \mathcal{C}_T\to\mathcal{D} C T → D
and K : D → C T K\colon\mathcal{D}\to\mathcal{C}^T K : D → C T that commute with the left adjoints
and with the right adjoints; thus the Kleisli adjunction is initial and the
Eilenberg–Moore adjunction is terminal among the adjunctions inducing T T T
(Proposition 5.2.12 of Riehl (2016) ). The comparison functor K K K sends
d d d to ( U d , U ϵ d ) (Ud,U\epsilon_d) ( U d , U ϵ d ) (pp. 164–165 of Riehl (2016) ).
An adjunction is monadic if its comparison functor K K K is an
equivalence of categories, and a functor is monadic if it has a left
adjoint and the adjunction is monadic (Definition 5.3.1 of Riehl (2016) ). For
instance, the inclusion of a reflective subcategory is monadic
(Proposition 5.3.3 of Riehl (2016) ).
A split coequaliser consists of morphisms f , g : x → y f,g\colon x\to y f , g : x → y ,
h : y → z h\colon y\to z h : y → z , s : z → y s\colon z\to y s : z → y and t : y → x t\colon y\to x t : y → x with h f = h g hf=hg h f = h g ,
h s = 1 z hs=1_z h s = 1 z , g t = 1 y gt=1_y g t = 1 y and f t = s h ft=sh f t = s h ; then h h h is a coequaliser of f f f and g g g , and
every functor preserves this coequaliser (Definition 5.4.5 and
Lemma 5.4.6 of Riehl (2016) ). For a functor U : D → C U\colon\mathcal{D}\to\mathcal{C} U : D → C , a
U U U -split pair is a pair f , g : x → y f,g\colon x\to y f , g : x → y in D \mathcal{D} D whose image
under U U U extends to a split coequaliser in C \mathcal{C} C , and U U U creates
coequalisers of U U U -split pairs if every such pair has a coequaliser in
D \mathcal{D} D that U U U sends to a coequaliser isomorphic to the given split
one, and every fork in D \mathcal{D} D on such a pair whose image under U U U is
isomorphic to the given split one is a coequaliser (Definition 5.4.8 of Riehl (2016) ).
The forgetful functors to S e t \mathbf{Set} Set from monoids, groups, abelian
groups, rings, modules over a ring, lattices, pointed sets and G G G -sets are
monadic (Corollary 5.5.3 of Riehl (2016) ).
The underlying set functor from compact Hausdorff spaces to sets is
monadic (Corollary 5.5.6 of Riehl (2016) ; Proposition 4.6.6 of Borceux (1994) ); Riehl gives a proof due to
Paré. The induced monad sends a set to the underlying set of the
Stone–Čech compactification of the discrete space on it, which is the
set of ultrafilters on the set (Example 5.1.4 of Riehl (2016) ).
The forgetful functor from topological spaces to sets has a left
adjoint but is not monadic: a monadic functor reflects isomorphisms, and a
continuous bijection need not be a homeomorphism
(Proposition 70.10 and
Example 61.7 ).
Source of this page: myst/18-category-theory/10-monads.md (history , edit ) and latex/entries/18-category-theory/10-monads.tex (history , edit ). To propose a change, see how to contribute .
Riehl, E. (2016). Category theory in context . Dover Publications. Borceux, F. (1994). Handbook of categorical algebra. 2: Categories and structures (Vol. 51). Cambridge University Press. 10.1017/CBO9780511525865