The Polycategory of Multivariable Adjunctions
Posted by Mike Shulman
Adjunctions are well-known and fundamental in category theory. Somewhat less well-known are two-variable adjunctions, consisting of functors , , and and natural isomorphisms
These are also ubiquitous in mathematics, for instance in the notion of closed monoidal category, or in the hom-power-copower situation of an enriched category. But it seems that only fairly recently has there been a wider appreciation that it is worth defining and studying them in their own right (rather than simply as a pair of parametrized adjunctions and ).
Now, ordinary adjunctions are the morphisms of a 2-category (with an arbitrary choice of direction, say pointing in the direction of the left adjoint), whose 2-cells are compatible pairs of natural transformations (a fundamental result being that either uniquely determines the other). It’s obvious to guess that two-variable adjunctions should be the binary morphisms in a multicategory of “-ary adjunctions”, and this is indeed the case. In fact, Eugenia, Nick, and Emily showed that multivariable adjunctions form a cyclic multicategory, and indeed even a cyclic double multicategory.
In this post, however, I want to argue that it’s even better to regard multivariable adjunctions as forming a slightly different structure called a polycategory.
What is a polycategory? The first thing to say about it is that it’s like a multicategory, but it allows the codomain of a morphism to contain multiple objects, as well as the domain. Thus we have morphisms like . However, this description is incomplete, even informally, because it doesn’t tell us how we are allowed to compose such morphisms. Indeed, there are many different structures that admit this same description, but differ in the ways that morphisms can be composed.
One such structure is a prop, which John and his students have been writing a lot about recently. In a prop, we compose by simply matching domains and codomains as lists — given and we get — and we can also place morphisms side by side — given and we get .
A polycategory is different: in a polycategory we can only “compose along single objects”, with the “leftover” objects in the codomain of and the domain of surviving into the codomain and domain of . For instance, given and we get . This may seem a little weird at first, and the usual examples (semantics for two-sided sequents in linear logic) are rather removed from the experience of most mathematicians. But in fact it’s exactly what we need for multivariable adjunctions!
I claim there is a polycategory whose objects are categories and whose “poly-arrows” are multivariable adjunctions. What is a multivariable adjunction ? There’s really only one possible answer, once you think to ask the question: it consists of four functors
and natural isomorphisms
I find this definition quite illuminating already. One of the odd things about a two-variable adjunction, as usually defined, is the asymmetric placement of opposites. (Indeed, I suspect this oddness may have been a not insignificant inhibitor to their formal study.) The polycategorical perspective reveals that this arises simply from the asymmetry of having a 2-ary domain but a 1-ary codomain: a “-variable adjunction” as above looks much more symmetrical.
At this point it’s an exercise for the reader to write down the general notion of -variable adjunction. Of course, a -variable adjunction is an ordinary adjunction, and a -variable adjunction is a two-variable adjunction in the usual sense. It’s also a nice exercise to convince yourself that polycategory-style composition “along one object” is also exactly right for multivariable adjunctions. For instance, suppose in addition to as above, we have a two-variable adjunction with . Then we have a composite multivariable adjunction defined by
It’s also interesting to consider what happens when the domain or codomain is empty. For instance, a -variable adjunction consists of functors and and a natural isomorphism . This is sometimes called a mutual right adjunction or dual adjunction, and such things do arise in plenty of examples. Many Galois connections are mutual right adjunctions between posets, and also for instance the contravariant powerset functor is mutually right adjoint to itself. Similarly, a -variable adjunction is a mutual left adjunction . Of course a mutual right or left adjunction can also be described as an ordinary adjunction between and , or between and , but the choice of which category to oppositize is arbitrary; the polycategory respects mutual right and left adjunctions as independent objects rather than forcing them into the mold of ordinary adjunctions.
More generally, a -variable adjunction is a “mutual right multivariable adjunction” between contravariant functors Just as a -variable adjunction can be forced into the mold of a -variable adjunction by oppositizing one category, an -variable adjunction can be forced into the mold of a -variable adjunction by oppositizing all but one of the categories — Eugenia, Nick, and Emily found this helpful in describing the cyclic action. But the polycategory again treats them as independent objects.
What role, then, do opposite categories play in the polycategory ? Or put differently, what happened to the cyclic action on the multicategory? The answer is once again quite beautiful: opposite categories are duals. The usual notion of dual pair in a monoidal category consists of a unit and counit and satisfying the triangle identities. This cannot be phrased in a mere multicategory, because involves two objects in its codomain (and involves zero), whereas in a multicategory every morphism has exactly one object in its codomain. But in a polycategory, with this restriction lifted, we can write and , and it turns out that the composition rule of a polycategory is exactly what we need for the triangle identities to make sense: and .
What is a dual pair in ? As we saw above, is a mutual right adjunction , and is a mutual left adjunction . The triangle identities (suitably weakened up to isomorphism) say that and and and ; thus these two adjunctions are actually both the same dual equivalence . In particular, there is a canonical dual pair , and any other dual pair is equivalent to this one.
Let me say that again: in the polycategory , opposite categories are duals. I find this really exciting: opposite categories are one of the more mysterious parts of category theory to me, largely because they don’t have a universal property in ; but in , they do! To be sure, they also have universal properties in other places. In 1606.05058 I noted that you can give them a universal property as a representing object for contravariant functors; but this is fairly tautological. And it’s also well-known that they are duals in the usual monoidal sense (not our generalized polycategory sense) in the monoidal bicategory Prof; but this characterizes them only up to Morita equivalence, whereas the duality in characterizes them up to ordinary equivalence of categories. Of course, we did already use opposite categories in defining the notion of multivariable adjunction, so it’s not as if this produces them out of thin air; but I do feel that it does give an important insight into what they are.
In particular, the dual pair allows us to implement the “cyclic action” on multivariable adjunctions by simple composition. Given a -variable adjunction , we can compose it polycategorically with to obtain a -variable adjunction . Then we can compose that with to obtain another -variable adjunction . This is exactly the action of the cyclic structure described by Eugenia, Nick, and Emily on our original multivariable adjunction. (In fact, there’s a precise sense in which a cyclic multicategory is “almost” equivalent to a polycategory with duals; for now I’ll leave that as an exercise for the reader.)
Note the similarity to how dual pairs in a monoidal category shift back and forth: In string diagram notation, the latter is represented by “turning strings around”, regarding the unit and counit of the dual pair as a “cup” and “cap”. Pleasingly, there is also a string diagram notation for polycategories, in which dual pairs behave exactly the same way; we simply restrict the ways that strings are allowed to be connected together — for instance, no two vertices can be joined by more than one string. (More generally, the condition is that the string diagram should be “simply connected”.)
In future posts I’ll explore some other neat things related to the polycategory . For now, let me leave you with some negative thinking puzzles:
- What is a -variable adjunction?
- How about a -variable adjunction?
- How about a -variable adjunction?
Re: The polycategory of multivariable adjunctions
I forgot to mention that a one-object (symmetric) polycategory is also known as a dioperad. So if you know what a dioperad is, then you know what a polycategory is: it’s a “colored dioperad”.