On November 20, 2026, Levent Alpöge published a Lean library and a four-page note about a proof of the Riemann Hypothesis. The next day, the Lean and Mathlib communities stated that they had checked the statement and the proof. What follows examines the architecture of the argument rather than every line of the library.
What exactly was checked
In the note, Alpöge claims to have found a proof of the Riemann Hypothesis while working with Claude. According to him, the same method also covers the Generalized Riemann Hypothesis, and the formalization uses no additional assumptions.
A joint statement from Lean and Mathlib on November 21 says that the theorem in the library matches Mathlib’s RiemannHypothesis statement. It also says that the code depends directly only on Mathlib, and that the exported proof was checked by several independent programs, including the official Lean kernel. The check was performed on an “inert” export that could not influence the checking tools.
The final line of the library reads:
theorem riemannHypothesis : RiemannHypothesis := rhOfAllHowever, checking correctness and understanding the mathematical idea are different tasks. The author published the Lean code but did not release the text generated by Claude, which ran to more than 250,000 pages. The author’s library can be regarded as a verified formal object, while the explanation below reconstructs only the traceable nodes of the construction.
From zeta-function zeros to an arithmetic remainder
The final part of the proof does not work directly with the zeros of the zeta function, but with a smoothed sum built from von Mangoldt weights. After the main term is subtracted, this leaves a remainder G(x). Smoothing replaces the sharp cutoff of an ordinary sum with a gradual weight, which is convenient for analytic transformations.
This remainder is related to the logarithmic derivative of the zeta function through a Mellin transform. The poles of the logarithmic derivative correspond to zeros of the zeta function, while the singularity at 1 is canceled by subtracting the main term. The remainder therefore retains information about all nontrivial zeros.
The key input to the final theorem has the following form: for every sufficiently small positive ε, there is a threshold beyond which the one-sided estimate
G(x) ≤ x^(1/2 + Cε)holds. What matters here is not only the approximation to the exponent 1/2, but also the order of the quantifiers: the estimate must exist for every arbitrarily small ε. A fixed exponent such as 0.6 would not rule out zeros with real parts between 0.5 and 0.6.
How a one-sided estimate leads to the Riemann Hypothesis
A two-sided estimate would be more convenient, but the published architecture requires only an upper bound. The missing bridge is Landau’s principle for nonnegative functions and their Mellin transforms.
For a nonnegative function, the convergence boundary of an integral cannot remain invisible: if that boundary is finite, a singularity appears at the corresponding real point. Applying the principle to a function constructed from the remainder shows that the logarithmic derivative cannot have a pole corresponding to a zeta zero to the right of the line with real part 1/2.
Since the estimate is available for every small ε, there are no zeros to the right of the critical line. The functional equation reflects possible zeros from left to right, so the nontrivial zeros must lie on the critical line itself.
This analytic finale is formalized in the library through separate results involving the Mellin transform and Landau’s lemma. But the arithmetic construction that produces the required estimate contains nearly all of the proof’s substantive content.
Stepanov’s method as a model for the idea
To explain the new approach, the note uses an analogy with the proof of the Riemann Hypothesis for curves over finite fields. Stepanov’s method constructs an auxiliary function that vanishes to high multiplicity at every point of the curve. The number of such points is bounded using an analogue of degree—the total multiplicity of the function’s poles.
Finite fields offer a special advantage: the derivative of expressions with a suitable degree can vanish, and high-multiplicity conditions become a small number of linear constraints on the coefficients. Linear algebra can then be used to find a nonzero auxiliary function.
The balance is between two quantities: greater multiplicity strengthens the bound on the number of points, but at the same time increases the complexity of the function itself. The square root emerges from this tension rather than being taken directly from the statement of the Riemann Hypothesis.
Theta lifts and the chain of auxiliary objects
Ordinary integers have no derivative that could reproduce Stepanov’s mechanism. In the published construction, according to the author’s note, its role is played by a sequence of theta lifts.
The theta function links a lattice to an analytic function by summing Gaussian weights over its points. A theta lift transfers a function from one space to another using a special kernel. In the model being used, automorphic forms can be viewed as functions on classes of lattices, while a lift acts like multiplying a vector by a matrix whose entries have both arithmetic and geometric origins.
The lifts are arranged sequentially: the result of one step becomes the input to the next. The length of the chain is tied to the scale of the problem and is of order the square root of X. However, each step increases not only the useful effect but also norms, denominators, levels, and other parameters.
Consequently, simply multiplying the estimates would quickly erase the gain. The note says that the initial accounting of costs stopped at an exponent of 2/3 instead of the required 1/2. Fixing this required a general arithmetic structure in which divisibility offsets part of the chain’s cost.
Characters, periods, and divisibility
The “gluing” uses families of problems associated with Hecke characters. A character can be understood as an arithmetic coloring compatible with multiplication; Hecke characters generalize this idea to more complicated number systems.
When the entire family is handled at once, a common object emerges. The author’s chronology says that the period of the iterative lift turns out to be a Bessel period independent of the Hecke character. This is connected with the seesaw principle and the Rallis formulas.
What matters is not an analogy between formulas, but the proven maps that transfer every member of the family into compatible spaces. Otherwise, one could inadvertently compare different objects and obtain an invalid estimate.
Divisibility provides a classical arithmetic lever: a nonzero integer cannot simultaneously be divisible by a very large number and have a smaller absolute value. In the construction, the outputs of the chain have increasing divisibility, while analytic estimates control their norms. Comparing these two properties yields a bound on the remainder.
Why normalization cannot be replaced by simple division
Mechanical division does reduce the ordinary norm, but it also changes all local sizes. For a rational number, the ordinary and p-adic absolute values are linked by the product formula: reducing one is offset by increases in the others.
Therefore, a useful reduction must not be formal rescaling, but a consequence of divisibility in the overall structure. The library tracks normalizations, metrics, dual lattices, and norms of maps separately.
Another risk concerns gluing local conditions. Requirements specified separately for different primes must describe one global object. A gluing theorem asserts the existence and uniqueness of a global lattice with the required localizations. Gluing itself does not create divisibility, but it prevents one from combining the norm, period, and arithmetic property of different candidates.
Controlling mixed terms and exceptional cases
A lower bound for a norm does not follow automatically from the existence of a map. It is not enough to check a few convenient vectors: a linear combination can contract sharply because of mixed terms.
The construction therefore controls the inner products of every element of one block with all directions in the other. This condition yields an identity whose right-hand side contains the square of a norm. It provides not merely an assumption that cross-terms are small, but an exact mechanism for transferring the estimate.
Nor can the “bad” part of the space be discarded without additional calculations. Even a small fraction of elements can distort the average if their contribution is large. In the scheme under consideration, the fraction of exceptions decreases exponentially, while the possible damage grows polynomially. This makes it possible to reduce the total contribution below any prescribed value.
How an arbitrarily small ε is obtained
After the main reduction, parameters remain that depend on the scale: the size of the number field, the length of the chain, lattice indices, and the number of exceptions. For each ε, a corresponding collection of objects is chosen, after which the entire set of conditions is checked.
Logarithmic factors can be absorbed into an arbitrarily small power because the logarithm grows more slowly than any positive power. An exponentially small exceptional part likewise becomes smaller than any negative power. These techniques do not create the gain; they merely eliminate the remaining losses after the structural reduction.
The result is an estimate with exponent 1/2 plus an arbitrarily small addition. This is exactly what the final analytic theorem requires when it links the arithmetic remainder to the Riemann Hypothesis.
The overall proof scheme
- Families of number fields and Hecke characters form the initial arithmetic setting.
- A chain of theta lifts creates auxiliary objects and plays the role of an analogue of high multiplicity.
- The output is divisible by large powers of primes.
- Local data are assembled into a common integral structure.
- Norms, volumes, mixed terms, and exceptional parts are controlled separately.
- The arithmetic remainder is compared with the analytic cost of the long chain.
- One obtains the estimate G(x) ≤ x^(1/2 + Cε) for every small ε.
- Landau’s principle rules out zeros to the right of the critical line, and the functional equation completes the argument.
Thus, the published proof does not count the zeros one by one. It builds a mechanism that forbids zeros from existing in the wrong region. The central question of the construction is not the short final Lean line, but how to create an arithmetic object strong enough without spending the entire gain on building it.