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.
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.
Hi all! We are trying out a double format. This week's talk will be both on Zoom and livestreamed on Youtube.
Zoom Meeting:
https://zoom.us/j/988858130
Meeting ID: 988 858 130
Youtube live stream:
https://youtu.be/41qNpHJXKV0
See you in 2 days!
Hello all! We start in a minute!
Has it started? Not seeing it on youtube
It's started.
Anyone else having that problem?
Youtube is working for me
I'm following fine on yt
(Try to refresh and press play)
Yup, there now. Thanks for the URL, Paolo
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
I see. Maybe there's no link with the playlist yet. I'll look into that, thank you!
Thanks for pointing that out Tom -- yes, there is something wrong with the stream not appearing on the playlist
Sorry, it was the playlist link: https://www.youtube.com/playlist?list=PLhgq-BqyZ7i6Vh4nxlyhKDAMhlv1oWl5n
(If it helps, I've added the Zoom link to the website too: https://zoom.us/j/988858130)
Thanks Brendan!
(Should be listed in the playlist now.)
Thanks!
In Programming Languages, this distinction is sometimes called "small step" vs "big step" semantics :-)
but indistinguishable particles!
Question: since coeffs in N and indistinguishable particles, like bosons. Is there a fermionic analogue?
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
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?
Question: what's an example application of Petri nets to understand something that otherwise would be cumbersome to analyze?
Whoever asked about rewriting, it might be worth look at Daniel Cicala's thesis: https://arxiv.org/pdf/1906.05443.pdf
He talks about rewriting with structured cospans
Basic question about the question John posed during the talk: doesn't tensoring of morphisms make the answer be more than 3?
Is there a disjointness requirement on the inputs and outputs? It's harder to picture if they're not disjoint
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)
Structured spans don't form a category in the case that the apex is labelled by the right adjoint. There is no identity
Or briefer than a thesis, Daniel also wrote a paper called Rewriting structured cospans: https://arxiv.org/abs/2001.09029
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?
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.
Thanks @Joe Moeller
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 . The ingredients are maps . The three maps are , and . The commutativity of the category implies that the various other compositions, for instance , are all equal to one of these.
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.
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?
I just saw your answer Eigil, thanks!
Thanks Eigil, the way that everything collapses in commutative monoidal categories like this is like a generalization of the Eckmann-Hilton argument.
Is there a nice way to build petri nets with infinite sets of edges?
Sure. The set of transitions can be infinite. It's a bit harder to draw that way though.
no I mean one transition requiring countably many inputs from one place
What would be the purpose of this?
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.
You can't have infinite edges between a given transition and a given species in the framework John is talking about.
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.
But I could easily imagine there being a simple tweak to allow these though.
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?
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!
The law of mass action in chemistry relates the discrete case to the rate equations you're describing.
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 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.
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?
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).
thanks!
That's sounds like how we define a diffeq from the petri net with rates
Right. What Paolo said is about all I know about the law of mass action.
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.
Hi! I just got some coffee...
"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.
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).
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.
You can replace with any commutative "rig" - ring without negatives.
There is a rig of all cardinals, with cardinal addition and multiplication.
This is what I call a "big rig" - a rig that's too large to be a set.
So if you wanted a monstrously big mutant version of a Petri net, you could use that.
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.
I really don't know if that does it. Interesting question.
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?
By the way, you meant "free -modules".
The free -module on a set is the free commutative monoid on that set - this may have led to your monoid/module confusion.
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?
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.
Hello. The video is up!
https://youtu.be/2CjTs9lmEHI
The HD version should be ready in a few minutes too (same link).
Yay. Thanks for doing all this seminar organizing work, @Paolo Perrone.
I have a small notation question. In your talk, refers to the free commutative monoid on the set of places . In my head I think about an element of as an element of , i.e. a function . Will this translation lead me astray? One guess is that if is infinite then only corresponds to an element of if is non-zero for only finitely many .
@Sophie Libkind Yes, it should be only functions with finite support, i.e. only a finite number of elements that aren't mapped to .
@Faré is correct. An element of the free commutative monoid on is a finite formal sum of elements of , so we can identify it with a function that's zero except at finitely many points of . The set of these functions is the same as the set of all functions iff is finite.
So, is naturally isomorphic to as a commutative monoid when is finite, but not otherwise.
A subtler but extremely important point is that
defines a covariant functor , while
defines a contravariant functor .
None of this depends on the special features of . A commutative monoid is an -module, but we can (and should) generalize everything I just said to modules of any commutative monoid .
Here's how it goes. Let be the free -module on a set , and be the -module of functions from to . In the case of finite sets we can use the isomorphism to make
into both a covariant and a contravariant functor from to the category of -modules. But it only defines a covariant functor from to the category of -modules, and
only defines a contravariant functor from to the category of -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
defines both a covariant and contravariant functor from to the category of real vector spaces.
See definition 2.5 here if you're curious: