Proof-Producing Synthesis of CakeML from Monadic HOL Functions

Lecture Notes in Artificial Intelligence(2020)

引用 8|浏览123
暂无评分
摘要
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.
更多
查看译文
关键词
Interactive theorem proving,Program synthesis,ML,Higher-order logic
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要