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.
Hello,
I'm having to deal with [[double profunctors]] recently and it's not clear to me what are the problems with their composition. There's very limited sources on the topic, so I thought to ask here.
The nLab says double profunctors cannot be composed as their composition involves commuting colimits and pullbacks in Cat, which we know doesn't work in general since non every functor is exponentiable. More precisely, the composition of two double profunctors can be defined but the resulting composition operation doesn't seem to be associative.
Now, recently I've been talking with @Brandon Shapiro who explained to me that the definition of profunctors as barrels (which are nothing but functors into the walking arrow) can be generalized to the case of double categories. In this way we recover three kinds of double profunctors: horizontal double profunctors are double functors into the walking horizontal arrow, vertical double profunctors are double functors into the walking vertical arrow, and finally 'square' double profunctors are double functors into the walking square.
I didn't check explicitly but Brandon's claim seems very plausible to me. Take the case of a horizontal double profunctor between and is embodied by a double functor whose fibers are, respectively and . The data and functoriality of correspond to that of the hom-set of .
Now one can compose double profunctors represented in this way in the same exact way one composes profunctors represented in this way, which is represented by this diagram (this is composition of profunctors in Cat):
image.png
Here is the walking object, is the walking arrow, is the walking composable pair of arrows, and maps the only arrow in to the composite arrow in .
Basically you take a pushout and then pullback the resulting functor along , forgetting about .
When I look at this I see why composition of profunctors is not associative: we are pulling back a pushout, and we are doing it along the archetypal *non-exponentiable* functor, . Except this I described is composition of profunctors of categories, which is well-defined and associative!
So something is making up for the this lack of commutativity between pushout and pullback here. And it seems that this thing is lacking in the category of double categories and double functors, otherwise we could use the same procedure to define an associative composition of double profunctors (replacing everything in the diagram above suitably).
What is it?
Instead of pulling back along comp, it's better to consider that last step to be factoring the map as an essentially surjective functor followed by a fully faithful one. Then the whole construction is a dual form of the bicategory of relations in a regular category. In a general 2-category, the "cospans that should be collages of profunctors" can be characterized as the two-sided [[codiscrete cofibrations]], and then what you need is a suitable factorization system to do the composition. Now the stability condition that holds in Cat to make this associative is clear: fully faithful functors are closed under pushout (a dual of the fact that regular epimorphisms in a regular category are closed under pullback); on the nLab page [[codiscrete cofibration]] this is called an "equippable factorization system" on a 2-category. I presume this condition is what fails in Dbl, although I haven't written out the details.
Hi Mike, thanks for your reply!
Mike Shulman said:
Instead of pulling back along comp, it's better to consider that last step to be factoring the map as an essentially surjective functor followed by a fully faithful one.
I presume the map is given by the two inclusions, how does the factorization give me a map into ?
Just forget about 2. A cospan is the collage of a profunctor just when it's a two-sided codiscrete cofibration.
However, if you really insist, you can use the fact that 1+1 -> 2 -> 3 is an analogous factorization and the factorization system is functorial.
Hi Matteo and Mike! I hadn't thought about the factorization perspective on this before, that's really interesting. After thinking about these for a while though I still feel like the composition should be associative, for the reasons below. I figure I'm missing something though, and I'd love to better understand what goes wrong here.
In the pullback-along-comp version of ordinary profunctor composition, even though comp itself is not exponentiable, the functors APBQC -> 3, APBQCRD -> 4, etc are exponentiable, and this can be used to prove associativity as the pushout Push(2 <- 1 -> 2) = 3 is preserved when pulling back comp_1 : 3 -> 4 along APBQCRD -> 4 to get A(P;Q)CRD. This is used to show that both associations agree with the ternary composite defined this way using comp : 2 -> 4. I don't see why this would be any different when the walking arrows in Cat are replaced by the walking horizontal arrows in DoubleCat (this is admittedly vague, but I'm happy to say more about it when I'm not in transit)
In terms of factorizations, it seems relevant here that the pushouts we're considering don't add any new vertical composites. When gluing together P and Q along B, we add in horizontal composites of the heteromorphisms and heterosquares, but on both objects and vertical morphisms the pushout is simply a pushout of inclusions of sets. Maybe this is the most short and intuitive reason why I feel like horizontal double profunctors should compose just as nicely as ordinary profunctors.
@Matteo Capucci (he/him): have you looked at Paré's papers Yoneda theory for double categories and Composition of modules for lax functors? These discuss the topic of double profunctors quite extensively.
@Nathanael Arkor I don't think Paré's "modules" are the same as the double profunctors we're talking about here. His are a kind of transformation between two parallel lax double functors.
Oh whoops, you're right! He just calls them profunctors, and his modules are something else. Thanks for pointing that out; I should have double-checked.
Brandon Shapiro said:
In terms of factorizations, it seems relevant here that the pushouts we're considering don't add any new vertical composites. When gluing together P and Q along B, we add in horizontal composites of the heteromorphisms and heterosquares, but on both objects and vertical morphisms the pushout is simply a pushout of inclusions of sets.
I don't think this is true. The quotienting that happens on heteromorphisms means that some heterosquares that were not previously composable will become so, and thus new vertical composites of heterosquares appear. Here is a sketch of how this gives rise to non-associativity.
Instead of pulling back along comp, it's better to consider that last step to be factoring the map as an essentially surjective functor followed by a fully faithful one. Then the whole construction is a dual form of the bicategory of relations in a regular category. In a general 2-category, the "cospans that should be collages of profunctors" can be characterized as the two-sided [[codiscrete cofibrations]], and then what you need is a suitable factorization system to do the composition. Now the stability condition that holds in Cat to make this associative is clear: fully faithful functors are closed under pushout (a dual of the fact that regular epimorphisms in a regular category are closed under pullback); on the nLab page [[codiscrete cofibration]] this is called an "equippable factorization system" on a 2-category. I presume this condition is what fails in Dbl, although I haven't written out the details.
Ok I should have read the nLab page you linked before, I now see what you mean here.
Brandon Shapiro said:
In terms of factorizations, it seems relevant here that the pushouts we're considering don't add any new vertical composites. When gluing together P and Q along B, we add in horizontal composites of the heteromorphisms and heterosquares, but on both objects and vertical morphisms the pushout is simply a pushout of inclusions of sets.
I don't think this is true. The quotienting that happens on heteromorphisms means that some heterosquares that were not previously composable will become so, and thus new vertical composites of heterosquares appear. Here is a sketch of how this gives rise to non-associativity.
But any way, this really nails it! :exploding_head:
Mike Shulman said:
I don't think this is true. The quotienting that happens on heteromorphisms means that some heterosquares that were not previously composable will become so, and thus new vertical composites of heterosquares appear. Here is a sketch of how this gives rise to non-associativity.
I see, that makes it very clear where the problem is. Thanks!
Hm, this sketch is interesting. For fibrant double categories, we can compose with , the identity of composed with "bending" of the left vertical arrow of (the cartesian cell of its companion) composed with . So these zig-zags are not obstructions to associative composition of profunctors of FDCs.
Yes, that's true.
So, this seems to be a serious limitation of non-fibrant double categories. What notions of profunctor have been used? I'll search around.
it's not easy to find much online; I'm only seeing nLab: double profunctor
yeah, I'm not even seeing double profunctors in those references of Pare. but I'm pretty sure I've seen some from Shulman.
Christian Williams said:
yeah, I'm not even seeing double profunctors in those references of Pare. but I'm pretty sure I've seen some from Shulman.
They're simply defined to be (lax) double functors in the paper. He doesn't use the terminology "double profunctor".
Christian Williams said:
it's not easy to find much online; I'm only seeing nLab: double profunctor
yeah there's pretty much nothing
I added the counterexample to associativity to the nLab page [[double profunctor]].