The functor that maps a (co-)monad to its (co-)Eilenberg-Moore category

2-categoriesbicategoriescategory-theoryfunctorsmonads

I have noticed that the function that maps a monad $T : C \to C$ to the Eilenberg-Moore category $C^T$ can easily be extended into a functor $E_C$ from the category of monads $\textbf{Mnd}_C$ to $\textbf{Cat}^\text{op}$.

Questions Is it a well-known functor? How can it be dualized to co-Eilenberg-Moore categories?

My own attempt Le $i$ be the isomorphism between $\textbf{Comnd}_C$ and
$(\textbf{Mnd}_{C^\textit{op}})^{\textit{op}}$.
The composite $({E_{C^\textit{op}}})^\textit{op} \circ i$ is a functor from $\textbf{Comnd}_C$ to $\textbf{Cat}$. But it is not the right one because its object part maps a comonad $D$ to the $\textit{op}$ of the co-Eilenberg-Moore category $C_D$. The $\textit{op}$ is too much.

Best Answer

Here is one way of defining "monad".

Definition 1. A monad in a 2-category $\mathcal{K}$ is a lax 2-functor $\mathbf{1} \to \mathcal{K}$, where $\mathbf{1}$ is the 2-category with a single object and only the trivial morphism and 2-morphism.

But there is a general theorem to the effect that lax 2-functors are the same as strict 2-functors, after replacing the domain with a different 2-category (the so-called lax morphism classifier, though in my opinion it should be called a coclassifier rather than a classifier). In this case, we have a very explicit construction.

Let $\mathbf{M}$ be the following 2-category:

  • There is only one object, $*$.

  • The morphisms are $\textrm{id}, t, t^2, t^3, \ldots$.

  • The 2-morphisms $t^n \Rightarrow t^m$ are the monotone maps $\{ 0, \ldots, n - 1 \} \to \{ 0, \ldots, m - 1 \}$.

In other words, $\mathbf{M}$ is the delooping of the augmented simplex category considered as a strict monoidal category. (Beware of differing numbering conventions for the objects in the augmented simplex category.)

Definition 2. A monad in 2-category $\mathcal{K}$ is a strict 2-functor $\mathbf{M} \to \mathcal{K}$.

The two definitions are equivalent in the following sense:

Proposition. There is a lax 2-functor $\mathbf{1} \to \mathbf{M}$ such that, for every lax 2-functor $\mathbf{1} \to \mathcal{K}$, there is a unique strict 2-functor $\mathbf{M} \to \mathcal{K}$ such that the composite $\mathbf{1} \to \mathbf{M} \to \mathcal{K}$ is the given lax 2-functor.

So much for monads. What about morphisms of monads? If we follow definition 1, the obvious notion of morphism is that of a lax natural transformation (of lax 2-functors), but we could also consider icons (= identity-component oplax natural transformations). If we follow definition 2, the obvious notion of morphism is that of a strict natural transformation (of strict 2-functors). But we could also look at lax or oplax or pseudo natural transformations (of strict 2-functors). Every strict natural transformation is pseudo, and every pseudo natural transformation is both lax and oplax. In principle, we might also consider things similar to pseudo natural transformations except that the naturality squares only commute up to an unspecified 2-isomorphism and no coherence axioms are imposed, but they do not seem to be useful.

As I said, what notion of morphism is appropriate depends on the application. For Eilenberg–Moore objects, it seems the right notion is that of a lax natural transformation of strict 2-functors. I described the universal property of the Eilenberg–Moore object of a monad previously, but if we define monad following definition 2, there is a succinct description: it is the lax limit of the strict 2-functor $\mathbb{T} : \mathbf{M} \to \mathcal{K}$. That is, it is an object $A$ in $\mathcal{K}$ together with a universal lax cone $\Delta A \Rightarrow \mathbb{T}$. Universality means that for every object $B$ in $\mathcal{K}$ and every lax cone $\Delta B \Rightarrow \mathbb{T}$ there is a unique morphism $B \to A$ such that the composite $\Delta B \Rightarrow \Delta A \Rightarrow \mathbb{T}$ is the lax cone you started with. If you have another strict 2-functor $\mathbb{T}' : \mathbf{M} \to \mathcal{K}$ and a lax natural transformation $\mathbb{T}' \Rightarrow \mathbb{T}$, you get an induced morphism from the lax limit of $\mathbb{T}'$ to the lax limit of $\mathbb{T}$, i.e. a morphism between the Eilenberg–Moore objects of the respective monads. In fact:

Proposition. Let $[\mathbf{M}, \mathcal{K}]_\textrm{strict, lax}$ be the following 2-category:

  • The objects are the strict 2-functors $\mathbf{M} \to \mathcal{K}$.
  • The morphisms are the lax natural transformations.
  • The 2-morphisms are the modifications.

Assuming $\mathcal{K}$ has Eilenberg–Moore objects for every monad, there is a strict 2-functor $[\mathbf{M}, \mathcal{K}]_\textrm{strict, lax} \to \mathcal{K}$ sending each monad (i.e. strict 2-functor $\mathbf{M} \to \mathcal{K}$) to its Eilenberg–Moore object (i.e. lax limit).

We can easily dualise this to get the corresponding construction for comonads: just replace $\mathcal{K}$ with $\mathcal{K}^\textrm{co}$. If we shuffle the modifiers to get $\mathcal{K}$ to appear without ${}^\textrm{co}$, we get:

Proposition. Let $[\mathbf{M}^\textrm{co}, \mathcal{K}]_\textrm{strict, oplax}$ be the following 2-category:

  • The objects are the strict 2-functors $\mathbf{M}^\textrm{co} \to \mathcal{K}$.
  • The morphisms are the oplax natural transformations.
  • The 2-morphisms are the modifications.

Assuming $\mathcal{K}$ has Eilenberg–Moore objects for every comonad, there is a strict 2-functor $[\mathbf{M}^\textrm{co}, \mathcal{K}]_\textrm{strict, oplax} \to \mathcal{K}$ sending each comonad (i.e. strict 2-functor $\mathbf{M}^\textrm{co} \to \mathcal{K}$) to its Eilenberg–Moore object (i.e. oplax limit).

If you want to focus on monads on a single category you could take the evident full sub-2-category of $[\mathbf{M}, \mathcal{K}]_\textrm{strict, lax}$, or you could cut down the 1-morphisms (as Borceux does) to identity-component lax natural transformations. (Note that an identity-component lax natural transformation $\mathbb{T}' \Rightarrow \mathbb{T}$ will have among its data 2-morphisms $t \Rightarrow t'$. The arrows point in opposite directions, but this is what falls out of the definitions. You can fix this by thinking about icons instead, but that obscures the duality.)