Soundness bugs let false statements pass some computer-checked proof checkers
Some programs claim to check every step of a mathematical proof. The page lists reports of soundness bugs[1] in several of them, including HOL Light, Mizar, Metamath, Isabelle, Lean, HOL4 and Coq/Rocq, sorted by the number of reports. The author says these bugs could at least potentially let false statements pass, and in many cases they were shown to be exploitable. The list does not include user-interface vulnerabilities, which can also mislead a user about what has been proven.
The author notes that a small trusted computing base[2], such as the 400-line proof-checking kernel of HOL Light, is attractive for security, but line count does not show how carefully the code was reviewed or whether the programming language underneath has bugs. Running a proof through several checkers can catch a bug in one of them, but bugs are sometimes shared by several checkers.
Some checkers have themselves been proven correct. A close translation of the HOL Light inference rules was shown in 2006 to produce only correct theorems, and the HOL Light clone Candle was shown in 2022 to allow only proofs of correct theorems, provided the CPU runs its instructions as expected. A standalone checker for HOL proofs in OpenTheory format was also computer-checked in 2022. The author is still concerned that large binaries are trusted because another large binary checked them, and wants these binaries simplified.
Read the original cr.yp.toDiscussion
Discussion
Commenters agree the bugs are real but disagree about their impact. One says a forged proof must pass several checkers and cites a case that passed Lean and nanoda by exploiting a different bug in each; another says Metamath accepts proofs only after five independent verifiers pass them. Others say the page overstates the risk for most software and that simpler checkers such as HOL Light are the better answer.
Links from the post and discussion
- Audit of ACL2 bugs, cited in a comment github.com
Sources
-
cr.yp.to
False computer-checked proofs
-
KRGeekNews KO
컴퓨터 검증을 통과한 거짓 증명



