Back to search

University of Strathclyde

Syntaxes with binding, their programs, and proofs

Abstract

dc:description.abstract

Almost every programming language’s syntax includes a notion of binder and corresponding bound occurrences, along with the accompanying notions of ?-equivalence, capture-avoiding substitution, typing contexts, runtime environments, and so on.In the past, implementing and reasoning about programming languages required careful handling to maintain the correct behaviour of bound variables. Modern programming languages include features that enable constraints like scope safety to be expressed in types. Nevertheless, the programmer is still forced to write the same boilerplate over again for each new implementation of a scope safe operation (e.g., renaming, substitution, desugaring, printing, etc.), and then again for correctness proofs.In a case study focusing on the simply typed lambda calculus, we analyse these well scoped traversals and observe that they all share the same structure. This enables us to formulate them as instances of a more general program whose properties can be established generically. Alas, the programmer is still forced to duplicate this effort for every new language they implement.This leads us to defining an expressive universe of syntaxes with binding and to demonstrate how to implement scope safe traversals once and for all by generic programming and how to derive properties of these traversals by generic proving. Our universe description, generic traversals and proofs, and our examples have all been formalised in Agda.

Degree

thesis:*
Name dc:type.qualificationname
phd
Level dc:type.qualificationlevel
doctoral-pg
Grantor dc:publisher.institution
University of Strathclyde
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Allais, Guillaume Xavier
Advisor dc:contributor.advisor
  • McBride, Conor
Author Identifier dc:creator.authoridentifier
  • 201151564

Rights

Identifiers

dc:identifier.*
Identifier
T16605

Chain of custody

source
Harvested from
University of Strathclyde
Base URL
stax.strath.ac.uk/catalog/oai
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Allais, Guillaume Xavier. Syntaxes with binding, their programs, and proofs. doctoral-pg thesis, University of Strathclyde, 2022. https://stax.strath.ac.uk/concern/theses/dr26xx847