Modules over relative monads for syntax and semantics
From MaRDI portal
Publication:5741555
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 we associate a category of "models" of . This category has an initial object, which integrates the terms freely generated by , and which is equipped with reductions according to the inequations given in . We call this initial object the language generated by . 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.
Recommendations
- Modules over monads and initial semantics
- Modules over monads and operational semantics (expanded version)
- scientific article; zbMATH DE number 1086712
- Modules over Monads and Linearity
- scientific article; zbMATH DE number 2086588
- Modular specification of monads through higher-order presentations
- Relative monads formalised
- Monads, partial evaluations, and rewriting
- Modules over monads and their algebras
Cites work
Cited in
(15)- scientific article; zbMATH DE number 7559272 (Why is no real title available?)
- Extended initiality for typed abstract syntax
- From signatures to monads in \textsf{UniMath}
- Initial semantics for reduction rules
- Modules over Monads and Linearity
- Initial semantics for strengthened signatures
- High-level signatures and initial semantics
- Initiality for typed syntax and semantics
- scientific article; zbMATH DE number 7577567 (Why is no real title available?)
- C-system of a module over a \(Jf\)-relative monad
- Modules over monads and initial semantics
- Distributive laws for relative monads
- The formal theory of relative monads
- scientific article; zbMATH DE number 7379288 (Why is no real title available?)
- Initiality for typed syntax and semantics
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)