Grothendieck construction for double categories
This post is cross-posted at the Topos Institute blog.
Decorated cospans (Fong 2015), a tool for creating open systems out of closed ones, are now a mainstay of applied category theory and have been used in a range of contexts. In their refined form (Baez, Courser, and Vasilakopoulou 2022), decorated cospans form a double category. Inasmuch as a decorated cospan consists of a cospan plus some extra stuff (the “decoration”), decorated cospans are analogous to objects in the Grothendieck construction. The latter are “decorated objects”: an object of a category plus some extra stuff. This suggests a puzzle: can the decorated cospan construction be reduced to a double-categorical version of the Grothendieck construction?
That would be nice, but what is the Grothendieck construction for double categories? Not much seems to be written about this. One source I know of is a talk by Dorette Pronk (on joint work with Marzieh Bayeh and Martin Szyld) at the Topos Colloquium last year (slides, video), in which a definition of the double Grothendieck construction is proposed. Here I will explore a different approach and try to derive a definition of the double Grothendieck construction. This leads to a different definition and right now I don’t understand how the two are related. Another definition of a double Grothendieck construction has been proposed by David Jaz Myers (Myers 2021), which the definition here turns out to generalize.
In this post, we’ll be preoccupied with thinking about the double Grothendieck construction. Next time I’ll show how this construction can recover decorated cospans and, more importantly, generalize them to interesting situations where the existing theory does not apply.
Update (June 1, 2022): Geoffrey Cruttwell, Michael Lambert, Dorette Pronk, and Martin Szyld have just arXiv-ed a paper proposing a double Grothendieck construction equivalent to ours (Cruttwell et al. 2022, sec. 3.5). Moreover, unlike this blog post, they carefully treat the pseudo aspects of the theory and they prove a representation theorem that extends to double fibrations the classical equivalence between fibrations and category-valued pseudofunctors given by the Grothendieck construction. So check out their paper for a proper treatment of the double Grothendieck construction!
Structures internal to
Given a category
Suppose we want to define the data of the Grothendieck construction for some structure defined internally to
whose objects are left exact functors
Here is an outline of an idea. Given a model
The relevance of this speculation is that double categories are structures defined internally to
The theory of categories is an essentially algebraic theory
- objects
and ; - a pair of morphisms
, for domain and codomain; - morphisms
and , for composition and identities;
subject to the usual axioms. A (strict) double category is a model of the theory of categories in
subject to the category axioms. By convention (not shared by all authors), the objects of
The domain of the cell
The most famous example of a structure internal to
We expect that applying our generalized Grothendieck construction to the theory of monoids will recover the independently known Grothendieck construction for monoidal categories (Moeller and Vasilakopoulou 2020). Applying it to the theory of categories will yield a Grothendieck construction for double categories that decorates both objects and proarrows,1 in a compatible way.
Functorality of the Grothendieck construction
To complete the outlined construction, we need to get maps between the Grothendieck constructions that are taken pointwise. For this, we utilize the elegant result that the Grothendieck construction is functorial with respect to suitable morphisms. These morphisms are none other than morphisms of diagrams in
Given a category
- as objects, the diagrams in
, which are functors , where is the shape of the diagram; - as morphisms from
to , the pairs comprising a functor and a natural transformation .
The category
The shape functor
Now let’s consider diagrams in
that sends
- a category-valued diagram
to its Grothendieck construction along with the canonical projection: ; - a morphism of diagrams
to the following commutative square, in which the functor sends objects to and morphisms to .
The relationships between the functors involved are summarized by the equations:
We mention a few facts that will be important later. The functor
with component
Grothendieck construction for structures in
Given an essentially algebraic theory
We can now make the central definition of the post. Given an essentially algebraic theory
Thus, we obtain a new model
And that’s it! Once we’ve set everything up, the definition almost writes itself. But to understand what’s really going on, we need to unpack the construction for some particular choices of structure internal to
Monoidal Grothendieck construction
Let
having components
The Grothendieck construction of the data
and is
on morphisms
Finally, the monoidal unit is
Apart from assuming that
Double Grothendieck construction
We return at last to our main topic, the Grothendieck construction for double categories. It will take some work to unpack, and then re-pack, the definition.
According to our definition, Grothendieck data for a double category
having components
having components
In the most complicated operation, composition, the category
in
Before going further, let’s pause to consider the interpretation of this data.
- The functors
and assign categories of decorations to the objects and proarrows of . - The transformations
and map decorations of proarrows to decorations of their source and target objects. - The transformations
and define a composition law for decorations of proarrows with compatibly decorated source/target.
Now, if data for the usual Grothendieck construction is a functor into
Given a category
- objects, the objects of
- arrows, the morphisms of
- proarrows, spans in
- cells, commutative diagrams of form
Composition of proarrows is by pullback in
As a structure internal to
Theorem 1 Data for the Grothendieck construction on a double category
Sketch of Proof. We have already unpacked the definition of Grothendieck data for
We can therefore define
Similarly, we can define
for every morphism
Finally, we can identify the laxator
with the transformation
So much for the data of the double Grothendieck construction. To conclude, let’s briefly describe the double category itself.
Given a lax double functor
- objects, the pairs
with and - arrows
, the pairs with in and in - proarrows, the pairs
with and - cells
, the pairs with in and in .
Next, sources and targets in
- proarrows
to and - cells
to and .
To summarize the situation so far, a generic cell in the double category
Finally, external composition in
- Composable proarrows
have composite - Cells
and that are composable, i.e., , have composite - The identity proarrow at object
is - The identity cell at arrow
is
Importantly, we don’t have to prove that
Discussion
In a sequel post, we’ll use the Grothendieck construction for double categories to reconstruct and generalize decorated cospans.
When working with open systems, we usually want not just a double category but a monoidal double category. A fully strict monoidal double category is a double category
To do apply the Grothendieck construction to decorated cospans without resorting to strictification, we need pseudo double categories, specifically the pseudo double category of cospans. It seems that everything in this blog post extends from the 1-categorical to the 2-categorical level: a pseudo double category is a model in the 2-category
References
Footnotes
Our approach to the double Grothendieck construction treats the two directions in a double category asymmetrically. At first glance that might seem odd, but it is consistent with recent works using pseudo double categories, in which the directions are inherently asymmetric: one is strict and the other is pseudo/weak. Indeed, the internalized definitions above are often too strict, and we need weak monoidal categories and pseudo double categories. However, to avoid extra complications, we consider only the strict versions in this post.↩︎
In fact, Peschke and Tholen prove there is a 2-functor
, where the 2-category has the same underlying 1-category as the 2-category but has a richer 2-categorical structure (Peschke and Tholen 2020, Proposition 6.3). In this post, we are not going to worry about 2-categorical aspects or about distinguishing diagrams with small or large shapes.↩︎David Jaz Myers has introduced a double Grothendieck construction based on lax double functors into
, the pseudo double category of categories, functors, and profunctors (Myers 2021). A lax double functor into can be turned into a lax double functor into by post-composing with the double functor that sends a profunctor to its corresponding two-sided discrete fibration. The double Grothendieck construction here is then seen to generalize the one in (Myers 2021). Thanks to Brandon Shapiro for pointing this out.↩︎