Graded categories as double functors
At last week’s Topos Colloquium, Rory Lucyshyn-Wright told us about categories graded by a monoidal category, following his recent preprint (Lucyshyn-Wright 2025). Graded categories, short for locally graded categories, were first introduced by Richard Wood under a different name (Wood 1976, 1978). Graded categories are of mathematical interest because they simultaneously generalize actions of a monoidal category (“actegories”) and, via a Yoneda-type embedding, enriched categories, while enjoying the advantage that extra monoidal structure like symmetry is not needed to construct functor categories and bifunctors.
My own interest was piqued since, from its very beginning, CatColab has featured categories graded by monoids. As the simplest example, categories graded by the multiplicative monoid of signs \{+, -\} are called signed categories. Among these, the free signed categories are a good description of causal loop diagrams and regulatory networks (Aduddell et al. 2024). Grading by a monoidal category generalizes grading by a monoid. In fact, within CatColab’s mathematical framework (Lambert and Patterson 2024), categories graded by a monoidal category are just the models of a simple double theory determined by the monoidal category.
The purpose of this blog post is to explain that. I will explain how a category graded by a monoidal category \mathcal{V} is the same thing as a lax double functor \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan}, where the delooping double category \mathbb{B}(\mathcal{V}) is the monoidal category \mathcal{V} viewed as a double category with trivial category of objects and arrows. First, I review the main definition.
1 Graded categories, concretely
There are several quick, conceptual ways to define a category graded by a monoidal category. I prefer to start with a fully concrete description.
Definition 1 Let (\mathcal{V}, \otimes, I) be a monoidal category. A category \mathsf{C} graded by \mathcal{V} consists of:
- a set of objects;
- for each object x in \mathcal{V} and each pair of objects a,b in \mathsf{C}, a set \mathsf{C}_x(a,b), whose elements are called morphisms from a to b graded by x, and denoted f: (x, a) \to b;
- for each pair of objects x,y in \mathcal{V} and triple of objects a,b,c in \mathsf{C}, a composition operation \mathsf{C}_x(a,b) \times \mathsf{C}_y(b,c) \to \mathsf{C}_{x \otimes y}(a,c);
- for each object a in \mathsf{C}, an identity morphism 1 \to \mathsf{C}_I(a,a) graded by the unit, denoted 1_a: (I, a) \to a;
- for each morphism \alpha: x \to y in \mathcal{V} and each pair of objects a,b in \mathsf{C}, a reindexing operation \alpha^*: \mathsf{C}_y(a,b) \to \mathsf{C}_x(a,b), sending a morphism f: (y,a) \to b in \mathsf{C} to a morphism \alpha^*(f): (x, a) \to b.
The following axioms must be satisfied.
- Functorality of reindexing: we have (\beta \circ \alpha)^*(f) = \alpha^*(\beta^*(f)) and 1_x^*(f) = f whenever those equations make sense.
- Naturality of composition: for all morphisms \alpha: w \to x and \beta: y \to z in \mathcal{V} and morphisms f: (x, a) \to b and g: (z, b) \to c in \mathsf{C}, we have (\alpha \otimes \beta)^*(f \cdot g) = \alpha^*(f) \cdot \beta^*(g).
- Associativity and unitality: as expected, see (Lucyshyn-Wright 2025, Definition 3.3) for details.
2 Graded categories, double-categorically
A category graded by a monoidal category \mathcal{V} is succinctly described as a category enriched in \widehat{\mathcal{V}}, the presheaf category \widehat{\mathcal{V}} \coloneqq [\mathcal{V}^\mathrm{op}, \mathsf{Set}] with its monoidal structure given by Day convolution. While brief, this characterization is somewhat complicated since the formula for Day convolution involves a coend. The following characterizations are equally brief but avoid mention of any colimits.
Proposition 1 Let \mathcal{V} be a monoidal category. The following are equivalent:
- Categories graded by \mathcal{V};
- Lax double functors \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan};
- Discrete double fibrations over \mathbb{B}(\mathcal{V}), i.e., double functors P: \mathbb{D} \to \mathbb{B}(\mathcal{V}) whose underlying functors P_0: \mathbb{D}_0 \xrightarrow{!} \mathsf{1} and P_1: \mathbb{D}_1 \to \mathcal{V} are discrete fibrations.
Since the only arrow in \mathbb{B}(\mathcal{V}) is the identity, a lax double functor \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan} can equally be described as a lax functor from the delooping bicategory of \mathcal{V} to the bicategory of spans. As usual in such cases, the advantage of working double-categorically rather than bicategorically is that we get the right morphisms. It is straightforward to show that a (tight) natural transformation \alpha: F \Rightarrow G: \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan} between lax double functors is just a graded functor between graded categories, in the sense of (Lucyshyn-Wright 2025, Definition 3.5).
Pursuing this further, the above Proposition 1, stated somewhat loosely as a correspondence between objects, would be better upgraded to an equivalence between virtual double categories.1 Such an equivalence almost certainly holds, though I will not check the details here.
3 Examples
You can easily find examples of graded categories once you know to look for them. Two large classes of examples are \mathcal{V}-enriched categories and \mathcal{V}-actegories, each of which embed fully faithfully into \mathcal{V}-graded categories (Lucyshyn-Wright 2025, Examples 3.8 & 3.9). Let’s look at more specific examples instead.
A step up in complexity to grade by a thin monoidal category, i.e., a monoidal preorder. In progamming jargon, the morphisms in such a graded category have types that are implicitly converted to a common supertype when composed.
Finally, categories with “parameterized” maps are often viewable as categories graded by the parameter spaces, with reindexing in the graded category being reparameterization. The nLab page on the Para construction lists many examples inspired by machine learning and optimization. The Para construction is taken to produce a bicategory, but making the reparameterizations be 2-cells in a bicategory obscures their fibered character, which is made explicit in a graded category. In terms of Proposition 1, the bicategory of parameterized maps can be recovered as the elements construction of a span-valued double functor or, equivalently, as the total double category in a discrete double fibration.
For the sake of variety, let’s see a different flavor of parameterized map, inspired by the Moore path category from topology.
4 Bigraded categories
A careful study of graded categories from the perspective of double category theory (which I have not done!) would likely yield many insights. I’ll mention just one, concerning bigraded categories, that jumped out to me while skimming Lucyshyn-Wright (2025)’s paper.
Given a monoidal category \mathcal{V}, write \mathcal{V}^\mathrm{rev} for the monoidal category with reversed multiplication, so that x \otimes_\mathrm{rev}y \coloneqq y \otimes x.
Definition 2 Let \mathcal{V} and \mathcal{W} be monoidal categories. A category bigraded by \mathcal{V} and \mathcal{W} is a category graded by the product \mathcal{V}\times \mathcal{W}^\mathrm{rev}.
The bigraded product is a construction that takes a \mathcal{V}-graded category and a \mathcal{W}^\mathrm{rev}-graded category and produces \mathcal{V}-\mathcal{W}-bigraded category. It admits a simple description using double functors, which follows directly from the definitions.
Proposition 2 The bigraded product (Lucyshyn-Wright 2025, Definition 9.9) of \mathcal{V}-graded and \mathcal{W}^\mathrm{rev}-graded categories, viewed as lax double functors F: \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan} \qquad\text{and}\qquad G: \mathbb{B}(\mathcal{W})^\mathrm{coop}\to \mathbb{S}\mathsf{pan}, is given by the double functor \mathbb{B}(\mathcal{V}\times \mathcal{W}^\mathrm{rev})^\mathrm{op}= \mathbb{B}(\mathcal{V})^\mathrm{op}\times \mathbb{B}(\mathcal{W})^\mathrm{coop}\xrightarrow{F \times G} \mathbb{S}\mathsf{pan}^2 \xrightarrow{\times} \mathbb{S}\mathsf{pan}, where the final (pseudo) double functor is the product in the cartesian double category \mathbb{S}\mathsf{pan}.
5 Outlook
If a \mathcal{V}-graded category is a lax functor \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan} on the delooping double category, then why not drop the restriction to monoidal categories and define a category graded by a double category \mathbb{D} to be a lax presheaf on \mathbb{D} or, equivalently, a discrete double fibration over \mathbb{D}? That is precisely what Michael and I called a model of the simple double theory \mathbb{D}^\mathrm{op} in our paper on cartesian double theories (Lambert and Patterson 2024, sec. 3).
However, grading is a concept with an attitude, suggestive of new examples that we did not consider. For example, a category graded by the core of the double category of finite sets and spans would be a higher-dimensional combinatorial species, having both objects and morphisms indexed by finite sets. I hope to revisit such ideas in a future post.
6 References
Footnotes
In the virtual double category of lax functors \mathbb{B}(\mathcal{V})^\mathrm{op}\to \mathbb{S}\mathsf{pan}, the arrows are natural transformations, the proarrows are modules, and the multicells are multimodulations. See Paré (2011), Lambert (2021), or Lambert and Patterson (2024).↩︎
The contravariance of the reindexing operation in a graded category is conventional, chosen to simplify the Yoneda-type embedding of enriched categories into graded categories. In this example it is a hindrance.↩︎