Contents

### Context

#### Categorical algebra

internalization and categorical algebra

universal algebra

categorical semantics

#### Higher algebra

higher algebra

universal algebra

# Contents

## Definition

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:K\to K$ is a strict 2-functor, and the transformations $\mu$ and $\eta$ are strict 2-natural transformations and satisfy their laws strictly. This is the same as a $Cat$-enriched monad. 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 $\mu$ and $\eta$ 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 $\mu$ and $\eta$ only pseudo natural. This sort of pseudomonad lives naturally in a Gray-category.

### Algebras and pseudoalgebras over a 2-monad

One can consider various 2-categories of algebras/modules 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.

At the strictest level, for a strict 2-monad $T$ we can consider the $Cat$-enriched Eilenberg-Moore category, which consists of strict algebras (see algebra over a monad), strict morphisms, and strict transformations between these. In 2-categorical literature, it is usually denoted $T Alg_s$. 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). See lax morphism for further discussion. With strict algebras and these various types of morphism, we obtain 2-categories $T Alg$ (the pseudo case), $T Alg_l$, and $T Alg_c$ for lax and colax respectively. One can also define an F-category of strict and lax morphisms together (or strict and pseudo, or pseudo and lax), and a double category which includes both lax and colax morphisms.

For example, ordinary (non-strict) monoidal categories are the strict algebras for a strict 2-monad $T_{MC}$ 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 $T_{StrMC}$ on $Cat$.

We can, however, also consider pseudo algebras for a 2-monad; see pseudoalgebra for a 2-monad. If the 2-monad is not strict, then this is usually the only sensible course. Pseudoalgebras for a strict 2-monad $T$ usually give an “unbiased” weaker notion of the structure specified by $T$. For example, the pseudoalgebras for $T_{StrMC}$ are, not ordinary monoidal categories, but unbiased monoidal categories. (It is true, however, that the 2-category $Ps T_{StrMC} Alg$ of unbiased monoidal categories and strong monoidal functors is strictly 2-equivalent, i.e. Cat-enriched equivalent, to the 2-category of ordinary biased monoidal categories and strong monoidal functors.)

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\times B) \to F(A)\times F(B)$.

## Properties

### Relation to 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.”

A strict 2-monad $T$ has an underlying monad $T_0$, such that strict $T$-algebras and strict $T$-morphisms are the same as $T_0$-algebras and $T_0$-morphisms. (This is a special case of the the general theory of underlying ordinary categories for enriched categories.) Moreover, if a strict 2-category $A$ admits powers or copowers with the interval category, then any monad on its underlying ordinary category $A_0$ has at most one enrichment to a strict 2-monad. Thus, in this case “being a 2-monad” is a mere property of a monad; see the “unicity” paper of John Power below.

• R. Blackwell, G. M. Kelly, and A. J. Power, Two-dimensional monad theory, Jour. Pure Appl. Algebra 59 (1989), 1–41

• F. Marmolejo, Doctrines whose structure forms a fully faithful adjoint string, Theory and Applications of Categories 3 (1997), 23–44. (TAC)

• Stephen Lack, A coherent approach to pseudomonads, Advances in Mathematics 152 (2000), 179–202. (doi:10.1006/aima.1999.1881)

• Max Kelly and Steve Lack, On property-like structures, Theory and Applications of Categories 3 (1997) 213–250. (TAC)

• Stephen Lack, Homotopy-theoretic aspects of 2-monads (arXiv:math/0607646)

• Stephen Lack, Codescent objects and coherence, JPAA 175 (2002), 223–241.

• I. J. Le Creurer, F. Marmolejo, E. M. Vitale, Beck’s theorem for pseudo-monads, J. Pure Appl. Algebra 173 (2002), no. 3, 293–313.

• John Power, Unicity of enrichment over Cat or Gpd, Appl. Categ. Struct. 2009, 1–7.

On the relation to symmetric operads:

• Joachim Kock, Data types with symmetries and polynomial functors over groupoids, 28th Conference on the Mathematical Foundations of Programming Semantics (Bath, June 2012); in Electronic Notes in Theoretical Computer Science. (arXiv:1210.0828)