Formal Theory of Monads (Following Street)
Posted by Emily Riehl
Guest post by Eduard Balzin
The Kan extension seminar continues, and with it we now come to the paper by Ross Street. Published in 1972, this paper is one of the first instances where the notion of a monad was made relative to an arbitrary 2-category. A lot of aspects, such as algebras over a monad, Eilenberg-Moore and Kleisli categories, the relation with adjunctions, were generalised accordingly. Other topics involve representability, duality, and the example of . I will therefore try to talk about this paper in detail, and add something of my own.
Myself, in the course of my (higher)-categorical education, I have not learned in full about monads. I do not mean definitions or main theorems, but rather the answer to the question why monads. While preparing for the seminar, I’ve managed to give a series of answers to this (my own) question, and I hope that the discussion will take me (and everyone else) even further.
Let me sincerely thank Emily Riehl for organising the seminar. I truly hope it will be a new castle on the landscape of categorical life. I am also quite grateful for the participants of the seminar, who have greatly contributed during the online discussion and in their readers discussion. It all makes me happy.
I. What follows below is my summary and exposition of Street’s paper. At times, I add words of mine. The notation is not exactly of Street, but follows him closely for reading convenience. In addition, I rearranged some of the paragraphs in my exposition.
At the time this paper has written, monads had been around for quite a while and had achieved some recognition due to their usefulness in homological algebra and homotopy theory. Indeed, this is not the first paper where a monad internal to an arbitrary (weak) 2-category appears. Apparently the first mention of such general monads was made by Jean Bénabou in 1967. Formal Theory of Monads also restricts its attention to 2-categories instead of bicategories, strict 2-adjunctions instead of coherent ones. This brings more transparency to the theory but lessens the ability to apply the results of this paper directly.
II. A monad in a 2-category is a monoid object inside for some . Thus we have ‘multiplication’ 2-cells and ‘unit’ such that if we draw associativity and unit diagrams, we witness commutativity of those. A monad morphism consists of a 1-cell together with a 2-cell . It should be required that preserves units and associativity. A monad functor transformation is a 2-cell suitably commuting with 2-cells. For each , this defines a 2-category , the construction is actually functorial in .
Maybe some readers are not willing to take this definition for granted. Then I remind them of the following situation in . For a monad , a -algebra is an object equipped with a map , commuting suitably with and . The map of monads will send an -algebra to a -algebra.
A 2-category admits construction of algebras if the inclusion 2-functor , sending to , has a right adjoint (in the strict 2-categorical sense) . ( always has a left adjoint .) The counit of 2-adjunction gives rise to a monad morphism through which each morphism of monads factors. The adjunct of defines a map that is left adjoint to and such that . This gives us a theorem which says that when exists, each monad is generated by an adjunction.
Also, for each adjunction , there is a comparison 1-morphism . is monadic when this is an equivalence (Street asks for an isomorphism, though).
III. The paper also studies representability questions. In , we know that has the form of the category of algebras for a monad mentioned above. By direct consideration, it turns out, that there is an isomorphism (of categories — things are strict in this paper!) where is the monad induced by Yoneda embedding. With this, we have two things to mention:
(a) represents a functor . It turns out that can be obtained as a weighted limit. This is observed but not proved in the paper, but was actually done afterwards.
(b) Many things about monads in can be deduced by passing to -presheaves. For instance, is an equivalence iff for each the functor is an equivalence. So is monadic iff is for each .
IV. For a given object of , we can form the comma category (we use the underlying functor) of monads over . One can ask, given a monad and , if there is a pushforward monad on which is universal (any monad morphism factors through the canonical one ). Those for which this pushforward exists are called tractable.
For instance, we can try taking to be the right Kan extension of along , and this (if exists) will give us a desired universal pushforward. When is unity, this is precisely what is called codensity monad. Observe that when has a left adjoint , we can always take , and this will satisfy the desired universal property. Thus codensity monads are monads one would get if actually had a left adjoint.
Let us restrict our attention to the category which is the same as the inverse image of the underlying functor over . The construction of algebras can be actually seen as a ‘semantics’ functor , , and it will land in the full subcategory of tractable objects. For each tractable object, forming the universal monad gives us the ‘structure’ functor , . is right adjoint to , and the counit of this adjunction is moreover an isomorphism.
V. For a 2-category , there are its duals , , and . There is a big section of the paper which studies questions involving interpretations of monads and the construction of algebras in these dual 2-categories.
In we again get monads (and so if is generated by an adjunction in , same is true in ), but the functors between them are different. Precisely, if we consider (so that the direction of 1-morphisms is the same as in ), we get that a 1-morphism here is a monad opfunctor in : a 1-cell with a 2-cell , opposite direction. The category of algebras in this case is denoted , and comes with canonical . That’s the generalisation of Kleisli category.
Opfunctors often appear if one considers adjunctions: for two monads (X,S) and (Y,T) and an adjunction , supplying the right adjoint with a 2-cell to make it into a monad functor is the same as supplying in a 2-cell to make it into a monad opfunctor.
Monads in and by contrast are comonads in . Of more interest for consideration (for reasons explained below) is the 2-category , whose objects are comonads and morphisms are comonad opfunctors (the 2-cells are going in the same direction as 2-cells for monad functors). Again, when we have the construction of algebras for , there is a universal object for each comonad , with the opfunctor .
If there is an adjunction , then we get a monad on but a comonad on . When we do the construction for a monad, the fact that gives us a comonad on . This allows to define a 2-functor , which sends to (provided that admits the construction of algebras). Dually, there is (if, again, is nice enough). A big calculation reveals that this is an adjunction: which can be thought of lifting one of the construction of algebras adjunctions (here is just a fancy name for the ‘coop’ of on ). Street hypothesises if one can use this lifting idea together with ‘2-triangle’ theorems to actually prove that if admits algebras, then so does . One could hope that a version of 2-lifting theorem would obtain the right adjoint as above from knowing the right adjoint to , and then apply the (dual of the) underlying functor after , as to show that admits algebras for monads. That would be something special, however.
The other result mentioned in this section is when has a duality involution . In that case, admits construction of algebras whenever does, and .
VI. A distributive law consists of two monads and together with a 2-cell so that makes into a monad functor with and becoming monad morphism transformations (equivalently, becomes a monad opfunctor on ). An example here is given by
, the monoid monad, and
, the abelian group monad
(the usual distribution of and gives a map ). By writing out what means, one can witness that distributive laws in are the objects of . Moreover, using the ’s coming with each distributive law, one can define a natural transformation , which together with makes into a (3-)monad on -.
In addition, one can also consider the ‘opfunctor’ monad . Taking compositions like , or again gives distributive laws (as objects), but different kinds of morphisms between them. One can ask if the resulting monads and are related by a distributive law; however one can actually check that the law is a canonical isomorphism:
VII. Essentially, the sole example of this paper is . Using the fact that, for a monad , the category of algebras is in fact what is known as Kleisli category, which certainly exists (its objects are the same as of and morphisms are maps of the form ), we conclude that and all admit the construction of algebras. A really nice result which follows is the statement that for a monad , where and is induced by the canonical functor . So we see that algebras for is a full subcategory of presheaves on Kleisli category which are representable when restricted to .
Finally, for -, it is stated that the formal theory is applicable to this 2-category once a couple of properties are satisfied. Unfortunately, not much more is said about the enriched categories case in detail.
VIII. And that was it, (some of) the formal theory of monads! I must say that the 2-categorical content of that paper is really interesting, and one could ask if there is a way to proceed in the same manner in a higher -categorical setting. Another thing is that, if one wishes to discuss monads in full, it is (as I presume) quite desirable to look beyond the formal theory for as many examples as possible. This is why I conclude my exposé with some references I know to the subjects that look interesting. Everyone is welcome to make her or his own list!
There is a follow-up of “The formal theory of monads”, called “The formal theory of monads, II”, in which the idea of being a weighted limit is taken seriously, to the extent that the authors consider, for a 2-category , its completion with respect to these limits. The 1-interior of turns out to be the same as the one of , and moreover one can use to work with monads in a very useful way using mostly the universal property of this completion. The authors also study wreaths — the objects of , and in addition the paper is quite filled with examples for the notions presented.
The result everyone knows today as the Monadicity Theorem has a lot of applications. One of them which I like is the result that, given an (elementary) topos , the ‘maps into the classifier’ functor from is monadic. Because of this, has all finite colimits. On the other hand, when I talk to some (derived) algebraic geometers, they tell me that from their experience the only place where monadicity theorem comes close to be used fully and faithfully is Tannaka duality, and even there it can be avoided as was done in some first expositions. This might be subjective; however my search of any details on the question revealed a paper named The Formal Theory of Tannaka Duality, the author of which claims that it is inspired by Ross Street’s writeup! One might want to have a look for the detail.
Monads are strongly connected with algebraic theories (the latter term can actually be used here in a general sense). What is less known, probably, is that one can use monads themselves to describe some ‘ring-like’ objects. What I mention here is the theory of generalised commutative rings (which are some special monads on ) by Durov, which appeared in his thesis, and can include such things as the field of one element as an example. One can then do a lot of algebraic geometry with this monads, up to K-theory and intersection stuff.
Monads do appear in higher categories. When working with model categories, one can work with weak monadic projections to treat Bousfield localisation (e.g. see Section 11.2 of Simpson’s book on Segal categories). Another thing is that it is often the case that one runs into a question if the category of algebras for a monad (or even a comonad) admits a model structure. For monads, one can see this, and for comonads, this and probably the recent one(!) . Finally, our dear host of this seminar has co-authored a paper which treats homotopy coherent adjunctions and monadicity theorem in quasi-categories, in a way much simpler than originally done by Jacob Lurie in his DAG II (the approach of Lurie still has some interesting flavour, coming from the treatment of algebraic structures via fibrations).
Re: Formal Theory of Monads (Following Street)
Thanks a lot for this summary and your very interesting remarks at the end.
I have a question about the phrasing of Theorem 6. Using your notation, Theorem 6 begins as follows:
But Sem is only defined on the assumption that admits the construction of algebras, since its definition employs Alg. So is this just a redundant qualification at the beginning of the theorem? Should the theorem be read as saying: When Sem is defined as such, it always has a left adjoint? Or is there a way (which I cannot see, based on this paper) to define an analogue of Sem without assuming the construction of algebras, in which case the first phrase of Theorem 6 would not be redundant?