Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: theory: category theory

Topic: Dinatural category of elements


view this post on Zulip Patrick Nicodemus (Mar 26 2025 at 14:28):

A colleague of mine (who I'm not sure is on this server, so I'm asking on their behalf) came up with/discovered an interesting construction.

Let F:C×CopSetsF : \mathcal{C}\times\mathcal{C}^{\rm op}\to\mathbf{Sets} be a functor. The "dinatural category of elements" of FF is the category whose objects are pairs (c,x)(c, x) with xF(c,c)x\in F(c,c). A morphism (c,x)(d,y)(c,x)\to (d,y) is f:cdf : c\to d such that F(f,1)(x)=F(1,f)(y)F(f,1)(x) = F(1,f)(y). Composition and identities are clear. This is equipped with a projection functor π:el(F)C\pi : \mathrm{el}(F)\to C, but it is apparently not a discrete fibration like the usual category of elements. The connected components of el(F)\mathrm{el}(F) correspond to elements of the coend of FF, similarly to how the colimit of a presheaf is the set of connected components of its category of elements. The set of sections of π\pi in Cat\mathbf{Cat} correpond to elements of the end of FF, similar to how sections of the discrete fibration of the category of elements of a presheaf correspond to elements of the limit of FF.

Can others elaborate on this? Does it have a name?

view this post on Zulip Patrick Nicodemus (Mar 26 2025 at 14:36):

I also observed that for any functor G:A×AopBG : \mathcal{A}\times\mathcal{A}^{\rm op}\to \mathcal{B} and bBb \in B one can form a "dinatural comma category" whose objects are pairs (a,f:G(a,a)b)(a, f : G(a,a)\to b), a morphism (a,f)(a,f)(a, f)\to (a',f') is a morphism g:aag : a \to a' such that fG(g,1)=fG(1,g)f\circ G(g, 1)=f'\circ G(1,g). This "dinatural category of elements" is a particular example of this construction applied to the (ordinary, usual) Yoneda embedding y:Cop×C[C×Cop;Sets]y : \mathcal{C}^{\rm op}\times\mathcal{C}\to [\mathcal{C}\times\mathcal{C}^{\rm op};\mathbf{Sets}]. So, this leads me to ask whether there is some specialization of the theory of 2-categories which allows for such "dinatural comma categories" to be expressed as a 2-limit in some way.

view this post on Zulip Patrick Nicodemus (Mar 26 2025 at 14:41):

Taking the discussion in a somewhat orthogonal direction, just as the "category of elements" construction for a presheaf can be generalized to the Grothendieck construction for indexed categories, it is clear how to generalize this construction to give a "dinatural Grothendieck" construction for functors F:C×CopCatF : \mathcal{C}\times\mathcal{C}^{\rm op}\to\mathbf{Cat}, so if anyone wants to comment on that, feel free

view this post on Zulip Andrea Laretto (Mar 26 2025 at 15:07):

I also very recently stumbled upon the very same definition! The main problem that left me a bit dissatisfied with this definition is that you do not ever talk about morphisms between xx and yy in any fiber, and this is obviously connected to the problem that given a morphism f:cdf : c \to d one cannot directly relate P(c,c)P(c,c) and P(d,d)P(d,d)... so possibly a more enlightened 2-categorical definition might include some sort of laxity instead of the "wedge-like" equation.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:11):

Just another way you can see this category.
In general, given a functor π:CD\pi: \mathcal{C} \to \mathcal{D}, one can consider a category of sections of π\pi, whose

Let N\mathbb{N} denote the monoid of natural numbers with addition, seen as a category with a single object.
An endo-profunctor FF on C\mathcal{C} determines and can be reconstructed from a functor πF:CFN\pi_F: \mathcal{C}_F \to \mathbb{N}, where

Then an equivalent description of your "dinatural category of elements" is the category of sections of πF\pi_F.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:19):

Notice that “endo-profunctors” are essentially equivalent to “categories over N\mathbb{N}; every endo-profunctor determines a category over N\mathbb{N} the way that I described, and, vice versa, every functor π:DN\pi: \mathcal{D} \to \mathbb{N} determines a profunctor FπF_\pi on the subcategory π1(0)\pi^{-1}(0) of D\mathcal{D}, by letting Fπ(c,d){xD(c,d)π(x)=1}F_\pi(c, d) \coloneqq \{ x \in \mathcal{D}(c, d) \mid \pi(x) = 1 \}, with the action determined by morphism composition in D\mathcal{D}.
The two constructions are inverse to each other up to natural isomorphism.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:23):

This is sometimes a nice perspective because it shows you that a “category together with an endo-profunctor on it” can be faithfully encoded as the data of a “category [but a different one!] together with an N\mathbb{N}-valued, additive measure on its morphisms”.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:28):

Then your category of sections has, as objects, objects of this category together with a measure-1 endomorphism on them; this may sometimes be interpreted as a category of dynamical systems...

view this post on Zulip fosco (Mar 26 2025 at 15:32):

I see this story from a slightly different point:

In such directed graph, you can study iterated compositions of the profunctors with itself, studying "flows" of the discrete dynamical system prescribed by the endo-profunctors.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:33):

Amar Hadzihasanovic said:

Notice that “endo-profunctors” are essentially equivalent to “categories over N\mathbb{N}”; every endo-profunctor determines a category over N\mathbb{N} the way that I described, and, vice versa, every functor π:DN\pi: \mathcal{D} \to \mathbb{N} determines a profunctor FπF_\pi on the subcategory π1(0)\pi^{-1}(0) of D\mathcal{D}, by letting Fπ(c,d){xD(c,d)π(x)=1}F_\pi(c, d) \coloneqq \{ x \in \mathcal{D}(c, d) \mid \pi(x) = 1 \}, with the action determined by morphism composition in D\mathcal{D}.
The two constructions are inverse to each other up to natural isomorphism.

Sorry, this is not true, lol --- it is true that πFπ\pi \mapsto F_\pi is a left inverse of FπFF \mapsto \pi_F, but not the other way around

view this post on Zulip fosco (Mar 26 2025 at 15:34):

Indeed, I was starting to express doubt about it. Not categories over NN...

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:36):

Yes I was thinking about the (true) fact that profunctors = categories over the arrow and I turned it too hastily into endo-profunctors = categories over the loop, but it's only an “inclusion” in the latter case.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:48):

I'd hasard the conjecture that endo-profunctors = categories with a strict Conduché functor to N\mathbb{N}...

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 15:55):

Thus Conduché functors into B correspond to pseudofunctors from B, regarded as a locally discrete bicategory, to the bicategory Prof.

Well this seems to confirm it, since pseudofunctors from N\mathbb{N} to Prof\mathrm{Prof} classify endo-profunctors.

view this post on Zulip Amar Hadzihasanovic (Mar 26 2025 at 16:15):

So my intuition is that a Conduché functor μ:CN\mu: \mathcal{C} \to \mathbb{N} is like a measure on morphisms of C\mathcal{C} that is additive wrt composition, and with the property that every morphism of length nn can be decomposed into nn morphisms of length 11; this is the sort of thing that seems quite natural in modelling some categories of discrete-time processes

view this post on Zulip Mike Shulman (Mar 26 2025 at 16:16):

I think the "standard" construction that this is most closely related to is the "two-sided category of elements", which associates to any profunctor CDC\nrightarrow D a [[two-sided discrete fibration]] CEDC \leftarrow E \to D, which is a fibration over DD and an opfibration over CC, compatibly, and discrete over C×DC\times D (but not over CC or DD individually). Then if it should happen that C=DC=D, you can pull back along the diagonal CC×CC\to C\times C and I think you get your construction.