The aim of this post is to show that for a monad
,
every Eilenberg-Moore algebra is given as the coequalizer of a parallel pair of morphisms between free algebras in
. In this case, we say that
is a regular quotient of free algebras. Notice we are not making any any assumptions about the base category
such as (co)completeness, so we don’t have a lot to work with. Really the only available structure is:
- The unit and multiplication of the monad, and the axioms they satisfy.
- The two axioms that every Eilenberg-Moore algebra satisfies relating its structure map to the unit and multiplication.
So we have a handful of morphisms, and some equations that they satisfy, and that’s it. Let’s have a look at how this magic trick is performed.
A parallel pair of algebra morphisms
As a first step, we note that for an Eilenberg-Moore algebra , we have a parallel pair of
morphisms:
Expanding the action of the free algebra functor, this is a pair of morphisms:
That is an algebra morphism is equivalent to the Eilenberg-Moore algebra multiplication axiom. That
is an algebra morphism is simply naturality of the monad multiplication.
By naturality of , we note that there is an algebra morphism in the opposite direction:
Furthermore, by the monad right unitality axiom
and by the algebra unit axiom:
Therefore these three morphisms form a reflexive pair.
A coequalizer in the base category
We now apply the forgetful functor , yielding a parallel pair.
which if we unpack the definitions is simply a parallel pair of -morphisms:
Our current aim is to find a coequalizer of this pair, knowing it must have codomain . The obvious choice is to consider
as our candidate universal coequalizer morphism. By the algebra multiplication axiom, we have
which is an encouraging first step to establishing this forms a coequalizer diagram. To establish the universal property, we are going to need a bit more. Using components of the monad unit, we get two other useful -morphisms:
.
.
By the algebra unit axiom
and by the monad left unitality axiom
Finally, by naturality:
.
We have shown the our parallel pair form a contractible coequalizer in the base category, and further that the parallel pair of algebra morphism:
form a reflexive -contractible pair.
An algebra coequalizer
We would now like to conclude we have a coequalizer in the Eilenberg-Moore category. Recall that the forgetful functor creates colimits that are preserved by
and
. As contractible coequalizers are absolute colimits, we can apply this result to lift the coequalizer to the Eilenberg-Moore category.
Finally, we note that is in fact an algebra morphism of type:
by the Eilenberg-Moore algebra multiplication axiom. Therefore
is a coequalizer diagram in the Eilenberg-Moore category, and is a regular quotient of free algebras as claimed.
Conclusion
We encountered reflexive -contractible coequalizers in the statement of Beck’s monadicity theorem. In this post, we have seen one example of why these particular absolute colimits are important in the theory of monads, as they can be used to construct every Eilenberg-Moore algebra as a quotient of a free algebra.
Proving this result from very few assumptions, beyond some morphisms satisfying certain equations, leads us to the construction of coequalizers which are defined by by equations between morphisms. Such constructions are necessary absolute, and this at least partially explains the significance of absolute colimits in this context.