Much shorter version of GRH Lean verification from Anthropic
- ID
- 50477
- Status
- summarized
- Published
- 26 Nov 2026, 5:48 AM
- Fetched
- 26 Nov 2026, 10:59 AM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://github.com/lsernau/grh-lean
- Source URL
- https://hnrss.org/best
Summary
- Score
- 6.0
- Created
- 26 Nov 2026, 10:59 AM
- Tags
- Audience
- developersai_ml_learnersai_agent_users
What happened
The GitHub repo lsernau/grh-lean publishes a Lean 4 proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions, with a readable edition of about 300,000 lines and a compact edition of about 76,000 lines covering the same five theorems. It builds against Lean v4.35.0 and Mathlib commit 56a00585, takes roughly 1–2 hours on 12 cores with 24 GB RAM, and is marked machine-checked only—no mathematician has read it through and no paper accompanies it.
Why it matters
If you evaluate AI agents on Lean or formal-methods work, this is a concrete artifact to inspect: it compiles and checks axioms, but the repo states it is unmaintained, not accepting contributions, and not reviewed by a mathematician, so it should not be cited as a settled proof or pulled in as a dependency. For most builders the practical decision is to watch the agent-generated formal-proof trend rather than spend the 1–2 hour build unless Lean is directly relevant.
Discussion angle
Is 'passes Lean kernel checks' enough to trust an AI-generated proof when no mathematician has read the 76,000-line compact artifact, and what would you require before using agent-produced formal code in your own work?