Streaming LRAT Certificates into Lean Theorems
Not on the map. Why?
Abstract (arXiv)
If the certificate produced by a SAT solver is checked by a verified checker, we get a verdict which convinces. But this verdict cannot be named, reused as a lemma, or composed with other formal developments. We propose the tool lrat-catcher, which turns a certificate into a Lean theorem. It checks the certificate as a stream while the solver is still running. Hence the certificate is not required to be saved to a file. Additionally, our tool makes Lean core's verified LRAT checker resumable so that its state can be serialized. We prove that checking divided at such a state still properly refutes the original formula. We propose two import modes. The stream mode reads the certificate from a pipe in blocks and checks it on the fly in memory. The file mode imports a stored certificate in chunks. If interrupted, it rechecks only the chunks it has not yet completed. The soundness theorem for the stream mode guarantees that a garbled or adversarial stream can only fail the check but not yield a false theorem. We find that with compaction at chunk boundaries, the memory required depends only on the live clause set, not on the certificate size. Our tool supports cube-and-conquer and formulas derived by preprocessing, to still form Lean proofs of the original formula. We provide several end-to-end case studies on well-known combinatorial problems. A larger scaling experiment on the empty-hexagon problem shows that 174 TB of certificates can be imported into Lean via streaming.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 33 references that are in the map. First posted on arXiv 1 Jul 2026.
Builds on
9 of 33 references.
References · 9
- 2016Solving and Verifying the boolean Pythagorean Triples problem via Cube-and-Conquercited by 23
- 2016Efficient Certified RAT Verificationcited by 13
- 2022Certified Symmetry and Dominance Breaking for Combinatorial Optimisationcited by 13
- 2025Lean-SMT: An SMT tactic for discharging proof goals in Leancited by 9
- 2019The Resolution of Keller's Conjecturecited by 8
- 2016Efficient Certified Resolution Proof Checkingcited by 5
- 2024Happy Ending: An Empty Hexagon in Every Set of 30 Pointscited by 4
- 2024Formal Verification of the Empty Hexagon Numbercited by 4
- 2025Queen Domination by SAT Solvingcited by 1
Built on by
Not cited yet.