Formal Small-Step Verification of a Call-by-Value Lambda Calculus Machine
Abstract
We formally verify an abstract machine for a call-by-value lambda-calculus with de Bruijn terms, simple substitution, and small-step semantics. We follow a stepwise refinement approach starting with a naive stack machine with substitution. We then refine to a machine with closures, and finally to a machine with a heap providing structure sharing for closures. We prove the correctness of the three refinement steps with compositional small-step bottom-up simulations. There is an accompanying Coq development verifying all results.
BibTeX
@inproceedings{Kunze-al:APLAS18,
author = {Fabian Kunze and
Gert Smolka and
Yannick Forster},
title = {Formal {Small-Step} Verification of a {Call-by-Value} Lambda Calculus Machine},
booktitle = {APLAS},
pages = {264--283},
series = {LNCS},
volume = {11275},
publisher = {Springer},
year = {2018},
doi = {10.1007/978-3-030-02768-1\_15},
}