High-level signatures and initial semantics

05/09/2018
by   Benedikt Ahrens, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/21/2019

Signatures and models for syntax and operational semantics in the presence of variable binding

This thesis deals with the specification and construction of syntax and ...
research
12/08/2020

Generalized iterated-sums signatures

We explore the algebraic properties of a generalized version of the iter...
research
12/13/2021

Implementing a Category-Theoretic Framework for Typed Abstract Syntax

In previous work ("From signatures to monads in UniMath"), we described ...
research
06/29/2022

Signature Methods in Machine Learning

Signature-based techniques give mathematical insight into the interactio...
research
07/24/2021

Case Studies in Formal Reasoning About Lambda-Calculus: Semantics, Church-Rosser, Standardization and HOAS

We have previously published the Isabelle/HOL formalization of a general...
research
10/21/2019

Signatures et modèles pour la syntaxe et la sémantique opérationnelle en présence de liaison de variables

This thesis deals with the specification and construction of syntax and ...
research
03/03/2019

Modular specification of monads through higher-order presentations

In their work on second-order equational logic, Fiore and Hur have studi...

Please sign up or login with your details

Forgot password? Click here to reset