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.
In the fourth talk of the ACT@UCR seminar, Michael Shulman will tell us how to create nice string diagams for any closed symmetric monoidal category.
His talk will take place on Wednesday April 22nd at 5 pm UTC, which is 10 am in California, or 1 pm on the east coast of the United States, or 6 pm in England. It will be held online via Zoom, here:
https://ucr.zoom.us/j/607160601
He needs to teach right after his talk - but he will join our discussions here at 8pm UTC, which is 1 pm in California or 4 pm on the east coast of the US, or 9 pm in England.
Abstract. Symmetric monoidal categories with duals, a.k.a. compact monoidal categories, have a pleasing string diagram calculus. In particular, any compact monoidal category is closed with [A,B] = (A* ⊗ B), and the transpose of A ⊗ B → C to A → [B,C] is represented by simply bending a string. Unfortunately, a closed symmetric monoidal category cannot even be embedded fully-faithfully into a compact one unless it is traced; and while string diagram calculi for closed monoidal categories have been proposed, they are more complicated, e.g. with "clasps" and "bubbles". In this talk we obtain a string diagram calculus for closed symmetric monoidal categories that looks almost like the compact case, by fully embedding any such category in a star-autonomous one (via a functor that preserves the closed structure) and using the known string diagram calculus for star-autonomous categories. No knowledge of star-autonomous categories will be assumed.
This is especially interesting to me since Mike Stay and I introduced string diagrams for monoidal closed categories in a somewhat ad hoc way in our Rosetta Stone paper - but the resulting diagrams required clasps and bubbles. Shulman's new approach sounds attractive.
Here's our string reduction for beta reduction in the cartesian closed category coming from the lambda calculus, for example:
This sounds awesome. But I have a regular conflict at that time. Are the UCR talks recorded?
they are!
Here's our YT channel:
https://www.youtube.com/channel/UCUQlS-R4O094jP0sGHDnrjA
Michael Shulman's talk is based on this paper:
I don't expect I'll make it through the entire paper, and I'll certainly be skimming lightly over the proofs. But after the talk everyone should be better-equipped to go read the paper.
BTW, in John's example string diagram, the conclusion is that you can just omit the clasps and bubbles and it still works!
John Baez said:
Here's our string reduction for beta reduction in the cartesian closed category coming from the lambda calculus, for example:
hmmmmmmm havent i seen something suspiciously like this on joe's twitter
Wow, this paper looks great. Looking forward to the talk.
ooh, proof net stuff?
yesss, proof nets
Among other things this talk somehow made proof nets seem more approachable than ever before, to me at least!
I wonder what is the star-autonomous envelope of a Cartesian closed category? A category that is Cartesian and star autonomous is necessarily a poset, right? I wonder what comes out of the construction then.
So I guess you get a cartesian closed category embedded in a star-autonomous one that can't itself typically be cartesian closed....
This would be a great question for @Mike Shulman.
It would be fun for me to see what you get when you start with Set.
John Baez said:
So I guess you get a cartesian closed category embedded in a star-autonomous one that can't itself typically be cartesian closed....
It might be spiritually akin to embedding Cat into Prof, where the cartesian product is no longer the "cartesian" product in Prof.
:+1:
I wonder what is the envelop of Vect (where objects are vector spaces that may be infinite dimensional).
organisers: any chance of having the video of Mike's talk uploaded w/ enough time to watch before Mike comes back online?
Todd Trimble said:
John Baez said:
So I guess you get a cartesian closed category embedded in a star-autonomous one that can't itself typically be cartesian closed....
It might be spiritually akin to embedding Cat into Prof, where the cartesian product is no longer the "cartesian" product in Prof.
You somehow flatten the higher-order structure when you embed Cat in Prof, or Set in Rel in that way. The embedding is not closed monoidal, or am I confused?
Robin Piedeleu said:
Todd Trimble said:
John Baez said:
So I guess you get a cartesian closed category embedded in a star-autonomous one that can't itself typically be cartesian closed....
It might be spiritually akin to embedding Cat into Prof, where the cartesian product is no longer the "cartesian" product in Prof.
You somehow flatten the higher-order structure when you embed Cat in Prof, or Set in Rel in that way. The embedding is not closed monoidal, or am I confused?
Embedding sets into spans or jointly monic spans rel, the cartesian product no longer is even a categorical product.
So what's the relation between Chu(Cat, Set) and Prof?
You're right about that. Prof (for small cats) is compact closed.
The Chu construction won't be compact closed.
Aleks Kissinger said:
organisers: any chance of having the video of Mike's talk uploaded w/ enough time to watch before Mike comes back online?
All depends on how hard I work. I'll try it.
It's taking Zoom a while to process the recording. I can make a crappy unedited version available pretty soon though.
Yeah, I didn't mean to throw people off with my remark about Prof. I tried to hedge that before with the word "spiritually", just referring to the fact that the cartesian product will no longer be cartesian in this or that envelope. Seems everyone understood that.
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
it would be amusing if this just produces Rel
oh wait, i guess he said it was fully faithful
oh, and the thing about compact closure >.<
Yeah, it can't be Rel.
I think that in Chu(Cat,Set) the profunctors are the objects.
So I believe we're defining a 2-functor from SMCC to *Auto, but I'm having trouble finding this in the paper.
Does this seem right; would this be a left 2-adjoint?
Not SMC - symmetric monoidal closed categories, right?
John Baez said:
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
In a *-autonomous category (or more generally, a linearly distributive category) there is a tractable algorithm for checking the validity of proof nets. I wonder if there is such a way to check if a net in the envelope is in the image of the embedding.
i've homological algebra at 1 so i'll miss the follow-up. i'll re-watch and take notes. nicely done talk. glad to see the multicategory bits towards the 11:00 mark. thanks!
Cole Comfort said:
John Baez said:
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
In a *-autonomous category (or more generally, a linearly distributive category) there is a tractable algorithm for checking the validity of proof nets. I wonder if there is such a way to check if a net in the envelope is in the image of the embedding.
There are correctness criteria for intuitionistic proof nets, by Lamarche, I believe.
@Nicolas Blanco looks like a morphism (P : C ⇸ D) → (Q : C' ⇸ D') will be a functor F : C → C' and a functor G : D' → D such that G^* ∘ P = Q ∘ F_*
Christian Williams said:
So I believe we're defining a 2-functor from SMCC to *Auto, but I'm having trouble finding this in the paper.
Does this seem right; would this be a left 2-adjoint?
It definitely has the flavor of a left 2-adjoint. Maybe Mike or someone can prove that.
The name "envelope" would suggest this as well.
i bet in a 2-chu construction thats a ≅ instead
Christian Williams said:
So I believe we're defining a 2-functor from SMCC to *Auto, but I'm having trouble finding this in the paper.
Does this seem right; would this be a left 2-adjoint?
It looks like the definition of at the bottom of page 2, except that SMCCs are being considered as symmetric multicategories and hence polycategories.
(Edit: this only gives *-polycategories, not *-autonomous categories.)
if P and Q are hom functors for 2 categories, then the morphisms between them are gonna be adjunctions :o
Robin Piedeleu said:
Cole Comfort said:
John Baez said:
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
In a *-autonomous category (or more generally, a linearly distributive category) there is a tractable algorithm for checking the validity of proof nets. I wonder if there is such a way to check if a net in the envelope is in the image of the embedding.
There are correctness criteria for intuitionistic proof nets, by Lamarche, I believe.
If mean a correctness result for monoidal closed categories using the string diagrams of intuitionistic proof nets, if I understood the talk correctly. Could one not form a proof net in the envelope which does not correspond to a morphism in the monoidal closed category.
it does seem like the chu construction might naturally lend itself to double categories—anyone know about that?
@Cole Comfort mike said that the embedding was fully faithful, so it just comes down to whether the domain & codomain are objects in the image of the embedding
Hey, I was gonna say that. :upside_down:
sarahzrf said:
it does seem like the chu construction might naturally lend itself to double categories—anyone know about that?
Mike Shulman did that (even poly double category) ^_^
https://arxiv.org/pdf/1806.06082.pdf
yeah lol i was ctrl+f'ing "double" on the nlab page for chu construction while typing that in here and i found a thing but i couldnt tell if it was what i was looking for :thinking:
wait omg i remember googling a while back about whether multivariable adjunctions were a thing and i think i almost landed on an ncatcafe page about something related to this o_o
neat
oh jeez this looks like a rabbit hole
sarahzrf said:
wait omg i remember googling a while back about whether multivariable adjunctions were a thing and i think i almost landed on an ncatcafe page about something related to this o_o
Indeed multivariable adjunctions are important for polycategories. The 2-polycategory MVAdj is analogous to the 2-category Adj. In particular multivariable adjunctions are profunctors representable in each variables.
i should learn about polycategories sometime
they seem pleasant
Cole Comfort said:
John Baez said:
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
In a *-autonomous category (or more generally, a linearly distributive category) there is a tractable algorithm for checking the validity of proof nets. I wonder if there is such a way to check if a net in the envelope is in the image of the embedding.
The embedding given by the result is full, so as long as the net depicts a morphism between objects in the image, it's in the image too, no?
@John Baez thanks!
Martti Karvonen said:
Cole Comfort said:
John Baez said:
Anyway, I'd like to see what happens when we do this game to Set. I guess one way to think about it is to learn how to draw valid string diagrams with caps and cups in (the star-autonomous envelope of) Set, and learn to work with them, and get some intuition for them.
In a *-autonomous category (or more generally, a linearly distributive category) there is a tractable algorithm for checking the validity of proof nets. I wonder if there is such a way to check if a net in the envelope is in the image of the embedding.
The embedding given by the result is full, so as long as the net depicts a morphism between objects in the image, it's in the image too, no?
Yes, I realize, this now
@Aleks Kissinger - sorry, that was the wrong talk. Zoom is still "processing".
haha, okay. i was confused when your message vanished. :)
i think there is a way you can live-stream on youtube in parallel w Zoom, then once the stream is over it stays as a normal video. however i'm not (yet) in possession of the techical know-how to do this
According to @Paolo Perrone YouTube allows this when your channel has at least 1000 subscribers.
He's doing it for the MIT seminar.
Maybe I should tell everyone on Twitter to subscribe to our channel.... I hadn't thought it was worthwhile, but maybe now I do.
John Baez said:
Among other things this talk somehow made proof nets seem more approachable than ever before, to me at least!
how much sequent calculus do you know?
No more than strictly necessary, I guess.
because if you know your sequent calculus, proof nets should be very appealing once you get the idea
John, you and I ought to talk about proof nets some time.
I would be really happy if I could understand Gentzen's proof of the consistency of Peano arithmetic using "cut elimination" and other things. (Induction up to is the only part I really get!)
cut elimination is cool :)
Okay, @Todd Trimble. That sounds vaguely threatening. :upside_down: But I know it's not.
I get the vague idea of cut elimination.
That is, I vaguely get the idea of cut elimination.
although personally, i only really appreciated it once i grasped the sort of organizational principles of natural deduction, of sequent calculus, and how they were different and related
Somehow sources that talk about Gentzen's proof of the consistency of PA often shy away from laying out the whole proof... I get the feeling that it's really complicated.
i think gentzen's proof of cut eliminiation goes through a mix rule to account for contraction
you can't really do that in, say, linear logic, and it gets considerably trickier
I get the basic idea of the sequent calculus and how it's different from natural deduction.
Anyway, yes, I'd someday like a slow and patient explanation of proof nets, with tons of pictures - this thing Mike said is better than anything I'd seen so far, or at least it felt better.
But it would really "clinch the deal" if after a lot of work I understood Gentzen's proof of the consistency of PA.
:thumbs_up:
oh, by the way—theres a thing called logitext you can use to do sequent calculus derivations in your browser, but it doesnt support linear logic or gentzen's LJ/LK, so i made my own version https://github.com/sarahzrf/sequents
ive found it super useful for doing derivations when i need to develop my intuition
Okay, @Aleks Kissinger , I think this one is for real:
The show starts around 20 minutes or so...
do i need a password?
You shouldn't - are you stuck?
I guess this plan to do things quicker than usual isn't much quicker...
The next approach is to get the video here:
http://math.ucr.edu/home/baez/mathematical/ACTUCR/Shulman_Star-Autonomous_Envelopes_original.mp4
Screenshot-from-2020-04-22-20-17-45.png
looks like this ^^
That last link works for me
second link works!
Oh, this seems to be the password:
5p!*u3$@
That should let you livestream it, maybe more easily than the version on my website.
(I never do things this way... I usually take my time and put the videos on YouTube...)
Just finished teaching, now going to each lunch. Will be back in half an hour to chat. In the meantime I've posted my "slides" at http://home.sandiego.edu/~shulman/papers/clsaut-act-ucr.pdf .
Thanks!
Hello everyone!
Hi!
So there were a bunch of questions already in this thread...
it does seem like the chu construction might naturally lend itself to double categories—anyone know about that?
Also:
So I believe we're defining a 2-functor from [symmetric monoidal closed categories] to [star-autonomous categories, but I'm having trouble finding this in the paper.
Does this seem right; would this be a left 2-adjoint?
I see there was one question about cartesian closed categories. John is right that when you start with a cartesian closed category, you end up embedding it in a *-autonomous one whose tensor is no longer cartesian. However, you can do a bit better than this: although I didn't mention it in the talk, in the paper I also proved that you can choose the embedding to preserve any given set of nonempty limits and colimits that exist in C. So if you start from a cartesian closed category and choose the embedding to also preserve binary products, then for objects A and B in the image of the embedding, the tensor will still be a cartesian product in the envelope. But it won't be the case for objects that aren't in the image of the embedding, and the unit won't generally be terminal in the envelope.
That's nice! I was wondering what your construction would give in the case of (Set, x), and now I'm wondering that about this new "improved" version too.
Yes, it's interesting to see explicitly what happens in Set, or more generally to a cartesian closed category. I worked this out in some more detail at one point, let me see if I can reconstruct it.
But first to reply to the other questions: as was pointed out by someone else, the Chu construction is indeed naturally a double category, in which the other kind of morphism is covariant in both components. This is sketched (and used!) in the paper; more details (along with the 2-Chu construction) are in my other paper http://tac.mta.ca/tac/volumes/35/4/35-04abs.html .
It's very finicky, since the association between derivations and ordinals is a bit wrong: you get some "off by 2" errors at places. Obviously it's spelled out in all its gory in Troelstra & Schwichtenberg poorly named "Basic Proof Theory"
I have a feeling Cody's comment is a response to some earlier stuff about Gentzen's proof, not Mike's latest comment! (I always make this sort of slip myself.)
As for functoriality, the envelope is not the left 2-adjoint from closed symmetric monoidal categories to *-autonomous ones. I believe it is a functor, but the pieces it's put together from have different universal properties. First, the construction of from is the left adjoint from multicategories to *-polycategories (polycategories equipped with strictly involutive duals). Next we forget the *-structure to get a polycategory, then apply Hyland's "modules" functor -- I'm not sure what sort of universal property that has. Finally we apply the Chu construction, which is a right adjoint from csmc's with specified objects (or more generally "sub-unary polycategories") to *-autonomous categories (or more generally *-polycategories). So the envelope is a composite of left adjoints, right adjoints, and functors without any obvious adjoint.
However, we can use the envelope to show that the unit of the free-forgetful adjunction between closed symmetric monoidal categories and *-autonomous ones is also fully faithful. This is sometimes called a "full completeness" result. This is also in the paper: we use an idea of Lafont involving Artin gluing, combined with the double gluing construction for *-autonomous categories.
(Hmm, looks like maybe the 2-hour delay lost most of the audience? Sorry.)
i've got a question :)
Please!
By the way, is this double gluing construction the same as the one that appears in your paper on Reedy model category structures?
(just finished you talk, in recorded form. thanks for the nice talk btw)
if you do this for some concrete category (people already discussed Set), does the co-tensor in the *-autonomous envelope tell you something, or is it just a purely formal thing?
I think someone previously asked what the envelope looks like for vector spaces over a field, I would be interested in knowing this.
@Reid Barton No, it's different.
Mike Shulman said:
However, we can use the envelope to show that the unit of the free-forgetful adjunction between closed symmetric monoidal categories and *-autonomous ones is also fully faithful. This is sometimes called a "full completeness" result. This is also in the paper: we use an idea of Lafont involving Artin gluing, combined with the double gluing construction for *-autonomous categories.
How does one see that such an adjunction exists in the first place?
maybe "tell you something" is a bit vague. i guess what i'm getting at is the par is always hard to get some kind of "computational" interpretation for, so i'm wondering if there is some hope coming from doing your construction to familiar categories
Martti Karvonen said:
How does one see that such an adjunction exists in the first place?
By 2-categorical abstract nonsense. (-: Because closedness and *-autonomy involve contravariant operations, the 2-categories involved have to be restricted to have only invertible 2-cells. But then both are described by finitary 2-monads on (the 2-category of categories, functors, and natural isomorphisms), and 2-monad theory implies that the forgetful functor between the categories of algebras and pseudomorphisms has a left biadjoint.
Mike Shulman said:
However, we can use the envelope to show that the unit of the free-forgetful adjunction between closed symmetric monoidal categories and *-autonomous ones is also fully faithful. This is sometimes called a "full completeness" result. This is also in the paper: we use an idea of Lafont involving Artin gluing, combined with the double gluing construction for *-autonomous categories.
Hi. Thanks for the really nice talk! Could you elaborate on this quoted point, please? Are your saying that you can use the envelope construction to show that another construction of a *autonomous category from a csmc (namely, the adjoint to the forgetful functor) is also an embedding? Could you give some brief outline of how this proof goes, please?
It sounds like a lot of people would like to see the the construction compiled out more concretely. First let's look at the two representable -modules associated to an object . We have and .
Mike Shulman said:
Martti Karvonen said:
How does one see that such an adjunction exists in the first place?
By 2-categorical abstract nonsense. (-: Because closedness and *-autonomy involve contravariant operations, the 2-categories involved have to be restricted to have only invertible 2-cells. But then both are described by finitary 2-monads on (the 2-category of categories, functors, and natural isomorphisms), and 2-monad theory implies that the forgetful functor between the categories of algebras and pseudomorphisms has a left biadjoint.
So the same reasoning should imply that there's a similar adjunction between closed SMCS and compact one's, right? It's just that the unit isn't full and faithful, unlike here.
Because of the definition of , the homset is nonempty only when contains no formal duals and consists entirely of formal duals, in which case we are just looking at morphisms into out of some tensor product of objects in . That is, is essentially just the presheaf represented by on as a multicategory.
(@Martti Karvonen Yes.)
On the other hand, the homset is nonempty only when contains exactly one formal dual, say , in which case it reduces to a homset in as a multicategory. So is the "covariant representable at on as a multicategory". And since is closed, a morphism is equivalently a morphism . So just as knows about morphisms with codomain and with domain decomposed as a tensor product, knows about morphisms with domain and with codomain decomposed as an iterated internal-hom.
The image of in the envelope consists of and together with the obvious pairing between them. So intuitively, it consists of both "representable functors" at , in a multi/poly-categorical sense. This is reminiscent of the https://ncatlab.org/nlab/show/Isbell+envelope (the reuse of the term "envelope" is presumably not a coincidence!) in which embeds via its ordinary pair of representable functors and the pairing between them.
John Baez said:
I have a feeling Cody's comment is a response to some earlier stuff about Gentzen's proof, not Mike's latest comment! (I always make this sort of slip myself.)
Yes I forgot to quote your earlier comment, I'm embarrassed to say. Also when I started writing it, it was less high up, but then I got distracted by a phone call...
A general object of the envelope of a polycategory consists of a pair of modules and a pairing . I like to think of the sets as encoding all the ways to "produce " while consuming some specified inputs and parallely producing some other specified outputs , and similarly encodes all the ways to "consume ". For the representable pair , we interpret "producing" and "consuming" in the obvious way in itself.
The pairing tells you what happens if you "produce " and then "consume" what was produced.
Saying that respects the tensor in says that when producing or consuming , having an input of is the same as having two inputs of and , and similarly for the cotensor. In particular, saying that respects the formal cotensors in says that when producing or consuming , having an output of is the same as having an input of and an output of .
(I'm building up to trying to answer @Aleks Kissinger 's question about cotensors in the envelope here.)
The formula for cotensors in a Chu construction is .
(....digesting....)
If we compile that out for modules, using the definitions of the internal-hom for modules (which I didn't mention in the talk), we see that to produce using inputs and outputs , we have to give, for every way of consuming using inputs and outputs , a way of producing using inputs and outputs , and dually, that are natural and compatible.
This is quite a mouthful, but I think it has a sort of dialoguey flavor: we're trying to produce and in "parallel", so whenever in the -thread we encounter a "user" who claims to be able to consume an , we can turn around and use that consumption as a way to produce an for any user of the -thread. Of course that much is true in any Chu construction; Hyland's envelope enhances it by carrying around the inputs and outputs.
i guess you can say the same thing about representables, replacing "producing/consuming M/N" with objects in the category we started with?
Exactly, But I believe it's not very interesting when applied to representables in the envelope of . Because the only way to consume the representable at is to have an output object, say , and a morphism . But there is no way in to produce the representable at that also has another output object . So it seems that there is no way of producing . I'm not sure whether that's exactly right, but I do remember from the last time I thought about it that ⅋s of representables were not very interesting.
However, it seems that there are nontrivial ways to consume ⅋s of representables as long as we are willing to produce multiple outputs, say and , by giving a pair of morphisms and (or vice versa). (This uses the tensor product of modules, which again I didn't describe in the talk.) This sort of makes sense to me if I think of as a "sequential language" that's being "imported" into a world with parallelism.
What was the original inspiration for this development, if you don't mind my asking a soft question? Was the motivation originally string diagrams, or had you spotted that Hyland's construction could be modified in this way beforehand, or something else entirely?
And now to come back to an earlier question:
Rui Soares Barbosa said:
Are you saying that you can use the envelope construction to show that another construction of a *autonomous category from a csmc (namely, the adjoint to the forgetful functor) is also an embedding? Could you give some brief outline of how this proof goes, please?
Yes, that's right. Since is *-autonomous, the embedding factors through the free *-autonomous category generated by . Now we do a version of Artin gluing along this induced functor of *-autonomous categories, and show that the functor from to lifts to the gluing category. Therefore, the universal property of gives a section of the projection from the gluing category, from which we can extract full-faithfulness of the map . This general idea of using gluing is due to Lafont (perhaps in an unpublished thesis?), and was applied to "double gluing" for *-autonomous categories by Hyland-Schalk and Hassei.
@Nathanael Arkor Personally, my original motivation was actually string diagrams! I asked a MathOverflow question https://mathoverflow.net/q/343167/49 about embeding csmc's in *-autonomous categories and didn't get any answers, and started thinking about how to do it.
In fact I was motivated by one particular kind of "string diagram", the "sharing graphs" used in "optimal evaluations" for lambda-calculus, which are closely related to linear logic and *-autonomous categories. I wanted to know whether they could be interpreted semantically in some *-autonomous category that would directly yield results about the original lambda-calculus for CCCs. (I asked about this too at CStheory SE https://cstheory.stackexchange.com/q/45628/28847.) Unfortunately this result isn't enough for what I really wanted, which is for each step of the sharing-graph evaluation to have a semantic meaning: in addition to involving the exponentials , these graph manipulations seem to produce things that are not even proof nets, so there is still something to understand better there.
But I think having a nice string diagram calculus for csmc's should be useful in practice too.
Absolutely. Exponentially more expressive than smc's.
exponentially
I see what you did there! :D
That's really interesting, thank you! It would be beautiful to be able to describe these sorts of results about optimal evaluations entirely categorically.
I have to go to a department meeting in a few minutes, but feel free to ask further questions; I'll come back to this thread later.
Thanks!
Actually, I have a question for you all. How did the handwritten "slides" compare to slides made with LaTeX/beamer? They were certainly much faster for me to make, especially with all the string diagram pictures, and if I'd had another hour to prepare I could easily have finished preparing them for the entire talk. Plus it was nice to be able to easily write on them during the talk for emphasis. So I'm tempted to go the same route in future e-seminars as well. But I wonder how the experience was for the audience?
they were fairly nice
I also liked your slides, Mike. In some ways the part were you drew them on the fly was even easier to follow ...
Your slides written on the fly worked well for me.
Yes, writing things on the fly has at least one notable benefit, namely that of slowing things down to the pace of writing. (-:
slowing you down is good. doodling and commenting is good too. i prefer to watch the strings draw themselves.
Mike Shulman said:
Actually, I have a question for you all. How did the handwritten "slides" compare to slides made with LaTeX/beamer?
I liked them too. It's a nice compromise between a whiteboard talk, where it becomes a bit tedious if the speaker needs to draw something fairly elaborate, and slides.
sarahzrf said:
so i made my own version https://github.com/sarahzrf/sequents
This is great!
@Mike Shulman I have a question on your question: What setup did you use to write directly onto Zoom while also having a webcam facing you? Was it PC + graphics tablet? (I did manage to mirror an iPad to a projector once, but it involved a lot of metaphorical string and duck tape)
I think that hand-written slides are typically better than beamer slides, especially written or annotated on the fly: I liked them.
Thanks for the feedback everyone. @Jules Hedges I used a Wacom One tablet, with the software xournal under ubuntu. I got the Wacom back when we were all preparing for remote teaching, and have liked it very much for my zoom lectures; my impression is that it works much better than an iPad/Android tablet.
Mike Shulman said:
Actually, I have a question for you all. How did the handwritten "slides" compare to slides made with LaTeX/beamer? They were certainly much faster for me to make, especially with all the string diagram pictures, and if I'd had another hour to prepare I could easily have finished preparing them for the entire talk. Plus it was nice to be able to easily write on them during the talk for emphasis. So I'm tempted to go the same route in future e-seminars as well. But I wonder how the experience was for the audience?
Handwriting is much better than slides imho. Slides always taste like canned material for me, and make me super sleepy. Witnessing a process in real time is definitely more engaging.
Mike Shulman said:
Thanks for the feedback everyone. Jules Hedges I used a Wacom One tablet, with the software xournal under ubuntu. I got the Wacom back when we were all preparing for remote teaching, and have liked it very much for my zoom lectures; my impression is that it works much better than an iPad/Android tablet.
A thing I recently set up consists in a webcam being placed above my desk, so you can see my hands and the surface. Then I just use a bunch of A3 paper and coloured markers to draw :D (I tried with a graphic tablet but it felt absolutely painful to use, so I resorted to more analog alternatives :P )
Fabrizio Genovese said:
Mike Shulman said:
Actually, I have a question for you all. How did the handwritten "slides" compare to slides made with LaTeX/beamer? They were certainly much faster for me to make, especially with all the string diagram pictures, and if I'd had another hour to prepare I could easily have finished preparing them for the entire talk. Plus it was nice to be able to easily write on them during the talk for emphasis. So I'm tempted to go the same route in future e-seminars as well. But I wonder how the experience was for the audience?
Handwriting is much better than slides imho. Slides always taste like canned material for me, and make me super sleepy. Witnessing a process in real time is definitely more engaging.
hmm... maybe i should live-code for my talk then ;)
/s
Live coding is amazing! Btw we are livecoding on idris right now
I liked the approach of writing as you talked, @Mike Shulman. It's the social-distancing version of the mathematician's old-style chalk talk, which I've always liked better than slides when done competently.
there's the rub
The only problem was that you seemed to be running out of time near the end, @Mike Shulman, and since you had to rush off there wasn't time for discussions out loud on Zoom. The written discussions here were great, but there's something fun (in my opinion) about hearing people talk about math.
@John Baez Thanks for the feedback! I would probably have done better time-wise if I'd had a chance to practice the talk in advance. And I was sad to have to rush off afterwards too.
By the way, I'm scheduled to talk in the MIT categories seminar in a few weeks, and trying to decide what to talk about. I suppose probably there is large overlap in the audiences for these two online seminars?
I think there's a very large overlap, though I must sadly admit I only have the energy to attend the ACT@UCR one, so I haven't been in that overlap.
Also, everything is recorded and put on YouTube, so everyone who wants to see your first talk will. For example, @Jules Hedges missed your talk but now he's excited about the video. So, you should probably only talk about the same thing if you plan to do better or highlight some other aspects.
I'm only 1/3 of the way through Mike Shulman's ACT@UCR seminar and my mind has already been extremely thoroughly blown by string diagrams for linearly distributive categories... I don't even know whether this is new or if it already existed and I missed it https://www.youtube.com/watch?v=5CjSu5hLtcw
- julesh (@_julesh_)Well, I could certainly plan to do better; you can always do something better the second time around. But it probably wouldn't be that interesting to everyone who already saw or watched this talk if I just give a better version of it. However, there's a lot in the paper that I didn't even mention this time, so I might consider coming at it from a different direction. Thanks!
Yes, I think doing something a bit new would be great. I think a lot of people (like me) loved your talk but didn't fully grasp all of it, so coming at the same material from a different angle would be interesting to a lot of us.
@Mike Shulman At times during your talk it seemed like you were "pointing" at some notation on your slides, but I couldn't work out where you were pointing. Some times I could see a "pointing" dot, but sometimes not. I don't know if anyone else had this problem...
@Simon Burton Thanks for that feedback. I realized at the time that I was probably creating that issue, but didn't have the spare brainpower to solve it. The software I'm using doesn't have a "cursor" other than a tiny dot -- although perhaps that may be configurable, I can look into it. Of course one thing to do is to just circle or underline things, but when I was on the pre-prepared "slides" I somehow felt reluctant to do that; I'm not sure why. (-:
Speaking of software, what I would really like is a sketchpad/whiteboard program much like xournal, but augmented with beamer-like selective display features. That is, I'd like to be able to draw a slide by hand, then select part of it and say "hide this part first and display it on the second appearance" and so on, and then "compile" such a thing to a PDF for the presentation. I don't suppose anyone knows of such a piece of software?
Hmm, maybe I could get something like that with xournal's "layer" feature.
Mike Shulman said:
Speaking of software, what I would really like is a sketchpad/whiteboard program much like xournal, but augmented with beamer-like selective display features. That is, I'd like to be able to draw a slide by hand, then select part of it and say "hide this part first and display it on the second appearance" and so on, and then "compile" such a thing to a PDF for the presentation. I don't suppose anyone knows of such a piece of software?
I've achieved something like this with powerpoint, but its handwriting (aka "Windows Ink") support is a bit clunky and I prefer to stick in Linux during my workday.
What I end up doing in practice is duplicating a page lots of times when I'm done with it, and start erasing stuff off earlier pages. But this is very brittle if you want change something on the slide
Mike Shulman said:
The formula for cotensors in a Chu construction is .
Can I point out that this actually comes from Dialectica? the Chu version can get away with the trick of only considering co-extensional objects, so it does not need the pullback to be explicitly described.
I'm not sure what you mean. The Chu construction is not a special case of the Dialectica construction; as I explained in my paper comparing them, at the polycategorical level they're both instances of a general thing, but their representability conditions are different.
Mike Shulman said:
I'm not sure what you mean. The Chu construction is not a special case of the Dialectica construction; as I explained in my paper comparing them, at the polycategorical level they're both instances of a general thing, but their representability conditions are different.
Yes, of course the Chu construction is not a special case of the Dialectica construction. But as I wrote in the paper http://www.tac.mta.ca/tac/volumes/17/7/17-07.pdf individual constructions can be compared. the 'par' of the Chu construction is obtained by a pullback of the corresponding par in Dialectica in the first component. However, because Chu is more symmetric than Dialectica, you do not need to use the pullback in your message above, you can simply use the other component, as while Dialectica maps as (f,F) and they don't need to be the same, Chu maps are (f,f*) and one determines the other.
But if you're explaining the Chu construction to someone who doesn't already know about the Dialectica construction, saying that the Chu formula "actually" comes from (or more precisely, can be constructed from) the Dialectica construction is not, I think, helpful. (-:
Mike Shulman said:
But if you're explaining the Chu construction to someone who doesn't already know about the Dialectica construction, saying that the Chu formula "actually" comes from (or more precisely, can be constructed from) the Dialectica construction is not, I think, helpful. (-:
Well, I did enjoy the historic reconstruction of the Chu internal-hom!
Just watched your talk, very nice indeed! Many thanks! I have two complaints though:
One can of course motivate things in many different ways. I think there are a lot of people who may care about using string diagrams to reason about csmcs (or smccs :smile:) but who aren't interesting in intuitionstic and/or linear logics at all. (Maybe they should be interested in those logics, but even if so, to convince them of that we have to start from where they are.)
I have two questions related more broadly to the Chu construction:
One thing that always bugged me a bit is that the definition of a model category is self-dual, but in practice we can say a lot more about, for example, combinatorial model categories, and this condition breaks the symmetry. It might be nice to have a framework which restores the duality.
Reid Barton said:
This feels similar to the formula for the tensor product in the Chu construction, but I don't see quite how they are related.
I guess we just identify with and with and then the formulas for and work out correctly, and we get . This last definition never occurred to me, probably because I did not imagine that the duality should relate two different tensor products.
Regarding (2), things get much nicer if you drop down to posets where the local-presentability issues go away. Then you can say that the category Sup is -autonomous, with an analogous tensor product that represents maps that preserve joins in each variable separately, and the duality which isn't a problem since we dropped local presentability.
Thinking about this example, and how it fails to generalize from 0-categories to 1-categories due to annoying size issues, is what led me to the polycategory of multivariable adjunctions. The underlying polycategory of the -autonomous category Sup is in fact a full sub-polycategory of , the polycategory of posets and multivariable adjunctions. So , the polycategory of 1-categories and multivariable adjunctions, is a natural replacement for the nonexistent -autonomous analogue of Sup for 1-categories.
Now if a 2-variable functor between locally presentable categories is cocontinuous in each variable, it has both right adjoints by the adjoint functor theorem. Thus, the underlying multicategory of the monoidal category of locally presentable categories is a full sub-multicategory of the underlying multicategory of -- but, as you said, since locally presentable categories aren't closed under the duality of , the multiple-codomain morphisms in the polycategory structure aren't visible to them.
On the other hand, embeds as a full sub-polycategory of , which is -autonomous, and I think its structure comes close to reflecting the tensor product of locally presentable categories as you mentioned. The formula for the tensor product in a Chu construction is . If we apply this to objects in the image of , i.e. of the form , we get . And the second component of this is just -- but the first component is not . So it feels like the monoidal structure on locally presentable categories should be some kind of (co)reflection of this, but I'm not sure off the top of my head exactly how.
That was a long answer to question (2). I wish I had as much to say about question (1), which sounds like an interesting idea. To start with, there should be an analogue of the polycategory in which the categories are equipped with wfs (or a pair of wfs, or full model structures) and the morphisms are multivariable wfs/Quillen adjunctions. But can we embed it in a Chu construction?
The Hom(-, -) of a model category is a sort of right Quillen bifunctor--that's what the lifting properties say.
Maybe to be safer we can take simplicial model categories, so that the Hom objects take values in a genuine model category, but we shouldn't really need this.
Yeah, anything that works should probably work for ordinary model categories with a set-valued homfunctor and relating to the wfs (mono,epi) on Set. However, I don't see yet how to make anything work: how does the functor encode the lifting properties by combining some structures on and and mapping that structure to (mono,epI) in Set? The pullback corner that appears in the lifting property is a pullback in Set, and I don't see how to make that happen.
Well, you could regard Hom as taking values in Set^op, or more specifically the opposite of the structure with (C = monos, AF = epis, AC = isos, F = all). The problem though is that you would need to put the structure of both wfses into the original category that we apply the Chu construction to, so it doesn't seem to gain very much.
I don't see how to make it work even if we do that. Do you?
Start with VMod = V-enriched model categories and left Quillen functors, and embed VMod in Chu(VMod, V^op) via maps to
Perhaps I should write
where is just notation for a multimorphism of V-model categories
How can be "just notation for" a morphism?
What is the closed symmetric monoidal structure on VMod?
Sorry, I mean is just notation for a multimorphism .
i.e. a Quillen V-bifunctor or whatever order the adjectives go in.
I think VMod is usually not a closed symmetric monoidal category but I assume it's also okay to start with a multicategory--does it need to be more than that?
A polycategory?
Yes, you can do the Chu construction to a multicategory, but you'll only get a polycategory out rather than a -autonomous category. So it's unclear that we'd be gaining very much that way versus just directly defining a polycategory of model categories.
Particularly as I needed to define the whole multicategory VMod first before even applying the Chu construction. :upside_down:
(deleted)
Yeah -- I was hoping that the lifting properties could be encoded somehow in the "pairings" appearing in the Chu construction, which would have made it more nontrivial. But as I said, I don't see how.
Well, they are encoded in the fact that the pairing is a Quillen V-bifunctor. If you have a cofibration in C and a cofibration in C^op (i.e. a fibration in C) and you pair them, you get a cofibration in V^op (i.e. a fibration in V) which is acyclic if one of the original ones is--then you can lift the (cofibrant) unit of V into this acyclic fibration of V to produce lifts for squares in C.
The problem is to "unencode" it from the original data.
For example, suppose I define a "left V-semimodel category" to be a V-cocomplete V-category (or V-module category) with a class of weak equivalences that satisfies 2-out-of-3 and any old class of cofibrations. Let's look for V-categories M equipped with three classes (C, W, F) such that (M, W, C) and (M^op, W^op, F^op) are left V-semimodel categories and Map^op is a Quillen V-bifunctor (defined using cofibrations and acyclic cofibrations).
Then I claim the pairing tells me I have lifts.
However, I totally lost the factorizations.
Maybe an algebraic WFS would fare better? It's easier to imagine having half of one of those.
Yes of course, what I meant was to encode them in a notion of morphism in a category, not morphism in a multicategory.
I think I've got it! But I'm not sure how well I can explain it in the rudimentary TeX available here. Maybe I'll make it a blog post or something.
(Where "it" = a Chu construction of a closed symmetric monoidal category that contains model categories and Quillen multifunctors as a full sub-polycategory. The objects of the Chu construction have a generalized form of lifting, but not factorizations or weak equivalences.)
Mike Shulman said:
Speaking of software, what I would really like is a sketchpad/whiteboard program much like xournal, but augmented with beamer-like selective display features. That is, I'd like to be able to draw a slide by hand, then select part of it and say "hide this part first and display it on the second appearance" and so on, and then "compile" such a thing to a PDF for the presentation. I don't suppose anyone knows of such a piece of software?
I came across Xournal++ today (https://github.com/xournalpp/xournalpp), which after messing with it for a bit seems to be much-improved over Xournal (and is being actively developed, unlike the latter). It seems to have reasonable layer support and a scripting/plugin interface, so maybe this is hackable into a nice platform for presentations.
Coincidentally I was just experimenting with xournal++ yesterday. I like its added features, but unfortunately it seems rather buggy. For instance, at least in the linux version, if more than one layer is displayed, then the selection tool doesn't work on objects in the top layer, but it does allow you to select objects in the bottom layer with the effect of duplicating them into the top layer. Also It crashes frequently.
Original xournal also has some bugs I've found, but none as annoying / dangerous as total crashes. Sometimes it loses its ability to get pen input correctly until a restart, but I can still save my work and quit normally.
How do you guys deal with wacom tablets + ubuntu? I tried to configure mine but basically my wacom tablet is treated as a pointer, with absolute positioning. Clearly the writing experience is nightmarish in this way
As i mentioned before, I then opted to have a webcam pointed at my desk surface. Still, I'd be happy to have a decent way to draw with a graphic tablet :slight_smile:
Sorry, what do you mean by "absolute positioning"?
My wacom tablet acts as a display too, so I just touch on the display where I want to write and it shows up under my pen. I haven't tried using one that isn't also a display; I think I would have a lot of trouble writing on one surface but only seeing what I'm writing appear on a totally separate screen.
But I know a couple of people who are doing it without a problem, so YMMV (and I haven't tried, so maybe it would work fine for me too).
I mean that there is a bijective function between the surface of the screen and the surface of the tablet. So if i put my pen, say, at the extreme top left corner, that's where my mouse ends up being. Instead, I'd like a bijective mapping between the surface of my tablet and a window on my screen, which would allow me to use all the available space on the tablet to draw
Mike Shulman said:
My wacom tablet acts as a display too, so I just touch on the display where I want to write and it shows up under my pen. I haven't tried using one that isn't also a display; I think I would have a lot of trouble writing on one surface but only seeing what I'm writing appear on a totally separate screen.
This is a huge plus. I'm considering the idea of buying a remarkable mainly for this
Ah. Well, just maximize the window. (-:
Mike Shulman said:
(Where "it" = a Chu construction of a closed symmetric monoidal category that contains model categories and Quillen multifunctors as a full sub-polycategory. The objects of the Chu construction have a generalized form of lifting, but not factorizations or weak equivalences.)
Here it is: https://golem.ph.utexas.edu/category/2020/04/model_categories_as_a_chu_cons.html
John Baez said:
According to Paolo Perrone YouTube allows this when your channel has at least 1000 subscribers.
Hey guys, I discovered that this limit exists only if you stream from your phone or tablet. If you use a laptop, there is no limit! :)
Oh, cool!
I come somewhat late for this talk, but here is a question, if anyone is still there: how would you represent this nested internal hom, , using Mike's string diagrams? Somehow I'm struggling.
Ask @Mike Shulman!
In a -autonomous category, . So this would be represented by four strings labeled , with the middle two strings pointing up and the outer two strings pointing down.
Of course that alone doesn't have enough information to distinguish it from, say, or any other way of putting together the objects. Relatedly, it's also not a valid complete -autonomous string diagram (i.e. it doesn't represent the identity morphism of ), because for such a thing all the strings coming in at the top have to be 'ed together and those coming out the bottom have to be ⅋'ed together. Whenever such a configuration of four strings occurs inside a valid complete string diagram, the algorithm for checking validity will automatically tell you how the strings are to be combined with the two tensor products.
I see, thank you. But if I understood your talk correctly, while there are many ways of interpreting that string diagram in a *-autonomous category, there's only one way to make sense of that in a closed category, is that correct?