A unified treatment of structural definitions on syntax for capture-avoiding substitution, context application, named substitution, partial differentiation, and so on - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 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

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Identifiants

Citer

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⟩
236 Consultations
191 Téléchargements

Altmetric

Partager

More