17 million lines of Lean code "prove" the Riemann Hypothesis, but no one understands it
Contents
AI and Mathematics’ “Illusion Moment”: 17 million lines of Lean code “prove” the Riemann Hypothesis, but no one understands it
Last Friday, a mathematician named Levent Alpaguay used Claude to generate 17 million lines of Lean code in 41 days, claiming to have proved the Riemann Hypothesis that had been pending for 167 years. However, the proof contained a lot of "junk code" and no one (including the author himself) really understood its logic; at the same time, Anthropic released the VP vs VNP conjecture proof written by Claude alone, marking the beginning of AI. A drastic change in the role of "auxiliary tool" to "unexplainable black box generator" in mathematical research.
Riemann Hypothesis: The "hidden order" of prime number distribution
In 1859, German mathematician Bernhard Riemann discovered a formula that predicted the number of primes below any numerical value. The accuracy of this formula depends on whether a set of special points (non-trivial zeros of the Zeta function) all fall on the same straight line (the critical line with real part 1/2). Riemann guessed that they were so, but admitted that he could not prove it, which became known as the Riemann Hypothesis.
If the conjecture is true, it means that prime numbers are not randomly distributed, but follow a deep pattern that never breaks. In the 167 years since, computers have verified that trillions of zeros are on the line, hundreds of mathematical results have assumed this, and the Clay Mathematics Institute has offered a $1 million reward for proof. Until last year, Fields Award winner Terence Tao still predicted that it would take "human-machine integration" to overcome it until around 2050.
The 41-day sprint for patients with “AI psychosis”
Levent Alpaguay is not new: he used AI to refute the Jacobi conjecture in August, and had a dispute with OpenAI over the Navier-Stokes equation in September. He started a conversation with Claude in early October, which lasted 41 days, and he posted a 4-page PDF on his personal website last Friday announcing the completion of the certification.
The PDF frankly states: Claude did most of the heavy lifting, and he himself did not master the mathematics on which the proof relied. The footnote even warns: The description of Claude's contribution comes from an AI summary and may not make sense at all. The actual proof link points to a 17 million line Lean code base - Lean is a proof assistant language that compiles only if the mathematical logic is correct.
The Lean community compiled it on its own hardware overnight and confirmed that the code passed the compilation, and it was initially determined that the formal verification level was established.
"Panic release" on the same day: the debacle of 940 pages of handwritten proofs
At almost the same moment, the president of the American Mathematical Society "panicked" released a second proof: a 940-page manuscript from Alessandro Massullo that took 12 years to handwrite. His mentor originally planned to review it for another year, but was forced to rush it out. After just eight hours, the researchers fed it to Claude and discovered multiple problems.
Core vulnerability: anygeometry function "always returns true"
A core flaw in Alpaguay's Lean code was quickly discovered: a function named anygeometry that was supposed to check geometric conditions was only implemented as return true and was called 118 times. The discoverer, Jenny Nielsen, published a post claiming that the entire proof was invalid.
Follow-up investigation showed that most of the proof logic does not rely on this function, and it is most likely "residual garbage code" generated by AI. Alpaguay admitted that the Lean code was "obviously full of garbage" and clarified that previous claims of "proofs up to 250,000 pages long" were a joke - which seemed out of place considering that the industry was waiting with bated breath.
Deeper crisis: no one understands, no one can verify
The biggest problem is: no one understands why this proof is true, not even the author himself.
There is no readable mathematical paper, no human-understandable version. If mathematicians want to know why the Riemann Hypothesis is true, the only way is to read 17 million lines of Lean code that the author calls "junk". This breaks the cornerstone of mathematical “verifiability”: proofs are no longer human-communicable arguments, but huge binary blocks that only machines can verify.
Anthropic’s “Pure AI Author” Experiment: VP vs VNP
On Monday, Anthropic released a paper claiming to prove the VP vs VNP conjecture (which can be regarded as the "algebraic geometry cousin" of P vs NP). Only Claude is listed in the author column of the paper, and 73,000 lines of Lean code were also generated by him. Anthropic acknowledges: This has not yet been reviewed by any human mathematician.
What it means to us: Timelines compressed, but chains of trust broken
Limited short-term impact:
- Cryptography Security: The Riemann Hypothesis has been assumed to be true for a long time, and the existing encryption system is not affected.
- Reward Receiving: The Clay Institute requires "publishing a paper + a two-year observation period", and Alpaguay will not receive 1 million for the time being.
The long-term impact is far-reaching:
1. Timeline Collapse: The 24 years predicted by Tao were ended in 41 days by the "AI psychopath".
2. Verification paradigm shift: From "human beings read and understand" to "machine compilation means trust".
3. Black box knowledge production: AI becomes an unexplainable "proof generator" and humans become bystanders unable to understand their own creations.
Epilogue: When code review also requires AI
Video sponsor CodeRabbit launched CodeRabbit Explain, aiming to solve the pain points of AI-generated huge PRs that no one dares to review: automatically generate overviews, interpret changes hierarchically, mark risks and uncertain points, and help teams understand code that has been "blindly merged for months" in a few minutes.
---
Conclusion: We are standing at the strangest crossroads in the history of mathematics - The theorem has been proven, but the truth is missing.
---
Video link: https://www.youtube.com/watch?v=Jatwf_XOncE
(Automatic pipeline draft: score 75 points (target ≥90), transcription engine Deepgram, source speech-to-text; please check the facts and add your opinions before publishing. ⚠️ If the score does not reach 90 points, manual inspection is required.)

加载中…