SIAgentNews.com
Photo-style picture of a rough stone slab for the story 'Claude reduces AI-generated Riemann hypothesis proof by 99 percent'
ClaudeAI-made picture for this story. No real people or products are shown.
← All news

Claude reduces AI-generated Riemann hypothesis proof by 99 percent

Anthropic researchers used Claude to shrink a massive 17.4 million-line formal proof into a compact version under 113,000 lines.

3 min readMade with AI

The short version

  • The original proof by Levent Alpöge contained roughly 17.4 million lines of Lean code.
  • Claude helped reduce the proof to a compact version of 113,000 lines and a readable version of 477,000 lines.
  • The new versions were independently machine-verified by mathematicians from MIT and the University of Waterloo.
  • Researchers are now using AI to translate these formal proofs into standard mathematical language for human study.

Shrinking the formal proof

Anthropic employees recently utilized the Claude AI model to drastically condense a formal proof of the Riemann hypothesis. The original proof, published by mathematician Levent Alpöge, was written in Lean, which is a formal language used to allow computers to verify mathematical logic. This initial version was massive, totaling approximately 17.4 million lines of code.

The team identified that the original Lean code contained a significant amount of unnecessary information. By using Claude to rework the logic, they produced a much smaller version of the proof. An independent evaluation showed that the most compact version reached just under 113,000 lines, representing a reduction of over 99 percent.

The project also produced a version optimized for human readability, which reached about 477,000 lines. According to documentation provided by Luke Sernau, Claude was responsible for writing both the Lean code and the accompanying explanations. This process involved finding simpler proofs for many of the intermediate mathematical results.

99 percentreduction in proof length

Why it matters

This marks a shift where the bottleneck in mathematics moves from proving a theorem to making that proof understandable for humans. It demonstrates that AI can not only generate complex logic but also refine and simplify it significantly.

Verification and accuracy

Ensuring the integrity of the condensed proof was a primary concern for the research team. Because the reduction involved finding new arguments and simplifying many steps, the mathematical community needed to confirm the results remained valid. The Lean community had already confirmed the formal correctness of the original 17.4 million-line proof shortly after its release.

To verify the new, shorter versions, the team sought independent machine checks from established mathematicians. Andrew Sutherland, a mathematician at MIT, performed an independent machine verification of both the compact and readable versions. He confirmed that the new versions maintain the same mathematical statements as the original.

Michael Rubinstein from the University of Waterloo also conducted a check on the compact version. His results matched those of Sutherland, confirming the accuracy of the AI-assisted reduction. These checks ensure that the drastic shortening of the code did not introduce any errors into the underlying logic of the Riemann hypothesis proof.

Translating for humans

While the proof is now significantly shorter and machine-verified, the mathematical community still faces the challenge of understanding the logic. The Lean community is currently using the more readable version as a foundation for their ongoing work. A joint research project involving three mathematicians was recently announced to create a version that humans can actually read and study.

AI is also being used to bridge the gap between formal code and traditional mathematical language. For example, Michael Rubinstein used Claude, Codex, and Gemini to create a 265-page draft of the proof in standard mathematical prose. This draft remains incomplete but serves as a starting point for human review.

Other researchers are following a similar path to make the findings accessible to the wider scientific community. Bartosz Naskrecki recently published a working draft that uses AI to prepare the entire compact version into a format for human review. While these drafts still require expert human inspection, they represent a major step in making complex AI-generated proofs usable for research.

A new research bottleneck

The rapid simplification of the proof suggests a major shift in how mathematical research might function in the future.

The role of formal languages

The original proof was written in Lean, which is a formal language designed specifically for machine verification of mathematical logic. By using this type of formal language, researchers can ensure that every step of a complex proof follows strict rules that a computer can check for errors. This provides a level of certainty that traditional human-written proofs might lack, especially when dealing with problems as complex as the Riemann hypothesis.

The sheer scale of the initial Lean code was a major hurdle for the mathematical community. While the 17.4 million lines of code provided a machine-verifiable path to the proof, the volume made it nearly impossible for humans to navigate or audit efficiently. The work by Anthropic and other researchers highlights how formal languages allow for a rigorous foundation that can then be systematically refined and compressed by artificial intelligence.

Multi-model AI collaboration

The transition from machine-verifiable code to human-readable prose is being accelerated by the use of multiple different AI models. Michael Rubinstein demonstrated this by combining the capabilities of Claude, Codex, and Gemini to translate the original proof into a standard mathematical format. This multi-model approach allows for different strengths to be utilized, such as one model handling the logic of the formal code while others help structure the narrative of the final text.

This collaborative use of AI is helping to generate a 265-page draft that serves as a bridge between the raw Lean code and the final academic publication. Although this draft is currently incomplete, it represents a significant effort to make the proof accessible to the broader scientific community. By using these tools, mathematicians can begin to extract new insights and mathematical innovations that were previously buried in millions of lines of computer-readable instructions.

What to watch

  • Whether the 265-page human-readable draft will be completed for peer review.
  • How other major mathematical conjectures will be approached using similar AI-driven reduction techniques.

Try it

Look up the

Up nextAnthropic mathematician says the huge Claude Riemann proof page count was a joke

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.

More AI news