Why is it all in the kernel?
- Programming
- Security
- Developer Tools
- AI
Paulson’s post is about theorem prover architecture, not operating systems. In a proof assistant, the kernel is the tiny trusted checker that decides whether a theorem really follows. His complaint is that systems built around proof objects and executable computation, especially Lean and Coq-style provers, keep pushing recursive definitions, evaluation, and termination checking into that trusted core. He contrasts that with systems like HOL Light and Isabelle/HOL, where the kernel stays small and dumb, and more of the work happens outside it. The immediate backdrop is a recent Lean kernel soundness bug that let a bogus proof of False slip through, which is the nightmare case because once False is accepted, every statement becomes provable.
If you rely on formal proofs in production research or verification, pay attention to the size and role of the trusted kernel, not just the surface language or community buzz. A richer prover can be more ergonomic, but it also expands the code you are trusting to certify results.
-
lawrencecpaulson.github.io
- Discuss on HN