Fast, Verified Computation for HOL ITPs
Open Access
- 18 February 2025
- journal article
- research article
- Published by Springer Nature in Journal of Automated Reasoning
- Vol. 69 (1) , 1-40
Abstract
We add an efficient function for computation to the kernels of higher-order logic interactive theorem provers. First, we develop and prove sound our approach for Candle. Candle is a port of HOL Light which has been proved sound with respect to the inference rules of its higher-order logic; we extend its implementation and soundness proof. Second, we replicate our now-verified implementation for HOL4 with only minor changes, and build additional automation for ease of use. The automation exists outside of the HOL4 kernel, and requires no additional trust. We exercise our new computation function and associated automation on the evaluation of the CakeML compiler backend within HOL4’s logic, demonstrating an order of magnitude speedup. This is an extended version of our previous conference paper [2], which described implementation and soundness proofs for Candle. Our HOL4 implementation and automation are new, as are the CakeML benchmarks.Keywords
Funding Information
- University of Gothenburg
This publication has 17 references indexed in Scilit:
- The Lean 4 Theorem Prover and Programming Language2021
- Proof-Producing Synthesis of CakeML from Monadic HOL FunctionsJournal of Automated Reasoning, 2020
- The verified CakeML compiler backendJournal of Functional Programming, 2019
- A compiled implementation of normalisation by evaluationJournal of Functional Programming, 2012
- (Nominal) Unification by Recursive Descent with Triangular Substitutions2010
- Code Generation via Higher-Order Rewrite Systems2010
- HOL Light: An Overview2009
- A Brief Overview of HOL42008
- Isabelle/HOL2002
- Programming and Computing in HOL2000