← Fri, Nov 27 digest

False computer-checked proofs

read article ↗ hn thread ↗

Daniel J. Bernstein has published a comprehensive catalog tracking reported soundness bugs across major automated proof assistants like Lean, Coq, and Isabelle.

summary is enough The short text introduces a useful reference catalog of historical proof-checker bugs, but the main value lies in the link collection rather than deep prose.

summary

Daniel J. Bernstein compiled a catalog of historical and recent soundness bugs across major proof-checking systems, including Coq, Lean, Isabelle, and HOL4. The post highlights that these bugs can theoretically allow false mathematical statements to pass verification, undermining the trusted computing base. While simple kernels like HOL Light minimize attack surfaces, Bernstein argues for more rigorous verification of the proof checkers themselves. Commenters note that exploitation usually requires extreme edge cases or multi-checker failures, keeping practical risks low for standard formal mathematics.

key points

  1. Major proof assistants like Coq, Lean, Isabelle, and HOL4 have accumulated dozens of reported soundness bugs over their operating lifetimes.
  2. Minimizing the trusted computing base, as seen in HOL Light's small kernel, reduces potential attack surfaces for false proofs.
  3. Systems like Metamath mitigate kernel vulnerabilities by requiring proofs to pass multiple independently implemented verifiers.

who should read it

Formal verification researchers, theorem prover developers, and engineers interested in high-assurance software.

discussion mixed

consensus

Most commenters agree that while soundness bugs exist, they are rare, patched quickly, and hard to exploit in practice without artificial inputs or failures across multiple independent verifiers.

pushback

Some argue that the rise of AI-generated proofs increases the risk of automated agents inadvertently discovering and tripping over obscure soundness bugs.

best comment by twotwotwo ↗

It is true soundness bugs have been found, and the Lean community spends effort on it. But this page doesn't convey the gap between one incorrect verification and successfully misleading mathematicians about what is true: there are multiple checkers and you need bugs in all of them, without the input looking implausible on informal review.

(For example, a DeepMind researcher created a 'proof' that passed Lean and (a then-week-old version of) nanoda by exploiting a different bug in each. But if you fed that into a regular old LLM (or to a human expert, but I mention LLMs b/c they can be …

Clarifies the practical gap between finding an isolated kernel bug and successfully tricking multiple independent proof checkers with plausible-looking mathematics.

Generated by an LLM from the article and thread. Check the sources before relying on it.