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.
It may be possible that we may need to compose system of different types, for example composing a Petri net with a monoid labeled graph, composing a differential equation based dynamical system with a Boolean dynamical system, etc. Below, I briefly describng a scenario where such composition can be natural.
Let us assume we are studying interaction among large number of biochemical entities. It may happen that due to the availability-unavaibility of data, some of the interactions are possible to be modeled as reaction networks with rates and some are possible to be modeled only as signed/monoid labeled graphs. Similarly, at the level of dynamics, we may need to model the dynamics of some interactions using logic and some using O.D.E. Thus, the whole system can be seen as a hybrid system : a mix of Petri nets and signed graphs, and a mix of Boolean networks and O.D.E's.
In ACT frameworks, I think usually we comopose systems of similar nature i.e
My question is the following:
Are there existing ACT-based frameworks which allow composing networks of different types? In that case, it seems like we need to compose a morphism of a categoy with a morphism of category . More broadly, how to compose models of different types using ACT ?
While there seems to be an obvious answer, I'm not sure it's what you're looking for. In any case:
Let's say that our "types of system" are each some sort of category, and that our individual systems of some type are morphisms in that category. For example, a morphism of and a morphism of . One way to reason about and together is to embed them into some common domain via functors and .
Of course, for this to work you need a suitable , being a "type of system" that is flexible enough to accommodate both and . In a perfect world you would also have that and have nice properties. For example, it would be very nice if they were faithful.
Yes, and there is a particularly common case where or
Thanks @Kevin Carlson @Chad Nester !! I got the point. Then, by a nice functorial relationship between the corresponding categories of two different systems (more generally, with respect to another common category where the corresponding categories can be embedded) we can build a composable framework for the hybrid system.
But, what if in reality we can not find suitable and ?
For example, a common hybrid system that is used in the modelling of biological networks is the hybrid of Boolean model and O.D.E based model. In that case, I am not sure how to find suitable and .
Hybrid dynamical systems can often already be placed in their own category in a perfectly natural way, depending on the formalism, which you haven't quite specified. The simplest case is of simply allowing differential equations with some discontinuities, as in the bouncing ball system. There is no big problem to building as the category of all such differential equation systems. But you may mean something quite different. There's no general answer to constructing and that doesn't look at the details of a given case without degrading into triviality.
Thanks!! I got your point.
In my talks these days I always advertise composing systems of different types by mapping two (double) categories to a common (double) category, as Chad suggests. Following @Evan Patterson, I call this 'interoperability'. My favorite example is composing Petri nets with rates and stock-flow diagrams by mapping them both to dynamical systems:
Though this should be rather easy in the AlgebraicJulia framework, I don't know of anyone actually doing it there yet!
John Baez said:
In my talks these days I always advertise composing systems of different types by mapping two (double) categories to a common (double) category, as Chad suggests. Following Evan Patterson, I call this 'interoperability'. My favorite example is composing Petri nets with rates and stock-flow diagrams by mapping them both to dynamical systems:
- Modeling with applied category theory (page 30 of 31).
Thanks a lot. This is exactly what I was asking. I was not aware of this natural idea of interoperability in ACT before.
I wish people would start actually doing it!
Has much been done on theory or operad mappings? In Operadic Modeling of Dynamical Systems: Mathematics and Computation, the authors consider three systems theories:
They discuss a functor from to , engendering an adjoint triple between and . There's a corresponding operad which is a suboperad of .
Has anything been done at a general level about the collection of such theories/operads? When are there colimits of such things, etc.?
Could we see @Sophie Libkind's amalgamation of the directed and undirected settings in An Algebra of Resource Sharing Machines in terms of a colimit?
Obviously people have studied things like the category of operads (for some flavour) and can prove things like:
the category Operad is small complete and small cocomplete, (Weiss, Operads)
and also a symmetric closed monoidal category .
But I'm wondering more about in the ACT context of systems.
A related question: I wonder how much is known about sorts of structured category for which the amalgamation property holds.
I guess the higher-level question of when we can "amalgamate" different sorts of structure on a category is also relevant here. For example, if our and are each different sorts of structured category (say in the sense of KZ-monads), and their structures are "amalgamable", and also this amalgamated sort of structure (call it ) is such that -structured categories have some sort of amalgamation property, then there should be a -structured category into which both and embed.
So you could probably study this kind of thing with "system interoperability" as your motivation.
Chad Nester said:
A related question: I wonder how much is known about sorts of structured category for which the amalgamation property holds.
For mathematical structures that form 1-categories, the structure possesses the amalgamation property precisely when the 1-category of those structures has all pushouts (or at minimum all pushouts of monos) and those pushouts preserve monos. This is easy to see: if you have objects and embeds into and via having monos into them, all you need to do is just take the pushout. This "glues together" and along , and by our assumption of mono preservation, the projections of and into the pushout are monos. The pushout square is automatically commutative, and thus amalgamation is satisfied. Common cases of categories where this is true are adhesive categories.
So you'd just need to define a 2-categorical version of this property, and then check if your target 2-category of structured 1-categories satisfies it.
Saying "precisely when" is wrong. For example, the finite linear orders (forming the augmented simplex category) have amalgamation, but they don't have pushouts.
Agreed: pushouts provide a universal choice of amalgamation when they exist, but they needn't!
Fields are another classic example of this problem. You study the "compositum" of two subfields of a common extension in Galois theory, but this compositum can vary based on the common extension, and so is not a pushout.
You're right, my apologies, I only showed the connection in one direction. I probably should have said "when" instead of "precisely when". From a practical perspective, proving that pushouts exist and preserve monos for a category might in many cases be the simplest way to show the amalgamation property holds (since pushouts are universal constructions we can do good computations with), but if it doesn't work then whether amalgamation is satisfied remains inconclusive.
Not to get too far off the original topic, but I did think of another way to do a category-theoretic interpretation of amalgamation I think works better. Define of an object to be the subobject poset of monos out of the object , which is reverse to how things are normally done with the usual subobject poset of monos into (and not to be confused with the opposite of the usual subobject poset!). Then amalgamation appears to be precisely the property that for every in the category, this poset is directed (every pair of subobjects out of share an upper bound, which would be an amalgamation). That said while this is a more precise category theoretic interpretation, it's probably much harder to computationally/practically show than the pushout property.
Yes, that's a more refined formulation. Less convenient but quite important, as preservation of monos by pushout is an exceptionally special property.