How I Learned to Love the Nerve Construction
Posted by John Baez
Guest post by Tom Leinster
Mark Weber has a new
paper out,
Familial
2-functors and parametric right adjoints. Among other things, it
extends and improves some
unpublished
work of mine. Here I’ll explain just the part of Mark’s paper
that I already knew about. It totally changed my attitude to
simplicial sets and nerves.
For me, the moral of the story is this:
The nerve construction is inherent in the theory of categories.
A bit more precisely:
The category and the nerve construction arise canonically from the free category monad on directed graphs.
By the ‘nerve construction’ I mean the usual functor , from small categories to simplicial sets.
I’ll start by reviewing the nerve construction. Then I’ll explain why for a long time I didn’t accept it as something natural — and why I finally did accept it. I’ll also give some examples and write a few words about Mark’s new work.
At the heart of the explanation will be a generalized nerve construction:
Let be a nice monad on a nice category. Then there are a canonically-defined category and ‘nerve’ functor with all the excellent properties of the ordinary nerve functor.
The ordinary nerve construction comes from taking to be the free category monad on the category of directed graphs.
Ordinary nerves
As usual, denotes a skeletal category of nonempty finite totally ordered sets. Note the ‘nonempty’: it matters! Following tradition, I’ll write its objects as , where is an -element totally ordered set.
Since ordered sets can be regarded as special categories, and order-preserving maps are then just functors, you can view as a full subcategory of . The inclusion induces a functor called the nerve functor.
The first excellent property of the nerve functor is that it is full and faithful. (In the jargon, is a dense subcategory of .) Because of this, is equivalent to a full subcategory of , namely, the full subcategory consisting of all simplicial sets isomorphic to the nerve of some category. This subcategory is called the essential image of the nerve functor.
The second excellent property of the nerve functor is that there is an intrinsic description of its essential image. In fact, there are many such descriptions, and you probably know a couple (e.g. via Segal conditions, or unique filling of inner horns). I’ll give one in detail later. So you could define a category as a simplicial set conforming to one of these descriptions, and a functor as a map between such simplicial sets.
What’s not to love?
The nerve construction is simple, clean, and links category theory to simplicial sets, which are important in topology and other areas. Why wasn’t it love at first sight?
Well, there’s a difference between useful and natural. For example, the notion of triangulated category has certainly been useful, but almost no one who’s thought about it believes that the definition is ‘right’. Brutally put, it’s a hack: useful, but not natural. (I’d say the same of model categories.) There’s no doubt that the nerve construction has been found useful, but I wasn’t convinced that it was natural.
OK, but what does ‘natural’ mean? It’s a matter of aesthetics, and obviously there’s no precise answer, but here’s my stab at it. When you meet a new definition, there are two questions you might ask:
where does it come from?
and
why is the definition exactly that, not something slightly different?
If there’s a satisfactory answer to both, you can call the definition ‘natural’.
Let’s try this out on the nerve functor.
Where does it come from? Since the nerve functor is induced by the inclusion , we’re really asking where and its inclusion into come from.
One answer might be that is the free monoidal category on a monoid. But that’s just wrong: , as defined above and in most of the literature, does not include the empty set, whereas this free monoidal category is a skeleton of the category of finite, possibly empty, totally ordered sets. Had you been shooting for , you’d have hit it — but presheaves on are not the same as simplicial sets.
Another answer is geometric: think of triangles, tetrahedra, etc. and the maps between them. But how do you justify the ordering of the vertices? That doesn’t seem very geometric. And even if you can justify it, it would be more satisfactory if you could say where came from without appealing to the visual sense — by thought alone.
Why is the definition exactly that, not something slightly different? The nerve functor would continue to be full and faithful if you replaced the category of finite nonempty totally ordered sets by the category of finite nonempty partially ordered sets, or changed ‘finite’ to ‘countable’, or dropped the nonemptiness, or any combination of these. (I’m sure you could also find intrinsic descriptions of the essential image in each of these cases.) You might wonder whether was somehow minimal, but no: if you replace by its full subcategory consisting of just , and , the nerve functor is still full and faithful.
Asking these questions is a substitute for innocence. When you meet an unmotivated definition, you want to ask ‘but why?’ However, unless you’re completely impatient, you’ll suspend judgement until you’ve seen a few results using the definition… and before you know it, you’ve forgotten that innocent first question.
In my pre-revelation years, I didn’t understand why the nerve construction was a natural thing. I didn’t actively think that it was unnatural — I just remained to be convinced.
Generalized nerves
The following theorem is what convinced me. I’ll state it roughly now and fill in most of the details afterwards.
Theorem Let be a nice monad on a nice category . Then there is a canonical small full subcategory of such that the induced functor is full and faithful. Its essential image consists of the presheaves on preserving certain limits.
Call a presheaf on a -simplicial set. Then a -algebra can be regarded as a -simplicial set satisfying a limit-preservation condition. The slogan is this:
-simplicial sets are to -algebras
as
ordinary simplicial sets are to categories.
To help us make precise the vague parts of the theorem, let’s go back to the ordinary nerve construction, which corresponds to taking the free category monad on the category of directed graphs. First note that is a presheaf category, since a directed graph is a presheaf on the small category Convention: I’ll write the value of a presheaf at an object using a subscript; for instance, if is a directed graph (a presheaf on ) then and mean and . Now, the free category functor can be described as follows: for a directed graph , Here means the directed graph with arrows; the free category on it is the ordered set also called . The summation means coproduct.
Here are the precise hypotheses. The category is ‘nice’ if it is a presheaf category . The monad is ‘nice’ if it satisfies the following two conditions:
-
For each , the functor is a coproduct of
representables. This means that there are a set and a family
of presheaves such that
for all presheaves .
An equivalent condition is that preserves connected limits.
Another equivalent condition is that the induced functor has a right adjoint; one then says that is a ‘parametric right adjoint’, as in Mark’s title. - The unit and multiplication are cartesian natural transformations (that is, the naturality squares are not only commutative but pullbacks).
These conditions on a monad are very commonly met in higher-dimensional category theory. (Sometimes is only required to preserve pullbacks, not all connected limits.) I’ll give examples later.
We can now see exactly what is. Write for the free -algebra functor. Then is the full subcategory of consisting of the algebras , for and .
In the motivating example, the free category monad on directed graphs, is the full subcategory of whose objects are (from taking ) and (from taking ). In our notation, the category is written as , so . It makes no difference that the category was listed twice. So we recover the usual nerve construction.
I won’t describe the limit-preservation condition, since it’s a bit more complicated, but it can be done explicitly in terms of the representing family . In the motivating example, it says that a simplicial set is the nerve of a category if and only if for each , the colimit in is turned by into a limit in . (Here means pushout over .) In other words, for all and , the canonical map is an isomorphism. This is one of the well-known Segal-type characterizations of nerves of categories.
That’s how I learned to love the nerve construction. I loved it even more when I figured out some other examples.
Examples
-sets Let’s begin with a simple one. Fix a monoid . The category of sets is certainly ‘nice’, as is the free left -set monad on . If you work it out, you’ll see that , so that a -simplicial set (presheaf on ) is a functor . The limit-preservation condition is vacuous, so we recover the basic observation that the category of left -sets is the functor category .
Strict -categories Fix . Let be the category of -dimensional globular sets (also called -graphs), which is ‘nice’ (a presheaf category). Let be the free strict -category monad on , which is also nice. Then is the category whose objects are globular pasting diagrams of dimension at most , viewed as strict -categories, and whose maps are strict -functors.
(To view a globular pasting diagram as an -category, picture, say, a 2-dimensional such diagram. The 0-, 1- and 2-cells in the diagram freely generate a 2-category. This gives rise to an -category for any by adding just identities in higher dimensions.)
This category has been much studied, especially in the case . André Joyal seems to have been the first to do so, in an unpublished note ‘Disks, duality and -categories’. He wrote for , and proposed that a weak -category might be defined as a presheaf on satisfying certain conditions. (For details, see Definition J of this or page 269 of this.) Clemens Berger showed that the nerve functor is full and faithful, which is a special case of the general result above. I have the impression that Michael Makkai and Marek Zawadowski also proved this independently, but I don’t have a reference.
Weak -categories Several of the proposed definitions of weak -category are of the form ‘a weak -category is an algebra for a certain monad on a certain category’. The monad and the category are (almost?) always ‘nice’ in our sense. This means that a weak -category can also be regarded as a presheaf-with-properties: that is, a presheaf on (where is the free weak -category monad) preserving certain limits.
People often make the distinction between ‘algebraic’ definitions of weak -category (in which an -category is a presheaf with structure) and ‘non-algebraic’ definitions (in which an -category is a presheaf with properties). This result shows how algebraic definitions can be regarded as non-algebraic.
Multicategories A multigraph consists of a set and, for each , a set . Let be the free (non-symmetric) multicategory monad on the category of multigraphs. Both category and monad are ‘nice’, so the theorem applies and we have a nerve construction for multicategories. The category has as its objects all finite planar rooted trees.
Weber’s new work
Here I’ll say a tiny bit about how Mark’s paper goes beyond what I did — though I’m conscious that I’m missing out large parts of his work.
First, Mark’s proof of the result above is probably more efficient than mine. He makes effective use of a factorization system, whereas I just went at it directly and got a great long proof that I didn’t much fancy writing up.
Second, Mark seems to have a result that resembles the one above but works in greater generality. Here’s an important example. Over the last few years, Ieke Moerdijk and Ittay Weiss have developed the theory of dendroidal sets. The slogan is:
dendroidal sets are to symmetric multicategories
as
simplicial sets are to categories.
We almost did this example just now, except that we did non-symmetric multicategories. To get dendroidal sets, we’d want to use the free symmetric multicategory monad on multigraphs — but this monad isn’t ‘nice’ in the sense above. However, Mark’s theory does manage to capture this example.
It would be great if someone else wrote something about the parts of Mark’s paper that go beyond what I’ve explained.
Re: How I Learned to Love the Nerve Construction
Are you likening this mathematical judgement to ones exercised on works of art?
In 1877 John Ruskin said of Whistler’s Nocturne in Black and Gold: The Falling Rocket
Should we say that there’s a sense in which there is a greater possible ‘objectivity’ to mathematical aesthetic judgements? If so, or if you see them as equally objective, how would you describe that objectivity?
I’m in a philosophy question setting mood.