Proof-Producing Synthesis of CakeML from Monadic HOL Functions

Gespeichert in:
Bibliographische Detailangaben
Titel: Proof-Producing Synthesis of CakeML from Monadic HOL Functions
Autoren: Abrahamsson, Oskar, 1986, Ho, Son, Kanabar, Hrutvik, Kumar, Ramana, Myreen, Magnus, 1983, Norrish, Michael, Tan, Yong Kiam
Quelle: Journal of Automated Reasoning. 64(7):1287-1306
Schlagwörter: ML, Interactive theorem proving, Program synthesis, Higher-order logic
Beschreibung: We introduce an automatic method for producing stateful ML programs together with proofs of correctness from monadic functions in HOL. Our mechanism supports references, exceptions, and I/O operations, and can generate functions manipulating local state, which can then be encapsulated for use in a pure context. We apply this approach to several non-trivial examples, including the instruction encoder and register allocator of the otherwise pure CakeML compiler, which now benefits from better runtime performance. This development has been carried out in the HOL4 theorem prover.
Dateibeschreibung: electronic
Zugangs-URL: https://research.chalmers.se/publication/517619
https://research.chalmers.se/publication/518990
https://research.chalmers.se/publication/518990/file/518990_Fulltext.pdf
Datenbank: SwePub