False Computer-Checked Proofs

Hacker News by 4 min read 27x views
False Computer-Checked Proofs

Share Post

D. J. Bernstein
Proofs

There are several device programs that assertion to inspect all stage in a proof. However, various "soundness bugs" have been reported that at smallest possibly allowed false statements to stumble former these programs. In many cases, these bugs have been demonstrated to be exploitable.

The list at the base of this leaf links to what appear to be reports of soundness bugs for assorted crucial proof-checking programs, sorted in expanding command of the figure of reports. This catalog includes many additional soundness bugs for these programs than the bugs mentioned in 2026 Paulson and 2026 StΓ©rin, and I don't think the catalog is missing any of the bugs mentioned there, but I've likely missed several reports. Please let me cognize concerning any corrections or additions.

Beware that this catalog doesn't contain user-interface vulnerabilities. Those can have the identical crucial consequence of misleading a person as to what has been proven. See, e.g., 2016 Adams.

Advice

One norm way towards safety is to minimize the complexity of the trusted computing base, which by definition is the part of the scheme that safety reviewers need to check. From this perspective, HOL Light's proof-checking kernel is appealing since of its stability and simplicity, lone 400 lines of code. But this size measure doesn't say how carefully the HOL Light code has been reviewed, and doesn't say item concerning the possible of bugs in the underlying programming language.

Extra code can be good whenever it's test code. A power division of tests tends to capture additional bugs than a sole test. Running a evidence through multiple proof-checking programs (preferably all in its own secluded environment) can preserve the day whenever there's a bug in one program, and is particularly uncomplicated if the checkers obtain the identical input tongue for penning proofs. But it's not apparent how productive this is at stopping attacks: for example, sometimes bugs are shared by multiple checkers.

The question "Who watches the provers?" is improved answered by a evidence saying that a checker plant correctly. A near translation of the conclusion rules in the HOL Light kernel, except for the rules to current new definitions, was already proven in 2006 to create lone accurate theorems. That evidence was additionally checked by HOL Light. (For readers acquainted alongside logic: of way this assumes a ample cardinal; Vω+ω is adequate for HOL Light. The identical document additionally has a type of the evidence that skips the large-cardinal assumption, at the disbursal of omitting the axiom of infinity from the logic being proven.)

After additional work, a copy of HOL Light called Candle was proven in 2022 to authorize lone proofs of accurate theorems, as lengthy as the CPU implements the instructions used in the Candle binary in the expected way. This evidence is again computer-checked, this period in another proof-checking system, HOL4. There was additionally a computer-checked evidence in 2022 of the correctness of a standalone evidence checker for HOL proofs in OpenTheory format.

From a safety perspective, it's still concerning to be relying on ample proof-checking binaries, where the answer to why we're expected to rely one binary is that the binary has supposedly been checked by another ample proof-checking binary. I'd akin to see additional activity 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 tagged πŸ› to the Internet Archive Wayback Machine.

HOL Light (default usage, not Candle). Reported soundness bugs: 19960328πŸ› 20030718πŸ› 20030901πŸ›

Mizar (default usage, not mizar-rs). Reported soundness bugs: 20010625πŸ› 20030626πŸ› 20071226πŸ› 20230215πŸ› 20230227πŸ› 20230227-2πŸ› 20230227-3πŸ›

Metamath (default usage, not mmverify.py). Reported soundness bugs: 20171231πŸ› 20190211πŸ› 20190909πŸ› 20210621πŸ› 20230801πŸ› 20240708πŸ› 20250620πŸ› 20250727πŸ› 20251121πŸ›

Isabelle. Reported soundness bugs: 19930326πŸ› 19931122πŸ› 19950821πŸ› 19960627πŸ› 19991216πŸ› 20000708πŸ› 20030923πŸ› 20040823πŸ› 20060503πŸ› 20060512πŸ› 20140705πŸ› 20150824πŸ› 20161203πŸ› 20260116πŸ› 20260908πŸ› 20260910πŸ› 20261027πŸ› 20261105πŸ›

Lean (default usage, not nanoda; native_decide excluded). Reported soundness bugs: 20170124πŸ› 20171217πŸ› 20180409πŸ› 20210131πŸ› 20210308πŸ› 20220225πŸ› 20220806πŸ› 20221018πŸ› 20230127πŸ› 20230227πŸ› 20231010πŸ› 20250423πŸ› 20250524πŸ› 20260104πŸ› 20260301πŸ› 20260722πŸ› 20260725πŸ› 20260731πŸ› 20260731-2πŸ› 20260818πŸ› 20260818-2πŸ› 20260819πŸ› 20260819-2πŸ› 20260920πŸ› 20261124πŸ›

HOL98/HOL4. Reported soundness bugs: 19990603πŸ› 20011205πŸ› 20011221πŸ› 20020305πŸ› 20020523πŸ› 20030113πŸ› 20030721πŸ› 20041025πŸ› 20050426πŸ› 20061011πŸ› 20090617πŸ› 20241014πŸ› 20260301πŸ› 20260301-2πŸ› 20260301-3πŸ› 20260314πŸ› 20260324πŸ› 20260722πŸ› 20260722-2πŸ› 20260722-3πŸ› 20260723πŸ› 20260723-2πŸ› 20260724πŸ› 20260728πŸ› 20260819πŸ› 20260819-2πŸ› 20261011πŸ›

Coq/Rocq. Reported soundness bugs: 19991208πŸ› 20010601πŸ› 20031028πŸ› 20070209πŸ› 20080514πŸ› 20081202πŸ› 20100210πŸ› 20100922πŸ› 20110726πŸ› 20111005πŸ› 20120209πŸ› 20131212πŸ› 20140115πŸ› 20140227πŸ› 20140410πŸ› 20150324πŸ› 20150630πŸ› 20150715πŸ› 20150906πŸ› 20150906-2πŸ› 20151122πŸ› 20160222πŸ› 20160519πŸ› 20160630πŸ› 20180131πŸ› 20180423πŸ› 20180526πŸ› 20180527πŸ› 20180604πŸ› 20180606πŸ› 20180828πŸ› 20181031πŸ› 20190102πŸ› 20190302πŸ› 20190406πŸ› 20190926πŸ› 20191015πŸ› 20191104πŸ› 20191123πŸ› 20191221πŸ› 20200118πŸ› 20200422πŸ› 20200603πŸ› 20200608πŸ› 20201109πŸ› 20201121πŸ› 20210219πŸ› 20210324πŸ› 20210513πŸ› 20211026πŸ› 20220321πŸ› 20220408πŸ› 20220530πŸ› 20221012πŸ› 20221012-2πŸ› 20221117πŸ› 20221117-2πŸ› 20221124πŸ› 20221207πŸ› 20230719πŸ› 20231213πŸ› 20240116πŸ› 20240206πŸ› 20240719πŸ› 20241121πŸ› 20250328πŸ› 20250403πŸ› 20250423πŸ› 20250423-2πŸ› 20250903πŸ› 20250903-2πŸ› 20260228πŸ› 20260228-2πŸ› 20260228-3πŸ› 20260302πŸ› 20260302-2πŸ› 20260302-3πŸ› 20260302-4πŸ› 20260302-5πŸ› 20260302-6πŸ› 20260302-7πŸ› 20260302-8πŸ› 20260310πŸ› 20260312πŸ› 20260321πŸ› 20260330πŸ› 20260428πŸ› 20260513πŸ› 20260513-2πŸ› 20260716πŸ› 20260818πŸ› 20260819πŸ› 20260820πŸ› 20260820-2πŸ› 20260820-3πŸ› 20260820-4πŸ› 20260820-5πŸ› 20260820-6πŸ› 20260820-7πŸ› 20260820-8πŸ› 20260820-9πŸ› 20260827πŸ› 20260909πŸ› 20260910πŸ› 20260919πŸ› 20261021πŸ› 20261025πŸ› 20261027πŸ› 20261027-2πŸ› 20261030πŸ› 20261104πŸ› 20261109πŸ› 20261109-2πŸ› 20261109-3πŸ› 20261109-4πŸ› 20261110πŸ›


Version 20261125 of the "False computer-checked proofs" page.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads