High-level signatures and initial semantics - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2018

High-level signatures and initial semantics


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.

Dates and versions

hal-01930058 , version 1 (21-11-2018)



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⟩
133 View
0 Download



Gmail Facebook X LinkedIn More