Formal Proof at Scale: Technical Lessons from the AI Proof "250,000 Pages" Mix-Up
This article reviews a recent incident in which a joke about a 250,000-page formal proof spread as fact, while the actual release involved roughly 17.5 million lines of formal code. It breaks down the timeline, explains why the four-page documentation could not match the code's scale, and examines four engineering challenges: compilation and checking costs, redundancy governance, reproducibility, and auditability. It also clarifies the boundary of human-AI collaboration and offers a practical release checklist for research teams shipping large-scale formal proofs.
1. What Happened: How a Joke Became a “Fact”
Over the past few days, discussion about an AI coding tool’s involvement in completing the formal proof of a major mathematical conjecture has swept through both the software community and the mathematics community. The most widely circulated detail was that translating the proof into human-readable natural language would produce more than 250,000 pages.
The project lead, a mathematics researcher, later published a public clarification: the 250,000-page figure was a joke. He simply found the idea of a “very large number” funny. He assumed that the deliberately tedious description of the total ordering of real numbers in the main theorem was enough to signal the humor, but he did not expect outsiders to treat the number as fact and spread it widely.
It is important to note that this response did not dispute the validity of the proof itself. The issues he acknowledged were limited to two points: first, the wording used when announcing the result was inappropriate; second, the formal code contained a large amount of redundancy. Because he avoided posting on social media for several days after the release, he missed the best window for clarification and could only watch memes circulate. He quoted one mathematician’s advice self-deprecatingly: “Don’t make jokes in papers. Now I finally understand why.”
From an engineering perspective, the value of this incident is not the gossip. It pushes a long-underestimated question to the forefront: when a formal proof reaches the scale of tens of millions of lines, how should we manage, verify, and release it?
2. Timeline Breakdown: Completed in 41 Days, but the Release Went Off Track
According to previously disclosed information, the project started on October 6 and took about 41 days. The final step of the core proof was completed on November 15, and the result was extended to a generalized case on November 16.
Unlike a traditional mathematical result, the team did not submit a complete natural-language paper. Instead, they released a four-page explanatory document plus a set of formal proof code of astonishing scale: about 175,000 source files and roughly 17.37 million lines of code, packaged into 14 archives for download.
This exposes a typical “release engineering” problem: the information density of the documentation was severely mismatched with the scale of the code. A four-page document cannot carry the architecture description, dependency relationships, reproduction steps, and known redundancy for 17.37 million lines of code. Outsiders were left to figure things out on their own, which created room for misunderstanding.
3. The Real Challenge: What 17.37 Million Lines of Formal Code Means
A joke can be clarified, but the code scale will not disappear. A formal proof at the tens-of-millions-of-lines level creates at least four engineering challenges.
3.1 Compilation and Checking Costs
Formal proofs must be checked line by line by a proof assistant. When the number of files reaches the hundreds of thousands, incremental compilation, caching strategies, and parallel scheduling all become bottlenecks. A common approach is to build a layered dependency graph: push stable lemmas down into a base layer and isolate volatile parts at the top layer to control the scope of recompilation.
3.2 The Inevitability and Governance of Redundancy
Redundancy is not purely a mistake. During exploration, duplicate lemmas, unused assumptions, and over-generalization are normal traces of cognition. The problem is that no cleanup was done before release. Governance measures include unused-declaration detection, duplicate-goal merging, proof-script compression, and physically separating “exploration branches” from the “main proof.”
A schematic cleanup flow can be expressed as follows:
Original exploration library -> Static scan (unused/duplicate) -> Candidate pruning-> Full verification (proof assistant) -> Main library-> Archive exploration branches (excluded from release)
3.3 Reproducibility
Once outsiders obtain the 14 archives, whether they can reproduce “verification passed” with one command is the core of trust. A reproducible experiment should include at least: a fixed toolchain version, locked dependencies, a checksum manifest, step-by-step verification scripts, and expected output. Missing any of these turns reproduction into “just trust me.”
3.4 Evidence Chain and Readability
The correctness of a formal proof is guaranteed by the machine, but understandability is the responsibility of humans. A four-page document is clearly insufficient. A reasonable structure should include: theorem statements and notation conventions, the overall proof strategy, module breakdown, an index of key lemmas, and known redundancy with a follow-up cleanup plan.
4. The Boundary of Human-AI Collaboration: Capability Overestimated, Responsibility Not Underestimated
Projects like this are most easily misread as “AI independently conquered a century-old problem.” A more accurate understanding is that AI coding tools excel at large-scale, repetitive, verifiable proof-step filling within an established formal framework, while problem modeling, strategy selection, and semantic interpretation still rely heavily on human researchers.
Therefore, the division of responsibility must be clear: the machine is responsible for “whether each step is legal,” and humans are responsible for “whether the problem was asked correctly and whether the conclusion is interpreted correctly.” Conflating the two both overestimates the tool and blurs the publisher’s responsibility.
5. Release Guidelines: A Checklist for Research Teams
- Clarify first, then spread: include explicit labels for “jokes/rhetoric” in the release to prevent numbers from being misread.
- Documentation should weigh as much as code: the larger the code scale, the thicker the documentation must be, covering at least architecture, reproduction, and redundancy notes.
- Classify redundancy: distinguish “necessary redundancy,” “exploration residue,” and “items to clean up,” and provide a cleanup timeline.
- Prioritize reproduction: provide locked versions, checksums, a one-click verification script, and expected logs.
- Make evidence auditable: retain verification logs and intermediate artifacts for third-party spot checks.
- Plan the communication window: assign someone to answer questions for 48 hours after release to avoid delayed clarification.
6. Conclusion
The 250,000 pages was a joke; the 17.37 million lines is not. What this incident truly leaves behind is not dinner-table chatter, but a checklist on how large-scale formal proofs should be taken seriously: reproducible, auditable, cleanable, and explainable. For developers, the same principle applies to any large-scale automatically generated artifact: the larger the scale, the more engineering discipline is required; the lighter the wording, the more rigorous the release must be.
