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.
Given a polynomial dynamical system, is it the law of mass action applied to some Petri net with rates?
My guess is yes (contrary to the claim! So my guess is probably wrong, but as an educational exercise I'll try to prove my guess tp see why...)
@Sam Tenka, it would help me parse this if you used Latex!
This is a very cool feature of Zulip imo :smiley:
@Sophie Libkind oh ah cool! I'll rewrite in shortly!
NOTE :
my original proof from tens of minutes ago had an (easy-to-fix) arithmetic error, but instead of fixing it in a minimal way, I chose to replace it by an essentially different and somewhat simpler construction.
SETUP:
Let be a finite set of formal variables. The latter generate the ring . A formal diffeq is an -tuplet of members of ; each formal diffeq determines an actual diffeq (first order with equations): . Here, denotes differentiation-wrt-time.
Another structure we consider is that of a chemistry homework problem (CHP): a CHP is a member of . Here, is the "finite multiset constructor". sends a set to the set of finite multisets whose every member is in that set. Though is a functor with great properties, we're introducing it merely to save ink. Of course, the terminal object in induces for each a map . Using this and pullbacks, it's not hard to make the good ol' "tell me the multiplicity in a given multiset of an element" function . Terminals and pullbacks are both limits, so it seems that counting is more "rightish/limity" than "leftish/colimity".
The point is that each CHP induces an formal diffEQ as follows: for each we define .
Sam's CLAIM:
every formal diffEQ arises as above from some CHP.
PROOF (with a gap discussed at end):
Let's just construct from .
Observing that the construction from CHPs to formal diffEQs sends disjoint unions to component-wise sums, it suffices to consider the case where one is a monomial and the other 's are zero. Say that , where and .
Well, if is non-negative, then we make the CHP . Here, summing multisets just sums their multiplicities; multiplying a multiset by a natural number just multiplies all the multiplicities accordingly; and is one on the diagonal and zero elsewhere. One verifies by staring hard that is a CHP and that it induces the desired formal diffEQ.
What if is negative? Well, we make a CHP . This gives us the right behavior for , but it decreases the concentrations of the other species too much; to fix this, we just apply the non-negative case to add more elements into our CHP to cancel out those decreases. One verifies by staring hard that making from in this way induces the desired formal diffEQ --- EXCEPT that in the process of staring hard, one finds that ain't always a well-defined CHP, since we might divide by zero!!!!!
Thus, QEND --- quod erat non demonstrandum.
REMARK:
the above proof works so long as the "diagonal counts" are all non-zero (i.e. positive integers). Call a formal diffEQ for which this holds, everywhere loopy. Then
PROVEN CLAIM:
every everywhere loopy formal diffEQ arises from some chemistry homework problem!
(converse untrue)
Another useful Zulip tip: You can use the button that looks like :eye: to preview your message before you send it. :stuck_out_tongue:
The above considerations suggest this system:
or a cousin
Can some invariant argument can show that one of these cannot come from a petri net with nonnegative rates?
I'm not sure!
Sam Tenka said:
The above considerations suggest this system:
or this cousin [...]
Can some invariant argument can show that one of these cannot come from a petri net with nonnegative rates?
I'm not sure!
This looks good. If a Petri net with rates gives the equation
the law of mass action says there must be a transition (at least one) whose input is just one y. In theory such a transition could have any number of x's and y's as output, but no such transition can make the concentration of x decrease, as this equation does.
This is not a rigorous proof but it's good enough for me right now.