17 Million Lines of Proof Code: How Peers Can Verify a Claimed Riemann Hypothesis Proof
This article explains how a claimed Riemann Hypothesis proof, about 17 million lines of formal code, challenges peer review. It covers why proofs this long are hard to read, how formal verification shifts checking from human reading to machine verification, and how a layered trust model can work when no person can read the whole proof. It does not judge whether the proof is correct.
1. Overview of the Event
Recently, a mathematics researcher submitted material claiming that the researcher’s team used a large AI model to find a proof idea for the Riemann Hypothesis. The researcher also argued that the idea could extend to the Generalized Riemann Hypothesis. The material is about 17 million lines of formal code. The tone is plain and reads like a routine progress report. However, the mathematical community has not formally accepted the result, and no relevant institution has endorsed it.
This article does not judge whether the proof holds. It focuses on a more specific question: when a proof is too long for humans to read in full, how should peers establish trust? This question applies beyond mathematics. It also arises in large-scale code generation, automated content production, and the verification of critical systems.
2. Why the Riemann Hypothesis Is Hard
The Riemann Hypothesis was proposed in 1859. It concerns the distribution of the nontrivial zeros of the Riemann zeta function. Its core claim is that the real part of every such zero equals 1/2. The statement is simple to express, yet it is closely tied to the fine-grained patterns of prime numbers.
For more than a century, many mathematicians have tried to prove it without success. A private mathematics research institute included it among the seven Millennium Prize Problems and offered a prize of one million US dollars. Among these seven problems, only the Poincaré Conjecture has received broad recognition as solved, and its solver did not claim the prize. This shows that the difficulty of such problems comes not only from the technical content but also from a long process of evaluation and acceptance.
3. The Reading Barrier Created by Scale
Consider a rough calculation. If each printed page holds 50 lines, 17 million lines amount to about 340,000 pages. If a reader can skim 200 lines per minute, reading continuously would take about 59 days. Reading eight hours a day would take about 177 days, close to half a year. This estimate covers only skimming each line, not the time needed to understand the reasoning.
More important, a formal proof differs in style from a mathematical paper. A paper is written in natural language and may skip steps, cite other work, and omit details. Each line of a formal proof is an instruction that a proof system can parse, and every step must state its premises completely. Reading such a text resembles studying a large legal code with many entries that cross-reference each other. Even experts find it hard to grasp the whole within a reasonable time.
Traditional peer review is also slow. The classical manuscript of Fermat’s Last Theorem runs about 200 pages. Its review took nearly two years, during which a critical gap was found. The gap was repaired only later. Manual review is already slow for short proofs. Once the length grows by several orders of magnitude, checking every line by hand is largely impractical.
4. How Formal Verification Changes Review
Formal verification replaces “a human understands the proof” with “a machine checks the proof.” A typical workflow has four steps:
- Choose a strict logical foundation that defines the permitted axioms and inference rules.
- Write the proposition, lemmas, and each reasoning step in a form that a proof system can parse.
- Have a proof checker verify each step, confirming that every step follows strictly from axioms or from previously proven results.
- Review the core program of the checker separately to confirm that the checker itself is reliable.
The key to this approach is layered trust. Machines verify most of the reasoning, so human reviewers only need to confirm a small
