False computer-checked proofs
A computer proof checker is software that examines a proof written in a formal language. It checks whether the proof’s steps follow the system’s allowed inference rules. This matters because a valid-looking argument is not enough: the checker is meant to catch steps that do not follow from the rules. For example, the article describes programs that claim to check every step in a proof. If the checker accepts a proof, it has judged the steps acceptable under its rules. That judgment is only as dependable as the checker and the assumptions built into the logical system. The article highlights why this matters: reported soundness bugs have potentially let false statements pass, and many were demonstrated to be exploitable. Researchers have also proven some checkers correct, including Candle, whose correctness proof was checked by HOL4. Such work aims to give stronger reasons to trust a checker’s verdict.
What is a computer proof checker, and what does it do with a mathematical proof?
A computer proof checker is software that examines a proof written in a formal language. It checks whether the proof’s steps follow the system’s allowed inference rules. This matters because a valid-looking argument is not enough: the checker is meant to catch steps that do not follow from the rules.
For example, the article describes programs that claim to check every step in a proof. If the checker accepts a proof, it has judged the steps acceptable under its rules. That judgment is only as dependable as the checker and the assumptions built into the logical system.
The article highlights why this matters: reported soundness bugs have potentially let false statements pass, and many were demonstrated to be exploitable. Researchers have also proven some checkers correct, including Candle, whose correctness proof was checked by HOL4. Such work aims to give stronger reasons to trust a checker’s verdict.
What is a soundness bug, and how could it make a checker accept a proof of a false statement?
A soundness bug is a flaw that undermines a proof checker’s ability to accept only correct theorems. In practical terms, the checker may approve a proof even though a step does not justify its conclusion. That is serious because users may treat an accepted theorem as established.
The article says soundness bugs have at least potentially allowed false statements to slip past proof-checking programs. One possible mechanism, at a general level, is that a bug makes the checker mis-handle a proof step or rule. The article does not describe the mechanisms of the individual bugs, so it does not support a more specific account of how a particular exploit works.
Many reported bugs have been demonstrated to be exploitable. The article lists reports for several major systems, while warning that the list may miss some. It also excludes user-interface vulnerabilities, which can mislead users about what has been proven even when the proof-checking mechanism is not the issue.
HOL Light’s proof-checking kernel is about 400 lines of code. What does that small size tell us—and what risks does it not rule out?
HOL Light’s proof-checking kernel is described as only 400 lines of code. The article presents its small size, along with stability and simplicity, as attractive from a security perspective. A compact kernel can make the part reviewers need to inspect seem easier to manage.
But line count is not a measure of how carefully code has been reviewed. Nor does it establish that the kernel is free of mistakes. The article also points out a separate risk: bugs in the programming language underlying the kernel could matter, even if the kernel itself is short.
So the figure is useful context, not a guarantee. The article’s broader concern is that proof-checking software can have soundness bugs, and it calls for work to simplify large trusted binaries. A small kernel may reduce complexity, but checking its implementation and dependencies remains important.
What is a trusted computing base, and why does its size matter for the security of a proof checker?
A trusted computing base, or TCB, is the part of a system that security reviewers need to check, as the article defines it. For a proof checker, this matters because confidence in its verdict ultimately depends on the components that must be trusted to validate the proof correctly.
One standard security approach is to minimize the TCB’s complexity. HOL Light’s kernel is an example the article finds attractive: it is stable and simple, at about 400 lines of code. A small component may be easier to examine than a large one, though the article does not say that line count alone proves safety.
The article cautions that this measurement says nothing about how carefully HOL Light’s code has been reviewed, or about bugs in its underlying programming language. It also notes concerns about large proof-checking binaries. More work to simplify such binaries could make the basis for trust easier to assess, but does not remove the need to check assumptions.
How can checking a proof with multiple programs help catch bugs, and why might it still fail?
Checking a proof with multiple programs can provide a backup: if one checker has a bug, another might reject the proof or expose the problem. The article says this is particularly easy when the checkers accept the same proof-writing language. It also recommends, preferably, running each checker in its own isolated environment.
The key mechanism is independent checking. Each program evaluates the proof, so a flaw in one need not determine the result if another checker works correctly. Using multiple checks is like adding tests: the article notes that a battery of tests tends to catch more bugs than a single test.
However, the article says it is unclear how effective this approach is at stopping attacks. Some bugs are shared by multiple checkers, so the programs may fail in the same way. Multiple checkers can help, but they do not automatically create independent protection. Isolation and genuinely different implementations matter to the approach, while shared flaws remain a concern.
What approaches have researchers used to check that proof-checking programs accept only correct theorems?
One approach is to prove that a checker’s inference rules generate only correct theorems. The article describes a close translation of HOL Light kernel rules, except rules for introducing new definitions. In 2006, a proof showed those rules generate only correct theorems, and HOL Light also checked that proof.
A later example is Candle, a clone of HOL Light. In 2022, researchers proved that Candle allows only proofs of correct theorems, provided the CPU implements the instructions in its binary as expected. HOL4 computer-checked this proof. The article also reports a 2022 computer-checked proof of a standalone checker for HOL proofs in OpenTheory format.
These methods add evidence beyond simply trusting a checker’s size or reputation. But the article notes that confidence can still involve large proof-checking binaries: one binary may be trusted because another checked it. It calls for more work to simplify these binaries. The 2006 result also has a variant that avoids a large-cardinal assumption by omitting the axiom of infinity.
What does it mean for a logical inference rule to be sound, and why does proving a checker correct still rely on assumptions about other systems or hardware?
In logic, an inference rule is sound when applying it cannot turn true premises into a false conclusion. This is the basic idea behind a checker accepting only correct theorems: each permitted step must preserve correctness. The article describes proofs showing that specified checker rules generate only correct theorems.
Those correctness proofs must themselves be checked, so they rely on another system. The 2006 proof about HOL Light’s rules was checked by HOL Light itself. The 2022 proof about Candle was checked by HOL4. Candle’s result also assumes the CPU implements the instructions in its binary in the expected way.
There are logical assumptions too. The article says the 2006 proof assumes a large cardinal, with Vω+ω enough for HOL Light. A variant avoids that assumption but omits the axiom of infinity from the logic being proven. The article remains concerned about relying on large checking binaries and calls for more work simplifying them.
This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.
Read more in the JupiteX app
Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.
Or read more news on the web