medium.com 8 min read Original Source

The Riemann Hypothesis Explained: Levent Alpöge’s Lean Proof, Prime Numbers, and Encryption

TL;DR. The 167-year-old Riemann Hypothesis predicts how closely the count of prime numbers follows a smooth estimate. On November 20, 2026, Anthropic mathematician Levent Alpöge said he and Claude had found a proof and extended the method to the Generalized Riemann Hypothesis. He released a Lean archive in fourteen parts. An independent effort confirmed that the source matches the release and that the reference statements compile. Full verification remains pending. If the claim holds, results that rely on those conjectures could shed their assumptions. A proof by itself would leave RSA encryption unaffected. Alpöge’s announcement · Independent verification status

Embedded content

Verification Before Understanding: What an AI Math Proof Teaches Us About Automated Knowledge

When Levent Alpöge tried turning the argument into prose, the draft grew past 250,000 pages. The first theorem began with a fact most readers would take for granted. Any real number unequal to one-half is either above it or below it.

Alpöge released the Lean source and a four-page note. The page count describes the generated prose he chose to withhold. The note describes what he believes he and Claude established, where the argument came from, and which parts he hopes to explain more clearly. The Clay Mathematics Institute still lists the classical conjecture as unsolved. Alpöge’s four-page note · Clay Mathematics Institute

What Riemann Actually Asked

Every integer greater than one factors uniquely into primes. Yet as you move along the number line, primes can appear in clusters or disappear for long stretches. The prime number theorem tells us how many primes to expect up to a large number x. Draw the actual count, π(x), and you get a staircase that jumps at each prime. Draw an estimate such as the logarithmic integral, Li(x), and you get a smooth curve. The question is how far the staircase can wander from the curve.

In 1859, Bernhard Riemann approached that question through the zeta function, ζ(s). Where the real part of s exceeds 1, zeta can be written as a sum over positive integers or, equivalently, as a product with one factor for each prime. Analytic continuation extends the function into the region where its interesting zeros live. The zeros enter an explicit formula for a weighted count of primes and prime powers. You can picture their contributions as waves, with each zero’s imaginary part setting a frequency and its real part governing how quickly the contribution can grow. Clay’s technical description

Every nontrivial zero lies in the critical strip, where the real part is strictly between 0 and 1. The Riemann Hypothesis says every one sits on the critical line, Re(s) = ½. If it holds, the gap between π(x) and Li(x) is bounded by a constant times √x log x for large x. A zero at real part 0.7, for example, would introduce a contribution with a larger power of x in the weighted prime-counting formula. Numerical checks have confirmed the hypothesis across a vast but finite range. The conjecture reaches every height. Clay’s technical description · Platt and Trudgian’s numerical verification

The Generalized Riemann Hypothesis, or GRH, makes the same prediction for Dirichlet L-functions. These functions let mathematicians compare prime counts in different remainder classes. Think of the primes ending in 1, 3, 7, or 9. The classical zeta function is the simplest case, so a proof of GRH would also settle the original conjecture.

How the Claimed Proof Works

Alpöge traces the idea to Sergei Stepanov’s work on curves over finite fields. Stepanov’s method constructs an auxiliary function that vanishes to high order at the points one wants to count. A triple root gives a simple picture of multiplicity. Over the real numbers, the function x³ and its first two derivatives vanish at zero, while its third derivative does not. To adapt the method to the ordinary integers, Alpöge needed another way to produce the effect of repeated vanishing. Stepanov’s 1969 paper

In Alpöge’s account, a toy Fourier-analytic problem suggested turning to automorphic forms, objects with rigid symmetries. A theta lift transfers an automorphic object from one group to another. Alpöge says that chaining lifts across suitable unitary groups gave them a way to imitate multiplicity, one lift at a time. For a von Mangoldt sum of length x, a weighted tally of primes and prime powers, Claude proposed a chain whose length scales like √x. Alpöge’s account of the argument

The timeline in the note draws on the Guinand–Weil explicit formula, Gan–Gross–Prasad periods, Iwasawa towers, Bost’s slope inequality, and relative trace formulas. It also mentions a weaker form of Vandiver’s conjecture that Alpöge says the argument needed. He says he supplied the analogy and guided the search, then found himself catching up with Claude on some of the technical work. The note gives readers an outline of that work while the Lean release gives reviewers a formal artifact to inspect. Alpöge’s annotated timeline

What Lean Can Verify

The Lean theorem prover’s kernel checks that a proof term establishes the precise formal statement given to it, using the definitions and axioms in scope. The Lean command #print axioms lists dependencies, including ones inherited from other files. A proof that ultimately depends on a sorry placeholder still has a gap. Reviewers also need to compare the formal statements with the intended mathematics. A theorem about zeros on the critical line, for example, must handle the trivial zeros correctly and quantify over the intended inputs. Lean’s guide to validating proofs

As of November 20, the independent verification project reported that its source matched the published archive and that its reference statements compiled against Mathlib, Lean’s mathematics library. The main claim uses Mathlib’s existing statement of the Riemann Hypothesis. The full build and verification of the submission were still pending. The project plans to use Lean’s Comparator to check the proofs against the reference statements, audit their axioms, and test them with multiple proof checkers. Verification project status and methodology

Would a Proof Break RSA Encryption?

No. A proof would sharpen what we know about the distribution of prime numbers. An attacker facing an RSA public modulus has a different problem. Given a particular large product n = p × q, recovering the two prime factors lets the attacker derive the private key. A tighter estimate of how many primes lie below x supplies no efficient method for recovering those factors. Shor’s algorithm addresses the factoring problem directly on a sufficiently capable quantum computer. The original RSA paper · Shor’s factoring paper

What Changes If the Proof Holds?

Number theorists have spent generations proving results of the form “If GRH holds, then this follows.” An accepted proof would remove that condition wherever the result uses exactly the conjecture that was proved. For example, results about how closely prime counts in different remainder classes track their expected values would gain unconditional versions. Work on primality testing also illustrates the distinction. Gary Miller’s original deterministic test achieved its polynomial-time guarantee under a Riemann-type assumption. That is a guarantee about recognizing primes, a different task from factoring a composite number. Miller’s 1976 paper

Verification Before Understanding

Paul Erdős imagined a book containing the most illuminating proof of every theorem. William Thurston asked what mathematicians do to advance human understanding. Both ideas help explain why a formally checked proof and a satisfying explanation can arrive on different schedules. A proof checker can establish that a long chain of steps follows the rules. It takes a different kind of work to see which steps carry the argument, what could be simplified, and where the same idea might work again. Thurston, “On Proof and Progress in Mathematics”

Alpöge’s account gives that distinction a concrete form. A mathematician recognized the Stepanov analogy and chose where to look. A language model explored the consequences and proposed a scale for the chain of lifts. Lean offers a way to check the resulting argument against a precise statement. If the formalization survives review, understanding why the argument works will be the next mathematical problem. Alpöge’s account of the collaboration

The same division of labor matters outside mathematics. A model can explore candidate solutions, while an independent check can establish whether a candidate satisfies the requirements we wrote down. People still decide whether those requirements capture what matters and how much evidence a decision needs. Alpöge’s draft ran to a quarter of a million pages. The first question for reviewers is much shorter. What, exactly, does the code prove?

Frequently Asked Questions

What does the Riemann Hypothesis say?

Every nontrivial zero of the Riemann zeta function has real part ½. On the complex plane, that puts all of those zeros on the same vertical line, called the critical line.

Has the Riemann Hypothesis been proved?

As of November 20, 2026, Levent Alpöge has released a claimed proof developed with Claude and written in Lean. An independent team reported that its copy matched the published archive and that the reference statements compiled. Its full proof check was still pending, and the Clay Mathematics Institute continued to list the problem as unsolved.

What would a proof tell us about prime numbers?

It would put a precise limit on how far the actual number of primes up to x can stray from the logarithmic integral Li(x). For sufficiently large x, the error would be bounded by a constant times √x log x.

How does the Generalized Riemann Hypothesis differ?

The classical hypothesis concerns the zeta function. The generalized version discussed here extends the same critical-line claim to Dirichlet L-functions, which help describe how primes are distributed among remainder classes such as 1, 3, 7, and 9 modulo 10.

What does Lean verify?

Lean checks that a formal proof establishes the statement encoded in the code, given the definitions and axioms it uses. A review also checks that the statement expresses the intended conjecture and that it follows from accepted assumptions.

Would a proof break RSA encryption?

No. A tighter estimate of how many primes lie below a cutoff gives no efficient procedure for factoring a particular RSA modulus. Recovering the two prime factors of that large public number would let someone derive the private key.

References and Further Reading