Reduction monads and their signatures
Open Access
- 20 December 2019
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 4 (POPL) , 1-29
Abstract
In this work, we study reduction monads , which are essentially the same as monads relative to the free functor from sets into multigraphs. Reduction monads account for two aspects of the lambda calculus: on the one hand, in the monadic viewpoint, the lambda calculus is an object equipped with a well-behaved substitution; on the other hand, in the graphical viewpoint, it is an oriented multigraph whose vertices are terms and whose edges witness the reductions between two terms. We study presentations of reduction monads. To this end, we propose a notion of reduction signature . As usual, such a signature plays the role of a virtual presentation, and specifies arities for generating operations—possibly subject to equations—together with arities for generating reduction rules. For each such signature, we define a category of models; any model is, in particular, a reduction monad. If the initial object of this category of models exists, we call it the reduction monad presented (or specified) by the given reduction signature . Our main result identifies a class of reduction signatures which specify a reduction monad in the above sense. We show in the examples that our approach covers several standard variants of the lambda calculus.Keywords
All Related Versions
Funding Information
- GNSAGA-INDAM
- European Research Council (637339)
- Ministero dellðIstruzione, dellðUniversità e della Ricerca
- Centre for Advanced Study, Oslo (Homotopy Type Theory and Univalent Foundations)
This publication has 20 references indexed in Scilit:
- Modules over relative monads for syntax and semanticsMathematical Structures in Computer Science, 2014
- Cartesian closed 2-categories and permutation equivalence in higher-order rewritingLogical Methods in Computer Science, 2013
- Bialgebras for structural operational semantics: An introductionTheoretical Computer Science, 2011
- Modules over monads and initial semanticsInformation and Computation, 2010
- Second-Order Algebraic Theories2010
- A Theory of Explicit Substitutions with Safe and Full CompositionLogical Methods in Computer Science, 2009
- Equational Systems and Free Constructions (Extended Abstract)Lecture Notes in Computer Science, 2007
- A structural approach to operational semanticsThe Journal of Logic and Algebraic Programming, 2004
- Monadic Presentations of Lambda Terms Using Generalized Inductive Types1999
- Monads and modular term rewritingLecture Notes in Computer Science, 1997