(For example, a DeepMind researcher created a 'proof' that passed Lean and (a then-week-old version of) nanoda by exploiting a different bug in each. But if you fed that into a regular old LLM (or to a human expert, but I mention LLMs b/c they can be assigned to review even very large volumes of Lean code) it would immediately say "no, this isn't real math.")
The increase in soundness bugs found this year is notable, because LLMs are good at finding ways to their assigned goals, and they found some funny ones. And, besides fixes for the specific bugs, it led to broader work on hardening and alternative and verified kernels: https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-...
So you have fewer avenues than at the start of the year to get a proof of False OK'd by one proof-checker kernel, and it's much much harder to get one through the gauntlet invoked by `lake check --paranoid`.
(This is also interesting as a(nother) example of the difficulty of making truly correct software -- you'd hope for proof-checker kernels to be pretty high on the correctness scale but seems like we've found 16-32 soundness bugs in a bunch of these.)
In the case of Metamath, yes, soundness bugs have been found in the original "metamath" proof verifier, written in C. But to be accepted into the main proof databases (set.mm and iset.mm), proofs must pass "5 independently-created verifiers in 5 different programming languages: metamath (a C verifier by Norm Megill), mmj2 (a Java verifier by Mel O'Cat and Mario Carneiro), smetamath-rs (a high-speed Rust verifier by Stefan O'Rear), checkmm (a C++ verifier by Eric Schmidt), and mmverify.py a Python verifier by Raph Levien)." - https://us.metamath.org/
To me, that's a key countermeasure to the problem.
Comfortably more than good enough for 99.9% of software, especially considering you'd still need to exploit such a soundness bug in a way that hides a further issue in the program being verified.
But if you look at the trend. It's on logarithmic scale. With all the lines being curved up. Amount of bugs found was already growing exponentially years before being accelerated by current AI trends. To me a more likely explanation seems not that there were barely any bugs in previous decades, but that barely anyone was looking for them or considering it serious problem.
I found it amusing in that case l, that even if it had supplied me with a formal proof of correctness, the proof would also have passed, and the implementation would still have been completely useless! Because the LLM's understanding of what it was supposed to be doing in the first place was wrong.
Communication is hard!
us.metamath.org
Cross verifying proof checkers with different implementations, different algorithms is also important.
Also, what exactly do you mean by simplicity? The core of nanoda_lib is about 7,000 lines of code, much smaller than HOL Light as far as I can tell.
[deleted]
I recently checked if this rabbit hole bottoms out and it kinda does?
ARM appears to be publishing a formal language specification of their ISA as the normative version, but Intel's version is only nonnormative. For CakeML, the semantic correspondance for ARMv8 was proven.
So you have ARMv8 -> CakeML -> Candle (i.e. HOL Light) fully certified supposedly.
Not freestanding though, so OS shenanigans may still bite. Even in freestanding, UEFI shenanigans might too, not sure.
If anyone knows the remaining gaps (excl. the virtual <-> physical boundary), would be happy to hear.
1. The number of bugs in unverified programs of similat complexity. By average and good coders. Think CompCert's middle end having no bugs in the evaluation against other compilers.
2. The number of bugs in those vs verification tools in general. If proof and simplicity works, we should see a huge drop vs larger provers or solvers.
3. How much the proof helped prevent bugs in verified software and their severity vs the number and severity of bugs in the provers.
4. An empirical argument where common, coding strategies in battle-tested compilers normally run withiut errors. Therefore, a verified checker implemented with those patterns in a simple, coding style will probably run correctly or with few bugs. But, he just says a large binary checking a large binary which makes both programs sound equally reliable.
So, I support developing and using these tools. We should have them tested on many, small programs and properties like we do static analyzers. Then, use David A. Wheeler's diverse, double compilation on their checkers with GCC and LLVM. Run other verified tools through that.
I prefer to see it as a failure of the specification. Tax avoidance isn't illegal, tax evasion is. Getting acquitted on a "loophole" still means you're free to go.
I maintain multiple large authentication packages and this is the reason I reject almost all feature requests. Not because I am an d*ck, but I need to be able to verify their safety and I am only human.
But rust programs are full of bugs unrelated to memory safety, if you go down this argument line you are furthering the argument that the programming language's safety mechanism prevents all bugs, it doesn't there can still be bugs in the application code, not in the compiler.
[dead]
Others are looking hard for kernel bugs. They exist, but there are good reasons (including multi-kernel validation) to be confident they don't impair these recent proofs.
In a situation in which you have a cohort of people who "want to believe" in some unlikely thing, you have to take the evidence they present with a grain of salt. So it is, today: people "want to believe" we haven't basically solved automated theorem proving when we have.
Of course, once you introduce a few common axioms (choice, but even something simple like functional extensionality IIRC) a lot of non constructive proofs become possible
If you want a scare, take a look at how many soundness bugs the borrow checker has had. Nobody would deny its usefulness for correctness.
With that said the combo of con-leche, con-ron, and con-agua that has emerged since the summer is quite confidence inspiring, and I do expect that we will probably flush the vast majority of soundness bugs out of the major systems over the next year or two.
So expressing myself in the strictest mathematical terms is for the human, and being creative and trying a bunch of stuff out is for the machine.
Who is responsible for this mess!
HOL Light defines only 10 primitive inference rules.
HOL Light's maximizes trustworthiness and manual auditability by humans or machines (YOU CAN DO IT). The kernel itself has been formally verified inside HOL Light.
There are at least 3 separate HOL light implementations: HOL Light, CakeML, HOLZero that implement the exactly same logic.
Lean's kernel extends its primitive environment every time an inductive type or quotient primitive is declared. Once you import all of Mathlib it's very large. That's why you want to use something like HOL to verify those.
This is why Riemann proof only used a tiny bit of mathlib. An I think the formalization of Fermat's Last Theorem didn't use it at all.
This is (was? it predates Lean 4 by several years) an issue with `example` checking, which isn't relevant to soundness.
> it was later clarified that the person who originally posted the proof was already aware that it was buggy, and chose not to be clear about this up front, as a humorous way to file a bug
So not quite an accident. In the aftermath of this one of the Lean maintainers wrote a verified kernel, con-leche, that comparator uses.
There may be an important difference of regime from the kind of proofs mathematicians have cared about, to AI-coded proofs of correctness of very ambitious and consequential programs that no human has even read.
[dead]
I don't know, either, but history suggests that when djb claims X and other experts disagree, the safer bet is usually on X being right.
But the sole person, or the person who is closer than anyone else? I wouldn't really agree with that, on the simple grounds that there are other people taking the same approach to systems architecture. Look up Laurent Bercot, for starters.
There are many programs written by DJB, which I have been using continuously 24/7 for several decades, day and night, year after year, on many kinds of server computers and many successive generations of computer hardware, and they have always worked perfectly, without the slightest problem.
There are no programs written by any other individual that I have seen in continuous use for so many years, without having to be replaced with other versions or with other completely different programs, if not for fixing bugs in them, at least because of the need to enhance them with new features.
So I am certainly very grateful for his high-quality work shared publicly.
Bruce Schneier doesn't need to write secure C code, any vulnerabilities fix themselves out of embarrassment.
DJB is incapable of writing insecure C code, any vulnerabilities you think you may have found are because you're using it wrong.
[dead]
3/5