Reduction monads and their signatures

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.

[1]  Dominic R. Verity,et al.  ∞-Categories for the Working Mathematician , 2018 .

[2]  Delia Kesner,et al.  A Theory of Explicit Substitutions with Safe and Full Composition , 2009, Log. Methods Comput. Sci..

[3]  Gordon D. Plotkin,et al.  A structural approach to operational semantics , 2004, J. Log. Algebraic Methods Program..

[4]  Tom Hirschowitz,et al.  Cartesian closed 2-categories and permutation equivalence in higher-order rewriting , 2013, Log. Methods Comput. Sci..

[5]  Bartek Klin,et al.  Bialgebras for structural operational semantics: An introduction , 2011, Theor. Comput. Sci..

[6]  Albert R. Meyer,et al.  Bisimulation can't be traced , 1988, POPL '88.

[7]  Tom Hirschowitz,et al.  Modules over Monads and Operational Semantics , 2020, FSCD.

[8]  Benedikt Ahrens Modules over relative monads for syntax and semantics , 2016, Math. Struct. Comput. Sci..

[9]  Thorsten Altenkirch,et al.  Monadic Presentations of Lambda Terms Using Generalized Inductive Types , 1999, CSL.

[10]  Marcelo P. Fiore,et al.  Second-Order Algebraic Theories - (Extended Abstract) , 2010, MFCS.

[11]  Thorsten Altenkirch,et al.  Monads need not be endofunctors , 2010, Log. Methods Comput. Sci..

[12]  Sam Staton,et al.  General Structural Operational Semantics through Categorical Logic , 2008, 2008 23rd Annual IEEE Symposium on Logic in Computer Science.

[13]  Peter Selinger,et al.  Lecture notes on the lambda calculus , 2008, ArXiv.

[14]  Bart Jacobs,et al.  Categorical Logic and Type Theory , 2001, Studies in logic and the foundations of mathematics.

[15]  Gordon D. Plotkin,et al.  Towards a mathematical operational semantics , 1997, Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science.

[16]  Chung-Kil Hur,et al.  Equational Systems and Free Constructions (Extended Abstract) , 2007, ICALP.

[17]  Makoto Hamana,et al.  Term rewriting with variable binding: an initial algebra approach , 2003, PPDP '03.

[18]  André Hirschowitz,et al.  High-level signatures and initial semantics , 2018, CSL.

[19]  Tom Hirschowitz Familial monads and structural operational semantics , 2019, Proc. ACM Program. Lang..

[20]  André Hirschowitz,et al.  Modules over monads and initial semantics , 2010, Inf. Comput..

[21]  Sally Popkorn,et al.  A Handbook of Categorical Algebra , 2009 .

[22]  Gordon D. Plotkin,et al.  Abstract syntax and variable binding , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).

[23]  Ambroise Lafont Signatures and models for syntax and operational semantics in the presence of variable binding , 2019, ArXiv.

[24]  Daniele Turi,et al.  Semantics of name and value passing , 2001, Proceedings 16th Annual IEEE Symposium on Logic in Computer Science.

[25]  Christoph Lüth,et al.  Monads and Modular Term Rewriting , 1997, Category Theory and Computer Science.

[26]  S. Lane Categories for the Working Mathematician , 1971 .

[27]  Enno Ohlebusch,et al.  Term Rewriting Systems , 2002 .

[28]  Sam Staton,et al.  A Congruence Rule Format for Name-Passing Process Calculi from Mathematical Structural Operational Semantics , 2006, 21st Annual IEEE Symposium on Logic in Computer Science (LICS'06).

[29]  Chung-Kil Hur,et al.  Equational systems and free constructions , 2007 .

[30]  André Hirschowitz,et al.  Modular specification of monads through higher-order presentations , 2019, FSCD.

[31]  Jiří Adámek,et al.  Free algebras and automata realizations in the language of categories , 1974 .