DJB Counts the Bugs in the Proof Checkers
Every big AI math claim this autumn ended the same way: the proof compiles in Lean, so it is true. Daniel J. Bernstein just published the list that makes that sentence less comfortable. "False computer-checked proofs" catalogs reported soundness bugs, bugs that at least potentially let a false statement pass, in the major proof checkers. The page version is dated November 25; it reached Hacker News on November 27 (143 points). https://cr.yp.to/proofs/falseccp.html
The counts, sorted from fewest to most reports: HOL Light 3, Mizar 7, Metamath 9, Isabelle 18, Lean 25, HOL4 27, Coq/Rocq 116. For Lean the list covers default usage and excludes native_decide, and 12 of the 25 reports are from 2026, the newest dated November 24. Bernstein says many have been shown to be exploitable, and that the list leaves out user-interface bugs, which can mislead a reader about what was proven just as well.
The advice is security advice, because Bernstein treats this as a security problem. Keep the trusted base small: the HOL Light kernel is about 400 lines, though size says nothing about how carefully it was reviewed. Run the same proof through several checkers, each isolated, though some bugs are shared across checkers. Best of all, prove the checker itself correct, as was done for a HOL Light variant in 2006 and for the Candle clone in 2022, which still leaves you trusting a large binary that was checked by another large binary.
Why this matters now: the 2026 spike lines up with the year machine-written proofs went mainstream. Riemann-style GRH formalizations, the VP and VNP papers, OpenAI's batch of manuscripts and the 76,000-line grh-lean compression all leaned on a checker as the reason nobody needed to read every line. When the prover is an agent that will try millions of paths, a soundness bug stops being a curiosity and becomes a target, the same way fuzzers turned rare parser bugs into routine findings.
Our read: the Lean badge is turning into what a passing test suite became for code agents. Necessary, not sufficient, and the first thing an optimizer will learn to game. The practical upgrade is cheap: say which checker, which version, whether native_decide was used, and whether a second checker agreed.
← Back to all articles
The counts, sorted from fewest to most reports: HOL Light 3, Mizar 7, Metamath 9, Isabelle 18, Lean 25, HOL4 27, Coq/Rocq 116. For Lean the list covers default usage and excludes native_decide, and 12 of the 25 reports are from 2026, the newest dated November 24. Bernstein says many have been shown to be exploitable, and that the list leaves out user-interface bugs, which can mislead a reader about what was proven just as well.
The advice is security advice, because Bernstein treats this as a security problem. Keep the trusted base small: the HOL Light kernel is about 400 lines, though size says nothing about how carefully it was reviewed. Run the same proof through several checkers, each isolated, though some bugs are shared across checkers. Best of all, prove the checker itself correct, as was done for a HOL Light variant in 2006 and for the Candle clone in 2022, which still leaves you trusting a large binary that was checked by another large binary.
Why this matters now: the 2026 spike lines up with the year machine-written proofs went mainstream. Riemann-style GRH formalizations, the VP and VNP papers, OpenAI's batch of manuscripts and the 76,000-line grh-lean compression all leaned on a checker as the reason nobody needed to read every line. When the prover is an agent that will try millions of paths, a soundness bug stops being a curiosity and becomes a target, the same way fuzzers turned rare parser bugs into routine findings.
Our read: the Lean badge is turning into what a passing test suite became for code agents. Necessary, not sufficient, and the first thing an optimizer will learn to game. The practical upgrade is cheap: say which checker, which version, whether native_decide was used, and whether a second checker agreed.
Comments