[KongchangAI]
· 2 min read· 1,171 words

AI Generates 17 Million Lines of Code, Claims to Prove the Riemann Hypothesis

AI Generates 17 Million Lines of Code, Claims to Prove the Riemann Hypothesis

With Claude's help, AI produced a formal Riemann Hypothesis proof; machine verification passed, but humans can't yet read it.

On November 20, Anthropic mathematician Levent Alpöge announced a proof of the Riemann Hypothesis assisted by Claude, delivering ~17 million lines of LIN code instead of a traditional paper—over 250,000 pages expanded. The LIN and MathLib communities confirmed formal verification passed. Fields Medalist Shing-Tung Yau says mathematics has entered a new era, but mathematicians have not yet understood the proof. The same day, AI found flaws within hours in a 940-page manuscript by a mathematician who had avoided AI for 12 years. The event highlights the AI-era tension: answers are obtainable, understanding lags.

A Proof Without a Paper

On November 20, mathematician Levent Alpöge of Anthropic announced that, with Claude's assistance, he had produced a proof of the Riemann Hypothesis. First proposed in 1859, the conjecture has remained unresolved for 167 years and is one of the Clay Institute's Millennium Prize Problems, carrying a $1 million bounty.

But the form of this delivery is more surprising than the conclusion itself. Alpöge did not submit a traditional paper; instead, he delivered roughly 17 million lines of LIN code—which, expanded into human-readable text, exceeds 250,000 pages.

Riemann Hypothesis prize background

This raises a key question: when a proof is so large that humans cannot read it through, how do we confirm it actually holds?

The Riemann Hypothesis was proposed by Bernhard Riemann in 1859, asserting that all non-trivial zeros of the Riemann zeta function lie on the critical line with real part 1/2 in the complex plane. It concerns the precise quantitative laws of prime distribution and is directly related to the error term in the prime number theorem. If true, it would greatly improve estimates of prime counting; if false, prime distribution would exhibit dramatic deviations far earlier than expected. Because of its foundational nature, it is listed as one of the seven Millennium Prize Problems by the Clay Mathematics Institute, with a $1 million prize, and for 167 years no widely accepted proof has been given.

Formal Verification: The Machine's "Pass"

The LIN and MathLib communities subsequently issued a joint statement that formal verification had passed and that the proposition proved was indeed the Riemann Hypothesis. This means every step of the proof was machine-checked, and the logical chain holds at the formal level.

17 million lines of code expanded to 250,000 pages

The value of formal verification lies in that it does not rely on a reviewer's intuition or authority—only on rules. A 250,000-page proof is nearly impossible for human reviewers to digest line by line, but a machine can. This is also the most substantive breakthrough of this event: not "AI came up with a proof," but "AI produced a proof that can be machine-verified."

LIN and MathLib communities jointly announce verification passed

Formal verification refers to translating a mathematical proof into a machine-checkable formal language, where a kernel verifies line by line whether each step of reasoning conforms to axioms and inference rules. Representative tools include Lean, Coq, and Isabelle, among which Lean and its mathematics library MathLib are currently the most active community projects. Each step of a formal proof generates a checkable proof term; any logical leap or unproven lemma will be rejected by the kernel. Therefore, passing verification means that, under the premise that the formal system is consistent with the axioms, the proposition is indeed proved. But formalization only guarantees logical correctness—not that the proof is concise, readable, or provides mathematical insight. The LIN mentioned here should be a code form based on this formalization tradition.

Passing Verification Does Not Equal Understanding

Fields Medalist Shing-Tung Yau's comment is telling: mathematics has entered a new era, but mathematicians have not yet understood it.

This sentence points to the core contradiction of the current situation. Formal verification proves the proposition is true, but it does not tell humans why it is true. Which key insight in the proof actually did the work—no one can say clearly. The value of mathematics is not only in a correct conclusion, but also in ideas that can be understood, transferred, and inspire further research. A 250,000-page proof that no one understands is more like a black-box answer.

Shing-Tung Yau comments on a new era of mathematics

"Understanding" a mathematical proof usually involves several layers: being able to identify the key lemmas and core constructions, being able to explain why these steps necessarily lead to the conclusion, and being able to transfer the method to other problems. Formal verification only guarantees logical validity in the last layer, not the first three. Historically, when the Four Color Theorem was proved with computer assistance in 1976, it also sparked debate over whether the proof could be understood by humans; later formalized versions further intensified this tension. When the size of a proof far exceeds the limits of human reading, the mathematical community may develop new methods of "machine-assisted understanding," such as automatically extracting proof dependency graphs and ranking the importance of key lemmas.

Another Mirror on the Same Day

On the same day, a mathematician who had insisted on not using AI for 12 years released a 940-page manuscript, and within hours AI found problems in it. Put together, the two events form a striking contrast: on one side, an AI-produced proof that humans cannot understand; on the other, a human manuscript whose flaws AI quickly identified.

The answer exists; understanding is still on its way. This may be the most accurate portrayal of the current relationship between AI and mathematics—AI can reach computational and formal depths difficult for humans to attain, but translating answers into human-understandable knowledge remains an unsolved problem. For the mathematical community, the next challenge may not be "can it be proved," but "how do we read the proof the machine gives us."

Key Points

  • With Claude's assistance, Alpöge claims to have proved the Riemann Hypothesis, delivering roughly 17 million lines of LIN code—over 250,000 pages when expanded—rather than a traditional paper.
  • The LIN and MathLib communities jointly stated that formal verification passed, and the proposition proved is indeed the Riemann Hypothesis.
  • Shing-Tung Yau says mathematics has entered a new era, but mathematicians have not yet understood the proof, and no one can clearly explain the key insight.
  • On the same day, a 940-page manuscript by a mathematician who had not used AI for 12 years had problems identified by AI within hours, forming a sharp contrast.
  • The event highlights the core tension of mathematics in the AI era: answers are obtainable, but understanding lags behind.

One-line Summary

With Claude's assistance, AI produced a formal proof of the Riemann Hypothesis; machine verification passed, but humans have not yet understood it.

Paragraph Summary

On November 20, Anthropic mathematician Levent Alpöge announced that, with Claude's assistance, he had proved the Riemann Hypothesis, delivering roughly 17 million lines of LIN code rather than a traditional paper—over 250,000 pages when expanded. The LIN and MathLib communities subsequently jointly stated that formal verification passed, confirming the proposition proved is indeed the Riemann Hypothesis. Fields Medalist Shing-Tung Yau commented that mathematics has entered a new era, but mathematicians have not yet understood the proof, and no one can clearly explain the key insight. On the same day, a 940-page manuscript by another mathematician who had insisted on not using AI for 12 years had problems identified by AI within hours, forming a sharp contrast. The event highlights the core tension of mathematics in the AI era: answers are obtainable, understanding lags behind, and the next challenge is how to read the proof the machine gives us.

#Riemann Hypothesis#AI mathematics#formal verification#Claude#Anthropic#Lean MathLib#Shing-Tung Yau
Share:

Related articles