nLab
2-monad

A 2-monad is a monad on a 2-category, or more generally a monad in a 3-category. This concept manifests at varying levels of strictness:

  • For a strict 2-monad (which classically is called a simply a “2-monad”), the 2-category K is a strict 2-category, the functor T:KK is a strict 2-functor, and the transformations μ and η are strict 2-natural transformation?s and satisfy their laws strictly. Strict 2-monads live naturally in strict 3-categories.

  • For a fully weak 2-monad, K is a weak 2-category (such as a bicategory), T is a weak (aka pseudo) 2-functor, and μ and η are pseudo natural transformations that satisfy their laws up to specified isomorphisms satisfying coherence conditions. Weak 2-monads live naturally in fully weak 3-categories (or tricategories)

  • In between we have various notions that are sometimes called pseudomonads. For instance, we could require K to be a strict 2-category and T a strict 2-functor, but μ and η only pseudo natural. This sort of pseudomonad lives naturally in a Gray-category.

One can consider various 2-categories of algebras (pseudo algebras, 2-algebras) for a 2-monad, depending on whether the algebras satisfy their laws strictly or weakly, and whether the morphisms commute with the algebra structure strictly or weakly.

Many common types of structure on categories are specified by strict algebras for a strict 2-monad, but usually the strict morphisms are too strict. There are three types of weak morphism: pseudo (which preserve the structure up to a specified coherent isomorphism), lax (which preserve it up to a noninvertible transformation) and colax or oplax (for which the transformation goes the other direction).

For example, ordinary (non-strict) monoidal categories are the strict algebras for a strict 2-monad on Cat, but usually we care about pseudo, lax, and oplax monoidal functors rather than strict ones. Strict monoidal categories are the strict algebras for a different strict 2-monad on Cat, and the pseudo algebras for this 2-monad are, not ordinary monoidal categories, but unbiased? monoidal categories.

There are also 2-monads that specify property-like structure. For instance, there is a 2-monad whose algebras are categories with finite products. Actually, its algebras are categories equipped with specified finite products, the strict morphisms of these algebras preserve these specified finite products on the nose, and the pseudo morphisms preserve them in the usual sense of “preserving finite products.” In this case, every functor between algebras is an oplax morphism, since there is always a canonical comparison map F(A×B)F(A)×F(B).

Doctrines

2-monads (particularly on Cat) are also sometimes called doctrines, with the intuition in mind that they are an “algebraic theory” of structure on a category just as a monad (on Set) is an algebraic theory of structure on a set. However, this use of terminology is arguably at variance with the original intuitive meaning of “doctrine.”

References