<!DOCTYPE html>
<html prefix="
og: http://ogp.me/ns# article: http://ogp.me/ns/article#
" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lean verification of the Riemann Hypothesis | Lean community blog</title>
<link href="../../assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="../../assets/css/code.css" rel="stylesheet" type="text/css">
<link href="../../assets/css/theme.css" rel="stylesheet" type="text/css">
<link href="../../assets/css/custom.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Merriweather&amp;family=Open+Sans&amp;family=Source+Code+Pro:wght@400;600&amp;display=swap" rel="stylesheet">
<meta name="theme-color" content="#5670d4">
<meta name="generator" content="Nikola (getnikola.com)">
<link rel="alternate" type="application/rss+xml" title="RSS" hreflang="en" href="../../rss.xml">
<link rel="canonical" href="https://leanprover-community.github.io/blog/posts/riemann-hypothesis/">
<link rel="icon" href="https://leanprover-community.github.io/img/favicon.ico" sizes="48x48">
<!--[if lt IE 9]><script src="../../assets/js/html5.js"></script><![endif]--><meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://leanprover-community.github.io/blog/meta-twitter.png">
<meta name="twitter:title" content="Lean verification of the Riemann Hypothesis | Lean community blog">
<meta name="author" content="Lean and Mathlib communities">
<link rel="prev" href="../mathlib-reviewer-bootcamp/" title="Our Experience at the Mathlib Reviewer Bootcamp 2026" type="text/html">
<meta property="og:site_name" content="Lean community blog">
<meta property="og:title" content="Lean verification of the Riemann Hypothesis">
<meta property="og:url" content="https://leanprover-community.github.io/blog/posts/riemann-hypothesis/">
<meta property="og:description" content="Lean verification of the Riemann Hypothesis
Joint statement by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative.
On November 20, 2026, Levent Alpöge released a pro">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2026-11-21T13:55:00Z">
</head>
<body>
    <a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
    <div id="container">
            <header id="header"><h1 id="brand"><a href="../../" title="Lean community blog" rel="home">

        <span id="blog-title">Lean community blog</span>
    </a></h1>

        
            <nav id="menu"><ul>
<li><a href="https://leanprover-community.github.io/">Main site</a></li>
                <li><a href="../../archive.html">Archive</a></li>
                <li><a href="../../categories/">Tags</a></li>
                <li><a href="../../about/">About</a></li>
                <li><a href="../../rss.xml">RSS feed</a></li>

    
    
    
    </ul></nav></header><main id="content"><article class="post-text h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title" itemprop="headline name"><a href="." class="u-url">Lean verification of the Riemann Hypothesis</a></h1>

        <div class="metadata">
            <p class="byline author vcard p-author h-card"><span class="byline-name fn p-name" itemprop="author">
                        <a class="u-url" href="../../authors/lean-and-mathlib-communities/">Lean and Mathlib communities</a>
            </span></p>
            <p class="dateline">
            <a href="." rel="bookmark">
            <time class="published dt-published" datetime="2026-11-21T13:55:00Z" itemprop="datePublished" title="2026-11-21 13:55">2026-11-21 13:55</time></a>
            </p>
                    <p class="sourceline"><a href="https://github.com/leanprover-community/blog/tree/deploy/docs/posts/riemann-hypothesis/index.md" class="sourcelink">Source</a></p>

        </div>
        
    </header><div class="e-content entry-content" itemprop="articleBody text">
    <h2>Lean verification of the Riemann Hypothesis</h2>
<p><em>Joint statement by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative.</em></p>
<p>On November 20, 2026, Levent Alpöge <a href="https://alpo.ge/remark.pdf">released</a> a proof of the Riemann Hypothesis as a Lean library comprising 17 million lines of code. </p>
<p>We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement.</p>
<p>Our rationale is outlined below. </p>
<p>The codebase depends directly only on Mathlib. Over the past day, the Lean and Mathlib communities have rallied to verify the proof's correctness. We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct. The four criteria in <a href="https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/">https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/</a> are all satisfied.</p>
<ol>
<li>
<strong>The statement of the Riemann Hypothesis is correct.</strong> This statement is part of Mathlib: <a href="https://leanprover-community.github.io/mathlib4_docs/Mathlib/NumberTheory/LSeries/RiemannZeta.html#RiemannHypothesis">RiemannHypothesis</a> and has been carefully vetted by experts in Lean and number theory.  </li>
<li>
<strong>Alpöge’s library compiles correctly.</strong> By now, dozens of people have reported correct compilation of the codebase, reproducing the same raw proof export file. The library compiles without errors or build failures.  </li>
<li>
<strong>The code proves the correct statement.</strong> Crucially, the community has added a file that isolates the statement of the Riemann Hypothesis and imports only Mathlib. That statement was compared against the theorem proved by Alpöge using two independent tools (<code>comparator</code> and <code>con-leche –compare</code>), both confirming that the theorem proved in Alpöge’s library is exactly Mathlib’s statement of the Riemann Hypothesis.   </li>
<li>
<strong>The Lean proof is valid.</strong> The exported raw proof has been checked by several proof checkers, including Lean’s official kernel, the <code>con-leche</code> and <code>con-ron</code> checkers, and several independent checkers contributed by third parties and implemented in different programming languages. The checkers <code>con-leche</code> and <code>con-ron</code> come with a formal proof, relative to set theory, that they cannot accept a false proof, thus addressing concerns that Lean’s logic itself might have flaws that the proof could exploit. An extensive overview is available at <a href="https://math.mit.edu/~drew/grh/">https://math.mit.edu/~drew/grh/</a>. These checks ran on an inert export of the proof, out of reach of hypothetical malicious code in the Lean proof sources. </li>
</ol>
<p>Thanks are owed to <a href="https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/Discussion.3A.20Alp.C3.B6ge.20Proves.20the.20Riemann.20Hypothesis/with/642477265">everyone in the community</a> who provided resources for the verification.</p>
<p>We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof.</p>
    </div>
    <aside class="postpromonav"><nav><ul class="pager hidden-print">
<li class="previous">
                <a href="../mathlib-reviewer-bootcamp/" rel="prev" title="Our Experience at the Mathlib Reviewer Bootcamp 2026">Previous post</a>
            </li>
        </ul></nav></aside></article></main><footer id="footer"><p>Contents © 2026         The Lean prover community - Powered by         <a href="https://getnikola.com" rel="nofollow">Nikola</a>         </p>
            
        </footer>
</div>
        


    <!-- Mermaid JS for diagram rendering -->
    <script type="module">
        import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
        mermaid.initialize({ startOnLoad: true });
    </script>
</body>
</html>
