Turing Registry

What a Machine-Checked Proof Guarantees

On October 26, four security advisories went out on the oss-security mailing list for a piece of software most security people never touch. Each described a way to make the Rocq proof assistant, the program formerly called Coq, accept a proof of False. Once a checker accepts False it will accept anything, 0 = 1 included, and no axiom or trick tactic was needed. One of the four was credited to Tristan Stérin and Claude Opus 4.6; another, a universe-checking flag that a module could switch off and leave switched off, is still unfixed in Rocq 9.2.0.

Nobody's mathematics collapsed that week. The advisories describe proofs of concept built for the purpose, not existing results that turned out to rest on the bugs, and they say how to defend against them: re-check compiled proof files with coqchk, a separate checker that does not share the in-process state the universe bug corrupts. But the advisories make a useful object lesson, because "formally verified" is now printed on press releases for kernels, compilers, cryptographic libraries and, since this month, Signal's machine code, checked by DeepMind's AlphaProof Code. The phrase carries a lot of weight in those releases, and most readers have no way to tell what is holding it up.

A machine-checked proof makes a narrow promise. A specific program, the kernel of the proof assistant, read a specific chain of inferences and found every step valid under a specific set of axioms. Each of those three nouns is a place where trust goes, and a verification claim is only as good as what it says about each one. The rest of this piece goes through them in order: the checker, the axioms, and the specification, which is where verified systems have actually failed in the field. It closes with a short list of questions that turn a verification claim into something you can evaluate.