,
Beniamino Accattoli
,
Maxime Vemclefs
Creative Commons Attribution 4.0 International license
Barendregt’s book on the untyped λ-calculus refines the inconsistent view of β-divergence as representation of the undefined via the key concept of head reduction. In this paper, we put together recent revisitations of some key theorems laid out in Barendregt’s book, and we formalize them in the Abella proof assistant. Our work provides a compact and refreshed presentation of the core of the book. The formalization faithfully mimics pen-and-paper proofs. Two interesting aspects are the manipulation of contexts for the study of contextual equivalence and a formal alternative to the informal trick at work in Takahashi’s proof of the genericity lemma. As a by-product, we obtain an alternative definition of contextual equivalence that does not mention contexts.
@InProceedings{lancelot_et_al:LIPIcs.ITP.2025.13,
author = {Lancelot, Adrienne and Accattoli, Beniamino and Vemclefs, Maxime},
title = {{Barendregt’s Theory of the \lambda-Calculus, Refreshed and Formalized}},
booktitle = {16th International Conference on Interactive Theorem Proving (ITP 2025)},
pages = {13:1--13:22},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-396-6},
ISSN = {1868-8969},
year = {2025},
volume = {352},
editor = {Forster, Yannick and Keller, Chantal},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ITP.2025.13},
URN = {urn:nbn:de:0030-drops-246114},
doi = {10.4230/LIPIcs.ITP.2025.13},
annote = {Keywords: lambda-calculus, head reduction, equational theory}
}
archived version
archived version