-
Timing via Pinwheel Double Categories
Abstract: We discuss string diagrams for timed process theories -- represented by duoidally-graded symmetric strict monoidal categories -- built upon the string diagrams of pinwheel double categories.
Submitted 17 April, 2025; originally announced April 2025.
Comments: 10 pages, uses formulations from 'Monoidal Context Theory' (arXiv:2404.06192) and 'String Diagrams for Physical Duoidal Categories' (arXiv:2406.19816)
MSC Class: 18M50
-
Tape Diagrams for Monoidal Monads
Abstract: Tape diagrams provide a graphical representation for arrows of rig categories, namely categories equipped with two monoidal structures, $\oplus$ and $\otimes$, where $\otimes$ distributes over $\oplus$. However, their applicability is limited to categories where $\oplus$ is a biproduct, i.e., both a categorical product and a coproduct. In this work, we extend tape diagrams to deal with Kleisli cat… ▽ More
Submitted 28 March, 2025; originally announced March 2025.
Comments: Submission under review
-
Partial Markov Categories
Abstract: We introduce partial Markov categories as a synthetic framework for synthetic probabilistic inference, blending the work of Cho and Jacobs, Fritz, and Golubtsov on Markov categories with the work of Cockett and Lack on cartesian restriction categories. We describe observations, Bayes' theorem, normalisation, and both Pearl's and Jeffrey's updates in purely categorical terms.
Submitted 24 January, 2025; originally announced February 2025.
Comments: Extended version of "Evidential Decision Theory via Partial Markov Categories", arXiv:2301.12989
MSC Class: 18M30
-
Effectful Mealy Machines: Bisimulation and Trace
Abstract: We introduce effectful Mealy machines - a general notion of Mealy machine with global effects - and give them semantics in terms of both bisimilarity and traces. Bisimilarity of effectful Mealy machines is characterized syntactically, via free uniform feedback. Traces of effectful Mealy machines are given a novel semantic coinductive universe in terms of effectful streams. We prove that this frame… ▽ More
Submitted 27 January, 2025; v1 submitted 14 October, 2024; originally announced October 2024.
Comments: 29 pages, two-column
MSC Class: 18M35
-
arXiv:2301.12989 [pdf, ps, other]
Evidential Decision Theory via Partial Markov Categories
Abstract: We introduce partial Markov categories. In the same way that Markov categories encode stochastic processes, partial Markov categories encode stochastic processes with constraints, observations and updates. In particular, we prove a synthetic Bayes theorem and we apply it to define a syntactic partial theory of observations on any Markov category, whose normalisations can be computed in the origina… ▽ More
Submitted 17 April, 2025; v1 submitted 30 January, 2023; originally announced January 2023.
Comments: 22 pages. Presented at LiCS'23. This version repairs a problem with Proposition 5.2 without major changes; we thank Mark Szeles for pointing it out. This version substitutes 'probability of success' for 'probability of failure' in multiple places; we thank Paolo Perrone for noticing this typo
-
Coinductive Streams in Monoidal Categories
Abstract: We introduce monoidal streams. Monoidal streams are a generalization of causal stream functions, which can be defined in cartesian monoidal categories, to arbitrary symmetric monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric… ▽ More
Submitted 18 April, 2025; v1 submitted 29 December, 2022; originally announced December 2022.
Comments: Expanded version of Monoidal Streams for Dataflow Programming, arXiv:2202.02061. We thank the reviewers at LMCS for multiple suggestions that have improved this version. 55 pages, 35 figures
-
Monoidal Width
Abstract: We introduce monoidal width as a measure of complexity for morphisms in monoidal categories. Inspired by well-known structural width measures for graphs, like tree width and rank width, monoidal width is based on a notion of syntactic decomposition: a monoidal decomposition of a morphism is an expression in the language of monoidal categories, where operations are monoidal products and composition… ▽ More
Submitted 18 September, 2023; v1 submitted 26 December, 2022; originally announced December 2022.
Journal ref: Logical Methods in Computer Science, Volume 19, Issue 3 (September 4, 2023) lmcs:10552
-
Monoidal Width: Capturing Rank Width
Abstract: Monoidal width was recently introduced by the authors as a measure of the complexity of decomposing morphisms in monoidal categories. We have shown that in a monoidal category of cospans of graphs, monoidal width and its variants can be used to capture tree width, path width and branch width. In this paper we study monoidal width in a category of matrices, and in an extension to a different monoid… ▽ More
Submitted 31 July, 2023; v1 submitted 18 May, 2022; originally announced May 2022.
Comments: In Proceedings ACT 2022, arXiv:2307.15519
Journal ref: EPTCS 380, 2023, pp. 268-283
-
Monoidal Width: Unifying Tree Width, Path Width and Branch Width
Abstract: We introduce monoidal width as a measure of the difficulty of decomposing morphisms in monoidal categories. For graphs, we show that monoidal width and two variations capture existing notions, namely branch width, tree width and path width. We propose that monoidal width: (i) is a promising concept that, while capturing known measures, can similarly be instantiated in other settings, avoiding the… ▽ More
Submitted 17 May, 2022; v1 submitted 15 February, 2022; originally announced February 2022.
Comments: 28 pages
-
Monoidal Streams for Dataflow Programming
Abstract: We introduce monoidal streams: a generalization of causal stream functions to monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric monoidal category. At the same time, monoidal streams form a feedback monoidal category, which c… ▽ More
Submitted 4 February, 2022; originally announced February 2022.
Comments: Draft, 36 pages
MSC Class: 18M05
-
Dialectica Petri Nets
Abstract: The categorical modeling of Petri nets has received much attention recently. The Dialectica construction has also had its fair share of attention. We revisit the use of the Dialectica construction as a categorical model for Petri nets generalising the original application to suggest that Petri nets with different kinds of transitions can be modelled in the same categorical framework. Transitions r… ▽ More
Submitted 25 November, 2024; v1 submitted 26 May, 2021; originally announced May 2021.
Comments: Reorder sections
MSC Class: 03B70; 18M45; 19D23; 18D15; 18B10; 05C20; 05C76
-
Span(Graph): a Canonical Feedback Algebra of Open Transition Systems
Abstract: We show that Span(Graph)*, an algebra for open transition systems introduced by Katis, Sabadini and Walters, satisfies a universal property. By itself, this is a justification of the canonicity of this model of concurrency. However, the universal property is itself of interest, being a formal demonstration of the relationship between feedback and state. Indeed, feedback categories, also originally… ▽ More
Submitted 24 November, 2022; v1 submitted 20 October, 2020; originally announced October 2020.
Comments: 49 pages, 33 figures. Expanded discussion and conclusions. Discussion on Structured Feedback Categories. Other minor revisions for the journal version
MSC Class: 18M10
-
Compositional modelling of network games
Abstract: The analysis of games played on graph-like structures is of increasing importance due to the prevalence of social networks, both virtual and physical, in our daily life. As well as being relevant in computer science, mathematical analysis and computer simulations of such distributed games are vital methodologies in economics, politics and epidemiology, amongst other fields. Our contribution is to… ▽ More
Submitted 16 May, 2022; v1 submitted 5 June, 2020; originally announced June 2020.
Comments: Published in CSL'21