GRH via exercises

We present the arguments of Alpöge's proof of the generalized Riemann hypothesis for Dirichlet $L$-functions as a series of exercise sheets, each introducing one ingredient in its simplest setting. The sheets follow the proof in the form of the rewritten Lean proof of L. Sernau, which is shorter than the Lean code first released and proves many steps by other arguments. The presentation is inspired by the problem sequences of Onishchik and Vinberg, Lie Groups and Algebraic Groups (Springer, 1990). The sheets are drafts written and refereed by AI agents (Claude and Codex).

Status, 26 November 2026. The collection is being extended to cover the complete proof and is updated continuously (what changed). Parts I–V and the side series are stable apart from small corrections. Parts VI–IX present the whole proof. Part VI fixes the data and all the objects, and deduces the theorem from Theorems A, B and C. Each of Parts VII–IX states its theorem in a chapter that deduces it from its inputs, and the inputs are developed in sheets, each in a simplest instance and then in general. Stated and not proved here: the results listed as background in each sheet (classical, with references); the denominators of projections and the twisting theorem (Part IX), stated with all their definitions, of which the local loss and a lemma on roots of unity are developed; and statements read from the Lean code, named where they are used. These are, in Part VII, the block identity, the archimedean Bessel functions and the estimates for the terms that survive and for the open cell, each modelled in a sheet; in Part VIII, two bounds (the projection to good forms; the dimension of the ramified forms) and the theorem on elementary divisors used at exceptional primes; in Part IX, the auxiliary forms and one operator identity.

The whole collection as one PDF: download (439 pages).

How the sheets fit together. The flowchart shows which chapters depend on which, with sample seminar plans. The proof bounds one sum over primes from above. For a modulus \(q_0\) and a prime \(d\) let \(R_{d,q_0}(y)\) be the sum of \(\Lambda(n)(1 - \chi_d(n))(1/n - 1/y)\) over \(n \le y\), \(n \equiv 1 \pmod{q_0}\), less its main term. If for every \(\varepsilon > 0\) and every prime \(d\) of a suitable progression \(R_{d,q_0}(y) \le y^{-1/2 + \varepsilon}\) for all large \(y\), then no \(L(s, \psi)\) with \(\psi\) modulo \(q_0\) vanishes in \(\Re s > 1/2\) (Part I). The bound comes from one determinant, whose size is compared with its divisibility (Part II): the Gram determinant of a family of automorphic forms under a chain of \(m \approx \sqrt{x}\) theta lifts. Theorem A: integral forms whose normalized translates have short lifts span the ramified source, because derivatives of theta functions with complex multiplication are highly divisible at primes that do not split (Parts III and IV), and families of their translates have bounded index. Theorem B: the images under a few projected translates of the Poincaré map span almost all of the target (Part II, Few translates span and Poincaré series and near orthogonality; the count of the target and the main term of the second moment are modelled in Masses and the count of forms and The Siegel–Weil formula in the smallest case). Theorem C: a family that spans almost all of the target cannot have small covolume and small index together. Sizes are read at the trivial twist and integrality at a twist chosen for each prime (Part II, A twist for each prime). The determinant of the chain changes under a twist as the product of the determinants of the single lifts, up to ratios of Hecke $L$-values (Part IX, The determinant of a chain). The cost of a single lift is the size of its derivatives less their guaranteed divisibility, because that divisibility is attained (Part III, The bound is attained), up to denominators of projections, which a suitable twist keeps small (Part V and Twists with few congruences). Comparing the bounds gives an upper bound for \(m\) times the remainder of the prime sum. Parts I–V treat each ingredient in its simplest setting. Parts VI–IX state each in the generality of the proof, as a declaration of the Lean proof named in a remark, and deduce the theorem. The spaces, forms and twists of Parts VI–IX are defined once, in Spaces, forms and twists; the chapters of Parts I–V treat simplest cases and point forward to the chapter of Parts VI–IX that states the general result.

Notation. Each sheet defines the notation it uses; the following conventions are common to all sheets. Throughout, \(q_0\) and \(d\) are the parameters and \(K = \mathbb{Q}(\sqrt{-d})\), with character \(\chi_K\); \(E\) is the CM field of the data, with \(f\) infinite places, among them the $a$-places \(\Phi_a\) and the $b$-places \(\Phi_b\), and \(\kappa(\tau)\) is the weight of a place. The scales are \(x < x_1 < b\), with \(a = xb\); \(m\) is the number of lifts, \(r\) and \(k = r + 1 - m\) are the ranks of the target and of the source, and \(t = 5r\): the ranks of the spaces \(Y_j\) increase by \(t\), those of the \(X_j\) by \(t + 1\). \(M = p_0p_1\) and the prime \(N\) are the levels. The main amount is \(h_{\mathrm{main}} = mk\,h_{\mathrm{dir}}\), the remainder is \(\mathrm{rem}\), and \(U = fa\log^3 b\) is the unit of the errors. A twist is \(\vartheta\); a family of twists \(\theta = (\theta_\iota)\) has one member for each isomorphism \(\iota\colon \mathbb{C} \simeq \bar{\mathbb{Q}}_\ell\). \(S \supseteq S_{\mathrm{ram}}\) are the source forms and the ramified ones, \(T\) the target forms, of dimension \(d_T\). The diagram \(\beta\) gives the weights of the forms; \(\operatorname{val}\) is the valuation with \(\operatorname{val}(p) = 1\) after a ring map to \(\mathbb{C}_p\). The remainder \(R_{d,q}\) of the prime sum is as in From zeros to a one-sided bound. The numbers are defined in The data, the spaces, forms and twists in Spaces, forms and twists; a chapter that uses one of these letters otherwise says so.

Part I. The target

  • 1. From zeros to a one-sided bound
    An upper bound for a sum over primes excludes zeros: for \(\zeta\), and for Dirichlet $L$-functions through one-sided bounds for a sum over primes in a progression with weight \(1 - \chi_d\), for every prime \(d\) of a class.
  • 2. Inert primes and the choice of \(d\)
    What the weight \(1 - \chi_d\) counts, and a prime \(d\) for which the twists by \(\chi_d\) of all characters of a given modulus have no zero in a given box.
  • 3. The places, the weights and the remainder
    Prime sums over the places of \(E\) with two weights; the total remainder is an exact combination of \(R_{q_0}(x)\), \(R_{q_0}(x_1)\) and \(R_1(x_1)\).
  • 4. Places from a sphere
    The places of weight \(b\): dense, and sparse along multiplication by small primes, after Behrend.

Part II. The method

Part III. Divisibility at inert primes

Part IV. Sizes, periods and counts

Part V. Denominators and congruences

  • 26. Denominators and the Stickelberger element
    The index cost of a map that does not respect integral structures, and the Stickelberger element acting on class groups.
  • 27. Odd Tate twists
    Selmer classes of Tate twists, and the module of odd cocycles with prescribed ramification; at exponent zero it consists of homomorphisms from the class group.
  • 28. Odd classes by Gauss sums
    One integer, from Stickelberger elements and Gauss sums, bounds the length of the module of odd cocycles at every \(\ell\) and every twist in the range used.
  • 29. Congruence modules
    The cost of projecting to an eigenspace: in the lattice of all level-one forms of weight 12, the congruence module between \(\Delta\) and the Eisenstein line is \(\mathbb{Z}/691\).
  • 30. Eisenstein congruences and Selmer classes
    Ribet's argument: a congruence with an Eisenstein series produces a Selmer class over \(\mathbb{Q}\) and an unramified extension of a cyclotomic field.
  • 31. Pseudocharacters and the length bound
    Traces as pseudocharacters: a congruence gives a Selmer class, so Selmer lengths bound congruences; cocycles that obey the relations of a representation.
  • 32. Black box: Galois representations of eigenforms
    The Galois representations attached to eigenforms on definite unitary groups, and the Hecke polynomial annihilating Frobenius at split spherical places away from \(\ell\).

Part VI. The frame

Each chapter of Parts VI–IX states its results in the form of the Lean proof, at the commit named under Sources, and says which statements were read from the code and which are derived here.

  • 33. The data
    The field, the places, the scales, the ranks and the level primes; their sizes, the amounts that the proof compares, and that such data exist for every sufficiently large integer \(x\).
  • 34. Spaces, forms and twists
    The spaces, forms, twists, characters and lifts that the proof attaches to the data, each defined once: chosen places and good forms, the target and source forms, tame characters and twists, the chain and the single lifts, critical pairs and the target lattice.
  • 35. The main inequality
    Theorems A, B and C give the main inequality \(m\,\mathrm{rem} \le fa\log^5 b\), and from it the one-sided bound and the theorem.

Part VII. Theorem B: enough forms

Part VIII. Theorem A: short forms

  • 42. Theorem A: short forms
    Integral forms whose translated images have short lifts at the trivial twist span the ramified source, and families of their translates have bounded index.
  • 43. The seesaw identity
    On ramified source forms, the lower chain applied to a Poincaré image equals one nonzero constant, the same for all twists, times the restricted lift along a definite chain.
  • 44. Transferring a Bessel period through a theta lift
    How a Bessel period passes through one theta lift: constant terms indexed by classes of rational maps, strings and the string map, and the transferred Bessel function.
  • 45. Two lifts at a time
    The transfers grouped in pairs: the string maps of two consecutive lifts fit into one isotropic map, and after each pair the function left is a lift between the definite spaces.
  • 46. Lattices, cuts and the ramified forms
    The integrals over the remaining outer variables as finite sums over lattices and their cuts; on ramified source forms the seesaw holds with one tensor in place of a chain datum.
  • 47. The seesaw tensor: translated vacua, gluing and the unit
    Fourier inversion on a residue module, gluing of pair data and a common denominator express the tensor in glued vacuum tensors, which gives the seesaw identity with one nonzero constant.
  • 48. Divisibility of the composite lift
    For each prime and each embedding, on a submodule of small colength, the composite lifts of level prime to that prime are divisible by the predicted gain up to an error; the errors are small in total.
  • 49. The count: congruences, directions and factorials
    The jets of a series in the normal form along products of minors: the credit of the factorials against the debit of the couplings, for two places and in general, with charges on the rows for the columns removed at marked places.
  • 50. One lift at a small non-split prime
    The kernel of one lift is divisible by the stage bound of its diagram, which falls short of \(\mathrm{gain}(p)/m\) only by the collision sum and a uniform error.
  • 51. The size of the composite lift
    At the trivial twist the composite lift multiplies conjugate norms by at most \(\exp(h_{\mathrm{main}} - m\,\mathrm{rem} + 2\sum_p \mathrm{gain}(p)\log p + U)\): one factorial for each row of each lift, and the level \(N\) pays for the long rows.
  • 52. The level prime and the ramified forms
    At the level prime \(N\) the glued pairs of the composite lift carry poles; on ramified forms an operator at \(N\) turns each pair into two direct lifts, and the loss is bounded on a submodule of small colength.
  • 53. Exceptional primes: a full mark
    At an exceptional prime the collisions exceed the unit of loss; a scaled Hecke operator of a full mark, applied before the chain, removes them at a bounded cost.

Part IX. Theorem C: the lower bound

  • 54. Theorem C
    A family spanning almost all target forms cannot have small covolume and small index together: the twisted lattice of the target, completed by auxiliary forms, with the cost of the single lifts and the factorization of the chain.
  • 55. The determinant of a chain
    The ratio of the Gram determinants of a chain of lifts at a twist and at the trivial twist factors into the same ratios for single lifts, ratios of Hecke $L$-values and a power of the norm of the modulus of the twist; auxiliary forms complete a family to a basis.
  • 56. The norm of one lift
    The squared norm of a theta lift is a theta sum on the doubled space; by the Rallis inner product formula it is a scalar times a Hecke series, and the twist enters through one factor.
  • 57. Equal multiplicities
    One Hecke algebra acts on the good forms of two spaces of the same rank with different signs, with equal traces; hence equal dimensions, characteristic polynomials and joint eigenspaces.
  • 58. The exchange identity
    A theta integral over a large unitary group against one over a small group: removing a hyperbolic plane costs a product of partial Hecke $L$-values.
  • 59. Squares and the triangle
    The Gram operator of the chain of lifts on the target, from a triangle of lifts, the inner product formula on its first edges and the comparison at the last level.
  • 60. The cost of one lift
    For a regular family of twists, one for each prime and each isomorphism above it, the ratios of the determinants of one lift at the trivial twist and at the twist have bounded height as a family.
  • 61. Compressions and false lifts
    The Gram determinant of a lift at a twist, times the determinant of the compression of a comparison operator to the image of the lift, is a fixed number times a product of Hecke values; false lifts and clearing the projection.
  • 62. Hecke values as norms of lifts
    For a critical pair, the squared norm of a theta lift of a character from \(\mathrm U(1)\) is a partial Hecke value, up to a power of the norm of the twist; the product of Hecke values of one lift.
  • 63. The bound is attained at many places
    On twelve copies of the variables, one normalizing scalar makes a Taylor coefficient attain the divisibility predicted by the prime sum at every prime prime to the twist.
  • 64. Test forms and the height of a Hecke ratio
    Test forms bound the height of the inverse ratio of Hecke values for a main pair: the size from the jets at the trivial twist, the valuation from the attained divisibility; small ratios and regular families.
  • 65. Denominators of projections to lifts
    Denominators of projections of integral forms to lifts, bounded by local losses, Selmer lengths, odd classes and congruences between characters.
  • 66. The local loss and the sparse places
    The local loss in the clearing bound is the valuation of one integer at each prime; because the $b$-places are sparse, its sum over all primes is far below the budget.
  • 67. Twists with few congruences
    The twisting theorem: a twist for each prime and each isomorphism above it, with small Selmer lengths, inverse ratios of Hecke $L$-values of bounded height for its first \(m\) powers, and denominators within a common budget.
  • 68. Roots of unity for many polynomials
    Finitely many polynomials, each small at some point, are small at once at roots of unity of $ℓ$-power order, with a loss as small as one likes.

Side series: a model in the function-field setting

These two sheets are motivation: over a finite field, a one-sided bound together with positivity gives the Riemann hypothesis. They are not used in the proof.

Sources

The proof.

Expositions of the Lean proof as first released. They describe a longer route (a slope inequality in the mean, covolumes by an arithmetic Hilbert–Samuel theorem, a Selmer bound on windows of scales); the sheets cite only Adriazola's manuscript, for steps common to both routes.

The following expositions of particular steps are also cited.

A snapshot of the collection and its flowchart as they stood on 25 November 2026, before the reorganization around the rewritten Lean proof, is kept here; it is not maintained.

Compiled by Paul D. Nelson.

Created: 2026-11-26 Thu 11:43