This post is cross-posted at the Topos Institute blog.
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 is the same thing as a lax double functor , where the delooping double category is the monoidal category viewed as a double category with trivial category of objects and arrows. First, I review the main definition.
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 be a monoidal category. A category graded by consists of:
- a set of objects;
- for each object in and each pair of objects in , a set , whose elements are called morphisms from to graded by , and denoted ;
- for each pair of objects in and triple of objects in , a composition operation
- for each object in , an identity morphism graded by the unit, denoted ;
- for each morphism in and each pair of objects in , a reindexing operation sending a morphism in to a morphism .
The following axioms must be satisfied.
- Functorality of reindexing: we have and whenever those equations make sense.
- Naturality of composition: for all morphisms and in and morphisms and in , we have
- Associativity and unitality: as expected, see (Lucyshyn-Wright 2025, Definition 3.3) for details.
Graded categories, double-categorically
A category graded by a monoidal category is succinctly described as a category enriched in , the presheaf category 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 be a monoidal category. The following are equivalent:
- Categories graded by ;
- Lax double functors ;
- Discrete double fibrations over , i.e., double functors whose underlying functors and are discrete fibrations.
The equivalence between (2) and (3) is a general fact about double functors (Lambert 2021), so we need only check that (1) and (2) are equivalent. Consider a lax double functor . The data of such a functor is just that of a -graded category :
- The image of the unique object in the domain double category is the set of objects in .
- For each object of , the span is the set of all -graded morphisms in , along with the domain and codomain assignments.
- For each pair of objects in , the laxator gives the composition operation in sending a compatible pair of -graded and -graded morphisms to a -graded morphism.
- The unitor gives the -graded identity morphisms in .
As for the axioms, functorality of is equivalent to functorality of reindexing in , naturality of the laxators of is naturality of composition in , naturality of the unitor of is trivial, and finally the associativity and unitality axioms of the two structures coincide.
Since the only arrow in is the identity, a lax double functor can equally be described as a lax functor from the delooping bicategory of 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 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. Such an equivalence almost certainly holds, though I will not check the details here.
Examples
You can easily find examples of graded categories once you know to look for them. Two large classes of examples are -enriched categories and -actegories, each of which embed fully faithfully into -graded categories (Lucyshyn-Wright 2025, Examples 3.8 & 3.9). Let’s look at more specific examples instead.
Since a discrete monoidal category is just a monoid, a category graded by a monoid is, in a degenerate way, a category graded by a monoidal category. We have already mentioned signed categories as a particular case. Further examples in that style are the different flavors of causal loop diagram appearing in CatColab and in John Baez’s blog series on polarities.
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.
In an earlier post, we saw how to describe promonads as double functors, enabling us to formalize an analogy between promonads on a category and algebras over a ring. In fact, promonads are examples of graded categories. To be more precise, if is the monoidal poset of booleans under disjunction, then , where the theory of promonads was introduced previously, and hence a -graded category is the same thing as a category along with a promonad on it.
Promonads capture the situation that a common set of objects admits two category structures, with one type of morphism mapping functorially into the other. Such situations occur often in mathematics, and not necessarily with just two types. Generalizing, we can take to be any join-semilattice. For example, functions between real vector spaces, or subsets thereof, may obey any of the properties recorded in the following lattice (Patterson 2020, Examples 2.4.2 & 2.4.3):
In such a -graded category, an affine map can be composed with a conic-linear map to obtain a convex-linear map. As another example, Bonchi et al define an effectful triple to be, among other things, a category graded by the linear order , where the three types of morphisms model programs with pure functions, local effects, and global effects (Bonchi, Di Lavore, and Román 2024).
Let be the monoidal poset of extended nonnegative real numbers under the opposite order, with monoidal product given by addition. Famously, a category enriched in is a Lawvere metric space.
What about a category graded by ? We can think of a morphism graded by as a “proof that the distance from to is at most ” or as a “path from to with cost at most ”. Composition in the graded category says that if we have a proof that the distance from to is at most and a proof that the distance from to is at most , then we get a proof that the distance from to is at most . Reindexing says that if and we have a proof that the distance from to is at most , then we get a weaker proof that said distance is at most . Thus, -graded categories are a minimal fragment of the “logic of analysis,” in which we can rarely calculate distances but must settle for bounding them.
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.
Let be the category whose objects are nonnegative real numbers , viewed as closed intervals , and whose morphisms are endpoint-preserving continuous maps . Endow with the monoidal product that acts by adding objects and concatenating morphisms, i.e., given maps and , we have
We will construct a -graded category whose -graded morphisms are homotopies of duration . Fix a partial continuous map of topological spaces . The -graded category will have, as objects, continuous maps extending the map along the inclusion , i.e., such that for each . Then a -graded morphism is a homotopy from to relative to and of duration , meaning a continuous map satisfying the equations Homotopies and of respective durations and compose by concatenation to give a homotopy of duration , and the identity homotopy on a map is the unique homotopy of duration zero. Finally, the reindexing of a homotopy of duration along a map is the reparameterized homotopy , which has duration .
Important special cases of the graded category are:
- When and , the objects are points in and -graded morphisms are paths of duration .
- When is the circle and , the objects are loops in with fixed base point and morphisms are basepoint-preserving homotopies between loops.
- When is the unit interval and , the objects are paths in with fixed endpoints and the morphisms are endpoint-preserving homotopies between paths.
Thus, by augmenting our categories with a grading, we can build analogues of the fundamental group and fundamental groupoid without having to take any quotients. To recover a unit-duration homotopy from a composite of two such, simply reindex along any reparameterization , such as the linear one . Of course, the choice of reparameterization is arbitrary. The point is that by keeping all of the reparameterizations around, we never have to choose just one, which is what forces quotienting in the standard constructions.
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 , write for the monoidal category with reversed multiplication, so that .
Definition 2 Let and be monoidal categories. A category bigraded by and is a category graded by the product .
The bigraded product is a construction that takes a -graded category and a -graded category and produces --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 -graded and -graded categories, viewed as lax double functors is given by the double functor where the final (pseudo) double functor is the product in the cartesian double category .
Outlook
If a -graded category is a lax functor on the delooping double category, then why not drop the restriction to monoidal categories and define a category graded by a double category to be a lax presheaf on or, equivalently, a discrete double fibration over ? That is precisely what Michael and I called a model of the simple double theory 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.
References
Aduddell, Rebekah, James Fairbanks, Amit Kumar, Pablo S. Ocal, Evan Patterson, and Brandon T. Shapiro. 2024.
“A Compositional Account of Motifs, Mechanisms, and Dynamics in Biochemical Regulatory Networks.” Compositionality 6 (2).
DOI:10.32408/compositionality-6-2.
arXiv:2301.01445.
Bonchi, Filippo, Elena Di Lavore, and Mario Román. 2024.
“Effectful Mealy Machines: Bisimulation and Trace.” arXiv:2410.10627.
Lambert, Michael. 2021.
“Discrete Double Fibrations.” Theory and Applications of Categories 37 (22): 671–708.
http://www.tac.mta.ca/tac/volumes/37/22/37-22abs.html.
Lambert, Michael, and Evan Patterson. 2024.
“Cartesian Double Theories: A Double-Categorical Framework for Categorical Doctrines.” Advances in Mathematics 444: 109630.
DOI:10.1016/j.aim.2024.109630.
arXiv:2310.05384.
Lucyshyn-Wright, Rory B. B. 2025.
“V-graded Categories and V-W-bigraded Categories: Functor Categories and Bifunctors over Non-Symmetric Bases.” arXiv:2502.18557.
Paré, Robert. 2011.
“Yoneda Theory for Double Categories.” Theory and Applications of Categories 25 (17): 436–89.
http://www.tac.mta.ca/tac/volumes/25/17/25-17abs.html.
Patterson, Evan. 2020.
“The Algebra and Machine Representation of Statistical Models.” PhD thesis, Stanford University.
arXiv:2006.08945.
Wood, Richard J. 1976. “Indicial Methods for Relative Categories.” PhD thesis, Dalhousie University.
———. 1978.
“V-indexed Categories.” In
Indexed Categories and Their Applications, 126–40.
DOI:10.1007/BFb0061362.