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 question has to do with defining a notion of an "Algebra of Open Systems", similar to how we have Group theory for symmetries.
Informally, a system should have a set (usually finite?) of interfaces, and we should be able to compose systems in parallel and sequentially. One paper which seems to do this is: https://www.sciencedirect.com/science/article/pii/S0304397518304092. An overview of their system algebra is, informally, as follows:
We have:
Moreover, they need to satisfy some axioms (given in the paper). (PS: IMO, these are the main ideas. In order to define these, you need other auxillary functions. For example, you need a function mapping a system to its set of interfaces).
However, CT already seems to give us a notion of an algebraic theory of systems - Symmetric Monoidal Categories.
What I am curious about is - what extra structure to we need to impose on SMCs to make them 'almost equivalent' to the ideas in the paper? For instance,
I haven't read the paper, so take this reply with a grain of salt :sweat_smile:
1) First, I would usually prefer to say that SMCs are theory of processes, rather than of systems, because they are inherently directed. For some extensions to get around this you could look at [[compact closed category]], [[dagger-compact category]] and [[hypergraph category]].
2) These will often be categories of [[span]] or [[relation]] (sic, plurals break links), in which case we usually think of a morphism as some kind of joint constraint over inputs and outputs. In particular, this doesn't directly address the bi-directionality of sequential interfaces, though it doesn't forbid it either.
3) There is by now a fairly large literature on CT for bidirectional processes. Some relevant topics here are [[lens (in computer science) ]], [[optic (in computer science)]] and [[polynomial functor]]. Very roughly,
4) From an SMC perspective, it is strange that parallel composition is a partial operation. Do the authors provide intuitions about when this is expected to fail? One possible example that comes to mind is systems located in space(time), where we might not be able to parallel-compose two different systems located at the same place.
Spencer Breiner said:
From an SMC perspective, it is strange that parallel composition is a partial operation. Do the authors provide intuitions about when this is expected to fail?
I think that parallel composition is only defined if the interfaces of the two systems are disjoint
That makes sense. This is already enforced by , since .
I.e., the inputs/outputs of and are automatically disjoint.
What I think I'd really want is a CT variant of that paper - where we could model distributed systems, etc. I don't know if lenses, etc. do that
One other topic that I intended to mention is [[duoidal category]]. There are a couple of recent papers by Earnshaw, et al and Shapiro & Spivak in this direction.
Suraaj K S said:
What I think I'd really want is a CT variant of that paper - where we could model distributed systems, etc. I don't know if lenses, etc. do that
The basic idea is that a [[Moore machine]] with state set , inputs and outputs can be viewed as a lens mapping . You can think of these as stream transducers, which can compose via wiring diagrams to form "larger" transducers.
I'm not sure if that will meet your needs or not. Do you have a toy example to play with?
Some other good (if lengthy) places to look are the books by Niu & Spivak or Myers.
@_**Spencer Breiner|278008** [said]
I'm not sure if that will meet your needs or not. Do you have a toy example to play with?
I think https://en.wikipedia.org/wiki/Kahn_process_networks
(which are also mentioned in the paper) are a good toy example
Kahn Networks are a little limited though. There are systems which cannot be modeled as KPNs..
For instance, a system with 2 input interfaces, and one output interface, which "merges" messages (whichever come first in time) cannot be modelled via a Kahn Network
I think that the philosophy given by David Jaz's book on systems theory might fit the bill here: http://davidjaz.com/Papers/DynamicalBook.pdf.