All Today

🔢 Hacker News argues whether a Lean-checked AI proof of the generalized Riemann hypothesis really holds

· 4 min

In brief


💬 On 20 November 2026 Levent Alpöge, a mathematician at Anthropic, posted a paper claiming to prove the generalized Riemann hypothesis, a relative of the famous conjecture about how prime numbers are spread out. According to the discussion, the proof was produced with heavy help from the AI model Claude and exists as code in Lean, a language in which a computer mechanically checks every step. On Hacker News, an English-language discussion site about technology and science, the post drew about 1,500 comments. Many participants with Lean experience said that if the code compiles, the proof is right, provided the short statement at the top really describes the conjecture. Skeptics saw exactly that point as the weak spot. There was also an argument over how much the human contributed, and over a second proof written without AI.


📦 The figures commenters quoted show the scale. The proof archive is said to come in 14 parts and unpack to about 1.3 gigabytes and roughly 15 million lines of Lean; one participant estimated that a readable version on paper would run to about 250,000 pages. Another user compiled the archive on a 480-core machine: a little over 2.4 hours, 89 gigabytes of output, all 175,187 modules passing and none using "sorry", the placeholder Lean uses to mark a gap. That user pointed to more than 460,000 linter warnings and said they had not checked which axioms, the unproven starting assumptions, the result depends on. A Lean developer, Joachim Breitner, was quoted as saying the proof is now very thoroughly checked; according to comments, several independent checkers, some of them formally verified themselves, accepted it.

Skeptics raised three objections. First, the statement problem: a program can successfully check a proof of a wrongly worded claim. Several pointed to DeepMind's formal-conjectures repository as the reference wording and said the headline statement is short enough to read by hand. Second, bugs in the checker itself: an AI searching for a way to pass the test could exploit a flaw in Lean. Others replied that the same flaw in several independently built checkers is unlikely, while conceding that an attacker might find a different flaw for each. Third, the risk of quietly changed definitions: a model trained to succeed might alter definitions to make the proof easier; the answer was again that the definitions sit in the headline statement, which is checked separately. A post from the Xena Project was cited repeatedly; it argues that "checked in Lean" is a strong signal but that AI-generated Lean code needs additional tests.

⚙️ On the human role, views split: some commenters said more than 99 percent of the work came from the model, others stressed that a mathematician had to steer it. Some asked whether parts could have been in the training data. The 940-page human-only proof by Alessandro Masullo also loomed over the thread; it was published as a "hurried announcement", its author reportedly expects gaps, and one comment said an AI tool had found errors in it. Who would get priority if both hold up stayed speculation. The broader line of argument: what do mathematicians do when a proof is too long for any person to read? Some expect humans to choose problems and vet statements, others see that as a transitional phase, like "centaur chess". Unresolved: whether the Lean statement matches the conjecture exactly, which axioms are needed, whether Masullo's gaps can be closed, and how long expert review will take. Scientific American reported the claim the same day as not yet verified; MIT mathematician Andrew Sutherland told it he had compiled the result in Lean independently.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service