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.
absolutely livid to see my exact thoughts suddenly appearing on the arxiv, i was gonna write this paper dammit https://arxiv.org/abs/2004.04526
anyway this is great
(alright maybe "exact thoughts" is a slight overstatement)
Looks cool! Thanks for letting us know about it!
And by the way, I've had this thought a few times in my life, too, @sarahzrf. Namely, I'm working on something, and suddenly I see a paper and I'm like "omg... did they just do everything I was doing and more!?" and I have a mini panic attack. But then I remind myself, "Hey, if I'm working on this, and so are other people, then that means I'm doing something right." And then after reading their work, I usually learn a lot more and often even find out it's not exactly the same as what I was doing and I have complimentary things to contribute to the overall discussion. Then I'm even more motivated to continue. Anyway, the point is that I've found these moments to actually do more help than harm.
Brilliant, this looks like exactly what I was asking about here: https://categorytheory.zulipchat.com/#narrow/stream/229156-practice.3A-applied.20ct/topic/input-output.20machines/near/192520980
In fact I see you reference my question in the paper! Nice.
sarahzrf said:
anyway this is great
Thank you, @sarahzrf ! :) I have been working on optics for a while now and I am happy to see this direction felt natural to you as well.
Sorry to hear if it caused a mini panic attack. I am preparing a better version of this right now that I hope I can share soon. If, in the future, you are still interested in the topic maybe we should put notes together and see what we can get.
Nathaniel Virgo said:
Brilliant, this looks like exactly what I was asking about here: https://categorytheory.zulipchat.com/#narrow/stream/229156-practice.3A-applied.20ct/topic/input-output.20machines/near/192520980
Yes, thank you! Your question is referenced as a motivating example in the introduction :) I was happy to have an example outside optics showing that it was not only me asking this question to myself.
yeah, no, i was being mostly tongue-in-cheek about "absolutely livid" :)
no mini panic attack heh
sarahzrf said:
yeah, no, i was being mostly tongue-in-cheek about "absolutely livid" :)
Ah, the great "Yeah, no" (or "Yeah, nah" Down Under), as discussed in Lifehacker, English Stackexchange and Mark Liberman's Language Log.
Serious question: how would a diagram(?) for the semantics of "yeah nah" and "nah yeah" look like?
I am reminded of the famous story of a linguist who noted that the double negative could mean affirmation, but the double positive never meant negation, to which somebody in the audience (reputedly the mathematician Martin Kruskal) sarcastically responded "yeah, yeah."
That is one of my favorite jokes. I didn't know there was a reputed actual guy who reputedly actually said that.
I usually see that joke with “yeah, right”, it’s also one of my favorites :D
Gotta shout out to @Mario Román for this paper, it's awesome. And gorgeous, with all those beautifully typeset diagrams.
FWIW, Wikipedia believes that the wag in the audience was Sidney Morgenbesser and the lecturer was the philosopher J. L. Austin, backing it up with three citations to eulogies or news articles (1, 2, 3).
That's the way I heard it (Morgenbesser to Austin) back in early 80s around MIT Linguistics.
ok wow i got sidetracked and left this one open in a tab for ages
i finally read the section w/ pointed profunctors where the diagrams get "inflated"
this is nuts, i gotta chew on it @_@
this is wonderful
image.png
but i wanna see diagrams showing how composition is done :smiling_devil:
sarahzrf said:
absolutely livid to see my exact thoughts suddenly appearing on the arxiv, i was gonna write this paper...
Know the feeling. Drinfeld is now working with stuff I thought of 9 years ago. I couldn't get people to take me seriously at the time....
sarahzrf said:
but i wanna see diagrams showing how composition is done :smiling_devil:
This one? with the inflated diagrams I guess it is easier to see just the initial and final results.
opendiagrams-rest.pdf
yeah, i kinda wanted to see the inflated version :)
but it wasn't a real request to typeset, i figured it would be a pain
jeez that looks like a pain to typeset, did you already have that laid out or did you make it just now o.O
sarahzrf said:
jeez that looks like a pain to typeset, did you already have that laid out or did you make it just now o.O
No, no, that was a Figure on a previous version of the paper :joy:
hmm... it occurs to me to make a comparison between like...
inflated diagrams are to string diagrams
as
type theories are to logics
@Mario Román i've just been reading about diagrams for double categories & thinking about what they might be good for expressing in, say, Prof—have you considered anything like that?
i was thinking that a heteromorphism is exactly a square from the horizontal id : 1 ⇸ 1 to the horizontal P : C ⇸ D, with domain and codomain given by the vertical sides
you can also kinda express this with bicategory diagrams, but it's a bit more awkward
anyway, in the notation in that paper, a heteromorphism of P : C ⇸ D in P(A, B) would look like
| A C
|
f o ------P------
|
| B D
then if you chain a couple, it looks like
| A C₁
|
f o ------P------
|
| B C₂
|
g o ------Q------
|
| X C₃
|
h o ------R------
|
| Y C₄
so you can quite naturally compose heteromorphisms of different profunctors end to end, and then they have these bits trailing off on the right marking the profunctor they came from, and you can read off immediately that the composite heteromorphism belongs to P;Q;R
whereas in the bicategory diagrams, you'd need to mess around a bit more to make this sensible
It's possible I'm getting mixed up, but I'm pretty sure Guillaume is already using David Jaz's double category diagrams in the double category of Tambara modules to study optics
Ok, it's not in his paper, but I definitely remember spending an afternoon with him covering a whiteboard in double category diagrams
sarahzrf said:
Mario Román i've just been reading about diagrams for double categories & thinking about what they might be good for expressing in, say, Prof—have you considered anything like that?
TL;DR: yes, thank you for bringing this, I agree. That should be a nice thing to do; probably not that much for the application I wanted but in general. I knew of David's work but had been paying more attention to the bicategorical case until Edward Morehouse and now you pointed this again to me. I guess that for my application the graphical calculus of symmetric monoidal double categories should work more or less similarly, and I guess a clear advantage of the double category is that it separates functors and profunctors nicely (avoiding the awkward: "left adjoint, but also Cauchy completion on the domain").
Long form: Thank you, @sarahzrf, for pointing that. I agree, I knew (the first part of) that paper; although I decided to go with monoidal bicategories because they were more familiar to me and they seemed to justify nicely the relation with monoidal diagrams. In any case, trying to use the double version of these things would be really nice. I understand that the idea would be to go to symmetric monoidal double categories. Also, Edward Morehouse (who I think is working on these) pointed me to the fact that I should be trying to see how the story worked in monoidal double categories; I think you both are right, that should be a clear "further work" on what I was doing. Let me try to link here what I know related to that, in case it helps anyone:
Maybe it was David Jaz Myers that proposed us to use these diagrams during the ACT school. I think David Dalrymple drew a lot of optics diagrams in double categories on Twitter. There is also this paper by Sprunger and Katsumata that I looked into and does something with "double categories with one object" (I think David Dalrymple also cites it). Also, Chad Nester may be able to say more on that, he was working with similar things at the same time (with different applications in mind).
But then I went back to monoidal bicategories for this paper. As you say, you can still repeat that in monoidal bicategories, it is just that you need to decide to bend some wire (which, in the particular application I wanted is fine, in general, it feels a bit awkward). The fact that it was awkward pushed me to consider the pointed profunctors. I learnt a trick like the one you mention from Marsden's "Category Theory using String Diagrams" (in Cat instead of Prof). I guess also an advantage of double categories over bicategories is to track which things are functors and profunctors. I was more focused on monoidal bicategories and getting that into a decent form, but it is true that a lot of people around me is using monoidal double categories.
i do still think your open diagrams seem nicer than these for working with stuff atm—e.g., it's not clear to me how to deal with the monoidal structure on Prof here without having to go 3 dimensional
just, i was struck by the fact that the first, really basic use cases for open diagrams seem to be automatically captured by double category diagrams very nicely
and i was wondering if maybe that's a hint toward a more principled basis for open diagrams, or a generalization of them, etc etc
aaahh okay if you did go 3d then these would be your cross sections image.png
Yes, exactly. These are cross sections. References to that should be on the paper (Schommer-Pries' thesis, and an article by Bartlett, if I remember correctly). An open diagram encodes a derivation from the empty diagram, I think that is maybe the parallelism you want (?) (both if you use bicategories like on that paper or double categories)
how do you typeset the diagrams in that paper?
A mixture of online editors, like Tikzit and mathcha, with then editing the Tikz code by hand. It takes patience, but it worked for me
One could alternatively use the tikz code of Bartlett et al where they use "bubbles" rather than "sheets". You can just download the source code and copy it.
https://arxiv.org/abs/1509.06811
I haven't fully read your paper @Mario Román , but I am curious what does your paper provide in addition to the paper which I mentioned. Is it that you are elaborating on the example of optics using their notation?
partial answer: image.png
tangentially: i followed the citation to the bartlett et al paper earlier today—i hadnt bothered before—and from a quick scroll to check out what their diagrams are like, a couple of things they pointed out / drew seem rly interesting to me:
image.png
image.png
it somehow didn't 100% occur to me from the description in @Mario Román's paper that a diagram for a profunctor defines a space, and then the internal diagrams are the diagrams you can draw in that space—i think part of it was that since you can glue together open diagrams as wholes, i kept sort of thinking of the bubble and the diagram inside it as one collective thing
oh hey i hadn't quite noticed that the topology of the outer diagram determines the topology of the space you're making your inner diagrams in and changes their equational properties
or, like... on point #2, that's not quite the right description, but it's at least along the same lines of what im trying to describe—like, u can see how in that 2nd diagram in the 2nd image i posted, that loop could be pulled up just fine if we were in a plane, but it can't go thru the hole as-is
...except it doesnt rly make sense to suggest doing that, since bits of diagram that fit in one piece of pipe can't go in another piece of pipe—they're heteromorphisms of that particular profunctor—but it still feels like something is going on here...
i meant to work out this bit in mario's paper and i forgot to come back to it and it never 100% clicked, especially the fact that it's apparently part of an adjunction
image.png
seems relevant?
oooh right ok that's literally what they're applying there :sweat_smile:
Cole Comfort said:
One could alternatively use the tikz code of Bartlett et al where they use "bubbles" rather than "sheets". You can just download the source code and copy it.
https://arxiv.org/abs/1509.06811I haven't fully read your paper Mario Román , but I am curious what does your paper provide in addition to the paper which I mentioned. Is it that you are elaborating on the example of optics using their notation?
Let me be first totally clear that the answer is "not much" if the interest is on the monoidal bicategories themselves (for that I am using these references) instead of the application. The goal of the paper is not to create another tool but to apply the existing tool of the graphical calculus of monoidal bicategories to a problem (the proposal of pointed profunctors is what I am using to present this differently). The rest of the answer is longer:
The problem is not as much optics but all other "combs", "input-output machines" and diagrams-with-holes-like things (causality, games, learners, categories with feedback, there was even a discussion on zulip recently on how to try to approach these things (link)). I think the contribution of this paper is to make the distance from "this would be almost a diagram in a monoidal category but it is not and it is difficult to reason graphically about it" to "I could use monoidal bicategories and there this would be totally formal" smaller for an audience that, like me, was in principle not even thinking of being working with monoidal bicategories; and does not necessarily know any of the prerequisites for quantum field theory. So, I want to make clear that the goal (or the claim) was not to develop the graphical calculus of monoidal bicategories, internal diagrams for quantum, or to provide anything new on that (instead, I just send the reader to the previous work there).
Having said this, I only identified [BDSPV] and added the references to all of this after I had written most of the text. This is partly why the presentation of the same idea in this text is this different. In particular, they say:
We do not need to, and do not, make this notion of an ‘interior morphism’ geometrically precise; the equalities (46–49) provide the foundation and formalism for the internal string diagram calculations, and the pictures (50) are merely a convenient graphical mnemonic notation. [BDSPV, §4.2]
We already had a convenient notation for open diagrams (e.g. Riley, on optics), but I also wanted to have a category in which they were a particular case of the calculus of monoidal bicategories. This is why I take the time to explain the monoidal bicategory of pointed profunctors and my notation is different, instead of just taking it from BDSPV. What I may be providing in addition to BDSPV is the proposal of using to reduce the justification of internal diagrams to the justification of calculi for monoidal bicategories. This seemed important for my application; it is a minor comment that seems to be missing on BDSPV and that, to the best of my limited knowledge, seems to justify the calculus even better than "a convenient mnemonic notation". This is why I use diagrams in the monoidal bicategory of pointed profunctors instead of internal diagrams. But again, this minor change is not the goal of the paper.
On notation: this may be psychological but, if I imagine the wires inside 3d bubbles, I think I can braid them (maybe it is just me, but isn't a braided category precisely that (?)). However, I remember to understand the goal on BDSPV is also general monoidal categories, I guess BDSPV would go on that concern by still using the same notation if the categories they deal with are not braided. I preferred to stick to a functor-box-like notation partly because of this and uniformity.
The shorter version for ACT does not make all of this discussion; it just makes everything fit as a particular case of the calculus of monoidal bicategories (Schommer-Pries, Bartlett, Vicary, Douglas; the references for this are still the same). This was because I just do not feel confident that I completely follow how they address those concerns; and I wanted to use the calculus of some monoidal bicategory. The 2nd arxiv'd version of my paper (no page limits, yay!) takes longer but does this discussion. It not only references the rest of the work by Bartlett, Douglas, Schommer-Pries and Vicary but specifically [BDSPV] as the same idea of inflating diagrams. I actually found it via Nick's Hu thesis, also referenced there. On retrospective, and after having received feedback, I think this discussion deserves to be also on the short version more prominently to make the readers also follow the link to quantum field theory.
@Jules Hedges indeed I had (framed) double categories in mind when doing diagrams in Tamb. The oriented-wire notation is partly from there too