Candle: A Verified Implementation of HOL Light (Extended Version)

Abstract This paper presents a fully verified interactive theorem prover for higher-order logic, more specifically: a fully verified clone of HOL Light. Our verification proof of this new system results in an end-to-end correctness theorem that guarantees the soundness of the entire system down to the machine code that executes at runtime. Our theorem states that every exported fact produced by this machine-code program is valid in higher-order logic. Our implementation consists of a read-eval-print loop (REPL) that executes the CakeML compiler internally. Throughout this work, we have strived to make the REPL of the new system provide a user experience as close to HOL Light’s as possible. To this end, we have, e.g., made the new system parse the same variant of OCaml syntax as HOL Light. All of the work described in this paper has been carried out in the HOL4 theorem prover.

Authors

Institutions

Publication Details

Journal
Journal of Automated Reasoning
Published
2025-12-01
DOI
https://doi.org/10.1007/s10817-025-09743-8
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Candle: A Verified Implementation of HOL Light (Extended Version)

Magnus O. Myreen, Oskar Abrahamsson, Thomas Sewell, Ramana Kumar
Journal of Automated Reasoning
Logic, programming, and type systems
article

Candle: A Verified Implementation of HOL Light (Extended Version)

Magnus O. Myreen, Oskar Abrahamsson, Thomas Sewell, Ramana Kumar
article en

Abstract

Abstract This paper presents a fully verified interactive theorem prover for higher-order logic, more specifically: a fully verified clone of HOL Light. Our verification proof of this new system results in an end-to-end correctness theorem that guarantees the soundness of the entire system down to the machine code that executes at runtime. Our theorem states that every exported fact produced by this machine-code program is valid in higher-order logic. Our implementation consists of a read-eval-print loop (REPL) that executes the CakeML compiler internally. Throughout this work, we have strived to make the REPL of the new system provide a user experience as close to HOL Light’s as possible. To this end, we have, e.g., made the new system parse the same variant of OCaml syntax as HOL Light. All of the work described in this paper has been carried out in the HOL4 theorem prover.

Journal of Automated ReasoningVol. 69(4)
University of Cambridge (GB), Chalmers University of Technology (SE), University of Gothenburg (SE)
Stiftelsen för Strategisk Forskning, Vetenskapsrådet, Göteborgs Universitet
Openalex Percentile: Top 79%
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.