Organizing Physics with Open Energy-Driven Systems
Authors
Matteo Capucci, Owen Lynch, David I. Spivak
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.
Citation
- Journal: Electronic Proceedings in Theoretical Computer Science
- Year: 2025
- Volume: 429
- Issue:
- Pages: 287–301
- Publisher: Open Publishing Association
- DOI: 10.4204/eptcs.429.16
BibTeX
@article{Capucci_2025,
title={{Organizing Physics with Open Energy-Driven Systems}},
volume={429},
ISSN={2075-2180},
DOI={10.4204/eptcs.429.16},
journal={Electronic Proceedings in Theoretical Computer Science},
publisher={Open Publishing Association},
author={Capucci, Matteo and Lynch, Owen and Spivak, David I.},
year={2025},
pages={287--301}
}References
- Arnold VI (1989) Mathematical Methods of Classical Mechanics. Springer New Yor – 10.1007/978-1-4757-2063-1
- Blackwell R, Kelly GM, Power AJ (1989) Two-dimensional monad theory. Journal of Pure and Applied Algebra 59(1):1–41. https://doi.org/10.1016/0022-4049(89)90160- – 10.1016/0022-4049(89)90160-6
- Baez JC, Weisbart D, Yassine AM (2021) Open systems in classical mechanics. Journal of Mathematical Physics 62(4). https://doi.org/10.1063/5.002988 – 10.1063/5.0029885
- Capucci M (2023) Diegetic Representation of Feedback in Open Games. Electron Proc Theor Comput Sci 380:145–158. https://doi.org/10.4204/eptcs.380. – 10.4204/eptcs.380.9
- Crainic M, Fernandes R, Mărcuţ I (2021) Lectures on Poisson Geometry. Graduate Studies in Mathematic – 10.1090/gsm/217
- Cruttwell GSH, Gavranović B, Ghani N, Wilson P, Zanasi F (2022) Categorical Foundations of Gradient-Based Learning. Lecture Notes in Computer Science 1–2 – 10.1007/978-3-030-99336-8_1
- Capucci M, Gavranović B, Hedges J, Rischel EF (2022) Towards Foundations of Categorical Cybernetics. Electron Proc Theor Comput Sci 372:235–248. https://doi.org/10.4204/eptcs.372.1 – 10.4204/eptcs.372.17
- Fong B, Spivak D, Tuyeras R (2019) Backprop as Functor: A compositional perspective on supervised learning. 2019 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS) 1–1 – 10.1109/lics.2019.8785665
- Hermida C, Tennent RD (2012) Monoidal indeterminates and categories of possible worlds. Theoretical Computer Science 430:3–22. https://doi.org/10.1016/j.tcs.2012.01.00 – 10.1016/j.tcs.2012.01.001
- Kolář I, Slovák J, Michor PW (1993) Natural Operations in Differential Geometry. Springer Berlin Heidelber – 10.1007/978-3-662-02950-3
- Lawvere, Toward the description in a smooth topos of the dynamically possible motions and deformations of a continuous body. Cahiers de topologie et géométrie différentielle (1980)
- Libkind S, Baas A, Patterson E, Fairbanks J (2022) Operadic Modeling of Dynamical Systems: Mathematics and Computation. Electron Proc Theor Comput Sci 372:192–206. https://doi.org/10.4204/eptcs.372.1 – 10.4204/eptcs.372.14
- Lynch, Relational Composition of Physical Systems: A Categorical Approach (2022)
- Moeller J, Vasilakopoulou C (2020) Monoidal Grothendieck Construction. TAC 35:1159–1207. https://doi.org/10.70930/tac/4tsjzc1 – 10.70930/tac/4tsjzc1o
- Myers, Categorical Systems Theory (2023)
- Souriau JM (1980) Groupes differentiels. Lecture Notes in Mathematics 91–12 – 10.1007/bfb0089728
- Spivak DI (2022) Learners’ Languages. Electron Proc Theor Comput Sci 372:14–28. https://doi.org/10.4204/eptcs.372. – 10.4204/eptcs.372.2
- Shapiro BT, Spivak DI (2023) Dynamic Operads, Dynamic Categories: From Deep Learning to Prediction Markets. Electron Proc Theor Comput Sci 380:183–202. https://doi.org/10.4204/eptcs.380.1 – 10.4204/eptcs.380.11