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: Pseudocategory of spans internal to a 2-category


view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 01:43):

Let C\mathcal{C} be a 2-category.
Let XX be an object in C\mathcal{C}.

I propose the following "Internal bicategory of spans in XX".

The object of spans in XX, if it exists, is the 2-limit of the diagram XXXX\leftarrow X \rightarrow X. It is equipped with a certain span ducd\leftarrow u\rightarrow c in the hom-category C(S(X),X)\mathcal{C}(\mathcal{S}(X),X), which is universal among spans in C(Y,X)\mathcal{C}(Y,X) for variable YY.
Say that XX has pullbacks if C(Y,X)\mathcal{C}(Y,X) has pullbacks for all YY and they are preserved under precomposition with 1-cells YYY'\to Y.
I claim that if XX has pullbacks, then there is a pseudocategory internal to C\mathcal{C} whose objects are XX and whose arrows are S(X)\mathcal{S}(X), composition is as it is in the bicategory of spans.

Checking the details on this is a pain to do and a pain to write down (pentagon identity will be annoying) so i'd like a reference. Does anyone know of this? Is this a known construction?

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 01:45):

Also acceptable is a slick construction of this that allows me to say "the pentagon identity holds because this is a special case of this other thing where the pentagon identity is known to hold"

view this post on Zulip Mike Shulman (Sep 24 2023 at 04:28):

the 2-limit of the diagram XXXX\leftarrow X\to X

Do you mean the lax limit?

view this post on Zulip Mike Shulman (Sep 24 2023 at 04:29):

It should also be the power (= cotensor) of XX by the "walking span" category ()(\cdot \leftarrow \cdot \to \cdot).

view this post on Zulip Mike Shulman (Sep 24 2023 at 04:34):

For a slick construction, the first thing that occurs to me is that Span\rm Span is a 2-functor PBDbl\rm PB \to Dbl from the 2-category of categories with pullbacks to the 2-category of double categories. Now the assumption that XCX\in \mathcal{C} has pullbacks means that its representable functor CopCat\mathcal{C}^{\rm op} \to \rm Cat actually lands in PB\rm PB. Composing we get CopPBDbl\mathcal{C}^{\rm op} \to \rm PB \to Dbl. The assumption that the object of spans exists means that the composite of this functor with both the "category of objects" and the "category of morphisms" functors DblCat\rm Dbl\to Cat are representable. So now the Yoneda lemma should imply that the associativity and coherence etc. in Dbl\rm Dbl can equivalently be expressed internally in C\mathcal{C}.

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 05:06):

Mike Shulman said:

the 2-limit of the diagram XXXX\leftarrow X\to X

Do you mean the lax limit?

I don't know what the terminology is. I mean it represents the 2-functor CopCat\mathcal{C}^{\rm op}\to \mathbf{Cat} sending YY to the category of spans in C(Y,X)\mathcal{C}(Y,X).

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 05:11):

I also think the yoneda lemma is the way to go here but i don't quite follow you with how the double category structure comes into it.

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 05:13):

The associativity and coherence you're talking about are internal to the double categories, not between them, right?

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 05:27):

ohh I might see what you're saying. It sounds like you're saying something like, try and generalize the theorem that
if Hom(,X)Hom(-,X) is valued in the category of groups rather than just sets, then by Yoneda XX must be a group obje (assuming C has the Cartesian products necessary to form X×XX\times X).
Similarly here if Hom(,C)Hom(-, C) is valued in double categories, CC must itself be a double category somehow.

view this post on Zulip Patrick Nicodemus (Sep 24 2023 at 05:44):

Like, somehow there's some slightly more general finite limit theory version of Yoneda at play?
Handwavy definition because it's slightly difficult to phrase it right:
A 2-categorical finite limit theory consists of a finite number of 0-cells X1,,XnX_1,\dots, X_n and a finite number of 1-cells g1,,gmg_1,\dots, g_m and 2-cells κ1,,κs\kappa_1,\dots, \kappa_s where the domain and codomain of gk+1g_{k+1} are permitted to be, inductively, any (formal) finite lax limit built from the X1,,XnX_1,\dots,X_n and g1,,gkg_1,\dots, g_k.

One should have a 2-category of models of this theory in any 2-category, and lax 2-functors induce functors between the associated 2-categories of models. (In particular, pseudocategories are supposed to be models of a particular "algebraic theory" in this sense.)

Now let C\mathcal{C} be a 2-category, and say we have a functor AA from Cop\mathcal{C}^{\rm op} into the category of models of a finite lax limit theory. AA can always be viewed, equivalently, as a single model of the theory in the functor category [Cop,Cat][\mathcal{C}^{\rm op},\mathbf{Cat}]. Now we claim that if each object in the diagram AA is representable, then by Yoneda all 1 and 2 cells in the model are also representable, and this lifts to a model of the theory in C\mathcal{C}.

It's important here that Yoneda preserves finite limits. Does 2-categorical Yoneda preserve finite lax limits? Is that important here?

view this post on Zulip Mike Shulman (Sep 24 2023 at 06:42):

Yes, that's the right idea, except that in the general stuff about finite 2-limit theories you don't ever want to use the word "lax". Lax has a specific meaning, it refers to having noninvertible mediating 2-cells.

For instance, a lax functor doesn't preserve composition even up to isomorphism, it just has specified 2-cells F(g)F(f)F(gf)F(g) \circ F(f) \Rightarrow F(g\circ f) satisfying coherence laws. Lax functors are useful for some things, but when treating 2-categories as categorifications of 1-categories you almost never want to talk about lax functors as they rarely preserve anything interesting and aren't even invariant under equivalence. Instead you want either strict 2-functors, which preserve composition strictly, or pseudo 2-functors, which preserve it up to isomorphism -- they are lax functors whose comparison 2-cells are invertible.

A lax limit, on the other hand, is more useful, but is only a special case of the general notion of weighted 2-limit. The lax limit of a diagram DD is a universal object LL equipped with projections px:LDxp_x : L \to D x along with for every f:xyf:x\to y a 2-cell DfpxpyD f \circ p_x \Rightarrow p_y, satisfying coherence laws. If DD is the diagram XXXX \leftarrow X \to X, you can see that this is the "object of spans" in XX. Whereas the strict 2-limit of this diagram (which has equalities Dfpx=pyD f \circ p_x = p_y) would be isomorphic to XX, and the pseudo 2-limit would be equivalent to XX. But there is a general notion of weighted 2-limit which includes strict ones, pseudo ones, and lax ones, as well as other things, and (as in enriched category theory more generally) that's what one would use when formulating a notion of finite-limit theory.