Affiliation:
1. Imperial College London, UK
Abstract
Inspired by algebraic effects and the principle of notions of computations as monoids, we study a categorical framework for equational theories and models of monoids equipped with operations.
The framework covers not only algebraic operations but also scoped and variable-binding operations.
Appealingly, in this framework both theories and models can be modularly composed.
Technically, a general monoid-theory correspondence is shown, saying that the category of theories of algebraic operations is equivalent to the category of monoids.
Moreover, more complex forms of operations can be coreflected into algebraic operations, in a way that preserves initial algebras.
On models, we introduce modular models of a theory, which can interpret
abstract syntax in the presence of other operations.
We show constructions of modular models (i) from monoid transformers, (ii) from free algebras, (iii) by composition, and (iv) in symmetric monoidal categories.
Funder
Engineering and Physical Sciences Research Council
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference71 articles.
1. Free Algebras and Automata Realizations in the Language of Categories;Adámek Jiří;Commentationes Mathematicae Universitatis Carolinae,1974
2. Locally Presentable and Accessible Categories
3. Parameterised notions of computation
4. Hefty Algebras: Modular Elaboration of Higher-Order Algebraic Effects
5. Pietro Cenciarelli and Eugenio Moggi. 1993. A Syntactic Approach to Modularity in Denotational Semantics. In Proceedings of the Conference on Category Theory and Computer Science. https://doi.org/10.1.1.41.7807
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Making a Curry Interpreter using Effects and Handlers;Proceedings of the 17th ACM SIGPLAN International Haskell Symposium;2024-08-28
2. Algebraic Effects Meet Hoare Logic in Cubical Agda;Proceedings of the ACM on Programming Languages;2024-01-05
3. Scoped Effects as Parameterized Algebraic Theories;Lecture Notes in Computer Science;2024