Cultural advice

The Australian National University acknowledges, celebrates and pays our respects to the Ngunnawal and Ngambri people of the Canberra region and to all First Nations Australians on whose traditional lands we meet and work, and whose cultures are among the oldest continuing cultures in human history.

Aboriginal and Torres Strait Islander peoples are advised that ANU Library collections may include images, names, voices, and other representations of deceased persons.

Material in the collection may contain terms, language or views that reflect the period in which the item was created and may be considered inappropriate today.

Proof-Producing Synthesis of CakeML from Monadic HOL Functions

Loading...
Thumbnail Image

Date

Authors

Abrahamsson, Oskar
Ho, Son
Kanabar, Hrutvik
Kumar, Ramana
Myreen, Magnus
Norrish, Michael
Tan, Yong Kiam

Journal Title

Journal ISSN

Volume Title

Publisher

Kluwer Academic Publishers

Abstract

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

Description

Citation

Source

Journal of Automated Reasoning

Book Title

Entity type

Access Statement

Open Access

License Rights

Creative Commons Attribution licence

Restricted until

Downloads