Torsors and Enriched Categories
Posted by Simon Willerton
In another instalment of my occasional series on ‘Things you didn’t realise were enriched categories (unless you’re an expert!)’ I want to talk about torsors and how they can be considered enriched categories where the enriching category is a group, considered as a discrete monoidal category.
I’ll start off by telling you what a torsor is and then explain how it can be thought of as having something like a ‘group-valued distance’ and how this relates to enriched category theory.
What is a torsor?
“Torsor” is a word that used to strike a dread fear into my heart. It is a word that was seemingly only used by high-brow mathematicians who wished to intimidate more lowly souls. That was until I read Dan Freed’s paper Higher Algebraic Structures and Quantization which made me realise that torsor is just a fancy name for a simple concept. For a group a torsor is something that looks like but isn’t actually a group. That might sound like an overly cryptic description but hopefully it will make things clear in a minute.
On my desk I have a coffee cup — we are in a café, after all.
The rim of my coffee cup is a circle: it looks like the group of unit complex numbers , but I don’t know how to multiply two points on the coffee cup rim, , so the coffee-cup rim is not canonically a group. However, the group of unit complex number acts on the rim : if you give me a unit complex number , I can rotate my coffee cup through the angle .
This action is transitive in that I can move any point on the rim to any other point by a rotation and the action is free in that precisely one rotation will move a specified point to another specified point. A set with a action which is free and transitive is known as a principal homogeneous -set, or simply a -torsor. So the rim of my coffee cup is a -torsor.
If I pick any point on the rim then I get an bijection between the points of and the points in the group by identifying the point with the identity in . So there are as many ways to identify the rim with the circle group as there are points in the rim but none of them is canonical.
Just as an affine space can be thought of as a vector space without an origin, so a torsor can be thought of as a group without an identity: a torsor is to a group as an affine space is to a vector space.
John has written a nice piece explaining how torsors, particularly in physics, are more prevalent than you might first think, because our gut reaction is to think in terms of groups. We see a line, so we want to put an origin on it and identify it with rather than accept that it doesn’t naturally have an origin, and should be thought of as an -torsor.
Another view of torsors
Torsors can be thought of in a different fashion and thinking in this fashion this will lead us enriched categories. Between each pair of points in a torsor there is something like a ‘group-valued distance’. More precisely, associated to each ordered pair of elements of a -torsor there is a unique element of the group which sends to , we can write this as , or as if we want to emphasise the torsor . Symbolically, this is the unique element of the group that satisfies . This is the ‘distance’ from to .
[I have chosen to write rather than the more usual category theoretic convention , because the actions are on the left and the chosen conventions make the formulas look a bit nicer.]
Of course, in the coffee cup example, the ‘distance’ from one point to another is the rotation required to move the first point to the second.
Because we have a -action on we know that and this implies for all .; for the same reason we also have . Moreover, we can recover the -action from this data because given is the unique element of such that .
In summary, we can think of a -torsor as a set such that
for each pair there is a group element ;
for each triple there is an equality ;
for each element there is the equality ;
for each , there is a unique such that .
You might have noticed that the first three of the above conditions form precisely the definition of a certain kind of enriched category, namely a category enriched over the monoidal category which is the group considered as a discrete monoidal category. This means that has the elements of as its objects, has only identity morphisms and has the group multiplication as the monoidal multiplication: .
We have shown that a -torsor is a -category satisfying an extra condition. A reasonable question to ask at this point is “What’s the good in that?” One answer is that it gives us another layer of intuition; it allows us to make analogies with categories, with metric spaces, with posets, amongst other things, and it allows us to use the tools from enriched category theory.
We should now ask what a -functor between -torsors is. This is a function such that This is quite a rigid condition, saying that the right notion of map is some kind of isometry. Unsurprisingly, if and correspond to -torsors then this is precisely the condition that is an equivariant map:
New torsors from old
When we look at torsors over abelian groups there are ways of combining torsors. We will see below how these relate to standard enriched category theory constructions.
Hom torsor: If is an abelian group and both and are -torsors then we can form the set of equivariant maps from to . I learnt many years ago from Freed’s paper that this set of maps is itself an -torsor. We can define the action of on an equivariant map by . You can check that is an equivariant map, but you will see that it is necessary that is abelian for this to work.
Tensor torsor: If is an abelian group and both and are -torsors then we can also define the tensor product as where is the relation defined by We find that is also an -torsor if we define the action by . Again, if you check, you will see that you need to be abelian for this to be well defined.
Properties of
Things get more interesting with enriched categories when we enrich over categories which are closed, braided and bicomplete. Let’s consider each of these conditions for .
Closedness: A monoidal category is left-closed if for each object the functor has a right adjoint . Unwrapping this definition for we find that for each we need a function of sets such that for every we have Clearly, we can take . So for any group the monoidal category is left-closed.
Similarly, a monoidal category is right-closed if for each object the functor has a right adjoint . For , we can take . So for any group the monoidal category is both left- and right-closed.
Braidedness: For a monoidal category to be braided we need isomorphisms for all objects and . For the category that would mean we need for all , in other words, we need that is abelian. In that case we have that is in fact symmetric.
Bicompleteness: A category is bicomplete if it has all limits and colimits. We have no hope of any non-trivial group having a bicomplete category . This is because this category is discrete: to form a product we would need projections to and but, because the only morphisms are identities, that would mean and . You can check that the self products are actually defined though: . This looks like it might spoil our fun, but it will transpire that the only limits that we need will be the self-products.
Summary: In summary then, if is abelian then is a closed symmetric monoidal category; if is non-abelian then is a closed monoidal category which is not braided.
As the definition of the tensor product of -categories requires that is braided, we will restrict ourselves to the case that is an abelian group, and we will emphasize this fact by renaming it .
Functor category and tensor product
We can now look at how the hom torsor and tensor torsor from above arise in enriched category theory. We will work with an abelian group so that is closed symmetric monoidal.
Functor categories and hom torsors: Suppose is a closed symmetric monoidal category and that and are -categories then (provided that has sufficiently many limits) there is -category of -morphisms where the objects are the -functors and the hom object is given by the equalizer of the following diagram. We don’t need to worry here about what the two maps are as, in the case of interest when , they are both going to be equalities.
If and are -torsors, thought of as -categories, then we try to construct the functor category . This has -functors, i.e. equivariant maps as morphisms. The hom object , between equivariant maps is given by the equalizer of the above diagram, but as mentioned, the maps are equalities, so the equalizer is just the left-hand-side term, so As mentioned in the previous section, does not have many limits, but fortunately it does have this product as all the terms in the product are the same: a calculation shows that Hence we find that the “distance” between two functors is the distance between the two images of any point: This means that the functor -category exists and is actually a torsor. You can easily check that the -action is exactly that of the hom torsor, so
Tensor product categories and tensor torsors: If is a braided monoidal category then you can define the tensor product of two -categories and . An object of is a pair and the hom objects are defined by The braiding of is needed to define the composition morphisms.
If and are -torsors, thought of as -categories, then we can construct the tensor product -category . You might expect that this is actually a torsor equal to the tensor torsor but that’s not quite true!
In the torsor we have made the identification however in the -category these two points are distinct despite having `no distance’ between them: you can check that .
This means that the -category is not actually a torsor but it is equivalent to the torsor : the quotient map on objects gives an equivalence of -categories . You can think of as a fattened-up version of ; it is like using a stack instead of a quotient space. This is what you might expect from a categorical approach, in that you don’t violently quotient out but rather encode the equivalence relation via isomorphisms.
Final words
I’ll just finish by mentioning the Yoneda map. For any -category , the presheaf -category is a torsor.
If is actually a torsor then the Yoneda map is an isomorphism, which is not something you would expect from the Yoneda map!
If is not a torsor then the Yoneda map is a torsorization of . For instance, in the tensor example above we have .
Re: Torsors and enriched categories
I read this immediately after watching this video (don’t ask me why I watched it, just a random thing - if you don’t want to watch it, is a bit like Vi Hart in pace and style), and in my head it was in that narrator’s voice and at that speed. o.O Might be an idea to make a video explaining a cute piece of category theory in all seriousness with the energy and speed of a Vi Hart video (not you necessarily, Simon, but someone).
OK, more seriously, a torsor is a principal G-bundle over a point, and the map you give is the cocycle for the cover . Here in Adelaide we call it the difference map (as it exists for any principal -bundle). What confused me for a while when I first hear the term is that algebraic geometers think of torsors in the category of schemes over a base, hence something like a principal -bundle without asking for local triviality. Except sometimes they do.
Thinking of as the objects of a category enriched over is interesting, because the usual view (or at least, my usual view) of this is that we take the coarse (=banal=indiscrete=chaotic=etc) groupoid with objects and a unique arrow between any two objects, and then a -torsor structure on this is a fibration to the one-object groupoid with arrows .
The issue with needing abelianness is remedied by taking bitorsors - sets with left and right commuting -action, such that both of them are torsors. Can this be seen in the light of this post, apart from saying there are two compatible enrichments over ?
(Still racing from that video, need to slow down)