A Claimed Riemann Proof in Lean Shows How AI Is Reshaping Collaborative Mathematics

Anthropic mathematician Levent Alpöge released millions of lines of machine-checked code, inviting the community to verify a headline-grabbing theorem without crypto panic.

7 min read

French mathematician Levent Alpöge posted a preprint on November 28, 2026, asserting a proof of the Riemann Hypothesis, one of the most famous unsolved problems in mathematics, together with claims that roughly seventeen million lines of supporting argument have been formalized and machine-checked in the Lean proof assistant. According to Alpöge’s announcement and accompanying repository metadata, large portions of the argument were developed in collaboration with Anthropic’s Claude model, with human mathematicians curating lemmas, rejecting dead ends, and guiding the decomposition of the problem into verifiable units. The mathematics community’s response within hours ranged from cautious intrigue to disciplined skepticism—the default posture whenever a headline-grabbing conjecture supposedly falls.

The Riemann Hypothesis concerns the zeros of the Riemann zeta function and their relationship to the distribution of prime numbers. Proposed by Bernhard Riemann in 1859, it sits on the Clay Mathematics Institute’s Millennium Prize list, with a million-dollar bounty for a correct solution. Hundreds of claimed proofs have arrived by email and arXiv over the decades; essentially all collapsed under expert review. Alpöge, a researcher with prior work in analytic number theory and arithmetic statistics, is not an unknown voice, which elevates the item from crank mail to a serious checking exercise—serious, but still unconfirmed.

What was claimed—and what was not

Alpöge’s preprint does not ask readers to trust prose paragraphs alone. The central publicity revolves around a Lean codebase scaling to on the order of seventeen million lines, a figure that reflects nested libraries, duplicated scaffolding, and automated-generated routine steps as much as luminous insight. Lean, developed under the Lean FOV ecosystem with Microsoft Research roots and community governance, allows mathematicians to encode theorems and proofs in a dependent type theory framework so that successful compilation yields a certificate that defined inference rules were followed.

Machine-checking does not automatically mean the theorem is true in the Platonic sense. Soundness of the proof assistant, correctness of imported axioms, and faithful formalization of the Riemann Hypothesis statement itself are prerequisite gates. A mis-stated hypothesis could be “proved” vacuously. Community referees will begin by comparing the formal statement to standard formulations in textbooks by Titchmarsh, Iwaniec, and contemporaries. Any deviation triggers alarm.

Crucially, neither Alpöge nor credible commentators suggested the work breaks cryptographic systems that rely on the practical hardness of factoring large integers or related problems. The Riemann Hypothesis concerns deep structure of primes; a proof would reshape analytic number theory and parts of physics where zeta functions appear, but it does not instantly render RSA obsolete. Science and technology reporters should avoid sensational “internet security shattered” framings; experts interviewed Friday uniformly cautioned against that leap.

Claude’s role as collaborator, not author

Alpöge’s narrative describes human-led proof discovery with Claude acting as a tireless lemma generator, type-class hint engine, and natural-language clarifier when formalization stuck. This fits a growing pattern in mathematical practice: large language models propose tactic scripts, suggest analogies to prior formalized theorems, and translate sketches into Lean’s syntax faster than a graduate student alone—then humans reject the majority of suggestions.

Anthropic did not issue a triumphalist press release by midday; the company’s public stance on scientific use emphasizes verification by domain experts. Internal policies on model assistance for high-stakes claims remain opaque, but researchers familiar with AI-math projects say Claude’s involvement likely resembled pair-programming rather than autonomous proof invention. The epistemic credit, for now, remains with Alpöge and any named coauthors who signed the preprint.

Historians of science may later compare the episode to computer-assisted proofs of the four color theorem or the Kepler conjecture—controversial at first because referees could not manually read every step, eventually accepted when verification machinery and community trust matured. The scale here dwarfs those precedents, pushing refereeing toward teams and automated sanity checks.

How the community will vet the work

The first wave is informal: specialists in analytic number theory skim the human-readable roadmap for use of unproven conjectures, subtle shifts in convergence assumptions, or appeals to physics-inspired heuristics not formalized in Lean. Parallelly, formal verification experts audit the Lean repository: toolchain version pinning, custom axioms, deprecated libraries, and whether any sorry placeholders remain—Lean’s admission of incomplete proof blocks.

If no sorry and no rogue axioms beyond standard mathematics libraries, attention turns to whether the formalized theorem matches RH. Journal peer review, if the author submits traditionally, could take years; the formal community may move faster, hosting collaborative sessions on Zulip channels and livestreaming lean builds. False alarms will emerge: compilation success on day one does not preclude later discovery of a logical hole in a Mathlib lemma imported months earlier.

Collaboration norms and credit

Mathematics traditionally prizes individual insight; AI assistance challenges authorship norms. Alpöge’s preprint acknowledgments apparently credit Claude with “substantial formalization assistance,” a phrasing tenure committees have not standardized. Funding agencies may ask whether grant money intended for human researchers subsidized API calls. Journals may require disclosure sections akin to software citations.

Young mathematicians see opportunity: mastering proof assistants plus model collaboration as a skill stack. Older guard worry about homogenization—models trained on textbook proofs favor established techniques and may struggle with the radical shift a true RH proof might require. Skeptics note that seventeen million lines might indicate brute-force engineering where a thousand-line insight would suffice, if one existed.

What readers should believe today

As of November 28, 2026, responsible science coverage should report three facts: a serious researcher published a formalization-heavy RH claim; Lean certification exists at unprecedented scale; independent validation has not completed. Everything else is provisional. Avoid declaring the problem solved; avoid implying crypto markets should panic; do explain why RH matters for prime distribution and why formal methods change refereeing economics.

Educators can use the moment to teach about conjecture status, the difference between proof assistants and experimental computation, and the social process of mathematical trust. Students flooding Chat interfaces asking for “the proof of RH” should hear that no shortcut bypasses expert review—not even a very long Lean file.

Lean, Mathlib, and the seventeen-million-line question

Lean’s mathematics library Mathlib has grown for years through community efforts to formalize undergraduate-through-research-level results. Alpöge’s repository apparently composes atop that foundation while adding bespoke analytic number theory layers. Reviewers will ask how much of the seventeen million lines are novel RH architecture versus repetition of well-known intermediate lemmas generated to satisfy decomposition strategies tuned for both humans and models. Automated “hammer” tools that blast searches for existing lemmas can inflate line counts without corresponding conceptual difficulty.

Maintenance burden matters: if a Mathlib revision breaks dependencies, the claimed certificate could require expensive recomputation before the community accepts permanence. Alpöge’s team likely pinned versions; outsiders must reproduce builds on identical hashes. Cloud CI offers to compile the project for referees who lack local clusters—democratizing verification while raising questions about who pays for terabytes of artifact storage.

Historical analogies without overclaiming

The 1998 proof of Fermat’s Last Theorem by Andrew Wiles did not immediately circulate as a million-line artifact, yet it still required expert seminar years to stabilize expositions and patch gaps. RH, older and more woven into prime-number folklore, attracts even louder pronouncements and even sharper skepticism. Newsrooms comparing Alpöge to Wiles should also compare him to the long tail of withdrawn arXiv posts: restraint is wisdom.

Physics-interested readers sometimes conflate zeta zeros with quantum chaos heuristics or random matrix theory. A RH proof could illuminate those connections or sever them if surprising structure appears. None of that translates into practical cryptanalysis timelines; RSA security debates belong in a different briefing.

If the proof holds—or if it fails

A validated proof would trigger workshops worldwide, retool curricula, and likely a Clay prize process with its own verification committee. Fields Medal politics would swirl around whether AI-assisted formalization constitutes a methodological revolution worthy of prizes beyond the Clay bounty. Failure will still advance knowledge: new formalized infrastructure usable for other theorems, lessons on model-assisted dead ends, and another chapter in RH lore.

Alpöge and Claude, as a pairing, symbolize 2020s mathematics: human questions, machine stamina, community scrutiny. The Riemann Hypothesis remains officially open until the experts say otherwise. That verdict may take months or years. Journalism’s job right now is clarity, not coronation—respecting both the beauty of the question and the gravity of claiming its answer.

More in science

Comments

Loading comments…

Across the Network