Modules over relative monads for syntax and semantics

From MaRDI portal
Publication:5741555

DOI10.1017/S0960129514000103zbMATH Open1361.68034arXiv1107.5252MaRDI QIDQ5741555FDOQ5741555


Authors: Benedikt Ahrens Edit this on Wikidata


Publication date: 28 July 2016

Published in: Mathematical Structures in Computer Science (Search for Journal in Brave)

Abstract: We give an algebraic characterization of the syntax and semantics of a class of languages with variable binding. We introduce a notion of 2-signature: such a signature specifies not only the terms of a language, but also reduction rules on those terms. To any 2-signature S we associate a category of "models" of S. This category has an initial object, which integrates the terms freely generated by S, and which is equipped with reductions according to the inequations given in S. We call this initial object the language generated by S. Models of a 2--signature are built from relative monads and modules over such monads. Through the use of monads, the models---and in particular, the initial model---come equipped with a substitution operation that is compatible with reduction in a suitable sense. The initiality theorem is formalized in the proof assistant Coq, yielding a machinery which, when fed with a 2-signature, provides the associated programming language with reduction relation and certified substitution.


Full work available at URL: https://arxiv.org/abs/1107.5252




Recommendations



Cites Work


Cited In (15)

Uses Software





This page was built for publication: Modules over relative monads for syntax and semantics

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5741555)