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

07/24/2021
by   Lorenzo Gheri, et al.
0

We have previously published the Isabelle/HOL formalization of a general theory of syntax with bindings. In this companion paper, we instantiate the general theory to the syntax of lambda-calculus and formalize the development leading to several fundamental constructions and results: sound semantic interpretation, the Church-Rosser and standardization theorems, and higher-order abstract syntax (HOAS) encoding. For Church-Rosser and standardization, our work covers both the call-by-name and call-by-value versions of the calculus, following classic papers by Takahashi and Plotkin. During the formalization, we were able to stay focused on the high-level ideas of the development – thanks to the arsenal provided by our general theory: a wealth of basic facts about the substitution, swapping and freshness operators, as well as recursive-definition and reasoning principles, including a specialization to semantic interpretation of syntax.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/11/2023

E-unification for Second-Order Abstract Syntax

Higher-order unification (HOU) concerns unification of (extensions of) λ...
research
09/28/2022

Towards a Verified Prover for a Ground Fragment of Set Theory

Using Isabelle/HOL, we verify the state-of-the-art decision procedure fo...
research
05/09/2018

High-level signatures and initial semantics

We present a device for specifying and reasoning about syntax for dataty...
research
03/02/2022

Characteristics of de Bruijn's early proof checker Automath

The `mathematical language' Automath, conceived by N.G. de Bruijn in 196...
research
05/02/2023

Allegories of Symbolic Manipulations

Moving from the mathematical theory of (abstract) syntax, we develop a g...
research
04/28/2021

A Mechanised Proof of Gödel's Incompleteness Theorems using Nominal Isabelle

An Isabelle/HOL formalisation of Gödel's two incompleteness theorems is ...
research
04/08/2020

Putting a Spin on Language: A Quantum Interpretation of Unary Connectives for Linguistic Applications

Extended versions of the Lambek Calculus currently used in computational...

Please sign up or login with your details

Forgot password? Click here to reset