An exploration of the thesis that Sweedler theory is well-suited to provide a framework for categorical systems theory. The target is a compositional theory of heterogeneous systems in which operational interfaces, stateful implementation, physical/probabilistic/resource effects, behaviour and certification are different faces of the same Sweedler structure.
The mathematical theory of stateful runners and relative Sweedler homs was developed in the semantics of computational effects, while polynomial and lens-based approaches have independently provided powerful categorical descriptions of dynamical systems. We propose bringing these developments together by treating the execution of one operational theory within another as a fundamental morphism of systems. The resulting framework aims to combine algebraic specifications, stateful realisations, behavioural semantics and compositional verification, across a range of ambient mathematical settings. It is intended to be used in the analysis, certification and design of systems.
A collection of draft documents. It has grown out of LLM chats, and has been influenced by discussions with David Spivak and Maximilien Péroux in the Sweedler setting, and with David Jaz Myers and Matteo Capucci’s work in categorical systems theory.
It is in an early stage of development and likely to be modified. Its content varies from firmly established material to highly speculative ideas. Please send along any comments and corrections you have.
For an alternative to the framing, see below.
A worked example for a hybrid system:
A worked analysis of a programming system:
Last revised on November 19, 2026 at 15:48:32. See the history of this page for a list of all contributions to it.