Modular Models of Monoids with Operations
Open Access
- 30 August 2023
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 7 (ICFP) , 566-603
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.Keywords
Funding Information
- Engineering and Physical Sciences Research Council (EP/S028129/1)
This publication has 57 references indexed in Scilit:
- On the construction of free algebras for equational systemsTheoretical Computer Science, 2009
- Parameterised notions of computationJournal of Functional Programming, 2009
- Categorical semantics for arrowsJournal of Functional Programming, 2009
- Data types à la carteJournal of Functional Programming, 2008
- Applicative programming with effectsJournal of Functional Programming, 2008
- Monadic augment and generalised short cut fusionJournal of Functional Programming, 2007
- Generalising monads to arrowsScience of Computer Programming, 2000
- Representable MulticategoriesAdvances in Mathematics, 2000
- Adjunctions whose counits are coequalizers, and presentations of finitary enriched monadsJournal of Pure and Applied Algebra, 1993
- Strong functors and monoidal monadsArchiv der Mathematik, 1972