Verified Propagation Redundancy and Compositional UNSAT Checking in CakeML
Open Access
- 27 February 2023
- journal article
- research article
- Published by Springer Nature in International Journal on Software Tools for Technology Transfer
- Vol. 25 (2) , 167-184
Abstract
Modern SAT solvers can emit independently-checkable proof certificates to validate their results. The state-of-the-art proof system that allows for compact proof certificates is propagation redundancy ( $$\textsf{PR}$$ ). However, the only existing method to validate proofs in this system with a formally verified tool requires a transformation to a weaker proof system, which can result in a significant blowup in the size of the proof and increased proof validation time. This article describes the first approach to formally verify $$\textsf{PR}$$ proofs on a succinct representation. We present (i) a new Linear PR (LPR) proof format, (ii) an extension of the tool to efficiently convert $$\textsf{PR}$$ proofs into LPR format, and (iii) , a verified LPR proof checker developed in CakeML. We also enhance these tools with (iv) a new compositional proof format designed to enable separate (parallel) proof checking. The LPR format is backwards compatible with the existing LRAT format, but extends LRAT with support for the addition of $$\textsf{PR}$$ clauses. Moreover, is verified using CakeML ’s binary code extraction toolchain, which yields correctness guarantees for its machine code (binary) implementation. This further distinguishes our clausal proof checker from existing checkers because unverified extraction and compilation tools are removed from its trusted computing base. We experimentally show that: LPR provides efficiency gains over existing proof formats; ’s strong correctness guarantees are obtained without significant sacrifice in its performance; and the compositional proof format enables scalable parallel proof checking for large proofs.
Keywords
Funding Information
- Chalmers University of Technology
This publication has 53 references indexed in Scilit:
- Proof-producing translation of higher-order logic into pure and stateful MLJournal of Functional Programming, 2014
- Inprocessing Rules2012
- versat: A Verified Modern SAT Solver2012
- Cube and Conquer: Guiding CDCL SAT Solvers by Lookaheads2012
- Formal verification of a modern SAT solver by shallow embedding into Isabelle/HOLTheoretical Computer Science, 2010
- Tarmo: A Framework for Parallelized Bounded Model CheckingElectronic Proceedings in Theoretical Computer Science, 2009
- Formal verification of a realistic compilerCommunications of the ACM, 2009
- A Brief Overview of HOL42008
- An Extensible SAT-solver2004
- Symbolic Model Checking without BDDs1999