2026-11-27 16:35 UTC

Bernstein compiles soundness-bug reports across major proof checkers

state: seedheat: mediumuncertainty: mediumrelevance: highformal-verification proof-checking mathematical-reliability software-securityD. J. Bernstein

What is this?

D. J. Bernstein’s “False computer-checked proofs” is a living catalogue of reports that proof-checking systems have had soundness bugs—defects that can let invalid statements pass as proven. Its 2026-11-25 version links reports across systems including Lean, Coq/Rocq, Isabelle, HOL, Mizar and Metamath; Bernstein says the catalogue may still miss reports. Bernstein also discusses mitigations: keeping the trusted computing base small, checking proofs with multiple isolated systems, and proving checker correctness. The page distinguishes kernel soundness bugs from user-interface vulnerabilities and notes that cross-checking may not help when bugs are shared. A web result attributes 199 reports to the compilation, but the supplied page does not state that total in its text. The sources establish a compilation and its claims, not an independent audit of every entry or the prevalence or real-world impact of exploitable bugs.

Why it matters

Formal proof systems are used to provide unusually strong assurance about mathematics and verified software, but that assurance ultimately depends on the checker and surrounding trusted components. Bernstein’s cross-system catalogue makes the trust boundary concrete: a machine-checked proof is only as dependable as the software and assumptions that validate it. This matters as formal methods—and potentially AI-assisted proof development—are used at greater scale. The page’s proposed defenses could reduce reliance on any one checker, though shared bugs and the complexity of the checking stack limit confidence in redundancy alone.

Current assessment

New development: Bernstein’s page, versioned 2026-11-25 and linked from a Hacker News item dated 2026-11-28, collects reports of soundness bugs across major proof checkers. The page says some bugs have been demonstrated to be exploitable, but the supplied evidence does not assess the status of each issue, how many were exploitable, whether current releases remain affected, or whether any false theorem was relied upon in consequential work. Bernstein recommends minimizing the trusted computing base, using multiple isolated checkers where practical, and simplifying checker binaries; he cautions that different checkers can share bugs. He also cites computer-checked correctness proofs for HOL Light’s kernel and the Candle clone, while noting that such proofs still depend on assumptions and another checking system. The catalogue explicitly excludes user-interface vulnerabilities, which can also mislead users about what was proven. Google results include a secondary report claiming 199 reports and an X result quoting Bernstein’s suggestion to distinguish bugs requiring deliberate setup from those triggerable in normal use; these are useful leads, not confirmed classifications in the supplied page. Track additions, corrections, affected versions, exploit conditions, and whether independent checkers or verified checker implementations actually mitigate specific cases. This is a security and reliability issue for formal verification, not evidence that proof checking as a whole is unusable.

Measured heat

now 1 pts/hpeak 8 pts/hcomments 0/hpeers p84momentum: steady2 platformsage 387h
points/hour across evidence · reading as of 2026-11-28 03:23:19.251060+11:00 · deterministic, not a model opinion

How the heat travelled

11-11 13:00⭐ origin echo-reconstructedThis page is itself Bernstein’s original compilation, not an intermediary quoting another artifact. It opens: “There are some computer progr
Daniel J. Bernstein (D. J. Bernstein) on other (echo) · attributed from hn.story.50667989
—
11-27 15:26first on hacker news · published · +386.4hFalse Computer-Checked Proofs
_tk_
—
11-27 15:26amplified on hacker news 👑hn.story.50667989
_tk_
peak 7 · 2 comments · 100% of case engagement
11-27 16:20our radar first saw it · +387.3hdiscovery anchor: hn.story.50667989—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnFalse Computer-Checked Proofs
Retrieved article excerpt

Open article · Retrieved 2026-11-27T16:21:33.590302+00:00

[D. J. Bernstein](https://cr.yp.to/djb.html)
  
[Proofs](https://cr.yp.to/proofs.html)

# False computer-checked proofs

There are some computer programs that claim to check every step in a proof.
However,
various "soundness bugs" have been reported that at least potentially allowed false statements to slip past these programs.
In many cases,
these bugs have been demonstrated to be exploitable.

The [list](https://cr.yp.to/proofs/falseccp.html#list) at the bottom of this page links to what appear to be reports of soundness bugs
for various important proof-checking programs,
sorted in increasing order of the number of reports.
This list includes many more soundness bugs for these programs than the bugs mentioned in
[2026 Paulson](https://lawrencecpaulson.github.io/2026/01/15/Broken_proofs.html)
and
[2026 Stérin](https://tristan.st/blog/in_search_of_falsehood),
and I don't think the list is missing any of the bugs mentioned there,
but I've probably missed some reports.
Please let me know about any corrections or additions.

Beware that this list doesn't include user-interface vulnerabilities.
Those can have the same important effect of misleading a user as to what has been proven.
See, e.g., [2016 Adams](https://link.springer.com/chapter/10.1007/978-3-319-43144-4_2).

## Advice

One standard path towards security is to minimize the complexity of the trusted computing base,
which by definition is the part of the system that security reviewers need to check.
From this perspective,
HOL Light's proof-checking kernel is attractive because of its stability and simplicity, only 400 lines of code.
But this size measurement doesn't say how carefully the HOL Light code has been reviewed,
and doesn't say anything about the possibility of bugs in the underlying programming language.

Extra code can be *good* when it's test code.
A battery of tests tends to catch more bugs than a single test.
Running a proof through multiple proof-checking programs
(preferably each in its own isolated environment)
can save the day when there's a bug in one program,
and is particularly easy if the checkers take the same input language for writing proofs.
But it's not clear how effective this is at stopping attacks:
for example, sometimes bugs are
[shared by multiple checkers](https://web.archive.org/web/20260803084953/https://leanprover-community.github.io/archive/stream/270676-lean4/topic/SafeVerify-passing.20kernel.20soundness.20exploit.html).

The question
["Who watches the provers?"](https://leodemoura.github.io/blog/2026-3-16-who-watches-the-provers/)
is better answered by a proof saying that a checker works correctly.
A close translation of the inference rules in the HOL Light kernel,
except for the rules to introduce new definitions,
was already
[proven in 2006](https://www.cl.cam.ac.uk/~jrh13/papers/holhol.pdf)
to generate only correct theorems.
That proof was also checked by HOL Light.
(For readers familiar with logic: of course this assumes a large cardinal;
Vω+ω is enough for HOL Light.
The same paper also has a variant of the proof that skips the large-cardinal assumption,
at the expense of omitting the axiom of infinity from the logic being proven.)

After more work,
a clone of HOL Light called
[Candle](https://cakeml.org/itp22-candle.pdf)
was proven in 2022
to allow only proofs of correct theorems,
as long as the CPU implements the instructions used in the Candle binary in the expected way.
This proof is again computer-checked, this time in another proof-checking system, HOL4.
There was also a computer-checked proof in 2022 of the correctness of a
[standalone proof checker](https://research.chalmers.se/publication/532951/file/532951_Fulltext.pdf#chapter.3)
for HOL proofs in OpenTheory format.

From a security perspective, it's still
[concerning](https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf)
to be relying on large proof-checking binaries,
where the answer to why we're supposed to trust one binary
is that the binary has supposedly been checked by another large proof-checking binary.
I'd like to see more work on simplifying these binaries.

## The list

2026-11-25T10:50:32.133543
image/svg+xml


Matplotlib v3.10.1+dfsg1, https://matplotlib.org/

The bug links below are accompanied by links labeled 🏛 to the
[Internet Archive Wayback Machine](https://web.archive.org).

**[HOL Light](https://hol-light.github.io/) (default usage, not Candle).**
Reported soundness bugs:
[19960328](https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)[🏛](https://web.archive.org/web/20261109224121/https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)
[20030718](https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)[🏛](https://web.archive.org/web/20261109224121/https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)
[20030901](https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)[🏛](https://web.archive.org/web/20261109224121/https://raw.githubusercontent.com/jrh13/hol-light/refs/heads/master/CHANGES)

**[Mizar](https://mizar.org) (default usage, not mizar-rs).**
Reported soundness bugs:
[20010625](https://mizar.uwb.edu.pl/forum/archive/0106/msg00023.html)[🏛](https://web.archive.org/web/20261109150756/https://mizar.uwb.edu.pl/forum/archive/0106/msg00023.html)
[20030626](https://mizar.uwb.edu.pl/forum/archive/0306/msg00010.html)[🏛](https://web.archive.org/web/20221018002721/https://mizar.uwb.edu.pl/forum/archive/0306/msg00010.html)
[20071226](https://mizar.uwb.edu.pl/forum/archive/0712/msg00012.html)[🏛](https://web.archive.org/web/20261108110923/https://mizar.uwb.edu.pl/forum/archive/0712/msg00012.html)
[20230215](https://arxiv.org/pdf/2304.08391.pdf#subsection.7.4)[🏛](https://web.archive.org/web/20231212214437/https://arxiv.org/pdf/2304.08391.pdf#subsection.7.4)
[20230227](https://arxiv.org/pdf/2304.08391.pdf#subsection.7.1)[🏛](https://web.archive.org/web/20231212214437/https://arxiv.org/pdf/2304.08391.pdf#subsection.7.1)
[20230227-2](https://arxiv.org/pdf/2304.08391.pdf#subsection.7.2)[🏛](https://web.archive.org/web/20231212214437/https://arxiv.org/pdf/2304.08391.pdf#subsection.7.2)
[20230227-3](https://arxiv.org/pdf/2304.08391.pdf#subsection.7.3)[🏛](https://web.archive.org/web/20231212214437/https://arxiv.org/pdf/2304.08391.pdf#subsection.7.3)

**[Metamath](https://us.metamath.org/) (default usage, not mmverify.py).**
Reported soundness bugs:
[20171231](https://github.com/metamath/set.mm/commit/2ae05c73afa1b5b0e8d15aa79776dc3cc6200948)[🏛](https://web.archive.org/web/20261108151258/https://github.com/metamath/set.mm/commit/2ae05c73afa1b5b0e8d15aa79776dc3cc6200948)
[20190211](https://github.com/metamath/set.mm/commit/5bd26027bb0af706f9e236ae91598797df9ae4f2)[🏛](https://web.archive.org/web/20261108151340/https://github.com/metamath/set.mm/commit/5bd26027bb0af706f9e236ae91598797df9ae4f2)
[20190909](https://github.com/metamath/set.mm/pull/1089)[🏛](https://web.archive.org/web/20261108151453/https://github.com/metamath/set.mm/pull/1089)
[20210621](https://github.com/metamath/set.mm/commit/8c4ab437804027bbe7462a4bb5089187556d84f5)[🏛](https://web.archive.org/web/20230109083659/https://github.com/metamath/set.mm/commit/8c4ab437804027bbe7462a4bb5089187556d84f5)
[20230801](https://github.com/metamath/set.mm/pull/3339)[🏛](https://web.archive.org/web/20261108151532/https://github.com/metamath/set.mm/pull/3339)
[20240708](https://github.com/metamath/set.mm/commit/0db747840143982b80f2091c9fa1c829f8e42a2a)[🏛](https://web.archive.org/web/20261108151219/https://github.com/metamath/set.mm/commit/0db747840143982b80f2091c9fa1c829f8e42a2a)
[20250620](https://github.com/metamath/set.mm/pull/4909)[🏛](https://web.archive.org/web/20261108151608/https://github.com/metamath/set.mm/pull/4909)
[20250727](https://github.com/metamath/metamath-exe/issues/184)[🏛](https://web.archive.org/web/20250821102610/https://github.com/metamath/metamath-exe/issues/184)
[20251121](https://groups.google.com/g/metamath/c/cQEhPASlJGM/m/ZVdjALhgAgAJ)[🏛](https://web.archive.org/web/20261109212428/https://groups.google.com/g/metamath/c/cQEhPASlJGM/m/ZVdjALhgAgAJ)

**[Isabelle](https://isabelle.in.tum.de/).**
Reported soundness bugs:
[19930326](http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.93.gz)[🏛](https://web.archive.org/web/20070206092323/http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.93.gz)
[19931122](https://github.com/isabelle-prover/mirror-isabelle/commit/46c7b45e1d9098f5e80459decd82dbd22d63a35d)[🏛](https://web.archive.org/web/20261108125751/https://github.com/isabelle-prover/mirror-isabelle/commit/46c7b45e1d9098f5e80459decd82dbd22d63a35d)
[19950821](https://github.com/isabelle-prover/mirror-isabelle/commit/334fa7b639b4ab1ca98d44ad7ade92f3c0cd314a)[🏛](https://web.archive.org/web/20261108130140/https://github.com/isabelle-prover/mirror-isabelle/commit/334fa7b639b4ab1ca98d44ad7ade92f3c0cd314a)
[19960627](http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.96.gz)[🏛](https://web.archive.org/web/20070206092357/http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.96.gz)
[19991216](https://github.com/isabelle-prover/mirror-isabelle/commit/51a6c7537ea45b50a9c50a66b519261963b23ce0)[🏛](https://web.archive.org/web/20261108150441/https://github.com/isabelle-prover/mirror-isabelle/commit/51a6c7537ea45b50a9c50a66b519261963b23ce0)
[20000708](https://github.com/isabelle-prover/mirror-isabelle/commit/1549e7fb8ef72b19bf375e93a683b7db017fd36f)[🏛](https://web.archive.org/web/20261108150407/https://github.com/isabelle-prover/mirror-isabelle/commit/1549e7fb8ef72b19bf375e93a683b7db017fd36f)
[20030923](https://github.com/isabelle-prover/mirror-isabelle/commit/3a4990f9d321772f2a9b846242903fcac0b6f8dd)[🏛](https://web.archive.org/web/20261108130852/https://github.com/isabelle-prover/mirror-isabelle/commit/3a4990f9d321772f2a9b846242903fcac0b6f8dd)
[20040823](http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.04.gz)[🏛](https://web.archive.org/web/20070206092304/http://www.cl.cam.ac.uk:80/~lp15/archive/isabelle-users.04.gz)
[20060503](https://github.com/isabelle-prover/mirror-isabelle/commit/6ef4fe0ab23d80bf9004a8f86051d3e2a771714b)[🏛](https://web.archive.org/web/20261108150516/https://github.com/isabelle-prover/mirror-isabelle/commit/6ef4fe0ab23d80bf9004a8f86051d3e2a771714b)
[20060512](https://github.com/isabelle-prover/mirror-isabelle/commit/84386cfd5441fe7423fdedb6465eef078073bc8b)[🏛](https://web.archive.org/web/20261108150834/https://github.com/isabelle-prover/mirror-isabelle/commit/84386cfd5441fe7423fdedb6465eef078073bc8b)
[20140705](https://github.com/isabelle-prover/mirror-isabelle/commit/7abb8b2f84f87083f9dbac9da646a506d8b688fe)[🏛](https://web.archive.org/web/20261108150630/https://github.com/isabelle-prover/mirror-isabelle/commit/7abb8b2f84f87083f9dbac9da646a506d8b688fe)
[20150824](https://www.andreipopescu.uk/pdf/ITP2015.pdf)[🏛](https://web.archive.org/web/20260209162116/https://www.andreipopescu.uk/pdf/ITP2015.pdf)
[20161203](https://mailman46.in.tum.de/pipermail/isabelle-dev/2016-December/007251.html)[🏛](https://web.archive.org/web/20261108133133/https://mailman46.in.tum.de/pipermail/isabelle-dev/2016-December/007251.html)
[20260116](https://github.com/isabelle-prover/mirror-isabelle/commit/9c4a1a3955e45cf9b9cb510635f97226416b0d89)[🏛](https://web.archive.org/web/20261108150913/https://github.com/isabelle-prover/mirror-isabelle/commit/9c4a1a3955e45cf9b9cb510635f97226416b0d89)
[20260908](https://github.com/isabelle-prover/mirror-isabelle/commit/f027e4a32c3e8ef2a300e3a538c47a17677c22c5)[🏛](https://web.archive.org/web/20261108151032/https://github.com/isabelle-prover/mirror-isabelle/commit/f027e4a32c3e8ef2a300e3a538c47a17677c22c5)
[20260910](https://github.com/isabelle-prover/mirror-isabelle/commit/b1973e040d1af32239379b7365fc104ceb2daaa3)[🏛](https://web.archive.org/web/20261108150954/https://github.com/isabelle-prover/mirror-isabelle/commit/b1973e040d1af32239379b7365fc104ceb2daaa3)
[20261027](https:/
_tk_72
🟧 echo.other ⭐This page is itself Bernstein’s original compilation, not an intermediary quoting another artifact. It opens: “There are some computer progrDaniel J. Bernstein (D. J. Bernstein)——

Interpretation history

Decision trace