# High-level signatures and initial semantics

3 GALLINETTE - Gallinette : vers une nouvelle génération d'assistant à la preuve
Inria Rennes – Bretagne Atlantique , LS2N - Laboratoire des Sciences du Numérique de Nantes
Abstract : We present a device for specifying and reasoning about syntax for datatypes, programming languages, and logic calculi. More precisely, we consider a general notion of signature' for specifying syntactic constructions. Our signatures subsume classical algebraic signatures (i.e., signatures for languages with variable binding, such as the pure lambda calculus) and extend to much more general examples. In the spirit of Initial Semantics, we define the syntax generated by a signature' to be the initial object---if it exists---in a suitable category of models. Our notions of signature and syntax are suited for compositionality and provide, beyond the desired algebra of terms, a well-behaved substitution and the associated inductive/recursive principles. Our signatures are `general' in the sense that the existence of syntax is not automatically guaranteed. In this work, we identify a large class of signatures wich do generate a syntax. This paper builds upon ideas from a previous attempt by Hirschowitz-Maggesi (FICS 2012), which, in turn, was directly inspired by some earlier work of Ghani-Uustalu and Matthes-Uustalu. The main results presented in the paper are computer-checked within the UniMath system.
Document type :
Conference papers
Domain :

https://hal.inria.fr/hal-01930058
Contributor : Ambroise Lafont <>
Submitted on : Wednesday, November 21, 2018 - 3:30:49 PM
Last modification on : Monday, October 12, 2020 - 2:28:06 PM

### Citation

Benedikt Ahrens, André Hirschowitz, Ambroise Lafont, Marco Maggesi. High-level signatures and initial semantics. 27th EACSL Annual Conference on Computer Science Logic (CSL 2018), Sep 2018, Birmingham, United Kingdom. pp.1-20, ⟨10.4230/LIPIcs.CSL.2018.4⟩. ⟨hal-01930058⟩

Record views