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 all! This is the thread of discussion for the talk of Mario Román, "Open Diagrams via Coend Calculus".
Date and time: Tuesday July 7, 11:40 UTC.
Zoom meeting: https://mit.zoom.us/j/7055345747
YouTube live stream: https://www.youtube.com/watch?v=MIfh-LndWv8&list=PLCOXjXDLt3pZDHGYOIqtg1m1lLOURjl1Q
The talk will start in 10 minutes!
@Sophie Libkind @Toby Smithe @Jules Hedges : I feel like these "diagrams with holes" are connected to the sort of operations that should be supported on "contexts". Like, given a 'comb', and a context for the outside, one should get a context for the inside.
Yes, for sure. The early part of this stuff was all developed in parallel live on twitter
My talk was reverse engineered from my reworking the foundations of game theory in terms of comb diagrams, which was part of what got everyone thinking about open diagrams in general
@Aleks Kissinger The answer to your question is no in general. What profunctor optics tell us is that two optics are the same iff they coincide on all tambara modules. What you are asking is to have them coincide only on the particular modules that describes morphisms with some auxiliary wires. In general that's not enough
Actually, I don't have a counter-example in mind, but I strongly suspect that it wouldn't be enough
@Eigil Rischel Yeah, there's loads to say on this. I'll talk a bit about it in my talk, but not in any special depth. I'll basically just demonstrate what you described, for Jules' games, using Mario's diagrams.
Jules Hedges said:
My talk was reverse engineered from my reworking the foundations of game theory in terms of comb diagrams, which was part of what got everyone thinking about open diagrams in general
In fact, the first moment I started going on this direction is on a twit https://twitter.com/mroman42/status/1178781604304637954
Guillaume Boisseau said:
Actually, I don't have a counter-example in mind, but I strongly suspect that it wouldn't be enough
Oh, I remember that you had told me something about this, but I was not sure if the counterexample was there. Also the question "What do we need for this?" seems a nice direction.
Almost-counterexample: if two lenses coincide as combs on all morphisms, then we get that their put
s coincide, but we only get that get_0 \times !_a = get_1 \times !_a
. So if a
is "empty" we might not recover that the lenses are equal
Oooops scratch that, we do actually recover that the lenses are equal. Same for prisms.
Hi all. Perhaps I'm misunderstanding the question, but how about considering combs with a "hole" of type , i.e. the case in Mario's notation? Then plugging in morphisms into the hole doesn't really do anything, and the question amounts to asking merely whether morphisms are in bijection with composable pairs of morphisms modulo the equivalence . Right?
Assuming that this is correct, then this happens if and only if every commutative square, with top left and bottom right, has a diagonal filler (bottom left to top right). The monoidal structure now doesn't even play a role anymore. And of course, in most categories it's easy to find particular squares which have no such lift, for example in Set or Rel.
This phenomenon feels vaguely related to Hochschild homology, and perhaps there is a precise relation to the cohomology of the nerve of the category under consideration, but I'm not sure.
It actually is the case that is in bijection with in any category. That's an instance of coend calculus/Yoneda. What you're missing is that W is not fixed here, and that makes the bijection go through. So when the hole has type the property always holds.
I know that isn't fixed, but I forgot to take the transitive-symmetric closure of the relation . Whoops! Then yes, I agree that considering holes of type doesn't work.
A fake counter-example is traversals: it doesn't even make sense to talk about auxiliary wires in that case, so the only morphisms we can plug in are the . Then the property doesn't hold, because eg two traversals that differ in the order of iteration will give the same map for all such .
But that's sad: what I'd really want is a counter-example in the non-cartesian monoidal case. I don't have examples sadly. Maybe the probabilistic lenses in Bayesian Open Games?
I think it will be true any time a category has a faithful monoidal embedding into a compact closed category. so, a possible place to look for counter-examples are categories with no such faithful embedding. i only know artificial examples of this. e.g. categories you build from generators and relations where adding caps and cups enable more "non-convex" ways to match rules than you had before
e.g. a PROP where you have X : 2 -> 0, Y : 0 -> 2, and a rule whose LHS and (Y+id);(id+SWAP);(X+id), where '+' is monoidal product here
then, suppose there is also a Z : 1 -> 1. Then Y;(1+Z);X may or may not contain a redex for the rule, depending on whether caps/cups are allowed
Aleks Kissinger said:
I think it will be true any time a category has a faithful monoidal embedding into a compact closed category
I don't think that's true. If we monoidally embed, we get two combs that coincide only on the image of the embedding. And this image does not contain the cups and caps we need to deduce that the original optics are equal.
I have uploaded the expanded slides here together with some questions: https://www.ioc.ee/~mroman/talks/opendiagrams-act20.pdf
Really pretty slides btw!
So here's a (rather degenerate) way of constructing different optics of the same type which are contextually equivalent in @Aleks Kissinger sense, meaning that they behave the same with respect to plugging in any morphism (with external wires) into their "hole". Hopefully it's correct now.
Let be any commutative monoid, written additively, and consider the symmetric monoidal category with as its monoid of objects and only identity morphisms. Then the set of optics
degenerates to
Since any two parallel morphisms are equal, the contextual equivalence with respect to plugging in morphisms with external wires into the holes is trivial: any two optics of the same type are contextually equivalent. However, they nevertheless need not be equal: it's easy to find for which the above equations for can have multiple solutions. For example, take to be a monoid of subsets of a fixed ground set with respect to union as addition, and take .
If this construction looks too degenerate to be interesting, then try to consider the skeleton of your favourite SMC, and there's a good chance that you'll find instances where the equations and will have multiple non-isomorphic solutions for . This happens for example in the category of abelian groups, where as soon as and are coprime.
Tobias Fritz said:
So here's a (rather degenerate) way of constructing different optics of the same type which are contextually equivalent in Aleks Kissinger sense, meaning that they behave the same with respect to plugging in any morphism (with external wires) into their "hole". Hopefully it's correct now.
Let be any commutative monoid, written additively, and consider the symmetric monoidal category with as its monoid of objects and only identity morphisms. Then the set of optics
degenerates to
Since any two parallel morphisms are equal, the contextual equivalence with respect to plugging in morphisms with external wires into the holes is trivial: any two optics of the same type are contextually equivalent. However, they nevertheless need not be equal: it's easy to find for which the above equations for can have multiple solutions. For example, take to be a monoid of subsets of a fixed ground set with respect to union as addition, and take .
If this construction looks too degenerate to be interesting, then try to consider the skeleton of your favourite SMC, and there's a good chance that you'll find instances where the equations and will have multiple non-isomorphic solutions for . This happens for example in the category of abelian groups, where as soon as and are coprime.
Thank you, @Tobias Fritz. I think this works; and the coend degenerates into a coproduct. That was a really nice question.
Here's the video!
https://www.youtube.com/watch?v=qnkDtBkHdHA&list=PLCOXjXDLt3pYot9VNdLlZqGajHyZUywdI
@Tobias Fritz Niiice thanks that does seem to work!