{"type":"post","id":"grh-lean-a-short-lean-4-proof-of-d87a6e","slug":"grh-lean-a-short-lean-4-proof-of-d87a6e","title":"grh-lean: A short Lean 4 proof of the Generalized Riemann Hypothesis","description":"A GitHub repository presents a Lean 4 proof of the Riemann hypothesis and the generalized Riemann hypothesis for Dirichlet L-functions.","retrieval_nugget":"A GitHub repository presents a Lean 4 proof of the Riemann hypothesis and the generalized Riemann hypothesis for Dirichlet L-functions.","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["claude","anthropic","github"],"entities":["Lean","Mathlib","Anthropic","Claude"],"related_patterns":[],"novelty_label":"new_fact","what_changed":"The Lean formalization is reported to have been compressed from 17.4 million lines to about 76,000, a 229-fold reduction.","prior_refs":[],"source_url":"https://github.com/lsernau/grh-lean","source_urls":["https://github.com/lsernau/grh-lean"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T17:00:21.047Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"Its compact edition is about 76,000 lines.","quotes":["A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms propext , Classical.choice and Quot.sound ."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=A%20Lean%204%20proof%20of%20the%20Riemann%20Hypothesis%20and%20of%20the%20Generalized%20Riemann%20Hypothesis%20for%20Dirichlet%20L%2Dfunctions%2C%20built%20on%20Mathlib%20and%20using%20only%20the%20axioms%20propext%20%2C%20Classical.choice%20and%20Quot.sound%20.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The formalization builds on Mathlib and is based on Levent Alpöge’s work with Claude; the shorter version was produced with colleagues at Anthropic and Claude.","quotes":["A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms propext , Classical.choice and Quot.sound .","The proof is based on Levent Alpöge's, with Claude ( https://alpo.ge/remark.pdf ).","This repository is a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=A%20Lean%204%20proof%20of%20the%20Riemann%20Hypothesis%20and%20of%20the%20Generalized%20Riemann%20Hypothesis%20for%20Dirichlet%20L%2Dfunctions%2C%20built%20on%20Mathlib%20and%20using%20only%20the%20axioms%20propext%20%2C%20Classical.choice%20and%20Quot.sound%20.&text=The%20proof%20is%20based%20on%20Levent%20Alp%C3%B6ge%27s%2C%20with%20Claude%20%28%20https%3A%2F%2Falpo.ge%2Fremark.pdf%20%29.&text=This%20repository%20is%20a%20shorter%20version%2C%20produced%20in%20collaboration%20with%20my%20colleagues%20at%20Anthropic%2C%20and%20Claude.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The repository says the proof uses only the axioms propext, Classical.choice and Quot.sound.","quotes":["A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms propext , Classical.choice and Quot.sound ."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=A%20Lean%204%20proof%20of%20the%20Riemann%20Hypothesis%20and%20of%20the%20Generalized%20Riemann%20Hypothesis%20for%20Dirichlet%20L%2Dfunctions%2C%20built%20on%20Mathlib%20and%20using%20only%20the%20axioms%20propext%20%2C%20Classical.choice%20and%20Quot.sound%20.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The readable and compact editions are separate Lake projects, each with its own README.","quotes":["Each folder is its own Lake project with its own README."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Each%20folder%20is%20its%20own%20Lake%20project%20with%20its%20own%20README.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The build requires Lean v4.35.0 and Mathlib at commit 56a00585.","quotes":["Build Needs Lean v4.35.0 and Mathlib at commit 56a00585."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Build%20Needs%20Lean%20v4.35.0%20and%20Mathlib%20at%20commit%2056a00585.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"In either edition’s folder, the listed sequence is lake exe cache get, lake build and lake env lean scripts/PrintAxioms.lean.","quotes":["In either folder: lake exe cache get lake build lake env lean scripts/PrintAxioms.lean A build takes one to two hours on 12 cores with 24 GB of memory (about 85 minutes more if the Mathlib cache is missing)."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=In%20either%20folder%3A%20lake%20exe%20cache%20get%20lake%20build%20lake%20env%20lean%20scripts%2FPrintAxioms.lean%20A%20build%20takes%20one%20to%20two%20hours%20on%2012%20cores%20with%2024%20GB%20of%20memory%20%28about%2085%20minutes%20more%20if%20the%20Mathlib%20cache%20is%20missing%29.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The repository estimates one to two hours on 12 cores and 24 GB of memory, with about 85 minutes extra if the Mathlib cache is missing.","quotes":["In either folder: lake exe cache get lake build lake env lean scripts/PrintAxioms.lean A build takes one to two hours on 12 cores with 24 GB of memory (about 85 minutes more if the Mathlib cache is missing)."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=In%20either%20folder%3A%20lake%20exe%20cache%20get%20lake%20build%20lake%20env%20lean%20scripts%2FPrintAxioms.lean%20A%20build%20takes%20one%20to%20two%20hours%20on%2012%20cores%20with%2024%20GB%20of%20memory%20%28about%2085%20minutes%20more%20if%20the%20Mathlib%20cache%20is%20missing%29.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"A guide for the readable edition is at grh/GUIDE.md.","quotes":["Two editions grh/ : readable edition, about 300,000 lines. Start at grh/GUIDE.md ."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Two%20editions%20grh%2F%20%3A%20readable%20edition%2C%20about%20300%2C000%20lines.%20Start%20at%20grh%2FGUIDE.md%20.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The readable edition is about 300,000 lines; the compact edition contains the same five theorems in about 76,000 lines.","quotes":["Two editions grh/ : readable edition, about 300,000 lines.","Two editions grh/ : readable edition, about 300,000 lines. Start at grh/GUIDE.md . grh-compact/ : the same five theorems, about 76,000 lines."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Two%20editions%20grh%2F%20%3A%20readable%20edition%2C%20about%20300%2C000%20lines.&text=Two%20editions%20grh%2F%20%3A%20readable%20edition%2C%20about%20300%2C000%20lines.%20Start%20at%20grh%2FGUIDE.md%20.%20grh%2Dcompact%2F%20%3A%20the%20same%20five%20theorems%2C%20about%2076%2C000%20lines.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The repository says both have passed machine checks, with the checks listed in each edition’s README.","quotes":["Status The proof has passed machine checks only, listed in each folder's README."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Status%20The%20proof%20has%20passed%20machine%20checks%20only%2C%20listed%20in%20each%20folder%27s%20README.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"},{"claim":"The repository says no mathematician has read the proof through and no paper accompanies it.","quotes":["Status The proof has passed machine checks only, listed in each folder's README. No mathematician has read it through, and no paper comes with it."],"cite_url":"https://github.com/lsernau/grh-lean#:~:text=Status%20The%20proof%20has%20passed%20machine%20checks%20only%2C%20listed%20in%20each%20folder%27s%20README.%20No%20mathematician%20has%20read%20it%20through%2C%20and%20no%20paper%20comes%20with%20it.","source_url":"https://github.com/lsernau/grh-lean","publisher":"github.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:grh-lean-a-short-lean-4-proof-of-d87a6e","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/grh-lean-a-short-lean-4-proof-of-d87a6e/","markdown":"https://newruntime.com/posts/grh-lean-a-short-lean-4-proof-of-d87a6e.md","json":"https://newruntime.com/posts/grh-lean-a-short-lean-4-proof-of-d87a6e.json"},"markdown_url":"https://newruntime.com/posts/grh-lean-a-short-lean-4-proof-of-d87a6e.md","next_reads":[{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/anthropic/","url":"https://newruntime.com/topics/anthropic/","title":"Anthropic","reason":"Explore the anthropic topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/anthropic.md","json_url":"https://newruntime.com/topics/anthropic.json"},{"type":"topic","path":"/topics/github/","url":"https://newruntime.com/topics/github/","title":"Github","reason":"Explore the github topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/github.md","json_url":"https://newruntime.com/topics/github.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
