Skip to content
last30days.ai

Lean Riemann Hypothesis Verification

Hot topic #8 on 2026-11-26, from Hacker News · 1,060 comments, 1,247 points · brief written Nov 26, 2026, 7:34 AM

The posts that put it on the list

What the internet is saying about "Lean Riemann Hypothesis Verification"

TL;DR

  • A Lean formalization of the Riemann Hypothesis drew the largest discussion in the evidence, a Hacker News thread with 1,247 points and 1,060 comments, and a Lean-community GitHub repo built around it [1] [7].
  • Most of the activity afterwards is about shrinking the roughly 17M-line proof, via community pruning PRs, a compression leaderboard and a shorter Anthropic version [4] [5] [9] [10] [21].
  • Trust in the result is contested: commenters question how independent the checkers are and whether "checked in Lean" means the right statement was proved, and one HN post alleges a fatal flaw [1] [12] [18].

What happened

  • On 2026-11-21 a Hacker News thread titled "Lean verification of the Riemann Hypothesis" appeared, alongside a post of verification files (134 points) and a GitHub post carrying a joint statement by the Lean and Mathlib communities [1] [2] [7].
  • The formalization is attributed to Levent Alpöge and is described as 175,187 files and about 980.4M characters of Lean 4 [9].
  • A GitHub issue on the community repo proposed setting the status of the (generalized) Riemann hypothesis to solved [14].
  • An HN commenter says Claude formalized a huge chunk of modern mathematics for the proof, and that a human expert was in the loop [1].

What people are doing with it

  • Contributors are pruning the repo. One PR removes 11,163 unreachable dead modules, building on a commit that deleted 10,474 files (5.98%) [21].
  • A GitHub issue on removing hypothesis fields the proof never reads has 119 comments [16].
  • Another PR replaces 62 explicit nlinarith expansions with lia or grind [17].
  • Maintainers are merging work in batches, including one PR combining 46 small PRs from 25 authors [19].
  • An open community effort proposes simplifying the formalization, reporting "Core 1–13 Live −65.4%" and scaling to 92.2% [9]. Separate HN posts offer a compression leaderboard and an open benchmark [10] [11].
  • An HN commenter says the proof is down to 13m lines, citing rh-shrink.github.io [5].
  • An HN post reports a "much shorter version" of the GRH Lean verification from Anthropic (164 points) [4]. A treemap of the proof also drew 199 points [3].

Problems and open questions

  • An HN commenter argues the chance of a proof exploiting a checker bug is "vanishingly small" because several independent implementations exist. Another counters that a fake Collatz refutation once got through one such checker, and that the checkers "aren't as independent as they are sometimes touted to be" [1].
  • In a GitHub comment, one participant notes that riemannHypothesis in the repo is Mathlib's RiemannHypothesis, a statement about riemannZeta. The same comment says the submitted GRH form is stated on the critical strip while the repo's version excludes trivialZeros [14].
  • A GitHub issue says the repo still claims to be a byte-exact mirror of the submission ("The submitted Lean source is unmodified") even though PR #8 changed that [15]. Another issue proposes splitting into two repos and reverting specific PRs [20].
  • Kevin Buzzard's article on interpreting "checked in Lean" claims drew 335 points and 151 comments [18]. One commenter compares it to assuming code works because it compiles [18].
  • An HN post titled "17M lines of Lean, one alleged fatal flaw" challenges the proof, but it has only 1 comment and 7 points, and the evidence gives no detail on the claim [12].
  • In the 361-comment thread "Yes, 17M lines of Lean is a lot", a commenter asks why LLMs struggle to write human-readable output, and another recalls Ted Chiang's story about science too complex for humans to understand [5].
  • A separate thread (264 points, 208 comments) covers a Lean formalization of Alessandro Masullo's manuscript. A contributing mathematician asks for agent tokens, and a commenter says Ravi Vakil now claims not to have looked at the document [13]. Another commenter warns the progress bar does not show the proof is largely correct [13]. The evidence does not say how this relates to Alpöge's formalization.

New in the last 30 days

  • 2026-11-25: An HN post reports a shorter Anthropic version of the GRH Lean verification [4], and another post alleges a fatal flaw in the proof [12].
  • 2026-11-24: Maintainers opened a perf PR replacing 62 nlinarith expansions and a batch PR merging 46 small PRs [17] [19].
  • 2026-11-23: A treemap of the proof, a compression benchmark and a community simplification proposal were posted, and the "17M lines" thread ran [3] [5] [9] [11].
  • 2026-11-22: The compression leaderboard and the Masullo progress map appeared [10] [13].
  • 2026-11-21: The main HN thread, the verification files, and the Lean and Mathlib joint statement post were published [1] [2] [7].
  • 2026-11-20: A GitHub issue proposed marking (G)RH as solved [14].
  • 2026-11-16: Buzzard's article on interpreting Lean-checked claims was discussed on HN [18].
  • 2026-11-12: The earliest HN post, "Proof of the Riemann Hypothesis in Lean", appeared with 4 points [8].

Where the conversation is

Hacker News carries the debate over trust and scale, and GitHub carries the repo maintenance and pruning. Both mostly take the formalization as the object of work, while skepticism comes from individual HN commenters and the single flaw-allegation post rather than from maintainers [1] [12] [16].

Bottom line

Attention is large, but the evidence is mostly titles, engagement counts and snippets. It does not show whether the proof is accepted, what the alleged flaw is, or how the Alpöge and Masullo items relate. The practical activity is shrinking and cleaning the proof, and the open question is whether the formal statement matches what mathematicians mean by the Riemann Hypothesis [14] [18].

Sources

Based on 26 items from Hacker News + GitHub, 2026-10-29 to 2026-11-25. Retrieval and ranking by the open-source last30days engine by Matt Van Horn.