{"id":250077,"date":"2026-11-22T04:55:29","date_gmt":"2026-11-22T04:55:29","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/250077\/"},"modified":"2026-11-22T04:55:29","modified_gmt":"2026-11-22T04:55:29","slug":"riemann-hypothesis-lean-proof-how-the-claude-proof-was-checked","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/250077\/","title":{"rendered":"Riemann Hypothesis Lean Proof: How the Claude Proof Was Checked"},"content":{"rendered":"\n<p id=\"key-takeaways-title\">Key takeaways<\/p>\n<p>  The Lean and Mathlib communities certified on November 21, 2026 that Alp\u00f6ge&#8217;s library proves Mathlib&#8217;s own statement of the Riemann Hypothesis, after checks for statement correctness, compilation, statement matching and kernel validity. Andrew Sutherland&#8217;s MIT log, run with Claude Code, reports all 175,187 modules compiling with zero errors and only Lean&#8217;s three standard axioms in use; three independently written kernels accept the full exported proof. The verified &#8220;GRH&#8221; covers Dirichlet L-functions only. Dedekind zeta functions, Hecke L-functions and automorphic L-functions were not among the checked statements. The Clay Mathematics Institute still lists the problem as unsolved. Its rules require publication in a qualifying outlet, a two-year wait and general acceptance, and no human-readable write-up exists yet.   <\/p>\n<p>The Riemann hypothesis Lean proof that Anthropic mathematician Levent Alp\u00f6ge released on November 20, 2026 has passed every check the Lean and Mathlib communities set for it: the theorem it proves is Mathlib\u2019s own statement of the Riemann Hypothesis, the 17-million-line library compiles, and several independently written proof checkers accept the exported proof. Alp\u00f6ge says he found the proof working with Claude over roughly six weeks and published only the formal Lean code, with no human-readable paper. This page explains how each check works, what the proof covers, what was still running when we checked, and why the Clay Mathematics Institute still lists the problem as unsolved.<\/p>\n<p> Riemann Hypothesis Lean Proof at a Glance <\/p>\n<p>The Riemann hypothesis Lean proof is a formal proof, written for the Lean 4 proof assistant, that every nontrivial zero of the Riemann zeta function has real part 1\/2. It was announced on November 20, 2026 and certified by the Lean and Mathlib communities on November 21.<\/p>\n<p>    Question Short answer     Who released it Levent Alp\u00f6ge, a member of technical staff at Anthropic, working with Claude   What was released A four-page note and a Lean library split into 14 archive parts   Size About 17 million lines of Lean in 175,187 modules; depends directly only on Mathlib   What is proved The Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions   Who checked it Lean and Mathlib communities (joint statement endorsed by the Lean FRO and the Mathlib Initiative); MIT mathematician Andrew Sutherland published a full verification log   Official status Clay Mathematics Institute still lists the Riemann Hypothesis as unsolved   Human-readable proof None yet; Alp\u00f6ge says he intends to write one    <\/p>\n<p>Status as of Sutherland\u2019s log update at 02:25 UTC on November 22, 2026.<\/p>\n<p> Anthropic Riemann Hypothesis Claim: What Alp\u00f6ge and Claude Released <\/p>\n<p>Alp\u00f6ge\u2019s note opens with a direct claim: \u201cI believe I have, working with Claude, discovered a proof of the Riemann Hypothesis.\u201d He writes that the method extends to the Generalized Riemann Hypothesis, that he expects the Extended Riemann Hypothesis \u201cwith more time,\u201d and that \u201cClaude and I have also formalized the arguments without assumptions.\u201d Anthropic did not respond to the Associated Press when asked for comment on the claim.<\/p>\n<p>The note describes a division of labor. Alp\u00f6ge steered the approach from a toy setting modeled on Stepanov\u2019s argument for the Riemann Hypothesis over function fields, where a divisor with multiplicity does the work. Over the integers, multiplicity is hard to come by. Claude proposed chaining theta lifts to mimic it, and suggested that the chain should have length \u221aX for a von Mangoldt sum of length X. \u201cClaude far outpaced me near the finish line,\u201d he writes. A timeline on the last two pages runs from a first step on October 6 to \u201cGRH\u201d on November 16.<\/p>\n<p>He chose to publish only Lean. A text version produced along the way ran past 250,000 pages, and he calls a conventional write-up at this stage an unreadable document he did not want to post. He also acknowledges that he is \u201cpresenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics.\u201d The note went up the day after Anthropic\u2019s shares began trading on Nasdaq; Alp\u00f6ge calls the timing \u201chorrible\u201d and says he found the proof late on a Sunday night and then asked Anthropic CEO Dario Amodei whether he could announce it.<\/p>\n<p> How Lean Proof Verification Works for the Riemann Hypothesis <\/p>\n<p>Lean proof verification works by checking four separate things, each of which can fail on its own: the formal statement must say what mathematicians mean, the code must compile, the theorem it proves must be exactly that statement, and the proof must survive a trusted kernel. Kevin Buzzard set out these four questions on his Xena blog on November 12, 2026, for judging AI-generated Lean code, and the Lean and Mathlib joint statement certifies Alp\u00f6ge\u2019s library against all four.<\/p>\n<p><img src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/11\/lean-statement.jpg\" alt=\"Lean community blog post: Lean verification of the Riemann Hypothesis, joint statement by the Lean and Mathlib communities endorsed by the Lean FRO and the Mathlib Initiative\" width=\"800\" height=\"530\" loading=\"lazy\" decoding=\"async\" data-zoomable=\"\" title=\"Click to enlarge\"\/><\/p>\n<p>The joint statement on the Lean community blog, November 21, 2026. Screenshot of leanprover-community.github.io.<\/p>\n<p>    Check Failure it rules out How it was done here     1. Statement is correct A formal statement that looks like the theorem but means something else The proof targets RiemannHypothesis, a definition already in Mathlib and vetted by Lean and number theory experts   2. Code compiles A proof that never actually builds Dozens of people compiled the library and reproduced the same raw proof export   3. Proof matches the statement Hidden redefinitions or extra axioms buried in millions of lines A challenge file importing only Mathlib was compared with the proved theorem by comparator and con-leche &#8211;compare    4. Proof is valid A proof that exploits a bug in Lean\u2019s kernel The export was accepted by Lean\u2019s official kernel and by independent checkers, including con-leche and con-ron    Check 1: does the Lean statement mean the Riemann Hypothesis? <\/p>\n<p>Formal statements can compile and still be wrong. Buzzard\u2019s example is a Lean version of Fermat\u2019s Last Theorem over the natural numbers: because Lean\u2019s \u2115 includes 0, the statement is trivially false (take a = b = c = 0), yet it compiles. Alp\u00f6ge\u2019s library avoids this problem by proving Mathlib\u2019s existing definition. Sutherland\u2019s log quotes it: every zero of \u03b6 other than the trivial zeros \u22122, \u22124, \u22126, \u2026 has real part 1\/2. The extra condition s \u2260 1 is there because Mathlib assigns \u03b6 a conventional value at its pole.<\/p>\n<p> Check 2: does the library compile? <\/p>\n<p>Sutherland reports that all 175,187 modules compile on Lean v4.33.1 with Mathlib v4.33.1 with zero errors. A separate rebuild in a sandbox with no network access and read-only sources, on a different machine, reproduced the published proof export byte for byte. One of the 175,187 compiled files differs between builds because that module compiles non-deterministically; the exported proof itself matched.<\/p>\n<p> Check 3: is the proved theorem exactly the stated one? <\/p>\n<p>This check guards against a trick that a reviewer could never spot by reading: somewhere in 17 million lines, a definition gets quietly changed or a new axiom declares the result true. The community wrote a challenge file that contains only the statement and imports only Mathlib, then compared it against Alp\u00f6ge\u2019s theorem with two independent tools. Sutherland\u2019s log shows #print axioms for the five headline theorems returning only propext, Classical.choice and Quot.sound, Lean\u2019s three standard axioms, and no axioms declared outside Lean\u2019s core.<\/p>\n<p> Check 4: could a Lean kernel bug have let a false proof through? <\/p>\n<p>Lean has had a soundness bug before; Buzzard notes one that was fixed four hours after it was found. So the exported proof was replayed through checkers written independently of Lean\u2019s own kernel. Sutherland\u2019s log lists nanoda, a Rust kernel, accepting the full export, con-leche accepting 1,468,418 declarations in its verified mode, and lean4lean accepting every compiled module. The joint statement adds that con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof. All of these checks ran on an inert export of the proof, so malicious code in the Lean sources could not interfere with them.<\/p>\n<p><img src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/11\/sutherland-verification.jpg\" alt=\"Andrew Sutherland's verification page summary and the first rows of the check table: all 175,187 modules compile, print axioms shows only propext, Classical.choice and Quot.sound\" width=\"860\" height=\"729\" loading=\"lazy\" decoding=\"async\" data-zoomable=\"\" title=\"Click to enlarge\"\/><\/p>\n<p>Summary and first checks from Andrew Sutherland\u2019s verification files at math.mit.edu\/~drew\/grh\/, version of 02:25 UTC, November 22, 2026.<\/p>\n<p>Sutherland ran his checks with Claude Code. At his 02:25 UTC update on November 22, two runs were still going: the Lean default and paranoid kernels on the full export, and an end-to-end lake comparator run whose statement comparison and axiom check had already passed.<\/p>\n<p> Riemann Hypothesis Lean Proof Size and Compute <\/p>\n<p>The Riemann hypothesis Lean proof is about 17 million lines of code in 175,187 modules, and its raw proof export is 61,570,595,788 bytes, roughly 61.6 GB. Nobody can read that line by line, which is why every check above is mechanical. Alp\u00f6ge distributed the library as 14 compressed archive parts on his website.<\/p>\n<p>    Measurement Value (Sutherland\u2019s log)     Modules compiled 175,187, zero errors   Mathlib and dependency files 8,322 Mathlib and 378 dependency .olean files, identical to the official cache   Raw proof export 61,570,595,788 bytes   Declarations in the export 1,468,418 (accepted by con-leche)   nanoda full-export check 27 min 42 s on 80 threads   con-leche full-export check 3 min 15 s on 64 threads   con-ron statement comparison 7 min 6 s on 64 threads    <\/p>\n<p>Scale is now a practical barrier to independent checking. Buzzard wrote that when he was asked to review an earlier 13-million-line Anthropic formalization of Fermat\u2019s Last Theorem, his own machine ran out of memory and he needed temporary access to a 96-core machine with 500 GB of RAM to compile it. Checking a proof like this one is open to anyone in principle, but in practice it takes server-class hardware.<\/p>\n<p> What the Lean Proof Covers: RH and GRH for Dirichlet L-Functions <\/p>\n<p>The Lean proof covers the classical Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions, stated as five theorems in the submission\u2019s Main.lean. Sutherland\u2019s log reproduces them as they appear in the challenge file, using only Mathlib\u2019s definitions:<\/p>\n<p>   The Riemann Hypothesis in Mathlib\u2019s own form (riemannHypothesis : RiemannHypothesis).  The same statement written out in the submission\u2019s own words, which Lean accepts as equal by definition.  No zeros right of the critical line for any Dirichlet L-function: for every modulus N \u2265 1 and every character \u03c7 mod N, L(\u03c7, s) \u2260 0 when Re s &gt; 1\/2, except the trivial character at its pole s = 1.  Zeros in the critical strip lie on Re s = 1\/2 for every Dirichlet L-function.  The same for primitive characters, the form in which GRH for Dirichlet L-functions is usually stated.  <\/p>\n<p>The scope stops there. Sutherland\u2019s log states that Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general were not among the statements checked. Alp\u00f6ge\u2019s note says only that he expects the Extended Riemann Hypothesis \u201cwith more time.\u201d<\/p>\n<p>As a cross-check that does not rely on Mathlib\u2019s definition of \u03b6, Sutherland combined the proof with an independent Lean formalization of Robin\u2019s and Lagarias\u2019s criteria. The combined library proves two inequalities about the divisor sum \u03c3(n) with no mention of the zeta function: Robin\u2019s inequality for every n &gt; 5040, and Lagarias\u2019s inequality for every n &gt; 0. Both are known to be equivalent to the Riemann Hypothesis, and both pass the same comparison checks.<\/p>\n<p> Has the Riemann Hypothesis Been Proven? Clay Status and Prize Rules <\/p>\n<p>The Riemann Hypothesis has a formal proof that the Lean and Mathlib communities certify as correct, but it has not been officially recognized as solved. On November 22, 2026, the Clay Mathematics Institute\u2019s problem page still marked it \u201cUnsolved,\u201d noting that the hypothesis has been checked for the first 10 trillion zeros.<\/p>\n<p>Clay\u2019s Millennium Prize rules set three conditions before the institute will even consider a solution: publication in a qualifying outlet, at least two years since that publication, and general acceptance in the global mathematics community. A Lean library on a personal website meets none of them yet. Clay president Martin Bridson told the AP that the announcement is \u201cof historic significance\u201d and that \u201cthe journey from today\u2019s announcement to a place of real understanding will be long and difficult.\u201d<\/p>\n<p>The Lean certification and Clay\u2019s position answer different questions. The joint statement certifies the formal argument, and its authors say they \u201clook forward to all the activity in the mathematical community that will help explain the new ideas in this proof.\u201d Recognition by Clay waits on that explanation and on time.<\/p>\n<p> Riemann Hypothesis Proof Write-Up: What Lean Does Not Explain <\/p>\n<p>A Lean proof establishes that the theorem is true; it does not tell mathematicians why. Alp\u00f6ge\u2019s note sketches the ideas in compressed form, with theta lifts between unitary groups, Iwasawa towers and a relative trace formula, and warns in a footnote that where Claude is the expert he is paraphrasing a \u201cslop\u201d summary that \u201cmight make zero sense.\u201d He writes that he intends \u201cto understand and impart understanding of this argument and its certain simplifications\u201d and to write it properly.<\/p>\n<p>Buzzard\u2019s post adds a caution for when that write-up arrives: a correct Lean proof does not make an accompanying paper correct. He cites OpenAI\u2019s earlier Navier\u2013Stokes work, where the PDF write-up and the Lean proof diverged in places, and notes that some experts now use AI to turn Lean proofs back into English rather than reading the PDF. For the Riemann Hypothesis, the Lean library is the reference text, and any paper will need to be checked against it.<\/p>\n<p> Verifying AI-Generated Lean Proofs: A Pattern for AI Builders <\/p>\n<p>The Riemann checks follow a verification pattern that also applies to AI agents outside mathematics: trust a small, human-checked specification, treat everything the model produced as untrusted, and let several independent checkers decide. The challenge file plays the role of the specification, and the kernels play the role of tests the model cannot influence.<\/p>\n<p>Three parts of that pattern carry over directly to agent work:<\/p>\n<p>   Pin the specification outside the model\u2019s reach. The statement lived in Mathlib, written and reviewed before the proof existed. Agent tests work the same way when the agent cannot edit them, a setup we walk through in <a href=\"https:\/\/agentspulse.github.io\/tutorials\/claude-code-verification\/\" rel=\"nofollow noopener\" target=\"_blank\">our guide to Claude Code verification<\/a>.  Assume the model may optimize for passing. Buzzard frames checks 3 and 4 around reward hacking: hidden axioms, redefinitions, or kernel exploits. Research on <a href=\"https:\/\/agentspulse.github.io\/tutorials\/measuring-reward-seeking-contrastive-beliefs\/\" rel=\"nofollow noopener\" target=\"_blank\">reward-seeking in RL-trained models<\/a> is why verifiers now take that threat seriously.  Run checks on inert artifacts with diverse tools. The proof was exported and checked by kernels written in different languages, so a single bug or a malicious build script could not decide the outcome.  <\/p>\n<p>AI-assisted results in mathematics are arriving quickly. A month earlier, OpenAI and Anthropic each posted preprints claiming to <a href=\"https:\/\/agentspulse.github.io\/tutorials\/exponential-time-hypothesis-ai\/\" rel=\"nofollow noopener\" target=\"_blank\">refute the Exponential Time Hypothesis<\/a>, and OpenAI\u2019s study of 1,819 scientists showed how much everyday research work already runs through AI, as we covered in <a href=\"https:\/\/agentspulse.github.io\/tutorials\/chatgpt-for-academic-researchers\/\" rel=\"nofollow noopener\" target=\"_blank\">ChatGPT for academic researchers<\/a>. The Riemann proof shows that formal verification can certify such a result within a day, while human understanding of it may take years. For teams choosing which Claude model to run long agentic work on, our <a href=\"https:\/\/agentspulse.github.io\/tutorials\/claude-fable-5-2\/\" rel=\"nofollow noopener\" target=\"_blank\">Claude Fable 5.2 review<\/a> compares the current top models.<\/p>\n<p> References  Levent Alp\u00f6ge, <a href=\"https:\/\/alpo.ge\/remark.pdf\" rel=\"external nofollow noopener\" target=\"_blank\">untitled announcement note (remark.pdf)<\/a>, November 20, 2026. Lean and Mathlib communities, <a href=\"https:\/\/leanprover-community.github.io\/blog\/posts\/riemann-hypothesis\/\" rel=\"external nofollow noopener\" target=\"_blank\">Lean verification of the Riemann Hypothesis<\/a>, joint statement endorsed by the Lean FRO and the Mathlib Initiative, November 21, 2026. Andrew Sutherland (MIT), <a href=\"https:\/\/math.mit.edu\/~drew\/grh\/\" rel=\"external nofollow noopener\" target=\"_blank\">Verification files for the Lean proof of the Riemann Hypothesis<\/a>, page version of 02:25 UTC, November 22, 2026. Kevin Buzzard, Xena Project, <a href=\"https:\/\/xenaproject.wordpress.com\/2026\/11\/12\/and-the-proof-is-checked-in-lean\/\" rel=\"external nofollow noopener\" target=\"_blank\">\u201c\u2026and the proof is checked in Lean\u201d<\/a>, November 12, 2026. Clay Mathematics Institute, <a href=\"https:\/\/www.claymath.org\/millennium\/riemann-hypothesis\/\" rel=\"external nofollow noopener\" target=\"_blank\">Riemann Hypothesis<\/a> and <a href=\"https:\/\/www.claymath.org\/millennium-problems\/rules\/\" rel=\"external nofollow noopener\" target=\"_blank\">Rules for the Millennium Prize Problems<\/a>, accessed November 22, 2026.      <\/p>\n","protected":false},"excerpt":{"rendered":"Key takeaways The Lean and Mathlib communities certified on November 21, 2026 that Alp\u00f6ge&#8217;s library proves Mathlib&#8217;s own&hellip;\n","protected":false},"author":2,"featured_media":250078,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[53,3154,83945,182,110299,110298,110300,110019],"class_list":["post-250077","post","type-post","status-publish","format-standard","has-post-thumbnail","category-anthropic","tag-anthropic","tag-anthropic-claude","tag-anthropic-riemann-hypothesis","tag-claude","tag-has-riemann-hypothesis-been-proven","tag-riemann-hypothesis-lean-proof","tag-riemann-hypothesis-lean-proof-size","tag-riemann-hypothesis-solved"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/250077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=250077"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/250077\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/250078"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=250077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=250077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=250077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}