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: learning: questions

Topic: Necessity of decorated cospans in open Petri nets with rate


view this post on Zulip Adittya Chaudhuri (Jun 25 2024 at 23:18):

Before Section 6.4 in https://arxiv.org/pdf/2101.09363, it is mentioned that there is a necessity to consider decorated cospans for the application in Petri nets with rates. Then, the whole section 6.4 is built upon-decorated cospans. Is it because the category of Petri nets with rates (PetrirPetri_{r}) may not have small colimits or the functor L ⁣:SetsPetrirL \colon Sets \rightarrow Petri_{r} may not be left adjoint?

Now, in the Definition 6.17 of https://arxiv.org/pdf/1911.04630, there is a slight change in the definition of the category of open Petri nets with rates than in https://arxiv.org/pdf/2101.09363. In particular, there is a difference in the "compatibility condition of the morphisms with the rate function". Now, by the Lemma 6.18 and Lemma 6.19 of https://arxiv.org/pdf/1911.04630, we have all the necessary ingredients to describe Open Petri nets with rates as structured cospans (horizontal 1-cells) in a unique symmetric monoidal double category due to the Lemma 14 of https://arxiv.org/pdf/1808.05415. However, in https://arxiv.org/pdf/1911.04630, only isomorphism classes of structured cospans are considered, and the construction of the double category is not shown.

My questions are the following:

  1. As mentioned in "before Section 6.4 in https://arxiv.org/pdf/2101.09363", what is the precise necessity of structured cospans for describing open Petri nets with rates? Is it due to the "change in the compatibility condition of the morphisms with the rate function"?

  2. Why inspite of having all the ingredients for the construction of symmetric monoidal double category, in the Section 6.16 of https://arxiv.org/pdf/1911.04630, only isomorphism classes of structured cospans are considered and the the corresponding symmetric monoidal double category is not constructed?

Am I missing something here?

view this post on Zulip John Baez (Jun 26 2024 at 05:29):

The first short answer is that this problem has been bothering me for years. You're seeing various attempts to deal with it. Some of those sections you're pointing to have been rewritten several times, in different arXiv versions. The paper "Structured versus decorated cospans" has the best treatment so far, and as far as I'm concerned you can ignore all the previous papers when it comes to this particular problem. But I'm still not satisfied, and I have some new ideas that I should try to write up.

I'm impressed by how much attention you've paid to the details here; this is truly a case where "the devil is in the details".

view this post on Zulip John Baez (Jun 26 2024 at 05:32):

When I'm more awake I can try to start digging into the technical details, but actually you're making me want to get serious and write the paper where I finally solve this problem in a satisfactory way. It's one of those problems that's hard to precisely state until it's solved.

view this post on Zulip John Baez (Jun 26 2024 at 05:33):

Why are you interested in this?

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 12:46):

John Baez said:

Why are you interested in this?

Thank you so much!! I understand your point.

We (j/w Olaf Wolkenhauer, University of Rostock and Ralf Köhl, University of Kiel) are building a formal framework to study the functional and structural organisation of multilevel molecular/cellular reaction networks that are visualised with SBGN Process Diagrams (Systems Biology Graphical Notation). We are exploring Applied Category Theory for this purpose.

For most disease-relevant processes, a large number of molecules and cell types are involved. Experimental studies, however, usually focus on a small number of molecules (pathways). The information derived from experimental studies (relation and direction) is available in databases and repositories. An example is the Atlas of Inflammation Resolution (AIR, https://air.bio.informatik.uni-rostock.de ), which gathers thousands of interactions organised in networks that are visualised using SBGN. A typical task is to use new experimental data mapped onto the AIR to identify subnetworks for further analysis.

A challenge is that the networks can be organised in different ways, linked to different levels of structural and functional organisation. The structural organisation is here from molecules to cells and tissues, while the functional organisation is here linked to reactions, cellular functions (including cell division, differentiation, apoptosis), and physiological functions, e.g. of a tissue. The notion of a function refers here to the ‘role’ an entity or process has. 

At present, larger networks are not really composed systematically of smaller ones. We hope to find a formal language of the architecture of such molecular/cellular networks, where we have a clearer meaning of composition, respecting the above-referred levels of organisation.

A major challenge is that the output of one reaction may not be an input to another reaction but a modulator-like stimulus, necessary stimulus, catalysis, inhibitor, etc. To build the said architecture, we are currently exploring an appropriately generalised/modified version of the Open Petri nets theory you and your collaborators developed. Since our framework does not have a precise input-output, we can not represent our Petri nets as commutative monoidal categories like you did for your Petri nets. We are also interested in (but not limited to) the systems of differential equations associated with our Petri nets with an appropriate notion of rates. 

We have constructed a symmetric monoidal double category (based on structured cospans) of syntax, whose horizontal 1-cells are our open Petri nets. Also, we found ways to express the “2-morphisms” and “various types of decomposition” as a way of “zoom-out” and “zoom-in”  and to describe multi-levelness, respectively. 

We are currently building "our open Petri nets with rates". However, we are in a dilemma!! Should we use decorated cospans or structured cospans to construct the symmetric monoidal double category of our Petri nets with rates?

view this post on Zulip John Baez (Jun 26 2024 at 22:11):

Thanks for the detailed explanation of your reason for interest. I strongly support work of the sort you're doing, and I hope that someday the software and mathematics my friends are developing will be useful to you.

This includes AlgebraicPetri, AlgebraicDynamics and other software systems built in AlgebraicJulia.

view this post on Zulip John Baez (Jun 26 2024 at 22:16):

Structured cospans are generally easier to handle in software, and AlgebraicJulia tries to use those whenever possible. However until recently we didn't see how to get structured cospans to work perfectly for dynamical systems, for reasons explained in Section 6.4 of Decorated vs Structured Cospans.

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 22:20):

John Baez said:

Thanks for the detailed explanation of your reason for interest. I strongly support work of the sort you're doing, and I hope that someday the software and mathematics my friends are developing will be useful to you.

This includes AlgebraicPetri, AlgebraicDynamics and other software systems built in AlgebraicJulia.

Thank you so much!! Definitely!! In fact, we have a plan for such an implementation!! But at the moment, it is too far!!

view this post on Zulip John Baez (Jun 26 2024 at 22:23):

In Section 6.4, as you probably know well, we explain a symmetric monoidal double functor from a certain

to a certain

We show roughly that the second of these is not equivalent to a structured cospan category. More precisely, we only show that a certain theorem we have for getting structured cospan double categories does not apply to this case.

I think there is a solution to this "problem": namely, a better - inequivalent - symmetric monoidal double category of open dynamical system categories invented by @Evan Patterson, which is a structured cospan category.

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 22:25):

John Baez said:

Structured cospans are generally easier to handle in software, and AlgebraicJulia tries to use those whenever possible. However until recently we didn't see how to get structured cospans to work perfectly for dynamical systems, for reasons explained in Section 6.4 of Decorated vs Structured Cospans.

Thank you!!

view this post on Zulip John Baez (Jun 26 2024 at 22:27):

I'll add that @Kenny, @Christina Vasilakopoulou and I were just about to publish this paper when @Sophie Libkind caught a mistake in Section 6.4 and proposed the fix described there: namely, the "correct" concept of vertical or tight morphism between open Petri nets with rates. Before I had always been using a more stupid concept.

view this post on Zulip John Baez (Jun 26 2024 at 22:28):

I'm talking about the place where the paper says:

This definition was suggested by Sophie Libkind; it agrees with the earlier definition [9] in the case of isomorphisms, but not in general, and the difference is important here.

view this post on Zulip John Baez (Jun 26 2024 at 22:31):

However, this improvement to the double category of open Petri nets with rates is not the end of the story, because I believe we still need to improve the double category of open dynamical systems, so that it too can be a structured cospan category, and so that we can define a (modified but just as useful) version of the functor sending open Petri nets with rates to open dynamical systems, using the technology of structured cospans.

view this post on Zulip John Baez (Jun 26 2024 at 22:34):

This new improvement - if it works!!! - will use ideas from here:

view this post on Zulip John Baez (Jun 26 2024 at 22:35):

So you might like to check out this paper if you haven't yet, and read about "parametrized dynamical systems".

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 22:37):

John Baez said:

In Section 6.4, as you probably know well, we explain a symmetric monoidal double functor from a certain

to a certain

We show roughly that the second of these is not equivalent to a structured cospan category. More precisely, we only show that a certain theorem we have for getting structured cospan double categories does not apply to this case.

I think there is a solution to this "problem": namely, a better - inequivalent - symmetric monoidal double category of open dynamical system categories invented by Evan Patterson, which is a structured cospan category.

According to the Theorem 2.2 in https://math.ucr.edu/home/baez/cospans.pdf, the double category of Open Petri nets with rates is a decorated cospan double category. Am I understanding correctly?

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 22:39):

John Baez said:

So you might like to check out this paper if you haven't yet, and read about "parametrized dynamical systems".

Thanks a lot!! No, I was not aware of this paper!! I will read it!!

view this post on Zulip John Baez (Jun 26 2024 at 22:57):

Adittya Chaudhuri said:

John Baez said:

In Section 6.4, as you probably know well, we explain a symmetric monoidal double functor from a certain

to a certain

We show roughly that the second of these is not equivalent to a structured cospan category. More precisely, we only show that a certain theorem we have for getting structured cospan double categories does not apply to this case.

I think there is a solution to this "problem": namely, a better - inequivalent - symmetric monoidal double category of open dynamical system categories invented by Evan Patterson, which is a structured cospan category.

According to the Theorem 2.2 in https://math.ucr.edu/home/baez/cospans.pdf, the double category of Open Petri nets with rates is a decorated cospan double category. Am I understanding correctly?

You're right, I made a mistake above.

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 22:57):

John Baez said:

Adittya Chaudhuri said:

John Baez said:

In Section 6.4, as you probably know well, we explain a symmetric monoidal double functor from a certain

  • -structured- decorated cospan double category of open Petri nets with rates

to a certain

  • decorated cospan double category of open dynamical systems.

We show roughly that the second of these is not equivalent to a structured cospan category. More precisely, we only show that a certain theorem we have for getting structured cospan double categories does not apply to this case.

I think there is a solution to this "problem": namely, a better - inequivalent - symmetric monoidal double category of open dynamical system categories invented by Evan Patterson, which is a structured cospan category.

According to the Theorem 2.2 in https://math.ucr.edu/home/baez/cospans.pdf, the double category of Open Petri nets with rates is a decorated cospan double category. Am I understanding correctly?

You're right, I made a mistake above.

Ok, thanks!

view this post on Zulip John Baez (Jun 26 2024 at 23:01):

So, if you are mainly doing theoretical work, the decorated cospan double categories of

and

described in Section 6.4 of Structured vs Decorated Cospans should work just fine! As far as I'm concerned, it's mainly when one is writing software, especially in AlgebraicJulia, that structured cospans become much easier.

view this post on Zulip Adittya Chaudhuri (Jun 26 2024 at 23:03):

John Baez said:

So, if you are mainly doing theoretical work, the decorated cospan double categories of

and

described in this paper should work just fine! As far as I'm concerned, it's mainly when one is writing software, especially in AlgebraicJulia, that structured cospans become much easier.

I see!! Thanks!! At the moment it is theoretical. However, later we have a plan for AlgebraicJulia implementation.

view this post on Zulip John Baez (Jun 27 2024 at 08:51):

Okay. I guess you see that in both the double categories I mentioned above, the vertical morphisms involve adding real numbers. For open Petri nets with rates, that was an innovation of Structured versus decorated cospans, suggested by @Sophie Libkind. And if that's how you want the vertical morphisms to work, the double categories in this paper will be good for you:

This similarity between the two double categories is essential for getting a double functor from the first to the second, which we call "grayboxing".

view this post on Zulip Adittya Chaudhuri (Jun 27 2024 at 10:25):

John Baez said:

Okay. I guess you see that in both the double categories I mentioned above, the vertical morphisms involve adding real numbers. For open Petri nets with rates, that was an innovation of Structured versus decorated cospans, suggested by Sophie Libkind. And if that's how you want the vertical morphisms to work, the double categories in this paper will be good for you:

This similarity between the two double categories is essential for getting a double functor from the first to the second, which we call "grayboxing".

Thanks a lot!! I now got your point of not including the double category, and the reason for considering only the category (by taking isomorphism classes of the open Petri nets with rates) .