A certified type-preserving compiler from lambda calculus to assembly language
In: ACM SIGPLAN Notices, Jg. 42 (2007-06-10), S. 54-65
Online
unknown
Zugriff:
We present a certified compiler from the simply-typed lambda calculus to assembly language. The compiler is certified in the sense that it comes with a machine-checked proof of semantics preservation, performed with the Coq proof assistant. The compiler and the terms of its several intermediate languages are given dependent types that guarantee that only well-typed programs are representable. Thus, type preservation for each compiler pass follows without any significant "proofs" of the usual kind. Semantics preservation is proved based on denotational semantics assigned to the intermediate languages. We demonstrate how working with a type-preserving compiler enables type-directed proof search to discharge large parts of our proof obligations automatically.
Titel: |
A certified type-preserving compiler from lambda calculus to assembly language
|
---|---|
Autor/in / Beteiligte Person: | ChlipalaAdam |
Link: | |
Zeitschrift: | ACM SIGPLAN Notices, Jg. 42 (2007-06-10), S. 54-65 |
Veröffentlichung: | Association for Computing Machinery (ACM), 2007 |
Medientyp: | unknown |
ISSN: | 1558-1160 (print) ; 0362-1340 (print) |
DOI: | 10.1145/1273442.1250742 |
Schlagwort: |
|
Sonstiges: |
|