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: event: MIT Categories Seminar

Topic: April 9 - John Baez's talk


view this post on Zulip John Baez (Apr 06 2020 at 01:10):

My talk is on "Structured cospans and Petri nets".

Abstract. “Structured cospans” are a general way to study networks with inputs and outputs. Here we illustrate this using a type of network popular in theoretical computer science: Petri nets. An “open” Petri net is one with certain places designated as inputs and outputs. We can compose open Petri nets by gluing the outputs of one to the inputs of another. Using the formalism of structured cospans, open Petri nets can be treated as morphisms of a symmetric monoidal category — or better, a symmetric monoidal double category. We explain two forms of semantics for open Petri nets using symmetric monoidal double functors out of this double category. The first, an operational semantics, gives for each open Petri net a category whose morphisms are the processes that this net can carry out. The second, a “reachability” semantics, simply says what these processes can accomplish. This is joint work with Kenny Courser and Jade Master.

You can see the slides for my talk here.

The talk is based on these papers:

This talk is a followup to my earlier talk Structured cospans and double categories, but it should be understandable on its own.

view this post on Zulip Paolo Perrone (Apr 07 2020 at 17:53):

Hi all! We are trying out a double format. This week's talk will be both on Zoom and livestreamed on Youtube.

view this post on Zulip Paolo Perrone (Apr 07 2020 at 17:53):

Zoom Meeting:
https://zoom.us/j/988858130
Meeting ID: 988 858 130

view this post on Zulip Paolo Perrone (Apr 07 2020 at 17:53):

Youtube live stream:
https://youtu.be/41qNpHJXKV0

view this post on Zulip Paolo Perrone (Apr 07 2020 at 17:54):

See you in 2 days!

view this post on Zulip Paolo Perrone (Apr 09 2020 at 15:59):

Hello all! We start in a minute!

view this post on Zulip Tom Leinster (Apr 09 2020 at 16:05):

Has it started? Not seeing it on youtube

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:05):

It's started.
Anyone else having that problem?

view this post on Zulip Thomas Read (Apr 09 2020 at 16:05):

Youtube is working for me

view this post on Zulip Matteo Capucci (he/him) (Apr 09 2020 at 16:05):

I'm following fine on yt

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:05):

https://youtu.be/41qNpHJXKV0

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:06):

(Try to refresh and press play)

view this post on Zulip Tom Leinster (Apr 09 2020 at 16:06):

Yup, there now. Thanks for the URL, Paolo

view this post on Zulip Tom Leinster (Apr 09 2020 at 16:07):

I went to the youtube channel link (if that's what it is) linked to from http://brendanfong.com/seminar.html and couldn't see the live stream, despite refreshing/reloading the page

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:08):

I see. Maybe there's no link with the playlist yet. I'll look into that, thank you!

view this post on Zulip Brendan Fong (Apr 09 2020 at 16:08):

Thanks for pointing that out Tom -- yes, there is something wrong with the stream not appearing on the playlist

view this post on Zulip Tom Leinster (Apr 09 2020 at 16:08):

Sorry, it was the playlist link: https://www.youtube.com/playlist?list=PLhgq-BqyZ7i6Vh4nxlyhKDAMhlv1oWl5n

view this post on Zulip Brendan Fong (Apr 09 2020 at 16:09):

(If it helps, I've added the Zoom link to the website too: https://zoom.us/j/988858130)

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:10):

Thanks Brendan!

view this post on Zulip Paolo Perrone (Apr 09 2020 at 16:10):

(Should be listed in the playlist now.)

view this post on Zulip Tom Leinster (Apr 09 2020 at 16:12):

Thanks!

view this post on Zulip Sam Tenka (Apr 09 2020 at 16:43):

In Programming Languages, this distinction is sometimes called "small step" vs "big step" semantics :-)

view this post on Zulip Sam Tenka (Apr 09 2020 at 16:45):

but indistinguishable particles!

view this post on Zulip Sam Tenka (Apr 09 2020 at 16:55):

Question: since coeffs in N and indistinguishable particles, like bosons. Is there a fermionic analogue?

view this post on Zulip Brian Pinsky (Apr 09 2020 at 16:56):

Is there a nice generalization of Petri nets where the reachability problem is harder than the halting problem? I was wondering if giving the tokens individuality might do it

view this post on Zulip Matteo Capucci (he/him) (Apr 09 2020 at 16:57):

If you use free monoids on R (real numbers) instead of N, what do you get? Has it something to do with Petri nets with rates?

view this post on Zulip Sam Tenka (Apr 09 2020 at 16:58):

Question: what's an example application of Petri nets to understand something that otherwise would be cumbersome to analyze?

view this post on Zulip Joe Moeller (Apr 09 2020 at 16:59):

Whoever asked about rewriting, it might be worth look at Daniel Cicala's thesis: https://arxiv.org/pdf/1906.05443.pdf

view this post on Zulip Joe Moeller (Apr 09 2020 at 16:59):

He talks about rewriting with structured cospans

view this post on Zulip Gabriel Goren Roig (Apr 09 2020 at 16:59):

Basic question about the question John posed during the talk: doesn't tensoring of morphisms make the answer be more than 3?

view this post on Zulip Brian Pinsky (Apr 09 2020 at 17:00):

Is there a disjointness requirement on the inputs and outputs? It's harder to picture if they're not disjoint

view this post on Zulip Sam Tenka (Apr 09 2020 at 17:01):

Question (maybe better for offline): for Boltzmann Petri nets, would it be reasonable to consider petri net "coverings", where the base space is the bosonic version and the total space "marks" which particle is which by which copy they are in? (Imagining the total space as a bunch of disjoint copies, but it would be interesting to allow transitions)

view this post on Zulip Cole Comfort (Apr 09 2020 at 17:02):

Structured spans don't form a category in the case that the apex is labelled by the right adjoint. There is no identity

view this post on Zulip Joe Moeller (Apr 09 2020 at 17:02):

Or briefer than a thesis, Daniel also wrote a paper called Rewriting structured cospans: https://arxiv.org/abs/2001.09029

view this post on Zulip Sam Tenka (Apr 09 2020 at 17:03):

Matteo Capucci said:

If you use free monoids on R (real numbers) instead of N, what do you get? Has it something to do with Petri nets with rates?

I think the formalism would still have discrete time, but now continuous "amounts". So yes, a rate whose denominator is still discrete?

view this post on Zulip Sam Tenka (Apr 09 2020 at 17:05):

Brian Pinsky said:

Is there a nice generalization of Petri nets where the reachability problem is harder than the halting problem? I was wondering if giving the tokens individuality might do it

Any reachability question on a graph that can be described algorithmically should be no harder than the halting problem: Just ask whether {{the TM that searches breadth-first over all paths and halts when it finds a goal}} ever halts. One may strengthen "algorithmically" by adding an oracle; not sure how best to fit that concept in here.

view this post on Zulip Ralph Sarkis (Apr 09 2020 at 17:05):

Thanks @Joe Moeller

view this post on Zulip Eigil Rischel (Apr 09 2020 at 17:05):

Gabriel Goren said:

Basic question about the question John posed during the talk: doesn't tensoring of morphisms make the answer be more than 3?

We're looking for a map XXYYX \otimes X \to Y \otimes Y. The ingredients are maps f,g:XYf,g: X \to Y. The three maps are (f1X)(f1X),(f1X)(g1X)(f \otimes 1_X) \circ (f \otimes 1_X), (f \otimes 1_X) \circ (g \otimes 1_X), and (g1X)(g1X)(g \otimes 1_X) \circ (g \otimes 1_X). The commutativity of the category implies that the various other compositions, for instance (g1X)(f1X)(g \otimes 1_X) \circ (f \otimes 1_X), are all equal to one of these.

view this post on Zulip Jade Master (Apr 09 2020 at 17:06):

Sam Tenka (naive student) said:

Matteo Capucci said:

If you use free monoids on R (real numbers) instead of N, what do you get? Has it something to do with Petri nets with rates?

I think the formalism would still have discrete time, but now continuous "amounts". So yes, a rate whose denominator is still discrete?

These fit within the framework of generalized Petri nets. They freely generate categories whose morphisms are ways of shuffling continuous resources around in given proportions.

view this post on Zulip Gabriel Goren Roig (Apr 09 2020 at 17:07):

Gabriel Goren said:

Basic question about the question John posed during the talk: doesn't tensoring of morphisms make the answer be more than 3?

Oh nevermind, the tensoring ends up being identical to the composite, and that's what John said at some point during the talk. Right?

view this post on Zulip Gabriel Goren Roig (Apr 09 2020 at 17:07):

I just saw your answer Eigil, thanks!

view this post on Zulip Jade Master (Apr 09 2020 at 17:13):

Thanks Eigil, the way that everything collapses in commutative monoidal categories like this is like a generalization of the Eckmann-Hilton argument.

view this post on Zulip Brian Pinsky (Apr 09 2020 at 17:15):

Is there a nice way to build petri nets with infinite sets of edges?

view this post on Zulip Jade Master (Apr 09 2020 at 17:16):

Sure. The set of transitions can be infinite. It's a bit harder to draw that way though.

view this post on Zulip Brian Pinsky (Apr 09 2020 at 17:17):

no I mean one transition requiring countably many inputs from one place

view this post on Zulip Jade Master (Apr 09 2020 at 17:18):

What would be the purpose of this?

view this post on Zulip Brian Pinsky (Apr 09 2020 at 17:19):

I was trying to think of ways to make Petri nets able to computer harder things, and one trick for doing that is giving it access to hard to compute sets of ordinals.

view this post on Zulip Joe Moeller (Apr 09 2020 at 17:19):

You can't have infinite edges between a given transition and a given species in the framework John is talking about.

view this post on Zulip Joe Moeller (Apr 09 2020 at 17:20):

You can have have infinite places, but you can't connect a transition to infinite places either. So a transition can never have access to infinite data in this framework.

view this post on Zulip Joe Moeller (Apr 09 2020 at 17:21):

But I could easily imagine there being a simple tweak to allow these though.

view this post on Zulip Sophie Libkind (Apr 09 2020 at 17:25):

Is there a relationship between the behavioral or operational semantics described and the gray boxing functor from open petri nets with rates to dynamical systems? Even though there's a discrete/continuous mismatch going on?

view this post on Zulip Jade Master (Apr 09 2020 at 17:28):

Sophie Libkind said:

Is there a relationship between the behavioral or operational semantics described and the gray boxing functor from open petri nets with rates to dynamical systems? Even though there's a discrete/continuous mismatch going on?

I don't know. But this is something that I would love to figure out!

view this post on Zulip Jade Master (Apr 09 2020 at 17:29):

The law of mass action in chemistry relates the discrete case to the rate equations you're describing.

view this post on Zulip Joe Moeller (Apr 09 2020 at 17:29):

I think it's worth pointing out that many ways of tweaking the definition of Petri net by changing what's playing the role of N\mathbb N are captured by a super general framework developed by @Jade Master in Generalized Petri nets https://arxiv.org/abs/1904.09091
The key ingredient is Lawvere theories.

view this post on Zulip Sophie Libkind (Apr 09 2020 at 17:32):

Jade Master said:

The law of mass action in chemistry relates the discrete case to the rate equations you're describing.

Neat! I haven't heard of the law of mass action before. Do you have a sound byte for it?

view this post on Zulip Paolo Perrone (Apr 09 2020 at 17:33):

Sophie Libkind said:

Jade Master said:

The law of mass action in chemistry relates the discrete case to the rate equations you're describing.

Neat! I haven't heard of the law of mass action before. Do you have a sound byte for it?

Roughly, the rate of a reaction is directly proportional to the concentration of each ingredient (multilinearly).

view this post on Zulip Sophie Libkind (Apr 09 2020 at 17:35):

thanks!

view this post on Zulip Sophie Libkind (Apr 09 2020 at 17:35):

That's sounds like how we define a diffeq from the petri net with rates

view this post on Zulip Jade Master (Apr 09 2020 at 17:36):

Right. What Paolo said is about all I know about the law of mass action.

view this post on Zulip Jade Master (Apr 09 2020 at 17:37):

Yeah. In John and Blake's paper they use the law of mass action to define the mapping from open Petri nets with rates to open dynamical systems.

view this post on Zulip John Baez (Apr 09 2020 at 17:41):

Hi! I just got some coffee...

view this post on Zulip John Baez (Apr 09 2020 at 17:42):

"That sounds like how we define a diffeq from the petri net with rates" - yes, that's what chemists call the law of mass action.

view this post on Zulip John Baez (Apr 09 2020 at 17:42):

They've also studied other laws, where we use a fancier function of the concentrations of each species to get the rate at which a reaction occurs (now I'm using chemistry jargon).

view this post on Zulip John Baez (Apr 09 2020 at 17:43):

Brian Pinsky said:

I was trying to think of ways to make Petri nets able to compute harder things, and one trick for doing that is giving it access to hard to compute sets of ordinals.

view this post on Zulip John Baez (Apr 09 2020 at 17:44):

You can replace N\mathbb{N} with any commutative "rig" - ring without negatives.

view this post on Zulip John Baez (Apr 09 2020 at 17:44):

There is a rig of all cardinals, with cardinal addition and multiplication.

view this post on Zulip John Baez (Apr 09 2020 at 17:44):

This is what I call a "big rig" - a rig that's too large to be a set.

view this post on Zulip John Baez (Apr 09 2020 at 17:45):

So if you wanted a monstrously big mutant version of a Petri net, you could use that.

view this post on Zulip John Baez (Apr 09 2020 at 17:46):

Brian Pinsky said:

Is there a nice generalization of Petri nets where the reachability problem is harder than the halting problem? I was wondering if giving the tokens individuality might do it.

view this post on Zulip John Baez (Apr 09 2020 at 17:46):

I really don't know if that does it. Interesting question.

view this post on Zulip John Baez (Apr 09 2020 at 17:47):

Matteo Capucci said:

If you use free monoids on R (real numbers) instead of N, what do you get? Has it something to do with Petri nets with rates?

view this post on Zulip John Baez (Apr 09 2020 at 17:47):

By the way, you meant "free R\mathbb{R}-modules".

view this post on Zulip John Baez (Apr 09 2020 at 17:48):

The free N\mathbb{N}-module on a set is the free commutative monoid on that set - this may have led to your monoid/module confusion.

view this post on Zulip John Baez (Apr 09 2020 at 17:49):

Gabriel Goren said:

Basic question about the question John posed during the talk: doesn't tensoring of morphisms make the answer be more than 3?

view this post on Zulip John Baez (Apr 09 2020 at 17:49):

No, it's just 3. If you write down more than 3 morphisms, I should be able to use some of the commutative monoidal category laws to show that some of them are equal.

view this post on Zulip Paolo Perrone (Apr 10 2020 at 02:48):

Hello. The video is up!
https://youtu.be/2CjTs9lmEHI
The HD version should be ready in a few minutes too (same link).

view this post on Zulip John Baez (Apr 10 2020 at 17:57):

Yay. Thanks for doing all this seminar organizing work, @Paolo Perrone.

view this post on Zulip Sophie Libkind (Apr 14 2020 at 03:38):

I have a small notation question. In your talk, N[S]\mathbb{N}[S] refers to the free commutative monoid on the set of places SS. In my head I think about an element of N[S]\mathbb{N}[S] as an element of NS\mathbb{N}^S, i.e. a function SNS \to \mathbb{N}. Will this translation lead me astray? One guess is that if SS is infinite then f:SNf: S \to \mathbb{N} only corresponds to an element of N[S]\mathbb{N}[S] if f(s)f(s) is non-zero for only finitely many ss.

view this post on Zulip Faré (Apr 14 2020 at 04:48):

@Sophie Libkind Yes, it should be only functions with finite support, i.e. only a finite number of elements that aren't mapped to 00.

view this post on Zulip John Baez (Apr 14 2020 at 05:22):

@Faré is correct. An element of the free commutative monoid on SS is a finite formal sum of elements of SS, so we can identify it with a function f:SNf: S \to \mathbb{N} that's zero except at finitely many points of SS. The set of these functions is the same as the set of all functions f:SNf : S \to \mathbb{N} iff SS is finite.

So, N[S]\mathbb{N}[S] is naturally isomorphic to NS\mathbb{N}^S as a commutative monoid when SS is finite, but not otherwise.

A subtler but extremely important point is that

SN[S] S \mapsto \mathbb{N}[S]

defines a covariant functor SetCommMon\mathsf{Set} \to \mathsf{CommMon}, while

SNS S \mapsto \mathbb{N}^S

defines a contravariant functor SetCommMon\mathsf{Set} \to \mathsf{CommMon}.

None of this depends on the special features of N\mathbb{N}. A commutative monoid is an N\mathbb{N}-module, but we can (and should) generalize everything I just said to modules of any commutative monoid MM.

Here's how it goes. Let M[S]M[S] be the free MM-module on a set SS, and MSM^S be the MM-module of functions from SS to MM. In the case of finite sets we can use the isomorphism M[S]MS\mathbb{M}[S] \cong \mathbb{M}^S to make

SM[S] S \mapsto \mathbb{M}[S]

into both a covariant and a contravariant functor from FinSet\mathsf{FinSet} to the category of MM-modules. But it only defines a covariant functor from Set\mathsf{Set} to the category of MM-modules, and

SNS S \mapsto \mathbb{N}^S

only defines a contravariant functor from Set\mathsf{Set} to the category of MM-modules.

It's the covariant functor that's relevant in my paper with Jade. In my paper on reaction networks with Blake and my paper on Markov processes with Kenny it's really important that

SR[S] S \mapsto \mathbb{R}[S]

defines both a covariant and contravariant functor from FinSet\mathsf{FinSet} to the category of real vector spaces.

view this post on Zulip John Baez (Apr 14 2020 at 05:29):

See definition 2.5 here if you're curious:

  \;