A unified treatment of structural definitions on syntax for capture-avoiding substitution, context application, named substitution, partial differentiation, and so on - Archive ouverte HAL
Preprints, Working Papers, ... Year : 2022

A unified treatment of structural definitions on syntax for capture-avoiding substitution, context application, named substitution, partial differentiation, and so on

Tom Hirschowitz
Ambroise Lafont

Abstract

We introduce a category-theoretic abstraction of a syntax with auxiliary functions, called an admissible monad morphism. Relying on an abstract form of structural recursion, we then design generic tools to construct admissible monad morphisms from basic data. These tools automate ubiquitous standard patterns like (1) defining auxiliary functions in successive, potentially dependent layers, and (2) proving properties of auxiliary functions by induction on syntax. We cover significant examples from the literature, including the standard lambda-calculus with capture-avoiding substitution, a lambda-calculus with binding evaluation contexts, the lambda-mu-calculus with named substitution, and the differential lambda-calculus.
Fichier principal
Vignette du fichier
conf.pdf (927.17 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03633933 , version 1 (07-04-2022)

Identifiers

Cite

Tom Hirschowitz, Ambroise Lafont. A unified treatment of structural definitions on syntax for capture-avoiding substitution, context application, named substitution, partial differentiation, and so on. 2022. ⟨hal-03633933⟩
224 View
183 Download

Altmetric

Share

More