LRAT-Catcher: Importing SAT Solver Certificates into Lean4 by Reflection

Stefan Szeider
7/1/2026
cs.LOcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

SAT solvers settle combinatorial problems beyond the reach of interactive theorem provers and produce LRAT certificates for independent verification. We present LRAT-Catcher, a standalone, general-purpose tool that imports a DIMACS formula together with an LRAT certificate into Lean 4 as a theorem. LRAT-Catcher runs the formally verified LRAT checker from Lean core as compiled native code via reflection. This scales to instances where Mathlib's explicit proof-term import exhausts memory. LRAT-Catcher also composes cube-and-conquer solving runs entirely inside Lean. Per-cube refutations are combined with a cover-completeness certificate, itself an LRAT proof, into a single unsatisfiability theorem. Verified encodings connect CNF-level results to the original combinatorial problems. We evaluate the tool against Mathlib's proof-term import and the external checker cake_lpr on establishing the Schur number S(4) = 44 and the Ramsey number R(4,4) = 18 as Lean theorems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{szeider2026lratcatcher,
  title  = {LRAT-Catcher: Importing SAT Solver Certificates into Lean4 by Reflection},
  author = {Stefan Szeider},
  year   = {2026},
  eprint = {2607.00815},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.00815v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.00815.svg)](https://codeofpaper.com/paper/2607.00815)

Discussion