MathLabs

Worked solution: Flyspeck: a formal proof of the Kepler conjecture in HOL Light and Isabelle (2015)

Step 9 of 9: A landmark in machine-checked mathematics
In plain words

Once the Kepler conjecture had a proof that a computer, not just a human referee, could check line by line, mathematicians gained a new kind of confidence: the same confidence we have that a calculator's arithmetic is correct. Flyspeck stands alongside a handful of other giant formalisation projects — a machine-verified odd-order theorem, a machine-verified C compiler, a machine-verified operating-system kernel — as proof that century-old open problems can, in principle, be checked all the way down to logical bedrock.

CARD(V∩B(0,r))≤πr318+c r2\mathrm{CARD}(V \cap B(0,r)) \le \frac{\pi r^3}{\sqrt{18}} + c\,r^2
Detailed analysis

The formalised main statement says: for every packing VV, there is a constant cc such that for every radius r≥1r \ge 1, the number of ball centres inside a container of radius rr satisfies CARD(V∩B(0,r))≤πr3/18+c r2\mathrm{CARD}(V \cap B(0,r)) \le \pi r^3/\sqrt{18} + c\,r^2; letting r→∞r \to \infty recovers Kepler's density bound in its classical form. Because the proof scripts were saved in a replayable format, any reader with an ordinary computer can re-run the entire HOL Light verification of the main statement in about forty minutes, an independent check that requires trusting only the small, published kernel of the proof assistant rather than the thousands of pages of case analysis behind it.

Flyspeck's scale — described by the authors as comparable to the Feit–Thompson odd-order theorem, the CompCert verified C compiler, and the seL4 verified microkernel — helped establish that fully formal verification is a realistic option even for the hardest classical open problems, not just for pieces of software; it also left behind reusable HOL Light libraries for real and complex analysis that later formalisation projects have built on.

Knowledge used in this step