nLab
cartesian monad

Cartesian monads

Idea

A cartesian monad is a monad on a locally cartesian category that gets along well with pullbacks.

Motivation through generalised multicategories

Ordinary categories can be defined as monads in the bicategory of spans of sets. Multicategories can be defined in a similar way. (A multicategory is like an ordinary category where each morphism has a list of objects as its domain, and a single object as its codomain; think vector spaces and multilinear maps).

To see how a multicategory C can be defined as a monad in some appropriate bicategory, let C 0 be the set of objects of C, and notice that the domain of a morphism of C–a finite list of objects–is an element of TC 0, where T is the free monoid monad. In this way the data for C can be conveniently organized in the diagram

(1) C 1 d c TC 0 C 0.\begin{matrix}&&C_1&&\\ &\overset{d}\swarrow& &\overset{c}\searrow&\\ T C_0 &&&& C_0. \end{matrix}

Tom Leinster built on the idea of generalized multicategories, where the domain of a morphism can have a more general, higher dimensional shape than just a list. This is accomplished by considering a category other than Set, and a monad T on , and mimicking the above construction. So the data for a T-multicategory is a digram in like the one above.

To state the structure required on the data for a T-multicategory, we want to define a bicategory in which the above span is an endomorphism. Then a T-multicategory will be such a span together with structure making it a monad in that bicategory. The bicategory is (T), the bicategory of T-spans in . Its objects are the objects of , and its morphisms are spans

(2) M d c TE E.\begin{matrix}&&M&&\\ &\overset{d}\swarrow& &\overset{c}\searrow&\\ T E &&&& E'. \end{matrix}

This won’t in general be a bicategory without a few extra assumptions. Identity spans are defined using the unit η:IdT. Composition of spans is defined using pullbacks and the multiplication μ:T 2T, so the category must at least have pullbacks–usually it will be finitely complete. The associativity and unit 2-cells are defined using the universal property of the pullbacks. However, these 2-cells won’t in general be invertible. In fact, it turns out that requiring the monad T to be cartesian is exactly what is needed to ensure that the coherence 2-cells are isomorphisms, and hence that T-spans do in fact form a bicategory. Maybe this should be the “fundamental theorem of cartesian monads”.

Extending Bounabou’s observation that a small category is a monad in Cat, Burroni defined T-multicategories as monads in the bicategory (T) from above. When T is the identity monad on Set, T-multicategories reduce to small categories, and when T is the free monoid monad on Set, T-multicatories are exactly ordinary small multicategories.

As an indication of how this theory is useful as a language for higher categories, take T to be the free strict ω-category monad on the category of globular sets. Then T-multicategories with exactly one object are called globular operads, and Leinster defines one such globular operad (the initial “globular operad with contraction”) for which the algebras are weak ω-categories.

Definition

Let (T,μ,ν) be a monad on a category C. Specifically, T:CC is a functor, and μ:T 2T and ν:Id CT are natural transformations, satisfying unital and associative axioms making T a monoid in the (strict) monoidal category End(C). This monad is cartesian if

  • the category C has all pullbacks,

  • the functor T preserves pullbacks,

  • the natural transformations μ and ν are cartesian. A natural transformation α:ST between functors CD is cartesian if for each map f:AB in C, the naturality square

    (3)SA Sf SB α A α B TA Tf TB\array{ S A & \overset{S f}{\to} & S B \\ \alpha_A \downarrow & & \downarrow \alpha_B \\ T A & \underset{T f}{\to} & T B }

    is a pullback.

Examples

Remarks

There is some slight inconsistency in the use of the word cartesian in category theory. Sometimes, a category is called cartesian if it has all finite limits; similarly, a functor is called cartesian if it preserves all finite limits. In most examples of cartesian monads, the category C has a terminal object, and hence finite limits. However, the functor T almost never preserves terminal objects. For example, the free monoid monad on Set is cartesian, as can be checked directly, but T1 is not a terminal object. In this sense, a cartesian monad is really locally cartesian.

References

  • Tom Leinster, Higher Operads, Higher Categories (arXiv), section 4.1

  • A. Burroni, T-catégories (catégories dans un triple), Cahiers de Topologie et Géométrie Différentielle Catégoriques, 12 no. 3 (1971), p. 215-321 (numdam)

  • blog comment giving the Motivation above

Discussion

Some past discussion about the term ‘cartesian’ has been moved to locally cartesian category.