Notice
This is not the latest version of this item. The latest version can be found at:https://dspace.mit.edu/handle/1721.1/131096.2
Extensible Extraction of Efficient Imperative Programs with Foreign Functions, Manually Managed Memory, and Proofs
dc.contributor.author | Pit-Claudel, Clement Francois | |
dc.contributor.author | Wang, Peng | |
dc.contributor.author | Delaware, Benjamin | |
dc.contributor.author | Gross, Jason S. | |
dc.contributor.author | Chlipala, Adam | |
dc.date.accessioned | 2021-07-14T18:20:16Z | |
dc.date.available | 2021-07-14T18:20:16Z | |
dc.date.issued | 2020-06 | |
dc.identifier.issn | 0302-9743 | |
dc.identifier.issn | 1611-3349 | |
dc.identifier.uri | https://hdl.handle.net/1721.1/131096 | |
dc.description | Part of the Lecture Notes in Computer Science book series (LNCS, volume 12167). | en_US |
dc.description.abstract | We present an original approach to sound program extraction in a proof assistant, using syntax-driven automation to derive correct-by-construction imperative programs from nondeterministic functional source code. Our approach does not require committing to a single inflexible compilation strategy and instead makes it straightforward to create domain-specific code translators. In addition to a small set of core definitions, our framework is a large, user-extensible collection of compilation rules each phrased to handle specific language constructs, code patterns, or data manipulations. By mixing and matching these pieces of logic, users can easily tailor extraction to their own domains and programs, getting maximum performance and ensuring correctness of the resulting assembly code. Using this approach, we complete the first proof-generating pipeline that goes automatically from high-level specifications to assembly code. In our main case study, the original specifications are phrased to resemble SQL-style queries, while the final assembly code does manual memory management, calls out to foreign data structures and functions, and is suitable to deploy on resource-constrained platforms. The pipeline runs entirely within the Coq proof assistant, leading to final, linked assembly code with overall full-functional-correctness proofs in separation logic. | en_US |
dc.description.sponsorship | NSF (Grants CCF-1512611 and CCF-1521584) | en_US |
dc.description.sponsorship | DARPA (Contract FA8750-16-C-0007) | en_US |
dc.language.iso | en | |
dc.publisher | Springer International Publishing | en_US |
dc.relation.isversionof | http://dx.doi.org/10.1007/978-3-030-51054-1_7 | en_US |
dc.rights | Creative Commons Attribution-Noncommercial-Share Alike | en_US |
dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0/ | en_US |
dc.source | Prof. Chlipala via Phoebe Ayers | en_US |
dc.title | Extensible Extraction of Efficient Imperative Programs with Foreign Functions, Manually Managed Memory, and Proofs | en_US |
dc.type | Book | en_US |
dc.identifier.citation | Pit-Claudel, Clément et al. "Extensible Extraction of Efficient Imperative Programs with Foreign Functions, Manually Managed Memory, and Proofs." IJCAR: International Joint Conference on Automated Reasoning, 12167, Springer International Publishing, 2020, 119-137. © 2020 Springer Nature Switzerland | en_US |
dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | en_US |
dc.relation.journal | IJCAR: International Joint Conference on Automated Reasoning | en_US |
dc.eprint.version | Author's final manuscript | en_US |
dc.type.uri | http://purl.org/eprint/type/ConferencePaper | en_US |
eprint.status | http://purl.org/eprint/status/NonPeerReviewed | en_US |
dc.date.updated | 2021-07-12T18:08:56Z | |
dspace.orderedauthors | Pit-Claudel, C; Wang, P; Delaware, B; Gross, J; Chlipala, A | en_US |
dspace.date.submission | 2021-07-12T18:08:58Z | |
mit.license | OPEN_ACCESS_POLICY | |
mit.metadata.status | Authority Work and Publication Information Needed |