Organizing Physics with Open Energy-Driven Systems
Open Access
- 25 September 2025
- journal article
- Published by Open Publishing Association in Electronic Proceedings in Theoretical Computer Science
- Vol. 429, 287-301
Abstract
Organizing physics has been a long-standing preoccupation of applied category theory, going back at least to Lawvere. We contribute to this research thread by noticing that Hamiltonian mechanics and gradient descent depend crucially on a consistent choice of transformation-which we call a reaction structure-from the cotangent bundle to the tangent bundle. We then construct a compositional theory of reaction structures. Reaction-based systems offer a different perspective on composition in physics than port-Hamiltonian systems or open classical mechanics, in that reaction-based composition does not create any new constraints that must be solved for algebraically. The technical contributions of this paper are the development of symmetric monoidal categories of open energy-driven systems and open differential equations, and a functor between them, functioning as a "functorial semantics" for reaction structures. This approach echoes what has previously been done for open games and open gradient-based learners, and in fact subsumes the latter. We then illustrate our theory by constructing an n-fold pendulum as a composite of n-many pendula.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- Operadic Modeling of Dynamical Systems: Mathematics and ComputationElectronic Proceedings in Theoretical Computer Science, 2022
- Categorical Foundations of Gradient-Based Learning2022
- Lectures on Poisson Geometry2021
- Open systems in classical mechanicsJournal of Mathematical Physics, 2021
- Backprop as Functor: A compositional perspective on supervised learning2019
- Monoidal indeterminates and categories of possible worldsTheoretical Computer Science, 2012
- Natural Operations in Differential Geometry1993
- Two-dimensional monad theoryJournal of Pure and Applied Algebra, 1989
- Mathematical Methods of Classical Mechanics1989
- Groupes differentiels1980