A Higher-Order Abstract Syntax Approach to the Verified Compilation of Functional Programs
Yuting Wang

TL;DR
This paper presents a method for simplifying the implementation and verification of functional language compilers by using Higher-Order Abstract Syntax (HOAS), demonstrated through a verified compiler in lambda Prolog and Abella.
Contribution
It introduces a HOAS-based framework for verified compilation, combining rule-based specifications with proof systems to simplify handling of binding structures.
Findings
HOAS simplifies compiler implementation and verification.
The approach reduces complexity in reasoning about binding structures.
Verified compiler transformations demonstrate the effectiveness of HOAS.
Abstract
We argue that the implementation and verification of compilers for functional programming languages are greatly simplified by employing a higher-order representation of syntax known as Higher-Order Abstract Syntax or HOAS. The underlying idea of HOAS is to use a meta-language that provides a built-in and logical treatment of binding related notions. By embedding the meta-language within a larger programming or reasoning framework, it is possible to absorb the treatment of binding structure in the object language into the meta-theory of the system, thereby greatly simplifying the overall implementation and reasoning processes. We develop the above argument in this thesis by presenting and demonstrating the effectiveness of an approach to the verified implementation of compiler transformations for functional programs that exploits HOAS. In this approach, transformations on functional…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · Logic, Reasoning, and Knowledge
