Formalising New Mathematics in Isabelle: Diagonal Ramsey
Lawrence C Paulson
TL;DR
The paper reports a complete Isabelle/HOL formalisation of Campos et al.'s exponential-bound result for Ramsey numbers, a landmark contemporary theorem. It introduces the improved book algorithm, partitions the vertex set into $X$ and $Y$, and uses a hierarchy of locale-based formal modules to manage the intricate state and invariants; the development relies heavily on computer algebra for real-analytic estimates, derivatives, and high-precision numerics. The author details the key lemmas and their formal proofs, including Lemma 4.1 and the zigzag lemma, and progresses through far-from-diagonal and near-diagonal regimes to establish $R(k) \le (4-\epsilon)^k$ with a rigorous, machine-checked argument. The work demonstrates that proof assistants can handle new, technically dense mathematics and produce a verifiable, tunable foundation for potential improvements and future refinements, bridging formalised and traditional mathematical practice.
Abstract
The formalisation of mathematics is starting to become routine, but the value of this technology to the work of mathematicians remains to be shown. There are few examples of using proof assistants to verify brand-new work. This paper reports the formalisation of a major new result (arXiv:2303.09521) about Ramsey numbers that was announced in 2023. One unexpected finding was the heavy need for computer algebra techniques.
