Enriched Indexed Categories, Again
Posted by Emily Riehl
Guest post by Joe Hannon.
As the final installment of the Kan extension seminar, I’d like to take a moment to thank our organizer Emily, for giving all of us this wonderful opportunity. I’d like to thank the other participants, who have humbled me with their knowledge and enthusiasm for category theory and mathematics. And I’d like to thank the nCafé community for hosting us.
For the final paper of the seminar, we’ll be discussing Mike Shulman’s Enriched Indexed categories.
The promise of the paper is a formalism which generalizes ordinary categories and can specialize to enriched categories, internal categories, indexed categories, and even some combinations of these which have found use recently. In fact the paper defines three different notions of such categories, so-called small -categories, indexed -categories, and large -categories, where is an indexed monoidal category. For the sake of brevity, we’ll be selective in this blog post. I’ll quickly survey the background material, the three definitions, and their comparisons, and then I want to look at limits in enriched indexed categories. Note also that Mike himself made a post on this paper here on the nCafe in 2012, hence the title.
Indexed monoidal categories
An -indexed monoidal category is pseudofunctor , where is assumed to have finite products and be endowed with its cartesian monoidal structure, and is the 2-category of monoidal categories and strong monoidal functors (functors who preserve monoidal structure up to coherent isomorphism). We’ll use the script for an enriched indexed monoidal category, and bold for an ordinary monoidal category.
We will notate the image monoidal category of an object as and arrow goes to By the Grothendieck construction we may equivalently regard this as a fibration which is strict monoidal (preserves the monoidal structure on the nose), and the monoidal structure preserves the cartesian morphisms of the fibration. We think of (where is the terminal object in ) as the underlying monoidal category of our indexed monoidal category, with the other fibers related by pullback by the terminal morphism.
The two principal examples of indexed monoidal categories are and , out of which we will construct -enriched categories and -internal categories, respectively.
For , let be the category of sets and be an ordinary monoidal category, and to a set associate the category of -indexed objects in and pointwise morphisms, and monoidal structure also given pointwise. If then we have a functor given by for
And for let be any category with finite limits, and to each object associate the category with its cartesian structure given by pullbacks. Then for and , we have the pullback again.
In any indexed monoidal category our fibers have a monoidal product by assumption, which we will call the fiberwise product, and denote , for There is additionally an external product defined on , as was implicit in our claim that the Grothendieck construction yields a strict monoidal fibration. We denote this by , for and and call it the external product. It is related to the fiberwise product by the formula which is familiar from the theory of bundles or sheaves.
Additionally, if satisfies some completeness properties (existence of -indexed coproducts), then there is a third product structure called the canceling product. If every has a left adjoint , and for any pullback square
in the Beck-Chevalley transformation is an isomorphism, then we say that has -indexed coproducts, and we define the canceling product in terms of the external tensor product as for and .
In , the external product is given by , has indexed coproducts if has coproducts, and in that case the canceling product is given by “matrix multiplication”
In , the external product is just the cartesian product in , has indexed coproducts, and the canceling product is given by a pullback which forgets the map to .
The various products can be combined; for in the fiber over and over , then we can cancel the dependence and take the fiberwise product over , leaving an object over
Since we will be enriching over our indexed monoidal categories, we may also ask for an indexed version of closedness. If each fiber is closed as a monoidal category (meaning that the tensor product has a right adjoint), and in addition each pullback functor between fibers preserves this fiberwise hom, then we say the indexed monoidal category is closed. In that case, the other tensor products also admit adjoints: the canceling hom is the right adjoint of the external tensor, and the external hom is the right adjoint of the canceling tensor.
In , the external hom is given by , and the canceling hom is given by “matrix multiplication”
In , the external hom is just the cartesian product in , has indexed coproducts, and the canceling product is given by a pullback which forgets the map to .
Small -categories
Categories
With the notion of an indexed monoidal category in hand, we may now meet the first of the three notions of an enriched indexed category:
A small -category is an object called the extent, an object which we think of as the arrows of , along with morphisms and satisfying the usual associativity and unital axioms:
and
Functors
A functor of small -categories is given by the data of a morphism of extents in , and a morphism of arrows in such that and commute.
Natural transformations
A natural transformation between functors of small -categories is a morphism so that
With these definitions, -categories, functors, and natural transformations constitute an ordinary 2-category.
Discrete enriched category
If has -indexed coproducts preserved by , then for any object we have a small -category with extent and
Profunctors
A profunctor is an object with structure morphisms and so that the left and right actions are unital and associative and the left action commutes with the right action: and and and and
We can restrict our profunctors as usual. Given and and , then we have a profunctor given by In particular for a functor , we have the representable profunctors and
If our indexed monoidal category has good completeness properties (-indexed coproducts preserved by , and fiberwise coequalizers) then we define the composition of profunctors as (lemma 3.25)
If moreover the is an -indexed cosmos (i.e. closed as an indexed monoidal category, symmetric, complete and cocomplete with -indexed products and coproducts), then has left and right adjoints (lemma 3.27) given by and
Examples and two more definitions
As mentioned, the basic examples of monoidal indexed categories are , in which a small -category is a category enriched in , and , which gives a category internal to . The paper also gives two alternate definitions of enriched indexed categories, which I will cite very briefly. An indexed -category gives for each a category enriched in and functors relating the categories for each fiber (def 4.1), and this is seen to be a generalization of the ordinary indexed category and in fact every indexed -category has a natural underlying ordinary -indexed category (example 7.5).
And a large -category is a kind of horizontal categorification of a small -category, with collection of objects and for each object an extent and for each pair of objects an object satisfying the usual axioms (def 5.1). Then there is a notion of -fibrations and a Grothendieck-type construction which gives an equivalence between -indexed categories and large -categories (theorem 6.10).
The paper has many lovely examples, more than I want to discuss here. I’ll just mention one fun example from topology, one of the motivations for the paper (example 11.25): if we take for the category of finite group objects in topological spaces denoted , and for the indexed monoidal category of based spaces with group actions, denoted . We have an -category with objects given by finite dimensional real representations , with extent and hom-object the space of linear isometric isomorphisms plus basepoint with action by conjugation. The fiberwise monoidal structure is given by direct sum of representations. The presheaf category gives Anna Marie Bohmann’s global orthogonal spectra.
Center of the category of modules
This semester I attended a class at Boston University on noncommutative geometry by Ryan Grady. As a homework problem I was asked to show that the center of a category is isomorphic to the center of modules over that category, and then to generalize to the case of enriched categories and internal categories. Repeating a proof which is formally the same for three different contexts cries out for generalizing to a single unifying context, and enriched indexed categories promises to provide that context. So here is a fourth and (perhaps) final sketch of that proof.
The center of an ordinary category is defined to be the endomorphism monoid of the identity functor on . This is a construction worthy of being called the center since for a category with one object it produces the center of the endomorphism monoid. So it is the horizontal categorification of the classical notion. For an ordinary category a functor defines a notion of a (left) module over . We have an isomorphism between the center of the category of modules and .
Briefly, in the case of an ordinary category, for each we obtain for each module a morphism of modules which is just the whiskered product of the functor with the natural transformation . It is a natural transformation on the identity functor on modules if it commutes with module morphism , which it does since each component of commutes with components of , which it does by centrality of . Conversely, given a central element in , for each module we have a morphism of modules . Any object may be viewed as a left module over by the contravariant Yoneda embedding, so we have . This module morphism as a natural transformation between functors has a component at , which is a function Then gives an element of . By the Yoneda lemma all left-module morphisms are given by right multiplication, so we obtain an isomorphism of monoids
Categories enriched over naturally constitute a category enriched in -categories, meaning instead of a hom-set of natural transformations between functors , we have an object of , given by the end . If is a -category, then so is and is an isomorphism is of -monoids.
In the case of a category internal to , a module over an internal category is also known as an internal diagram, and it is given by the data of a structure morphism such that commutes. This action is required to be associative and unital. The category of modules constitutes only an ordinary category, a subcategory of , and we obtain again an isomorphism of monoids.
Now let be a small -category, for an indexed monoidal category. Using the notation of the paper a one-sided left -module is a profunctor where is the discrete -category whose extent is the terminal object of and whose arrow object is the monoidal unit
A natural transformation of the identity functor is given by a morphism in so that
commutes. The collection of such morphisms is the center From such an arrow we obtain a morphism
This is a morphism of profunctors if it commutes with the profunctor action:
which commutes by a diagram chase.
Conversely, to every natural endomorphism of the category of profunctors we associate an element of . We notice that our small -category may itself be viewed as a profunctor giving us a component We obtain an element of by pre-composition with , since the following diagram commutes:
These maps are inverse, which establishes the isomorphism, at least in the category of sets. Although this establishes the result for any small -category, and hence for enriched, internal, indexed category, or combination categories, it is not an isomorphism of objects in the enrichment category. We have defined an ordinary 2-category of small -categories, but for a full strength general result, we need instead a -2-category, that is, a category enriched in -categories, which would strengthen our result to an isomorphism of -objects.
Equipments
When I first read the abstract for this paper, I guessed naively that a framework that unified enriched categories with internal categories would use the language of monads, since both can be so succinctly described as monads in different 2-categories. Enriched categories are monads in the 2-category of set indexed matrices with values in monoidal category , and internal categories in are monads in the 2-category of spans in
I was disappointed not to see -categories as monads in the paper. But throughout the paper there are references to the technology of equipments, and one pleasant side effect of understanding enriched indexed categories in terms of equipments is that it becomes perfectly clear how to describe a -category as a monad, in a way which includes matrices and spans as special cases.
Equipments have also been discussed here by Mike before, and so I want to rely on that background. But here is a brief recap of what is itself a “lightning-fast introduction to formal category theory”. Wood defined a 2-category with proarrow equipment, or an equipment for short, to axiomatize the properties of profunctors, as a functor between 2-categories which is bijective on objects, locally fully faithful, and taking each arrow to a left-adjoint. Such a structure enables the study of formal category theory, because objects, arrows, and 2-cells are not enough to reproduce all the constructions of 1-category theory. One needs something to abstract the behavior of hom-sets and profunctors.
Shulman argues persuasively that the more natural setting for this structure is not a 2-category, but rather a (pseudo) double category (ie a double category where composition of horizontal arrows is weak) whose vertical arrows are the arrows of our 2-category, and whose horizontal arrows are our profunctors. In this setting, here is the axiom that characterizes the profunctors. For any diagram “niche” of the form have also been discussed here
there exists a filler 1-cell
with the property that any other square whose vertical arrows factor through and
itself also factors uniquely
A double category satisfying this property is called a framed bicategory, which is equivalent to a 2-category with a proarrow equipment.
With this definition in hand, to an indexed monoidal category we associate a framed bicategory whose objects are the objects of , vertical arrows are the arrows of , and whose horizontal arrows are objects in Composition of horizontal arrows is given by the canceling tensor product.
As we noted earlier, the canceling product is only defined under some a completeness criteria on that are not always satisfied. In general, we would need to consider virtual double categories, which stand in the same relation to framed bicategories that multicategories stand to monoidal categories. In other words, instead of requiring that a composite 1-cell exist for any composible string of 1-cells, we simply consider squares whose top edge is a composible strings of 1-cells. A virtual double category is equivalent to Leinster’s notion of an fc-multicategory, which is a span of the form in the category of graphs where is the free category monoid.
So in our two principal cases and , we get double categories whose horizontal 2-categories are and
And we can define a monoid in our double category. Following Shulman and Crutwell’s 2010 paper on generalized multicategories (also discussed on the nCafé here) we will not call them monads. A small -category is a monoid in this virtual double category.
Let me also note that framed bicategories are not the only option for studying formal category theory. As was mentioned by Alex Campbell here on nCafé earlier in the seminar, Yoneda structures provide an alternate (equivalent?) setting for formal category theory.
Limits
Limits in a framed bicategory are defined in a way that generalizes weighted limits. Recall that for ordinary categories, given a functor and a functor , the weighted limit is defined to be the representing object The motivation for this definition was discussed in Christina’s blog post here at the nCafé. In the context of formal category theory we can almost duplicate this definition, except the formalism of profunctors we are obliged to instead represent the limit with a vertical arrow: if and then (def 8.1) the -weighted limit of is a vertical arrow such that Similarly the -weighted colimit is given by
We can recover the classical example of weighted limits in an enriched category by taking as usual and setting , the unit -category. In the general case, the generalization of the weights for weighted limits to profunctors (or bimodules) is forced on us because without -indexed coproducts, need not exist.
The generalization turns out to be quite useful, and leads to a more elegant and symmetrical statement of the adjunction between limits and colimits, which in the case of the large enriched indexed categories appears as proposition 8.5:
This is a point of view on weighted limits, that the weights should be bimodules, which I first learned of from Riehl’s lecture notes on weighted limits in the context of enriched categories. Those notes were apparently from a category theory seminar by Shulman, and now I think I know where Mike developed this point of view: from his work in formal category theory. Campbell argues the rightness of bimodule weights in his post on Yoneda structures as well.
Enrichment of the 2-category
In classical enriched category theory, we promote our ordinary 2-category of -categories into a category enriched in -categories by means of the venerable end: between any two -categories, we have a -category whose objects are -functors and whose hom-objects are given by I would have liked to have an analogous definition for our enriched indexed categories.
Here we have recalled a formal category theory definition of weighted limits. Can these be used to define an enriched indexed category of enriched indexed functors?
Re: Enriched Indexed Categories, Again
Nice work, Joe. This paper is a rich and daunting one and you’ve done an excellent job of guiding us through it.
As Mike mentions in his paper, the notion of enriched indexed category has been discovered independently by a number of people including M. F. Gouzou and R. Grunig, Michal Przybylek, and Marta Bunge. Given the wide range of interesting concrete examples, it is not surprising that this definition has had a number of antecedents.