There was one other thing about the bar construction which I wanted to mention, since John told me that his course is ending soon and he might not get around to mentioning it himself.
As John said, the bar construction is a wonderful gadget which can be used to compute cohomology for general algebraic theories (groups, algebras, Lie algebras, …), as well as do other things like constructing classifying bundles. Given any monad and an -algebra , the bar construction is an efficient machine for constructing a ‘free resolution’ of , to which one can then apply the machinery of derived functors to compute the cohomology of .
What John gave in his course was a very nice introduction, with lots of diagrams and pictures, which gave the precise conceptual details underlying the bar construction: a simplicial object whose -dimensional component is a free algebra over the monad , with face operators which look like:
... mMX
--> mX
MmX --> a
... MMMX --> MMX MX --> X
--> -->
MMa Ma
What I want to talk about here is the conceptual sense in which the bar construction is a resolution of , i.e., the acyclicity of the bar construction as a simplicial object. I also want to talk about the sense in which the bar construction on is a universal -free resolution of .
In order for this note to make sense, I’ll first have to recall some of what John said. A monad is a monoid in a monoidal category, and the story begins by considering the string diagram calculus for monoids in monoidal categories. As John showed in pictures, the string diagrams, modulo the equivalence relation imposed by the monoid equations, look exactly like pictures (cospans) of order-preserving functions between finite ordinals. This was summarized in the slogan, “the category is the walking monoid”, i.e., equipped with its terminal object [1] is precisely the initial strict monoidal category equipped with a monoid.
Or, we could say that is the “walking comonoid”. It’s nice to know by the way that is equivalent to the category of finite intervals (i.e., finite totally ordered sets with a top and bottom, and maps which preserve the order and top and bottom). This is something you can see very well if you stare at John’s pictures of planar 2d cobordisms, which are planar thickenings of string diagrams for monoids, and then let your attention flicker over to the complement (of different shading) and read it upside-down as a 2d cobordism. This idea and the planar 2d cobordisms also figure prominently in Aaron Lauda’s Frobenius algebras and ambidextrous adjunctions.
With that, the bar construction is easy to construct. Let be a monad on a category . One has an adjunction
where is the Eilenberg-Moore category of -algebras. This in turn gives a comonad acting on -algebras, that is to say, a comonoid in a monoidal category of endofunctors. Because is the walking comonoid, there is a unique monoidal functor (the bar construction)
which sends the comonoid [1] in to . By postcomposing this by
the evaluation functor at an -algebra , one gets a simplicial -algebra
and this is the bar construction applied to . This description appears in Mac Lane’s Categories for the Working Mathematician, which is where I first learned about it (see section VII.6 in the second edition).
As I say, the important point here is that this object is acyclic, in a very strong sense of the word which I need to explain. Part of the philosophy here is that the bar construction is a piece of pure equational logic, and we will correspondingly treat its acyclicity purely algebraically, not as a property involving an existential quantifier but as a structure, called a ‘resolution’ for lack of anything better. Roughly speaking, a resolution structure on a simplicial object with augmentation,
... Y[2] --> Y[1] --> Y[0],
-->
is a contracting homotopy which realizes a homotopy equivalence between and the constant simplicial object at , and moreover a contracting homotopy with some very good properties.
Recall that contracting homotopy on a simplicial object is given by a collection of maps
satisfying some equations. Observe also that the map is the object part of a comonad . Here is the key notion:
-
A resolution is a simplicial object together with a right-sided coalgebra structure
over the comonad .
This will require some unpacking, but let’s first see how this works in the case of the bar resolution. Since preserves the monoidal and comonoid structures, we have a commutative diagram
Delta^{op} -----> [E^M, E^M]
| Bar_M |
| |
| [1]+( ) | FUo( )
V V
Delta^{op} -----> [E^M, E^M]
Bar_M
and we augment this diagram with another:
Delta^{op} -----> [E^M, E^M] ---> [E^M, E]
| Bar_M | U o( ) |
| | |
|[1]+( ) FUo( )| UFo( )|
V V V
Delta^{op} -----> [E^M, E^M] ---->[E^M, E]
Bar_M U o( )
The bar resolution is the horizontal composite . Notice there is is a canonical right -coalgebra structure on , given by the coaction . This gives a right action of the comonad on , as we see from the diagram, therefore we obtain a resolution structure with components
Now, what exactly is a resolution structure? I’d like to tease that out.
A first trivial observation is that a right-sided coalgebra for the comonad is the same as an ordinary (left-sided) coalgebra for the comonad on simplicial objects
given by pulling back along . I’ll call this pullback comonad , for short.
Second, to make things easier (or perhaps more recognizable), let’s pretend for a moment that . The pullback comonad then has a left adjoint, given by left Kan extension along . What is that left Kan extension? On the representable objects, it takes the affine simplex to , i.e, it takes the cone of the affine simplex. This cone construction extends to all simplicial sets (by left Kan extension). I’d like to call the Kan extension the ‘cone functor’ on simplicial sets, although we should be careful here: we are not coning a space or simplicial set to a point, because that operation does not preserve disjoint sums (therefore isn’t a left adjoint). What the left Kan extension actually does is cone a space to its set of path components, i.e., it takes the disjoint union of all the cones over all the path components. But as I say, I’m still going to call this left Kan extension the ‘cone functor’, and denote it .
Now, we are in a general situation where we have a comonad with a left adjoint . There is a general piece of abstract nonsense here, dating back to the original 1965 paper by Eilenberg and Moore, which says that the comonad structure on corresponds precisely to a monad structure on , in such a way that the category of -coalgebras is naturally equivalent to the category of -algebras. So, now we want to know: what is a -algebra?
Personally, I find it more intuitive to think about it topologically. There is an analogous cone monad acting on topological spaces, where is defined to be the pushout of the diagram
where and is the canonical projection. A map is thus given by a pair of maps
where picks out a basepoint for each path component, and (by the pushout commutativity) contracts each path component to its basepoint. This already means the pair is explicit witness to the fact that is acyclic (is homotopy equivalent to its discrete space of path components), but there’s more since we have not yet accounted for the monad structure on .
The monad structure on is induced from a monoid structure on , and we will take the monoid multiplication on to be the ‘tropical’ multiplication . An algebra with respect to the monad is given by a pair such that the homotopy behaves as a ‘flow’ with respect to tropical multiplication: the following equations are satisfied:
[A note to experts: the topos of simplicial sets classifies the theory of intervals; in particular, geometric realization is the model which takes the generic interval to the interval [0, 1]. The generic interval carries an intrinsic monoid operation ‘min’, and geometric realization thus maps it over to the monoid ; this is why we took the multiplication on the unit interval to be ‘tropical’.]
The cone monad on topological spaces is again left adjoint to a comonad on topological spaces, where is the pullback of the diagram
where is the underlying set of equipped with the discrete topology, included in by the identity function, and a -algebra structure is again equivalent to a -coalgebra structure.
-
In summary: a resolution = a -coalgebra = a -algebra = a simplicial object equipped with a ‘homotopy flow’ which contracts to the discrete space of its path components . In other words, a resolution is a particularly nice kind of contracting homotopy witnessing acyclicity of .
Now for the main theorem:
-
The bar resolution is a universal -algebra resolution for the monad .
This may require some amplification. As above, let denote the result of applying the bar resolution functor to a particular -algebra , i.e., let be the composite
Let be any -algebra resolution, i.e., a simplicial -algebra equipped with a -coalgebra structure on the underlying simplicial object
There is a forgetful functor from the category of -algebra resolutions to -algebras, which remembers only the augmentation part .
The universal property of is that given an -algebra resolution
and an -algebra map , there is a unique extension to a map of -algebra resolutions, . This is the familiar ‘acyclic models theorem’:
-
Theorem (Acyclic Models): The bar resolution is left adjoint to the forgetful functor from -algebra resolutions to -algebras.
Sketch of proof: The unique simplicial extension of is constructed by induction on dimension. The map is the unique -algebra map which extends the composite
It is immediate that preserves the contracting homotopies; all that remains to be checked is that is a simplicial map. This is based on a simple inductive argument; details may be found in my notes.
Re: the Walking Monoid
There’s another nice fact about which fits with the picture of “the walking monoid”, but one degree up in categorical dimension.
First, , being the category of finite ordinals and order-preserving maps, is a 2-category: the 2-cells are instances of the pointwise order between order-preserving maps. In fact, with its ordinal sum forms a monoidal 2-category.
Next, taking into account the 2-category structure, there are some adjoint relationships between the 1-cells. Let and be the unique maps to the terminal object 1; these of course are the unit and multiplication on the monoid 1. Then, there is a string of adjunctions
This is very easy to see; for instance, the counit 2-cell is an equality, and the unit 2-cell is also clear, because is the function taking both elements of 2 = {0, 1} to the maximal element 1.
Monads for which the multiplication is left adjoint to the unit are called Kock-Zöberlein monads; they were first pointed out in 1972 by Anders Kock. They often arise as “cocompletion monads” of one kind of another. A typical example: consider the ‘finite coproduct completion’ of a category , sometimes denoted . The objects of are finite tuples of objects of , and a morphism
consists of a function (where [n] = {1, …, n}) together with an n-tuple of morphisms of , composed in the obvious way. [If you know about categorical wreath products, Fam(C) can also be expressed as a wreath product .] Finite coproducts in are formed by concatenating tuples, and it is not hard to convince oneself that the obvious inclusion has the universal property:
Now, if already has finite coproducts, then the counit, i.e., the coproduct-preserving functor which extends the identity on , is left adjoint to the inclusion , i.e., the unit! The counit of is an isomorphism, and the unit, applied to an object in Fam(C), is just the tuple of canonical injections into the coproduct in :
In cases like this, where the counit of a bi-adjunction is left adjoint to the unit in this manner, we say that the bi-adjunction is KZ or Kock-Zöberlein.
Here is a more precise definition: a bi-adjunction between bicategories, with unit and counit and triangulators
is said to Kock-Zöberlein if is the counit of an adjunction (equivalently, if is the unit of an adjunction ; proving that equivalence is a fun exercise in bicategorical algebra). Similarly, there is a notion of Kock-Zöberlein (pseudo)monad , where there is a string of adjunctions
If you’ve followed me this far, you will have no trouble guessing the punch line:
Theorem (Kock): The monoidal 2-category is the “walking Kock-Zöberlein monoid.”
See the penultimate paper referenced here for details.
I think this result is pretty widely known within the categorical community, but a quick Google search on Kock-Zöberlein or KZ monads didn’t garner a huge number of hits, so I think the result probably bears repeating here. I haven’t thought much about what implications this result would have with respect to the bar construction.