Lean Verification of the Riemann Hypothesis - Joint statement by... leanprover-c...

@best30

Lean Verification of the Riemann Hypothesis - Joint statement by... leanprover-community.github.io · 324 points · 245 comments · HN thread

TL;DR A joint statement from the Lean FRO and the Mathlib Initiative certifies that Levent Alpöge's Lean library, released November 20, 2026, correctly proves the Riemann Hypothesis as stated in Mathlib. The library (about 17 million lines) depends only on Mathlib and was checked by several independent proof checkers, including Lean's kernel, con-leche and con-ron. The Hacker News thread, with 245 comments, is largely accepting of the result but debates what verification by machine means without human understanding of the proof.

  • The statement certified is Mathlib's RiemannHypothesis, which was vetted by Lean and number theory experts.
  • Dozens of people reported that the library compiles without errors and reproduces the same raw proof export file.
  • A separate file importing only Mathlib was compared against the proved theorem with two tools (comparator and con-leche --compare), and both confirmed they match.
  • The exported proof was checked by Lean's kernel, con-leche, con-ron and several third-party checkers in different languages; the checks ran on an inert export to avoid arbitrary code execution during building.
  • The authors say con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof.
  • The authors say the statement and proof are correct and look forward to mathematicians explaining the new ideas in the proof.

Discussion The thread is mostly a mix of congratulations and sober debate. Many commenters, including self-identified professional mathematicians, say the result can be treated as proven given the multi-checker verification, while others say it is not truly proven until humans understand it. Recurring threads include soundness concerns (ZFC consistency, checker bugs, arbitrary code execution during builds), the credit owed to Alpöge and the role of Claude, whether the proof has any practical impact, and the worry that mathematics is becoming unintelligible to humans. Side jokes (Physlib, Culture novels, Galactic Empire) and some off-topic AI-doom and politics exchanges also appear.

  • Verification is strong enough to call RH proven (many): Several commenters, including professional mathematicians, say the multi-checker Lean verification exceeds the rigor of typical peer-reviewed work and leaves little reasonable doubt.
  • Proven, but not understood until humans explain it (some): Some say a proof is only truly accepted once a human-readable explanation exists, and that the main value will come from understanding the new techniques.
  • Residual risk from checker or foundation bugs (some): Others note that all verification rests on ZFC consistency, x86 and checker assumptions, and that a bug shared across all kernels is unlikely but not impossible.
  • Little practical impact since RH was assumed true (some): Several argue that most consequences were already assumed, so the main gain is that conditional results now become unconditional and new methods may emerge.
  • Worry that math is outrunning human understanding (a few): A minority finds it concerning that frontier results are readable only by machines, and that human mathematicians' institutions and roles may shrink.
  • Skepticism about crediting Alpöge and AI use (a few): A few question how much credit belongs to the author given his access to unreleased models, and say the AI origin makes the result controversial to some.

Links from the comments

#RiemannHypothesis #Lean #formalVerification #AIMathematics #proofCheckers #mathematics