**Abstract.** Alpöge's formal proof of the Generalized Riemann Hypothesis for Dirichlet L-functions turns a problem about the zeros of these functions into a problem of constructing arithmetic objects. This exposition seeks to elucidate the mathematical mechanisms behind this transformation. Starting with elementary arguments of Chebyshev and Stepanov, we explore the roles of complex multiplication, theta lifts, the divisibility of periods, and slope inequalities. We distinguish what we understand, what we have reconstructed conditionally, and what rests on precisely identified statements of the formal proof.

*Working document, to be corrected as our reading progresses (history at the end). Translated from the French original: [version française](synthese.html). Companion expository article, in French (English translation in preparation): [Descending the Dependency Graph](article.html).*

*Sources: the proof export published by A. Sutherland [Su] (`solution.ndjson.zst`: 1,468,418 declarations, 1,468,414 of them in the closure of the five statements of `Main`), the author's note [A], Adriazola's conditional reconstruction for ζ [Ad], and the other published readings [Z], [S], [R2], [H], [G] (see References). Detailed readings of the export, with the names of the Lean declarations: [companion article](article.html), technical appendix, and [map of the proof](carte.html). Analysis tools: [tools/](tools/). The roles of Claude and ChatGPT are set out in the method note at the end of the document.*

> **Intended reader.** A mathematician familiar with algebra, analysis and the basics of number fields, but not a specialist in automorphic forms or Arakelov geometry. The prologue sets up the problem; the preliminaries recall Dirichlet L-functions; the overview summarizes the proof in five questions. Part I answers the five questions one by one; Part II takes stock and says what remains opaque. The detailed readings of the export, with the names of the Lean declarations, are in the companion article (technical appendix).
>
> **How to read the explanations.** As of 23 November 2026, the published formal checks are: full compilation of the archive, dependence of the five statements on the standard axioms only, and replay of the export by several independent kernels (Sutherland [Su], Rubinstein [R]). We have not repeated them. They concern the formal proof and do not guarantee that our reconstructions are correct; whether the formal statements adequately capture the intended problem is a separate question, which these checks alone do not settle. The aim of this text is to *understand*. Its statements have different statuses, flagged here once and for all:
>
> - **classical mathematics** (Chebyshev, Stepanov, Landau, Honda, Siegel…) is proved or cited as such;
> - **models** and **workshops** (the prime 3, a 2×2 matrix, fictitious operators) illustrate a mechanism on a simpler object: they are not actual steps of the proof of GRH, and their numbers are not extracted from the code;
> - statements "**on the export**" are read off the exported Lean declarations with the tools in [tools/](tools/); those marked **⟦I⟧** are interpretations;
> - statements "**in the proof term**" come from reading the proofs themselves, not only the statements, with `trace_app.py`; a **reconstruction** is an independent proof that establishes the same conclusion from explicit hypotheses (in principle those of the Lean statement), without claiming that Lean follows that route;
> - passages attributed to **[Ad]** come from Adriazola's reconstruction for ζ. Its Part I (the analytic reduction and the choice of weights) is proved. Its Part II is a *conditional* theorem: it assumes twenty-two statements, which he calls *landmines*, translated from the formal proof or from an earlier manuscript, and which he says he has not yet matched to the Lean declarations. Whatever we draw from it inherits this status: it is proved under these hypotheses, not read off the export.
>
> The numerical computations can be reproduced with [`tools/modeles.py`](tools/modeles.py); they are illustrations and prove nothing asymptotic.

---

## Prologue. In search of a factorial that does not yet exist

There are two ways to look at an object as familiar as $100!$. One sees a product of consecutive integers, whose size is readily estimated by Stirling's formula. The other sees a reservoir of prime factors: 97 copies of 2, 48 of 3, 24 of 5. Legendre's formula tells us exactly how many:
$$v_p(N!)=\sum_{e\ge1}\left\lfloor\frac{N}{p^e}\right\rfloor .$$
The remarkable fact is that these two descriptions measure the same object. They are linked by the identity $\sum_{p}v_p(N!)\log p=\log(N!)$, with primes on the left and real analysis on the right: one side requires information about primes; the other does not. This observation, already exploited by Chebyshev in 1852, suggests an unexpected strategy for studying the distribution of primes: construct an object that knows something about them, but whose size can be estimated without counting them.

The Riemann problem demands much more: we must control the gap between observation and prediction at a scale that is tiny compared with the main term. In the smoothed version we shall use,
$$S(x)=\sum_{p^e\le x}\log p\left(\frac{x}{p^e}-1\right),\qquad G(x)=S(x)-x\log x+(1+\gamma)x .$$
At $x=10^6$, $S(x)\approx12{,}238{,}306$ and the main term is about $12{,}238{,}295$: their difference is 11 (here γ is Euler's constant; later, the ordinate of a zero $\rho=\tfrac12+i\gamma$ is also written γ, and the context will make clear which is meant). The Riemann hypothesis says that the natural scale of this difference is $\sqrt x$. One can think of $G$ as a signal whose frequencies are the zeros of ζ: the imaginary part of a zero gives the speed of oscillation in $\log x$, and its real part the envelope. A zero with real part 0.6 would contribute a term of order $x^{0.6}$, and the non-cancellation arguments of § 1 would then rule out any bound with a smaller exponent.

![Superposition of the contributions of 1, 3 or 10 pairs of zeros of ζ to $G(y)/\sqrt y$. Each pair of simple zeros $\tfrac12\pm i\gamma$ contributes exactly $2\cos(\gamma\log y)/(\tfrac14+\gamma^2)$, multiplied in general by the multiplicity of the zero. This is a truncated spectral sum, not the full sum.](fig/ondes_zeros_en.svg)

Back to the factorial. Its weight $\lfloor x/n\rfloor$ differs from the Riesz weight $(x/n-1)_+$ by at most 1 at each prime power. Added up, however, these small differences cost a term of order $x$: an approximation that is excellent locally is too coarse globally. For an integer $N$, the loss is exactly
$$D(N)=\log(N!)-S(N)=\sum_{n\le N}\Lambda(n)\big(1-\{N/n\}\big),$$
a sum of nonnegative terms. It is at most $\psi(N)=O(N)$ (Chebyshev's bound suffices). It is also at least of order $N$: for a prime $p\in(2N/3,N]$, we have $1-\{N/p\}=2-N/p\ge\tfrac12$, and the sum of $\log p$ over these primes is of order $N$ (by the prime number theorem). The defect is therefore no numerical accident: it is an unavoidable linear loss **for the naive upper bound**. In fact the loss is asymptotically $\gamma N$:
$$\log(N!)-S(N)\;\sim\;\gamma N.\tag{F}$$
The box below proves this using only the prime number theorem, not RH.

> **Why is the loss exactly $\gamma N$?** Put $f(t)=1-\{1/t\}$ on $(0,1]$, so that $D(N)=\log(N!)-S(N)=\sum_{n\le N}\Lambda(n)f(n/N)$. By the prime number theorem, the measures $N^{-1}\sum_{n\le N}\Lambda(n)\,\delta_{n/N}$ converge to Lebesgue measure on $[\delta,1]$, where $f$ is bounded with finitely many discontinuities; the contribution of $(0,\delta]$ is at most $\psi(\delta N)/N=O(\delta)$. Hence $D(N)/N\to\int_0^1f(t)\,dt$. On $(1/(k+1),1/k)$, $f(t)=k+1-1/t$, so $\int_{1/(k+1)}^{1/k}f=\frac1k-\log\frac{k+1}k$, and the sum over $k\le K$ is $H_K-\log(K+1)\to\gamma$, which gives (F). Numerically, at $N=10^6$, we obtain $D(N)/N=0.577212$, compared with $\gamma=0.577216$.
>
> One can go further with Stirling's formula alone: for integer $N$,
> $$D(N)=\gamma N+\tfrac12\log(2\pi N)-G(N)+O(1/N),$$
> so that, for $0<\theta<1$, $D(N)-\gamma N=O(N^\theta)$ is equivalent to $G(N)=O(N^\theta)$.

This explains why the factorial fails: it does carry information about the primes, but with a linear loss of slope exactly γ, which hides fluctuations of size $\sqrt N$. The factorial point of view is not wrong; it simply moves the whole problem into the remainder of the loss. Alpöge's proof looks for **another** quantity, whose main term and local gains can be compared with a small enough remainder.

![The factorial weight and the Riesz weight, as functions of $n/x$. The gap is at most 1 for each term; weighted by $\Lambda$ and summed, it costs a term of order $x$.](fig/profil_riesz_en.svg)

**A second attempt: the lemniscate.** Could an elliptic function do better than a factorial? The lemniscatic sine offers a particularly instructive example. Its Taylor coefficients, once multiplied by $n!$, are integers $A_n$ with a striking arithmetic structure: what can be said about their divisibility by a prime $p$ depends on whether $p$ splits or remains inert in $\mathbb Q(i)$. At a prime $p\equiv3\pmod4$, the computed values of $v_p(A_n)/n$ lie close to the reference rate $p/(p^2-1)$, that of the odd divisibility layers (§ 3.2); at a prime $p\equiv1\pmod4$, nothing of the kind is guaranteed. And the size of $A_n$ can be computed without the primes. The box below gives the details.

> **What the lemniscate knows about primes.** The lemniscatic sine $s$, defined by $s(0)=0$, $s'(0)=1$ and $(s')^2=1-s^4$, satisfies $s''=-2s^3$. If $s(z)=\sum_nA_nz^n/n!$, this gives
> $$A_{n+2}=-2\sum_{i+j+k=n}\frac{n!}{i!\,j!\,k!}A_iA_jA_k,$$
> so the $A_n$ are integers: $A_1=1$, $A_5=-12$, $A_9=3{,}024$, and $A_n=0$ unless $n\equiv1\pmod4$. These integers are highly divisible, in an arithmetically structured way. At a prime $p\equiv3\pmod4$, the numerical values illustrate the reference rate $p/(p^2-1)$ associated with the odd divisibility layers (for $n=161$, $v_p(A_n)/n$ is $0.373$ compared with $0.375$ if $p=3$, and $0.143$ compared with $0.146$ if $p=7$). They do not by themselves establish an asymptotic formula for the valuations of the lemniscatic coefficients. At primes $p\equiv1\pmod4$, nothing of the kind is guaranteed, and the valuation does not always vanish: $v_5(A_{161})=0$, but $A_{41}=2^{20}3^{15}7^5\,11^3\,19^2\cdot23\cdot31\cdot179\cdot47{,}272{,}527{,}433$, whose last factor, a prime, is congruent to 1 modulo 4. The formal group governs part of the arithmetic of the coefficients, not their complete factorization. This is already complex multiplication by $\mathbb Z[i]$ at work, that of the curve $y^2=x^3-x$ of § 3.
>
> The size, for its part, can be computed without the primes. The singularities nearest to 0 are the four simple poles $\pm(1\pm i)\varpi/2$, where ϖ is the lemniscate constant (§ 5.3), at distance $\varpi/\sqrt2$, with residues of modulus 1. Since $s(iz)=i\,s(z)$, their contributions add in phase exactly when $n\equiv1\pmod4$, and Darboux's method gives, along this subsequence,
> $$|A_n|=4\,n!\,\Big(\frac{\sqrt2}{\varpi}\Big)^{n+1}\big(1+o(1)\big),$$
> the error coming from the next, more distant poles; exact computation confirms this to within $10^{-6}$ from $n=101$ on. Over all $n$, the limit of $(|A_n|/n!)^{1/n}$ does not exist: its limit inferior is 0, since $A_n=0$ outside this residue class, and its limit superior is $\sqrt2/\varpi$.

We have not yet found the object we need. But we have discovered something the ordinary factorial could not offer: a divisibility profile governed by the arithmetic of a number field.

Yet the resulting bound falls short. The product formula compares divisibility with size: at $n=401$, the actual valuations at the primes $p\equiv3\pmod4$, $p\le401$, account for only 52% of $\log|A_n|$ (the remaining cofactor has not been factored). This is no computational accident, as the *theoretical profile* of the odd layers shows:
$$I(n)=\sum_{\substack{p\le n\\p\equiv3\ (4)}}\log p\sum_{e\ \text{odd}}\Big\lfloor\frac n{p^e}\Big\rfloor=\tfrac12\,n\log n+O(n).$$
Indeed, the layers $e\ge3$ cost $O(n)$, since $\sum_p\log p\sum_{e\ge3}p^{-e}<\infty$; rounding the first layer costs $O(n)$ by Chebyshev's bound; and Mertens' theorem in arithmetic progressions gives $\sum_{p\le n,\,p\equiv3\,(4)}\log p/p=\tfrac12\log n+O(1)$. Since $\log|A_n|=n\log n+O(n)$ by the asymptotics in the box, $I(n)/\log|A_n|\to\tfrac12$ as $n\to\infty$ with $n\equiv1\pmod4$ (outside this subsequence, $A_n=0$): these primes are half of all primes, and each contributes only its odd layers. This is a statement about the profile, not about the actual factorization; the computation at order 401 illustrates it without proving it. Convergence is slow, since the $O(n)$ terms are small compared with $n\log n$ only on a logarithmic scale.

A factor of 2 in the leading term makes the inequality useless for a fine estimate. Moreover, the character selecting these primes, $\chi_{-4}$, is fixed once and for all: controlling its twisted sum would be GRH for $\chi_{-4}$. The model has the right *shape* of divisibility, but a single object, attached to a single field, can neither close the size gap nor escape its character. We shall need **families of objects, stacked layers and exact sizes**. These figures are reproduced by [`tools/lemniscate.py`](tools/lemniscate.py).

The two attempts leave us with two riddles. *First riddle*: build an object that has almost the desired divisibility profile, and whose size can be computed as independently of the primes as that of a factorial. The number $\prod_p p^{\lfloor w(p)\rfloor}$ does not work (to know its size one would have to solve the problem), nor does 0 (divisible by everything, but degenerate). *Second riddle*: improve the precision. Raising an object to the power $m$ multiplies its valuations by $m$, but also its logarithm: after division by $m$, the inequality says nothing new. We need an operation that genuinely adds information, with costs growing more slowly than the gains.

Alpöge's answer is surprising: replace the auxiliary integer by lattices of automorphic forms; differentiate at points with complex multiplication to obtain divisibility; compose theta lifts to accumulate the gains; control the sizes by slope inequalities. These tools look less arbitrary once one understands which constraints they are designed to meet. This text is not a historical reconstruction of the discovery but a thought experiment: start from the problem, try the familiar tools, and identify each time what prevents us from going further.

---

## Preliminaries: Dirichlet characters, L-functions, the Riemann hypothesis

*What follows is classical (Davenport, *Multiplicative Number Theory*, ch. 4–9 and 19). It fixes the notation for the rest of the text.*

**Dirichlet characters.** A Dirichlet character of modulus $N\ge1$ is a group homomorphism $\chi:(\mathbb Z/N\mathbb Z)^\times\to\mathbb C^\times$, extended to ℤ by $\chi(n)=\chi(n\bmod N)$ if $\gcd(n,N)=1$ and $\chi(n)=0$ otherwise. It is completely multiplicative and $N$-periodic, with values in the roots of unity (and 0).

- Its **order** $o$ is its order in the group of characters: $\chi^o=1$. Characters of order 2 are the **quadratic** characters, for instance the Legendre symbol $(\cdot/p)$ or $\chi_{-4}(n)=(-1)^{(n-1)/2}$ for odd $n$.
- It is **even** or **odd** according as $\chi(-1)=+1$ or $-1$; write $\kappa\in\{0,1\}$ with $\chi(-1)=(-1)^\kappa$.
- It is **primitive** if it does not come from a character of modulus $N'<N$, $N'\mid N$. Every χ is **induced** by a unique primitive character $\chi^\ast$, whose modulus $f\mid N$ is the **conductor**: $\chi(n)=\chi^\ast(n)$ for $\gcd(n,N)=1$. The **trivial** character of modulus $N$ is induced by the character $1$ of modulus 1. In the Lean transcriptions, where the modulus is fixed, `χ = 1` denotes the principal character $\chi_{0,N}$ of that modulus; in the formulas for ζ and for $\psi(x)=\psi(x,\mathbf 1)$, the trivial character has conductor 1.
- **Orthogonality**: for $\gcd(n,N)=1$, $\frac1{\varphi(N)}\sum_{\chi\bmod N}\chi(n)=1$ if $n\equiv1\pmod N$ and $0$ otherwise. This is the tool that isolates an arithmetic progression or, in § 2, a Frobenius class.

**The function $L(s,\chi)$.** For $\operatorname{Re}s>1$,
$$L(s,\chi)=\sum_{n\ge1}\frac{\chi(n)}{n^{s}}=\prod_{p}\Big(1-\frac{\chi(p)}{p^{s}}\Big)^{-1},$$
the series and the (Euler) product converging absolutely. For the trivial character $\mathbf 1$ of modulus 1, this is $\zeta(s)$; for the principal character $\chi_{0,N}$ of modulus $N$, $L(s,\chi_{0,N})=\zeta(s)\prod_{p\mid N}(1-p^{-s})$. We write $L(s,\chi)$; Mathlib writes $L(\chi,s)$ (`LFunction χ s`), which is the same function.

- **Logarithmic derivative.** Differentiating the logarithm of the Euler product,
$$-\frac{L'}{L}(s,\chi)=\sum_{n\ge1}\frac{\Lambda(n)\chi(n)}{n^{s}},\qquad \Lambda(n)=\begin{cases}\log p & n=p^k,\ k\ge1,\\ 0&\text{otherwise}\end{cases}$$
($\Lambda$ is the **von Mangoldt** function). This is the bridge between zeros and primes: a zero of $L$ of multiplicity $m$ is a simple pole of $-L'/L$ with residue $-m$.

- **Continuation and functional equation.** If χ is primitive and $\chi\neq1$, $L(s,\chi)$ extends to an **entire** function; $\zeta$ extends to a meromorphic function with a single pole, simple, at $s=1$. For χ primitive of conductor $N$, the completed function
$$\xi(s,\chi)=\Big(\frac N\pi\Big)^{(s+\kappa)/2}\,\Gamma\Big(\frac{s+\kappa}2\Big)\,L(s,\chi)$$
satisfies $\xi(s,\chi)=\varepsilon(\chi)\,\xi(1-s,\bar\chi)$, where the **root number** is
$$\varepsilon(\chi)=\frac{\tau(\chi)}{i^\kappa\sqrt N},\qquad\tau(\chi)=\sum_{a\bmod N}\chi(a)\,e^{2\pi ia/N}$$
($\tau(\chi)$ is the Gauss sum; the formula is tied to this convention for it and to the completed function above). In particular $|\varepsilon(\chi)|=1$. The symmetry $s\leftrightarrow1-s$ exchanges χ and $\bar\chi$.

- **Zeros.** The Euler product forbids zeros for $\operatorname{Re}s>1$, and Hadamard and de la Vallée Poussin excluded them on $\operatorname{Re}s=1$. The poles of Γ give the **trivial zeros** $s=-\kappa,-\kappa-2,-\kappa-4,\dots$ (for ζ: $-2,-4,\dots$). All others, the **nontrivial zeros** $\rho=\beta+i\gamma$, lie in the **critical strip** $0<\beta<1$. There are infinitely many, about $\frac{T}{2\pi}\log\frac{NT}{2\pi}$ with height $0<\gamma\le T$. By the functional equation and conjugation ($\overline{L(\bar s,\chi)}=L(s,\bar\chi)$), if ρ is a *nontrivial* zero of $L(s,\chi)$ then so is $1-\bar\rho$ (the restriction is needed: $-2$ is a zero of ζ, but $3$ is not): the set of nontrivial zeros is symmetric about the **critical line** $\operatorname{Re}s=\tfrac12$.
- **Nonprimitive characters.** If χ is induced by $\chi^\ast$, $L(s,\chi)=L(s,\chi^\ast)\prod_{p\mid N}(1-\chi^\ast(p)p^{-s})$: the extra factors vanish only on $\operatorname{Re}s=0$.

**RH and GRH.**

- **RH**: all nontrivial zeros of ζ have real part $\tfrac12$.
- **GRH for χ** (the generalized Riemann hypothesis, here for Dirichlet L-functions): all nontrivial zeros of $L(s,\chi^\ast)$ have real part $\tfrac12$.

By the symmetry $\rho\leftrightarrow1-\bar\rho$, this amounts to saying that **there is no zero in the half-plane $\operatorname{Re}s>\tfrac12$**: a zero to the left of the critical line has a mirror image to the right. The theorem is stated in this form, which mentions neither trivial zeros nor primitivity, and this is also its form in Lean: *for every character χ and every $s$ with $\operatorname{Re}s>\tfrac12$, $L(s,\chi)\neq0$*, except at $s=1$ for the principal character of each modulus, whose L-function has a pole (in Lean, the hypothesis `χ ≠ 1 ∨ s ≠ 1`, since `LFunction` takes a conventional value at the pole).

**Translation into primes.** Let $\psi(x,\chi)=\sum_{n\le x}\Lambda(n)\chi(n)$ be the **Chebyshev function** twisted by χ ($\psi(x)=\psi(x,1)$). The Riemann–von Mangoldt **explicit formula** writes it as a sum of waves indexed by the zeros:
$$\psi(x,\chi)=\delta_\chi\,x-\sum_{\rho}\frac{x^\rho}{\rho}+(\text{terms bounded by }O(\log x)),\qquad \delta_\chi=\begin{cases}1&\chi=1\\0&\chi\ne1\end{cases}$$
This formula holds for primitive χ, with zeros counted with multiplicity. For a nonprimitive character, one removes the contributions of the primes dividing the modulus but not the conductor: this costs $O_N(\log x)$ for the unsmoothed sum, but may cost a term linear in $x$ for the Riesz sum, which is one more reason to stay in the primitive case (§ 1.2). The sum over zeros is taken symmetrically, $|\operatorname{Im}\rho|\le T$ with $T\to\infty$, and the identity holds for $\psi_0(x,\chi)$, the mean of the one-sided limits at jump points, which differs from ψ by at most $\frac12\log x$; the constants are $O_{\chi,\varepsilon}$.
A zero $\rho=\beta+i\gamma$ produces an oscillation of amplitude $x^\beta$. Hence, for every ε > 0:
$$\text{GRH for }\chi\iff\psi(x,\chi)-\delta_\chi x=O_\varepsilon\big(x^{1/2+\varepsilon}\big).$$
The direction ⇐ is the one we need. For $\operatorname{Re}s>1$,
$$-\frac{L'}{L}(s,\chi)-\delta_\chi\frac{s}{s-1}=s\int_1^\infty\big(\psi(x,\chi)-\delta_\chi x\big)x^{-s-1}\,dx.$$
A bound $O(x^\theta)$ on the centered quantity makes this integral holomorphic for $\operatorname{Re}s>\theta$; the rational term cannot hide any pole coming from a nontrivial zero. The pole at $1$ for ζ is thus treated separately. **Proving GRH means bounding sums over primes with a square-root error.**

*Notation.* Below, the letter ψ **on its own** denotes a primitive character (the one being treated), and $\psi(x,\chi)$ the Chebyshev function; γ denotes Euler's constant $0.5772\ldots$, except in $\rho=\beta+i\gamma$.

---

## Overview: the proof in five questions

**Theorem.** For every Dirichlet character χ, $L(s,\chi)\neq0$ for $\operatorname{Re}s>\tfrac12$ (away from the pole $s=1$ of the principal character). In particular, the Riemann hypothesis holds.

**The strategy in one sentence.** We bound a sum over primes the way Chebyshev bounded $\theta(2n)-\theta(n)$: by the **product formula**, applied to an arithmetic object that is highly divisible and of known size. The layers of divisibility, however, are stacked the way Stepanov stacks orders of vanishing, and this is what aims at the exponent ½: the construction gives $O_\varepsilon(x^{1/2+\varepsilon})$ on suitable windows. Once GRH is established, the smoothed explicit formula gives $O(\sqrt x)$ for a fixed character; these are two distinct steps.

**The starting point (§ 1).** A classical analysis (smoothed explicit formula, Landau positivity) reduces GRH to **a single inequality**, to be proved for the scales $x$ in a sequence of windows $[Y_k,Y_k^\lambda]$, $Y_k\to\infty$:
$$G_\psi(x)\;\le\;x^{1/2+C\varepsilon},$$
where $G_\psi$ is a sum of $\log p$ with nonnegative coefficients, weighted by the Riesz weight $(x/n-1)_+$, with its main term removed. An upper bound is enough: zeros off the critical line always end up pushing $G_\psi$ upward. The remainder of the proof establishes this inequality. Each answer below leaves a further obligation to be met, namely the actual realization of what it describes; these obligations are gathered in the table "Where things stand, level by level" of Part II. The five questions that follow are five successive obstacles, not five theories to learn.

**Two toy models** serve as guides:

| | Chebyshev (1852) | Stepanov (1969) | Alpöge (2026) |
|---|---|---|---|
| What is bounded | $\theta(2n)-\theta(n)$ | $\#\{x:g(x)\text{ a square}\}$ over $\mathbb F_p$ | $G_\psi(x)$ |
| Object | the integer $\binom{2n}n$ | a polynomial $F$ | a lattice of periods of automorphic forms |
| "Being a multiple" | $v_p=1$ for $p\in(n,2n]$ | $F$ vanishes to order $a$ on $S$ | $p$-adic divisibility in $m$ layers |
| Size | $\binom{2n}n\le4^n$ | $\deg F$ | slopes, exact volumes |
| Balance | $\sum v_p\log p=\log M$ | $a\,\lvert S\rvert\le\deg F$ | product formula for lattices |
| Error | $O(x)$ | $O(\sqrt p)$ | $O(x^{1/2+\varepsilon})$ |

### Q1. Why can the divisibility of an object tell us about primes? (§ 2)

A nonzero integer $M$ satisfies $\sum_pv_p(M)\log p=\log|M|$. If it is divisible by the right primes, and if its size is known without knowing the primes, we get an upper bound for a sum of $\log p$. The quality of the bound depends on the **profile** $p\mapsto v_p(M)$: the profile of $\binom{2n}n$ also picks up unwanted primes and loses a constant factor; the profile of $y!$ is almost the Riesz weight, and it already gives $G(y)\le\gamma\,y+O(\log y)$. The whole proof aims to replace $\gamma y$ by a bound with exponent $\tfrac12+\varepsilon$. Three counterexamples (§ 2.4) clarify what is required: the object must be nonzero, its profile must follow the weight, and its size must be computable without the primes.

### Q2. Why does complex multiplication give the required divisibility? (§ 3)

Differentiation introduces factorial factors, $D^af(0)=a!\cdot\mathrm{coeff}_a(f)$, hence the Legendre gain $a/(p-1)$. But a theta series is integral only in the coordinate of a **formal group**, and passing to the coordinate in which one differentiates costs denominators. For ordinary reduction (height 1), the lower bound no longer guarantees any linear gain. For supersingular reduction (height 2), it still guarantees $a\big(\tfrac1p+\tfrac1{p^3}+\cdots\big)-O(\log a)=a\,\tfrac{p}{p^2-1}-O(\log a)$.

Complex multiplication makes the reduction supersingular at all inert primes; § 3.2 checks this on the curve $y^2=x^3-x$. The resulting profile, $\frac am\cdot\frac{1-\chi_{-d}(m)}2$ for $m$ prime to $d$ (the ramified prime $d$ is treated separately), is Legendre's, restricted by a quadratic character. That character is an **unwanted twist**: the centered twisted sum $g(y,\chi_{-d})$ must be controlled, and this is achieved by choosing the CM field from a huge family (large sieve). This is also why the proof changes fields from one window to the next.

### Q3. Why do theta lifts simulate Stepanov's multiplicity? (§ 4)

Stepanov counts the points of a curve with an auxiliary function that vanishes to order $a$ at all the points, yet has degree much smaller than $a$ times the naive degree. He manages this because differentiation ignores the $X^{jp}$, which equal $X^j$ on $\mathbb F_p$. Raising a function to the power $a$ would be useless: *new* layers are needed. Over ℤ, a layer is a $p$-adic gain at the CM point (Q2). The **theta lift** is the operation that adds a layer and can be composed. The period factors through the product of matrices $K_m\cdots K_1$, and the valuations of a product add up:
$$v_p(\text{period})\;\ge\;\sum_{j=1}^m\mathrm{gain}_j(p)-\text{losses}.$$
The length $m$ of the chain plays the role of the order of vanishing. The unitary groups grow at each step, so that each layer may be new. That each stage really contributes its gain, at a controlled cost, does not follow from the growth of the groups: it is expressed by an inequality "primes ≤ gains", place by place, which the construction must realize (§ 4.3). Two points are developed there. The gain of each stage is truncated at a threshold, which is a parameter of the highest weight of the forms of that stage: the same integer serves as the threshold for the sum over primes and for the gain, which aligns the two profiles (§§ 3.5 and 4.3, after Adriazola [Ad]). And the gains are not merely stacked; they are distributed across the lattice by a $p$-adic rank property along Hecke edges (§ 3.5).

### Q4. Why do the archimedean constraints bring back the expected main term? (§ 5)

Applied to $y!$, the product formula gives two computations of the same quantity: Legendre's ($\sum\Lambda(m)\lfloor y/m\rfloor$), which needs the primes, and Stirling's ($y\log y-y+\cdots$), which does not. The reason is that $-\zeta'$ has a (double) pole at $s=1$ and remains holomorphic at the zeros of ζ, where $-\zeta'/\zeta$ has poles. The archimedean sizes in the proof are of the same kind: Siegel masses, Rallis norms, CM periods. They are products of values of Γ, powers of π and values of ζ or of L-functions at points where the necessary identities can be established without assuming GRH (three examples are computed in § 5.3). They do not see the fluctuations. Provided they reproduce exactly the right main term, which requires an identity and not merely exact volumes (§ 5.5), that term cancels in the inequality, and all that remains is: fluctuations ≤ losses. For a main term of order $x\log x$ and a target error $x^{1/2+O(\varepsilon)}$, this demands a relative **accuracy** of order $x^{-1/2}/\log x$. That is why the proof uses equalities and a quasi-orthogonality with error $e^{-6x^\varepsilon}$.

### Q5. Why does balancing the parameters lead to the exponent 1/2? (§ 6)

The error per term is $\lesssim4x/m+4m+2\sqrt x$, up to factors $x^{O(\varepsilon)}$. The **fixed cost**, of order $x$, is the imprecision of a single layer; spread over the $m$ lifts, it gives the **amortized fixed cost**, the term in $x/m$. The marginal cost, that of one additional lift, is proportional to the length of the chain, whence a growing contribution to the cost per step, the term in $m$. Since $x/m+m\ge2\sqrt x$, the model balances at the scale $m\asymp\sqrt x$. The actual parameters carry margins in ε: the proof imposes $x^{1/2-\varepsilon}\le m\le x^{1/2+\varepsilon/2}$, and the bound obtained on the windows is $x^{1/2+O(\varepsilon)}$, not to be confused with the smoothed bound $O(\sqrt x)$ that the explicit formula gives for a fixed character once GRH is established. This ½ is not accidental. The exponent cannot be lowered: a zero on the critical line is a singularity of the Mellin transform of $G$, which rules out any smaller exponent (§ 6.3). With a fixed cost of order $x$ and a quadratic loss per lift, and if all the other constraints remained satisfied, the same machinery would only prove the absence of zeros for $\operatorname{Re}s>2/3$.

![Overview. The five questions feed the two sides of the product formula; the bookkeeping inequality of § 6 gives the bound of § 1, which implies GRH. § 7 gathers what keeps division possible and sizes exact.](fig/vue_ensemble_en.svg)

**Three levels.** The proof can be read as three implications: admissible parameters make it possible to *construct* objects that simultaneously satisfy a contract; a *bookkeeping* theorem derives from this contract a bound at one scale, where the main term cancels (§ 6.2); the *optimization* of the parameters and Landau's analytic reduction yield GRH (§§ 1, 6). The first level is by far the heaviest.

### The architecture and its computational footprint

Of the 1.47 M declarations of the formal proof, those belonging to the mechanism alone account for **less than 0.5%** of the volume. The rest guarantees the three requirements of Q1 and the condition of Q5.

| What the rest guarantees | Components | Share of the volume |
|---|---|---:|
| archimedean exactness | covolume; quasi-orthogonality of periods (Theorem S); masses | 7%; 1.4% |
| control of the division | Galois representations; Tate–Shafarevich groups (Ш), supplied together with the auxiliary CM field, called the *host* (§ 3.4); partial local Langlands | 6%; 8% |
| existence of the objects | families of definite unitary groups with prescribed parameters | 36% |

These shares measure volumes of exclusive dependencies, not mathematical importance, and they do not add up; their definition, the corresponding declarations and the interface graph are in the companion article (§§ 4.3 and 5.4, technical appendix). The principle is small and cheap; what is massive is the construction and upkeep of the components that make it applicable.

The architecture comes down to three features.

1. **The large theories enter as hypotheses.** The core of the mechanism is a theorem with seven inputs, among them the covolume, local Langlands and the bound on Ш, and each large theorem is consumed there at a single point. The mechanism is written "abstract, then instantiated", which is why its own share is so small.
2. **Two entry points redistribute them.** The host field receives the averaged choice of the CM field, the places where the scale $x$ is read and the bound on Ш. A construction structure receives the quasi-orthogonality, the masses, the local gain of Q2 (Theorem A, § 3.5), the covolume and local Langlands.
3. **A slope bookkeeping inequality concludes** (§ 6.2):
$$\text{prime sum}\;\lesssim\;\text{local gains}\;\lesssim\;\Delta\widehat\mu\;\lesssim\;\text{Bost's slope bound}\;=\;\text{archimedean terms}+\text{losses}.$$

The leftmost term is the sum over primes; the rightmost is computed without the primes ($\widehat\mu$: slope of a lattice, § 5). This is Chebyshev's structure, $\sum v_p\log p=\log|M|\le\log H$, realized by slopes. Finally, no published statement enters as an axiom: the code contains statements that are conditional on the literature, but they are not used in the proof of GRH.

**How to read what follows.** Part I follows the order of the questions: § 1 (reduction), then §§ 2–6 (Q1 to Q5), then § 7 (the losses). Each section gives an elementary example, a computation, a counterexample, then the actual proof, and ends with the answer to its question. Four **workshops** follow a single prime, 3, from start to finish (§§ 2–5); a fifth, in § 6, compares the two proofs in a lattice; two *interludes* introduce theta series (§ 4) and slopes (§ 5). Part II takes stock.

---

# Part I. The mechanism of the proof

## 1. From RH to an inequality about primes

This section reduces GRH to **a single inequality**, using no fine arithmetic at all, only classical complex analysis (Perron, Landau). It takes five steps. In the code, this is the light part: about 73,000 declarations, mostly Mathlib analysis.

### 1.1 Reduction to primitive characters, grouped into levels

Let $\chi$ be of modulus $N\ge1$, induced by the primitive character $\chi^\ast$ of conductor $f\mid N$. Under the condition $\chi\ne1$ or $s\ne1$, the change of level gives
$$L(s,\chi)=L(s,\chi^\ast)\prod_{p\mid N}\big(1-\chi^\ast(p)p^{-s}\big).$$
The product runs over the distinct primes dividing $N$. If $p\mid f$, the factor equals $1$. For every $p\mid N$, we have $|\chi^\ast(p)p^{-s}|\le p^{-\operatorname{Re}s}<1$ whenever $\operatorname{Re}s>0$. The product is therefore nonzero, even for $N=1$, where it is empty. It thus suffices to treat **primitive** characters.

The condition really concerns $\chi^\ast$; it follows from the condition in the theorem, since the character induced by the principal character is principal. At the point $s=1$, nonvanishing therefore covers every nonprincipal character; for the principal character, this point is the pole.

The proof does not treat a single character in isolation, but a whole **level** at once. For ψ primitive of order $o$, write
$$K_\psi=\{\chi_0=1,\ \chi_1,\dots,\chi_{o-1}\},\qquad \chi_j=\text{the primitive character inducing }\psi^j .$$
This is a set of $o$ primitive characters, **closed under conjugation** ($\overline{\psi^j}=\psi^{o-j}$), containing 1. We prove simultaneously that **neither ζ nor any of the $L(s,\chi_j)$** vanishes for $\operatorname{Re}s>\tfrac12$. For RH alone, $\psi=1$, $o=1$ and $K_\psi=\{1\}$.

### 1.2 Smoothing: the Riesz-weighted Chebyshev sum

The function $\psi(x,\chi)$ from the preliminaries has two defects: it jumps at every prime power, and its explicit formula $\sum_\rho x^\rho/\rho$ converges only conditionally (since $\sum 1/|\rho|$ diverges). The proof uses instead the **Riesz weight** $(y/n-1)_+$:
$$S(y,\chi)=\sum_{n\le y}\Lambda(n)\chi(n)\Big(\frac yn-1\Big)=\int_1^y\Big(\sum_{n\le t}\frac{\Lambda(n)\chi(n)}{n}\Big)\,dt .$$
It is an antiderivative (an average): it is continuous, and each integration gains a factor $1/|\rho|$ in the explicit formula.

**Perron's formula.** For $c>1$ and $y>0$, computing the residues at $s=1$ and $s=0$ gives
$$\frac1{2\pi i}\int_{c-i\infty}^{c+i\infty}\frac{(y/n)^s}{s(s-1)}\,ds=\Big(\frac yn-1\Big)_+ ,$$
hence, summing against $\Lambda(n)\chi(n)$ and using the logarithmic derivative,
$$S(y,\chi)=\frac1{2\pi i}\int_{(c)}\Big(-\frac{L'}{L}(s,\chi)\Big)\frac{y^s}{s(s-1)}\,ds .$$
The kernel decays like $|s|^{-2}$: the integral converges **absolutely**, and the contour can be shifted to the left, picking up residues.

- **At $s=1$.** For $\chi\neq1$, $L(1,\chi)\ne0$ (Dirichlet), and the residue is $-y\,\frac{L'}{L}(1,\chi)$. For ζ, the pole of $-\zeta'/\zeta=\frac1{s-1}-\gamma+\cdots$ meets that of the kernel: a double pole, with residue $y\log y-(1+\gamma)\,y$.
- **At each nontrivial zero ρ of multiplicity $m_\rho$**: $-L'/L$ has residue $-m_\rho$, giving the term $-m_\rho\,y^\rho/(\rho(\rho-1))$.
- **At $s=0$ and at the trivial zeros**: terms $O(\log y)$.

We therefore remove the main term, defining
$$g(y,\chi)=S(y,\chi)+y\,\frac{L'}{L}(1,\chi)\quad(\chi\ne1),\qquad G(y)=S(y,1)-y\log y+(1+\gamma)\,y ,$$
and obtain the **smoothed explicit formula**:
$$g(y,\chi)=-\sum_\rho m_\rho\,\frac{y^\rho}{\rho(\rho-1)}+O(\log y),$$
and likewise for $G$ with the zeros of ζ. The series converges **absolutely**, since $\sum_\rho1/|\rho|^2<\infty$. Two consequences:

1. **GRH ⇒ $g(y,\chi)=O(y^{1/2})$**, without even an $\varepsilon$: this is the target size.
2. **Conversely**, by Mellin transform, $\int_1^\infty g(y,\chi)\,y^{-s-1}dy=-\frac{1}{s(s-1)}\frac{L'}{L}(s,\chi)+(\text{rational function with poles at }0,1)$. A zero ρ appears there as a pole. A bound $|g(y,\chi)|=O(y^\theta)$ makes the integral converge for $\operatorname{Re}s>\theta$ and excludes any zero with real part $>\theta$.

Point 2 requires a bound **in absolute value**: we would have to control the fluctuations of $g$ both upward and downward. The rest of the reduction removes one of these two requirements.

### 1.3 Combining: a sum with nonnegative coefficients

For ψ primitive of order $o$, form
$$G_\psi(y)=G(y)+\frac{1}{3o+1}\sum_{j=1}^{o-1}\operatorname{Re}g(y,\chi_j).$$
Since $K_\psi$ is closed under conjugation and $g(y,\bar\chi)=\overline{g(y,\chi)}$, the sum of the real parts equals the sum of the $g(y,\chi_j)$ themselves. $G_\psi$ is thus the Riesz sum, main term removed, of the Dirichlet series
$$D_\psi(s)=-\frac{\zeta'}{\zeta}(s)-\frac1{3o+1}\sum_{j=1}^{o-1}\frac{L'}{L}(s,\chi_j)=\sum_{n\ge1}\frac{c_n}{n^s},\qquad c_n=\Lambda(n)\Big(1+\frac1{3o+1}\sum_{j=1}^{o-1}\chi_j(n)\Big).$$

**The coefficients are nonnegative.** If $n$ is coprime to the conductor of ψ, $\chi_j(n)=\psi(n)^j$, and the geometric sum $\sum_{j=1}^{o-1}\psi(n)^j$ equals $o-1$ if $\psi(n)=1$ and $-1$ otherwise. Hence
$$c_n=\Lambda(n)\cdot\begin{cases}\dfrac{4o}{3o+1}&\text{if }\psi(n)=1,\\[8pt]\dfrac{3o}{3o+1}&\text{otherwise.}\end{cases}$$
For powers of primes $p$ dividing the conductor, bound each $|\chi_j(n)|\le1$: $c_n\ge\Lambda(n)\,\frac{2o+2}{3o+1}>0$. In every case $c_n\ge0$, and $c_n=0$ only if $\Lambda(n)=0$.

**Where $1/(3o+1)$ comes from.** The 4 : 3 profile is not arbitrary; it can be read off the Frobenius orbits of the host of § 3.4. On the analytic side, the proof gives weight 1 to a possible distinguished odd real character and $1/(3o+1)$ to the others; on the main path, no character is distinguished. Primes are sampled there according to their class modulo a subgroup of index $o$ of a Frobenius group, with proportion $4/(3o+1)$ for the neutral class and $3/(3o+1)$ for each of the $o-1$ others. The total is $(4+3(o-1))/(3o+1)=1$. The Fourier coefficients of this distribution are $1$ for the trivial character and $\frac{4-3}{3o+1}=\frac1{3o+1}$ for all others: exactly the weights of $G_\psi$, and $c_n/\Lambda(n)$ is $o$ times the proportion of the class of $n$. A uniform distribution would give zero weights and would not see the $\chi_j$; a strictly positive distribution guarantees positivity. The code does not say why 4 : 3 rather than another mixture ⟦I⟧: positivity alone does not force it. A ratio $r:1$ between the neutral class and the others would give coefficients $(r-1)/(r+o-1)$, positive whenever $r>1$; $r=4/3$ gives $1/(3o+1)$. The origin of this ratio should be sought in the construction of the host and of the thick orbits. Note, finally, that positivity of a distribution on the classes does not imply positivity of its Fourier coefficients: it is the explicit computation of the 4 : 3 profile that gives it.

**No cancellation between zeros.** The Mellin transform of $G_\psi$ is $D_\psi(s)/(s(s-1))$, up to a rational function. Its poles in $0<\operatorname{Re}s<1$ are the zeros ρ of ζ or of one of the $L(s,\chi_j)$, with weight
$$w_\rho=m_\rho(\zeta)+\frac1{3o+1}\sum_{j=1}^{o-1}m_\rho(\chi_j)\;>\;0 .$$
All multiplicities enter with a $+$ sign: a zero of one of the functions cannot be masked by another. This is the idea of de la Vallée Poussin, who combined $\zeta(\sigma)^3|\zeta(\sigma+it)|^4|\zeta(\sigma+2it)|$ thanks to $3+4\cos\theta+\cos2\theta=2(1+\cos\theta)^2\ge0$.

### 1.4 Why an upper bound suffices: Landau's argument

**Landau's theorem.** Let $f\ge0$ on $[1,\infty)$ and $H(s)=\int_1^\infty f(y)\,y^{-s-1}dy$, with abscissa of convergence $\sigma_c$. Then $H$ has **no** holomorphic continuation to a neighborhood of the **real** point $s=\sigma_c$. (Proof: expand $H$ in a Taylor series at a real point $a>\sigma_c$. The derivatives $(-1)^kH^{(k)}(a)=\int f(y)(\log y)^ky^{-a-1}dy$ are nonnegative; if the series converged a little beyond $\sigma_c$, it could be interchanged with the integral, which would then converge beyond $\sigma_c$.)

**Application.** Suppose $G_\psi(y)\le y^\theta$ for $y\ge y_0$, with $0<\theta<1$. Put $f(y)=y^\theta-G_\psi(y)\ge0$ for $y\ge y_0$, and $f=0$ below. Its transform is
$$H(s)=\frac{y_0^{\theta-s}}{s-\theta}-\int_{y_0}^\infty G_\psi(y)y^{-s-1}\,dy.$$
Using the definition of $G_\psi$ and continuing the transform from $\operatorname{Re}s>1$, we get
$$H(s)=\frac{1}{s-\theta}-\frac{D_\psi(s)}{s(s-1)}+R(s)+E(s),$$
where $R$ is the rational function coming from the main terms and $E$ is entire (the modification on a compact interval). It is the combination $-D_\psi(s)/(s(s-1))+R(s)$, not $R$ alone, that is holomorphic at $s=1$.

Suppose for contradiction that $\sigma_c>\theta$. By Landau, $\sigma_c$ is a singularity, hence a pole of $D_\psi/(s(s-1))$: a **real zero** $\beta=\sigma_c\in(\theta,1)$. Its residue in $D_\psi(s)/(s(s-1))$ is $-w_\beta/(\beta(\beta-1))=w_\beta/(\beta(1-\beta))>0$. As $\sigma\to\beta^+$, $H(\sigma)\to-\infty$, contradicting $H(\sigma)=\int f\,y^{-\sigma-1}\ge0$. Hence $\sigma_c\le\theta$: $H$ is holomorphic on $\operatorname{Re}s>\theta$, and so is $D_\psi$ apart from its pole at $s=1$. **Neither ζ nor any $L(s,\chi_j)$ has a zero with real part $>\theta$.**

**The intuition.** Imagine a real zero $\beta>\theta$. Its contribution to the smoothed term is positive: $w_\beta y^\beta/[\beta(1-\beta)]$. It naturally pushes the sum we want to bound upward. For a complex zero, the signal oscillates, and several signals can momentarily cancel. The positivity of the coefficients of the Dirichlet series is not enough, by itself, to rule out a lasting cancellation: Landau's argument uses the nonnegativity of $y^\theta-G_\psi(y)$ and the precise sign of the residues at real singularities. It turns information on one side of the curve into a holomorphy property on a whole half-plane.

This is a considerable strategic gain. If the arithmetic method naturally produces an inequality in one direction only, we need not look for a second construction giving the lower bound. We now know what kind of arithmetic certificate must be constructed.

### 1.5 Bounds on windows of scales only

The auxiliary field used to count the primes depends on the range of scales (§ 3.4). Suppose, then, that we can bound $G_\psi$ on one window, then on another, as far out as we wish. What can a zero do in the gaps between them? The following criterion gives a precise answer.

> **Window criterion.** Fix $\lambda>1$ and $0<\theta<1$. If ζ or one of the $L(s,\chi_j)$ of the level has a zero with real part $>\theta$, then every sufficiently large $Y$ admits a $y\in[Y,Y^\lambda]$ with $G_\psi(y)>y^\theta$.

An example explains why the width of the window matters. In the variable $u=\log y$, take $g(u)=e^{\beta u}\cos u$, with $\theta<\beta<1$. Its Laplace transform has two poles, at $\beta+i$ and $\beta-i$. Yet, after each $U=\pi+2\pi j$, one can observe $g$ on the whole of $[U,U+1]$ and see only negative values. The window of the criterion is $[U,\lambda U]$. Its width $(\lambda-1)U$ grows with $U$, even for $\lambda$ very close to $1$.

**How does one look inside a window?** Let us return to $g(u)=G_\psi(e^u)$ and to its Laplace transform $\Phi$. Differentiating $k$ times at a real point $\sigma>2$ brings out the weight $w_k(u)=u^ke^{-\sigma u}/k!$. Once normalized, this weight has mean $(k+1)/\sigma$ and standard deviation $\sqrt{k+1}/\sigma$. Choose $\sigma$ large enough depending on $\lambda$, then $k=\lceil\sigma(1+\lambda)U/2\rceil$. The center of the weight then lies near the middle of the window. Its width grows like $\sqrt U$, and that of the window like $U$. Even taking into account the possible growth of $g$ outside, $|g(u)|\le C_0e^{2u}$, the two tails of the kernel of parameter $\sigma-2$ decay fast enough.[^queues-landau]

![The weight given to the different values of $\log y$ concentrates in the middle of the window as $Y$ grows. Illustration of the gamma kernel ([script of the figure](tools/fig_landau.py)).](fig/landau_fenetres_en.svg)

A sign difficulty remains. We know how to bound $g$ from above in the window, whereas a complex zero can make it oscillate. Put $A_k(z)=(-1)^k\Phi^{(k)}(z)/k!$. Shifting the center from $\sigma$ to $\sigma+it$ multiplies the integrand by a phase of modulus one. The triangle inequality therefore gives, **with the same $k$ at every height $t$**,
$$
 |A_k(\sigma+it)|+\operatorname{Re} A_k(\sigma)
 \;\le\;\int_0^\infty \bigl(|g(u)|+g(u)\bigr)w_k(u)\,du .
$$
Only the positive part of $g$ survives on the right. On the window, the bound $g(u)\le e^{\theta u}$ therefore suffices. Together with the two tails, this gives, for every $\eta>0$ and along arbitrarily remote windows, an upper bound of the form $C e^{\eta U}(\sigma-\theta)^{-k}$.

What would a pole to the right of $\theta$ give? In a first case, one can choose the height $t$ so as to isolate a pole closer to $\sigma+it$ than any pole is to $\sigma$, at distance $d<\sigma-\theta$. Its residue then gives the dominant term of $A_k(\sigma+it)$, while the term at the real center can still be bounded by Cauchy's inequality. In the other case, the pole nearest to $\sigma$ is real and its residue is positive; the lower bound then comes from $A_k(\sigma)$. In both cases, the Cauchy estimates show that the left-hand side is at least $a d^{-k}-O(r^{-k})$, with $a>0$ and $0<d<r<\sigma-\theta$. Taking $0<\eta<\log((\sigma-\theta)/d)$, we contradict the preceding upper bound, since $k\ge U\to\infty$.

[^queues-landau]: To recover the computation, put $\delta=\lambda-1$, $\ell=2+6/\delta$, $\sigma=\ell(1+\delta)(2+\ell)$ and $a=\sigma-2$. The Chernoff bound outside $[U,\lambda U]$ is $e^{-\ell\lambda U}(a-\ell)^{-k-1}+e^{\ell U}(a+\ell)^{-k-1}$. For the $k$ chosen above, it is $O_\delta(\sigma^{-k})$.

This deduction uses the growth, the continuation and the residues of $\Phi$, whose poles are the zeros of the family and their conjugates. In the arithmetic proof, $\lambda=3/2$ is suitable. Slijepčević stresses the windowed form of this result [S]. Another route, proposed in [H], would go through the oscillation theorem of Kaczorowski and Pintz.

### 1.6 Conclusion

Fix $s$ with real part $\beta>1/2$. Choose $1/2<\theta<\min(\beta,1)$, then a single $\varepsilon>0$ small enough to obtain $G_\psi(x)\le x^\theta$ on arbitrarily remote windows (§ 6.4). The criterion of § 1.5 then excludes a zero at $s$ for each character of the level $K_\psi$. Since $\psi$ belongs to its own level, we obtain nonvanishing for each primitive character. The change of modulus of § 1.1 gives the statement for all Dirichlet characters.

> **Conclusion.** Everything reduces to proving, for each primitive ψ, each sufficiently small ε > 0 and each scale $x$ in a sequence of windows $[Y_k,Y_k^\lambda]$, $Y_k\to\infty$:
> $$\boxed{\;G_\psi(x)\;\le\;x^{1/2+C\varepsilon}\;}$$
> This is a **one-sided upper bound** for a weighted sum of $\log p$ with nonnegative coefficients, with a square-root error. §§ 2–7 are devoted to nothing else.

## 2. The toy model: Chebyshev, or why divisibility tells us about primes

Zeros have now disappeared from the inequality we need to prove. All that remains is $G_\psi(x)$, a weighted sum of $\log p$ over primes. How can we bound such a sum without knowing precisely how the primes are distributed? An idea going back to Chebyshev is to stop counting primes directly and make them appear instead as divisors of another object. His argument of 1852 already contains the whole mechanism, up to a matter of precision.

### 2.1 One integer, two sizes

Let $M$ be a **nonzero** integer. Its factorization gives an identity:
$$\sum_p v_p(M)\,\log p \;=\; \log|M| .$$
The left-hand side is a sum of $\log p$: the kind of quantity we want to bound. The right-hand side is an ordinary **size**, measured by the real absolute value. To bound a sum of $\log p$, we therefore look for a nonzero integer with two properties:

- **at the finite places**, it is divisible by the primes of interest: $v_p(M)\ge w(p)$;
- **at the infinite place**, its size is known: $|M|\le H$.

We get $\sum_p w(p)\log p\le\log H$. This is the **product formula**, $\prod_v|M|_v=1$, written logarithmically: a highly divisible number is large, so size limits divisibility.

### 2.2 Chebyshev's example

Take $M=\binom{2n}{n}$.

- **Finite places.** Every prime $p\in(n,2n]$ divides $(2n)!$ but not $(n!)^2$, so $v_p(M)=1$.
- **Infinite place.** $M$ is one of the terms of $\sum_k\binom{2n}{k}=4^n$, so $M\le4^n$.
- **Conclusion.** $\theta(2n)-\theta(n)=\sum_{n<p\le2n}\log p\;\le\;n\log4$.

For $n=10$: $\binom{20}{10}=184{,}756=2^2\cdot11\cdot13\cdot17\cdot19$, and indeed $\log(11\cdot13\cdot17\cdot19)\approx10.7\le10\log4\approx13.9$. Summing over the dyadic ranges $x,x/2,x/4,\dots$ then gives $\theta(x)\le2x\log4$ (with a refinement, Erdős even gets $\theta(x)<x\log4$).

| $n$ | $\theta(2n)-\theta(n)$ | $\log\binom{2n}{n}$ | $n\log 4$ |
|---:|---:|---:|---:|
| 10 | 10.7 | 12.1 | 13.9 |
| 1,000 | 983.6 | 1,382.3 | 1,386.3 |
| 10⁶ | 1,000,103.5 | 1,386,286.9 | 1,386,294.4 |

*(Computed by [`tools/modeles.py`](tools/modeles.py).)*

The bound is correct, but it loses a factor $\log4\approx1.39$: this is an error of order $x$, while the proof aims at an error of order $\sqrt x$. Where does this loss come from? Not from the archimedean bound, which is almost exact: the third column agrees with the fourth up to $\tfrac12\log(\pi n)$ (Stirling). Not from divisibility either: Legendre's formula gives $v_p(M)$ exactly. The loss comes from the **profile** of divisibility.

### 2.3 What matters: the profile $p\mapsto v_p(M)$

By Legendre's formula, $v_p\binom{2n}{n}=\sum_{k\ge1}f(n/p^k)$, with $f(t)=\lfloor2t\rfloor-2\lfloor t\rfloor$. This function equals 1 if the fractional part of $t$ is at least $\tfrac12$, and 0 otherwise. We wanted the indicator function of $(n,2n]$. We get a **sawtooth**, which also equals 1 on $(n/2,2n/3]$, on $(n/3,2n/5]$, and so on, and is larger for small primes:

![Divisibility profile of $\binom{120}{60}$: in blue the target primes, in red the unwanted primes that also divide the object.](fig/profil_binomial_en.svg)

Summing over $p$ gives Chebyshev's identity:
$$\log\binom{2n}{n}=\psi(2n)-\psi(n)+\psi(2n/3)-\psi(2n/4)+\psi(2n/5)-\cdots$$
The object does not "see" $\psi(2n)-\psi(n)$ alone, but a **combination** of prime sums. The extra terms, the **unwanted twists**, are positive as a whole. They can only be discarded, and that is where $0.39\,n$ is lost.

> **The working rule.** An object $M$ bounds $\sum_p v_p(M)\log p$, and nothing else. The quality of the bound depends on the gap between the **divisibility profile** $p\mapsto v_p(M)$ and the target weight. The program of the proof is to construct objects whose profile, after normalization and summation, reproduces the Riesz profile with an error of order $x^{1/2+O(\varepsilon)}$.

**The same computation with the Riesz weight.** Legendre's formula can also be written
$$\log\lfloor y\rfloor!=\sum_{m\le y}\Lambda(m)\Big\lfloor\frac ym\Big\rfloor .$$
The profile of $y!$ is therefore $\lfloor y/m\rfloor$, and the Riesz weight of § 1.2 is $y/m-1$. The two differ only by a sawtooth, since $y/m-1<\lfloor y/m\rfloor\le y/m$. The first object that comes to mind, $y!$, thus already bounds the Riesz sum $S(y)$, up to an error **of order $y$**. Numerically, $\log y!-S(y)\approx\gamma\,y$:

| $y$ | $S(y)$ | $y\log y-(1+\gamma)y$ | $\log y!$ | $\log y!-S(y)$ | $\gamma y$ |
|---:|---:|---:|---:|---:|---:|
| 10³ | 5,332.1 | 5,330.5 | 5,912.1 | 580.1 | 577.2 |
| 10⁶ | 12,238,305.9 | 12,238,294.9 | 12,815,518.4 | 577,212.5 | 577,215.7 |

The second column is the main term subtracted to define $G$ (§ 1.2). The factorial gives $G(y)\le\gamma y+O(\log y)$, and the proof must get $G(y)\le y^{1/2+\varepsilon}$. This is not just an analogy ⟦I⟧: in § 3, the divisibility gain of Theorem A comes precisely from the factorial $a!$ in $D^af(0)=a!\cdot\mathrm{coeff}_a(f)$.

### Workshop 1. Which profile must really be obtained?

In the table of § 2.3, the difference between $\log y!$ and $S(y)$ is close to $\gamma y$. This number is not a rounding error. For an integer $y$,

$$\log y!-S(y)=\sum_{n\le y}\Lambda(n)\big(1-\{y/n\}\big),$$

where $\{t\}=t-\lfloor t\rfloor$. Each gap lies in $(0,1]$. The trivial bound on the sum is $\psi(y)$, of order $y$. This is exactly the kind of obstacle we are interested in: a small local defect repeated over a large family of primes can completely dominate the fluctuation one is looking for.

For what follows, let us fix a deliberately tiny numerical example: $x=81$ and the prime $p=3$. In $S(81)$, the powers $3,9,27,81$ carry the weights $26,8,2,0$ respectively. The contribution of the prime 3 is therefore $36\log3$. In $81!$, Legendre gives instead $27+9+3+1=40$. The difference, $4\log3$, is the loss attributable to this single prime. We shall meet 3 again in § 3, then in § 4 in a composition model, and in § 5 in a covolume computation.

This example suggests a change of strategy. Rather than looking for integers that have all the necessary valuations from the outset, let us look for an operation that provides the right *functional form* $a/p^e$, and then for a way of subtracting a threshold from it. For $a=bx$, the identity

$$\left(\frac{a}{p^e}-b\right)_+=b\left(\frac{x}{p^e}-1\right)_+$$

explains why a scale factor $b$ will be useful. The first problem is to obtain the raw gains; the second is to have weights that realize the truncation. Neither is enough without the other. We have just moved from a question about primes to a question of construction.

### 2.4 Three counterexamples: what is required of the object

| Object | What goes wrong | Corresponding requirement in the proof |
|---|---|---|
| $M=0$ | It is divisible by everything and its size is zero, but the identity $\sum v_p\log p=\log\lvert M\rvert$ no longer makes sense | **Nonvanishing.** In Bost's method of slopes (§ 5), the map $\varphi$ must be injective. In the proof, this role is played by the quasi-orthogonality of periods ⟦I⟧ (§ 5.4) |
| $M=2^N$ | It is huge at 2 and says nothing elsewhere | **The profile must follow the weight**, prime by prime: this is the alignment of weights of § 4.3 |
| $M=\operatorname{lcm}(1,\dots,y)=e^{\psi(y)}$ | Its profile is perfect, but its size is known only if the primes are already known: the bound is a tautology | **The archimedean size must be computable without the primes**: by analysis (Stirling) or by geometry (volumes, Siegel masses). This is question 4, in § 5 |

A fourth point holds for any object. Divisibility gives $v_p(M)\ge w(p)$, an **inequality**, and hence only an **upper bound** for the prime sum. In Chebyshev's case, the lower bound $\psi(2n)\ge n\log4-\log(2n+1)$ needs **another** argument: $\binom{2n}{n}$ divides $\operatorname{lcm}(1,\dots,2n)$. This is why § 1 worked so hard to **do without a lower bound** (Landau, § 1.4). The analytic reduction and the arithmetic mechanism are matched to each other: the latter produces only what the former can use.

### 2.5 The same pattern in the proof

![Chebyshev's model and Alpöge's proof have the same architecture. Only the precision of the divisibility profile changes.](fig/modele_reduit_en.svg)

| Chebyshev | Alpöge |
|---|---|
| One integer $\binom{2n}{n}$ | A **lattice** of automorphic forms: many integers at once, its periods |
| $v_p$ by Legendre | $v_p\ge\sum_{j=1}^m\mathrm{gain}_j(p)-\text{losses}$: Theorem A, iterated along the chain |
| $\binom{2n}{n}\le4^n$ | Slope inequality, with exact volumes (§ 5.4) |
| $\log M=\sum v_p\log p$ | A difference of slopes is a sum of $\log p$ |
| Sawtooth profile, loss $O(x)$ | Profile aligned with the Riesz weight, loss $O(\sqrt x)$ |

Why a lattice, and not a single integer? One integer gives one inequality. A lattice of rank $r$ gives $r$ of them, averaged by the slope, and it allows one to **divide** by an ideal while staying integral (§ 5.4) ⟦I⟧. The rank, denoted $k$ in § 6.2 where $k\ge x^{3/2-\varepsilon}$, measures how much information must be accumulated to gain the factor $\sqrt x$.

**What this costs.** In the formal proof, everything in this subsection, that is, the product formula, the division of lattices and the computation of slopes, accounts for about 0.1% of the volume. The principle is cheap. The cost lies in the three requirements of § 2.4. Nonvanishing relies on quasi-orthogonality (Theorem S) and on the construction of families. A size computable without the primes relies on the covolume. The right profile relies on the gains and on the division, which are fed by Galois representations and Tate–Shafarevich groups.

> **Answer to question 1.** A nonzero integer cannot be both highly divisible and small: $\sum_pv_p(M)\log p=\log|M|$. If its size is known without knowing the primes, and if its divisibility profile follows the desired weight, we get an upper bound for the prime sum. Chebyshev does this with $\binom{2n}n$, up to $O(x)$, because the profile is a sawtooth. The proof does it up to $x^{1/2+O(\varepsilon)}$ on windows, because its profile is aligned, but also because the object is nondegenerate and its archimedean budget is exact: alignment alone is not enough. Questions 2 and 3 explain where this profile comes from.

## 3. Why complex multiplication gives the required divisibility

We now know what to look for: a nonzero object whose divisibility profile $m\mapsto v(m)$ follows the Riesz weight $(y/m-1)_+$, but whose size can be estimated independently of the distribution of primes. The factorial comes close: the profile of $y!$ is $\lfloor y/m\rfloor$. But it is rigid: it cannot be multiplied into families, made to live on a lattice, or iterated. Can we recover its arithmetic in a more flexible object, a source of factorials **inside a geometric object**? There is an elementary operation that introduces factorial factors: differentiation.
$$D^af(0)=a!\cdot\mathrm{coeff}_a(f).$$
If $f$ has integer coefficients, its $a$-th derivative is divisible by $a!$. Legendre's bound comes for free: $v_p\ge a/(p-1)$, up to $O(\log a)$. One question remains, and it decides everything: in which coordinate should we differentiate?

### 3.1 The coordinate problem

Why are elliptic curves needed, if the divisibility comes for free? Because the coordinate in which $f$ is integral is not necessarily the one in which it must be differentiated.

Take a familiar situation. The multiplication of two numbers close to 1 reads, after subtracting 1,

$$F(X,Y)=X+Y+XY.$$

This group law, written as a power series near its identity, is a *formal group*. Associativity, the identity element and the inverse hold not only for numbers but as identities between power series. The formal logarithm $\log_F(X)=\log(1+X)$ turns this law into addition:

$$\log_F(F(X,Y))=\log_F(X)+\log_F(Y).$$

The additive coordinate $z=\log_F(X)$ allows differentiation along a natural direction, and the inverse is $X=\exp_F(z)=e^z-1$. But the coefficients $1/a!$ introduce exactly the denominators we hoped to gain! For $f(X)=X$, we have $D^a f(\exp_F(z))|_{z=0}=1$ for all $a\ge1$. No factor of $p$ has survived. Even a function that is perfectly integral in $X$ may thus yield no divisibility at all after linearization.

Elliptic curves also have a group law. Near the point at infinity, one can choose a local parameter (for instance $t=-x/y$ for a Weierstrass equation) and express addition by a series $F(X,Y)$. The series $[p]_F(X)$, obtained by adding $X$ to itself $p$ times, starts mod $p$ in degree $p^h$ for a certain height $h$. With good reduction, an elliptic curve is ordinary if $h=1$ and supersingular if $h=2$.

In the particular height-2 model studied here, one can work with a $p$-typical logarithm of the form

$$\log_F(X)=\sum_{e\ge0}\frac{(-1)^eX^{p^{2e}}}{p^e}.$$

The term of degree $p^{2e}$ has a denominator of valuation $e$, not $2e$. The height-2 logarithm is much more lacunary than the multiplicative logarithm. The idea is that the cost of linearization can then be lower than the gain of the factorial. This is not an automatic property of every height-2 series: the chosen coordinate, integrality and renormalization enter the actual result.

| Formal group | Model logarithm | What the example $f(X)=X$ shows |
|---|---|---|
| Additive | $X$ | $D^aX=0$ for $a>1$; for a general integral series, the Legendre gain is guaranteed |
| Multiplicative, height 1 | $\log(1+X)$ | $D^a(e^z-1)|_{z=0}=1$ for $a\ge1$ |
| Height-2 model | $\sum_e(-1)^e X^{p^{2e}}/p^e$ | If the cost per degree is bounded by $1/(p^2-1)$, at least $ap/(p^2-1)-O(\log a)$ remains |

One problem remains: how can we secure the favorable case for a large set of primes? A curve with complex multiplication by an imaginary quadratic field $K$ is supersingular at the primes of good reduction that are inert in $K$. Complex multiplication thus provides an arithmetic selection of primes, described by a quadratic character. It is time to see a fully computable example.

### 3.2 The computation on $y^2=x^3-x$

The curve $y^2=x^3-x$ has complex multiplication by $\mathbb Z[i]$, via $(x,y)\mapsto(-x,iy)$. The primes inert in $\mathbb Q(i)$ are the $p\equiv3\pmod4$. One can see directly why they are supersingular.

For odd $p$, the reduction is good. If $\chi_p$ denotes the Legendre symbol (with $\chi_p(0)=0$), the number of solutions in $y$ of $y^2=x^3-x$ is $1+\chi_p(x^3-x)$. Hence

$$\#E(\mathbb F_p)=p+1+\sum_{x\in\mathbb F_p}\chi_p(x^3-x).$$

When $p\equiv3\pmod4$, $\chi_p(-1)=-1$ and $(-x)^3-(-x)=-(x^3-x)$. The contributions of $x$ and $-x$ cancel exactly. Only $p+1$ remains. We have just proved, in this example, the consequence of complex multiplication that will be used later. For $p\equiv1\pmod4$, the same involution no longer makes the sum vanish.

The count confirms it:

| $p$ | 3 | 5 | 7 | 11 | 13 | 17 | 19 | 23 | 29 |
|---|---|---|---|---|---|---|---|---|---|
| $p \bmod 4$ | 3 | 1 | 3 | 3 | 1 | 1 | 3 | 3 | 1 |
| $\#E(\mathbb F_p)$ | 4 | 8 | 8 | 12 | 8 | 16 | 20 | 24 | 40 |
| $a_p=p+1-\#E$ | **0** | −2 | **0** | **0** | 6 | 2 | **0** | **0** | −10 |

![One curve, two views: on the left, the real geometry leading to the periods; on the right, the points of the reduction mod 7, to which the point at infinity must be added. The involution x ↦ −x explains why the total is 8.](fig/courbe_deux_lectures_en.svg)

For inert $p$, $a_p=0$: Frobenius satisfies $F^2-a_pF+p=0$, hence $F^2=-p$. **Two applications of Frobenius cost a factor $p$.** That is all there is to supersingularity. On the coefficients $a_n$ of the L-function of the curve, the recursion $a_{p^{k+1}}=a_pa_{p^k}-p\,a_{p^{k-1}}$ then gives $a_{p^{2e}}=(-p)^e$ and $a_{p^{2e+1}}=0$. A theorem of Honda (1968 [Ho]; see also [Haz]) says that the formal group of $E$ is strictly isomorphic over ℤ to the one whose logarithm is $\sum_na_n\,t^n/n$: the computation that follows really is about the curve itself. The coefficient of $t^{p^{2e}}$ is therefore $(-p)^e/p^{2e}=(-1)^e/p^e$: this is height 2. For split $p$, $a_p$ is invertible mod $p$, $a_{p^e}$ is a $p$-adic unit, the coefficient of $t^{p^e}$ is of order $1/p^e$, and we are back at height 1.

Inverting this logarithm in exact rational arithmetic, we compute the valuations of the derivatives of $\exp_E$ at 0 ([`tools/modeles.py`](tools/modeles.py)):

| $a$ | 9 | 25 | 49 | 81 | 121 | 161 |
|---|---:|---:|---:|---:|---:|---:|
| $v_3(a!)$ (Legendre) | 4 | 10 | 22 | 40 | 58 | 76 |
| $v_3(D^a\exp_E(0))$, $p=3$ inert | 3 | 9 | 18 | 30 | 45 | 61 |
| $a\cdot3/8$ | 3.4 | 9.4 | 18.4 | 30.4 | 45.4 | 60.4 |
| $v_5(D^a\exp_E(0))$, $p=5$ split | 0 | 0 | 0 | 0 | 0 | 0 |

![Share of the Legendre gain kept after the change of coordinate, for $y^2=x^3-x$. The dashes show the reference rate $p/(p+1)$, which the observed values may occasionally exceed.](fig/part_legendre_en.svg)

The contrast is stark. For an inert prime, the lower bound asymptotically guarantees the fraction $\frac{p/(p^2-1)}{1/(p-1)}=\frac p{p+1}$ of the Legendre gain (3/4 for $p=3$, 7/8 for $p=7$), up to a loss $O(\log a)$; computed values may exceed it at times. For the split primes 5 and 13, the observed valuation is zero for all odd orders computed, $a\le161$ (the even-order coefficients of the formal exponential vanish, since the logarithm is odd, and their valuation is $+\infty$): with ordinary reduction, the computation of the denominators guarantees no gain, and here there is none.

![The causal chain, for an inert prime and for a split prime.](fig/chaine_cm_en.svg)

**What is subtracted in the rate model.** Legendre counts the multiples of $p$, then of $p^2$, of $p^3$, etc.:
$$\frac a{p-1}=\frac ap+\frac a{p^2}+\frac a{p^3}+\cdots$$
The upper bound on the height-2 cost is $\frac a{p^2-1}=\frac a{p^2}+\frac a{p^4}+\cdots$: these are **the even layers**. The odd layers remain:
$$v_p\big(D^a\exp_F(0)\big)\gtrsim\frac ap+\frac a{p^3}+\frac a{p^5}+\cdots=a\,\frac{p}{p^2-1}.$$

### 3.3 The resulting profile, and why it is the right one

Let us read this gain on prime powers $m=p^e$, as we did for the Riesz weight of § 1.2. The object gains $a/m$ at $m=p^e$ if $p$ is inert and $e$ odd, and nothing otherwise. Now, for the quadratic character $\chi_{-d}$ attached to the CM field $K=\mathbb Q(\sqrt{-d})$ and for $p\nmid d$,
$$\frac{1-\chi_{-d}(p^e)}2=\begin{cases}1&\text{if }p\text{ is inert and }e\text{ odd},\\0&\text{otherwise.}\end{cases}$$
This is **exactly** the same condition. The profile provided by complex multiplication is therefore
$$m\;\longmapsto\;\frac am\cdot\frac{1-\chi_{-d}(m)}2 ,$$
that is, the Legendre profile, that of $y!$ in § 2.3, restricted by a quadratic character. With $a\leftrightarrow y$, what the object can bound is
$$\sum_m\Lambda(m)\Big(\frac ym-1\Big)_+\frac{1-\chi_{-d}(m)}2=\tfrac12\,S(y,1)-\tfrac12\,S(y,\chi_{-d}).$$
**Complex multiplication gives the right profile on half of the primes, and this half is selected by a character.**

**The ramified prime.** In the proof, $d$ is prime (§ 3.4). Then the only prime at which $\chi_{-d}$ vanishes is $p=d$: there, $\frac{1-\chi_{-d}(d^e)}2=\frac12$, neither 0 nor 1. The left-hand side therefore also contains the half-contribution $\frac12\log d\sum_{e\ge1}(y/d^e-1)_+\le\frac{y\log d}{2(d-1)}$, which does not count inert primes. The identity with the right-hand side remains exact over all integers; only its interpretation requires excluding $p=d$. In the proof, this term disappears: the share of $d$ vanishes once all the scales stay below $d$, that is, once a single integer $N<d$ bounds the quotients $a/w(\rho)$ of the order of differentiation by the thresholds (§ 3.4). The other exceptional primes (2, $q$ and the factors of an auxiliary modulus $Q_S$, coprime to $qd$, every odd factor $\ell$ of which satisfies $\left(\frac{-d}\ell\right)=1$) split in $\mathbb Q(\sqrt{-d})$: the factor vanishes there, and they do not count.

### Workshop 2. Following the prime 3

Take $x=81$ again and choose, purely to illustrate the mechanism, $b=3$ and $a=bx=243$. The curve above is supersingular at 3. The raw gain of height-2 type is carried by the odd powers. If we could set the threshold at $b$, we would be left with:

| $p^e$ | $a/p^e$ | $(a/p^e-b)_+$ | Gain kept (odd e) |
|---:|---:|---:|---:|
| 3 | 81 | 78 | 78 |
| 9 | 27 | 24 | 0 |
| 27 | 9 | 6 | 6 |
| 81 | 3 | 0 | 0 |
| 243 | 1 | 0 | 0 |

![The raw gain and its profile truncated at the threshold b=3. Only the nonzero odd layers contribute in this model.](fig/poids_3_en.svg)

The total is $84$, exactly $3(26+2)$. Divided by $b$, it is the odd part of the contribution of 3 to the Riesz sum $S(81)$ of Workshop 1. The other powers are not seen by this curve; the quadratic character encodes this selection. This is not yet a valuation actually obtained by an operator of the proof: we have not shown that the desired threshold can be realized. We have only identified the expression the local construction must produce.

The value of complex multiplication now becomes more concrete. It provides a selection rule uniform in $p$, and its gains have the form $a/p^e$ we need. The defect (only some primes and some powers appear) itself has the structure of a character. One can therefore hope to treat it by orthogonality and by averaging over fields, rather than correcting each prime individually.

### 3.4 The price: an unwanted twisting character, removed by averaging

We now know what is missing: the profile selected by $K$ contains half of the untwisted sum and a twisted half. For the nontrivial character $\chi_{-d}$, the raw sum $S(y,\chi_{-d})$ generally contains a linear term, $-yL'(1,\chi_{-d})/L(1,\chi_{-d})$. It is the centered remainder $g(y,\chi_{-d})$ that must be controlled at the required scale, together with the main terms and the ramified places.

With a fixed field, for example $\mathbb Q(i)$, this control would amount to another difficulty of GRH type. It would be circular to assume it. But we do not need the same field at all scales, thanks to the window criterion of § 1.5.

To understand the change of perspective, imagine independent signs $\epsilon_p\in\{\pm1\}$ and a sum $\sum_{p\le y}c_p\epsilon_p$. Its mean is zero and its variance is $\sum_pc_p^2$. A second-moment estimate therefore gives many choices for which the sum is small relative to its trivial bound. In the actual problem, quadratic characters are not independent signs, and the average must control families of smoothed sums, main terms and a whole range of scales. The large sieve replaces the fictitious independence by effective estimates. The model proves none of these estimates; it explains why one varies $d$ rather than confronting a fixed character.

The proof has at its disposal families that are huge compared with the scales, and an unconditional choice of parameters over a range $[Y,Y^A]$. Two theorems of the formal proof say precisely this: for every $\eta>0$, a proportion at least $1-\eta$ of the primes $q\equiv3\pmod8$ in $(e^{z/2},e^z]$, $z=Y^{\varepsilon/5}$, then of the primes $d\equiv7\pmod{16}$ in $(e^{z'/2},e^{z'}]$, $z'\asymp z\log^2Y$, with $q\prod_{3\le p\le z}p\mid d+1$ (this divisibility forces $\left(\frac{-d}p\right)=1$ for every odd prime $p\le z$ and $\left(\frac{-d}q\right)=1$: this is the origin of the conditions on the host), are **good** in the sense of three conditions: for each primitive character ψ coming from the twists by $\left(\frac\cdot q\right)$ and $\left(\frac\cdot d\right)$, no zero in the rectangle $\operatorname{Re}s>1-\frac1{400}$, $|\operatorname{Im}s|\le Q$ (where $Q=N_0e^{z}$, $N_0$ being a fixed modulus), $|L'/L(1,\psi)|\le C\log Y$, and $|G_\psi(y)|\le y^{1/2+\tau}$ for **every** $y$ in the window $[Y,X]$, $X\le Y^K$ ($G_\psi$ here denotes the centered sum of the single character ψ, in the sense of § 1.2, not the level combination of § 1.3). The parameters $\tau>0$ and $K\ge1$ are arbitrary and fixed before $Y$; $C$ is an absolute constant. This bound is uniform over the whole window, and it concerns the *centered* sum $G_\psi$, not the raw sum. It comes from a mean-square estimate of large-sieve type, a zero-density estimate and Siegel's theorem ($\beta\le1-c\,q^{-\varepsilon}$ for a nontrivial real character), whose constant is classically ineffective.

**The actual host.** The choice of the pair is not enough: the proof must also see the $\chi_j$ of $K_\psi$ (§ 1.1) and keep nonnegative coefficients (§ 1.3). At scale $x$, it takes a pair $(q,d)$ that is good in the preceding sense, then an abelian CM field
$$E\subset\mathbb Q(\zeta_{Q_Sqd}),\qquad\sqrt{-q},\sqrt{-d}\in E,\qquad[E:\mathbb Q]\approx x^{2+8\varepsilon},$$
containing the field cut out by ψ. More precisely, $[E:\mathbb Q]=4\,c\,2^e$ with $x^{2+8\varepsilon}\le c\,2^e\le2x^{2+8\varepsilon}$. The primes inert in $\mathbb Q(\sqrt{-d})$ are weighted there according to their Frobenius class. By orthogonality we recover exactly $G_\psi(x)$, with the weight $1/(3o+1)$ of § 1.3, plus unwanted twists by $(q/\cdot)$, $(d/\cdot)$ and their product, which are neutralized by the averaged choice of $(q,d)$. The Tate–Shafarevich bound of § 7 (a) is carried by **the same field** $E$.

**The exact conditions** on the host (the pair, the small split primes, the Galois structure, the exceptional set $S$, the truncated sums) are transcribed in the article (technical appendix). The essential content fits in one statement of Galois theory and one choice of thresholds, which we write out here in the case of ζ, following Adriazola [Ad, §§ 4–5].

**The case of ζ, written out in full.** Let $n=2^e$ be the smallest power of 2 at least equal to $x^{2+8\varepsilon}$, $M=4n$ and $K_e=\mathbb Q(\zeta_M+\zeta_M^{-1})$. Put
$$E=K_e(\sqrt{-d},\sqrt{-q}),\qquad \mathrm{Gal}(E/\mathbb Q)=(\mathbb Z/2)^2\times H,\qquad H=(\mathbb Z/M)^\times/\{\pm1\},$$
where $H$ is cyclic of order $n$, generated by 5. An element $(i,j,h)$ acts on $\sqrt{-d}$ by $(-1)^i$ and on $\sqrt{-q}$ by $(-1)^j$; complex conjugation is $(1,1,0)$. The embeddings that fix $\sqrt{-d}$ form a CM type $\Phi=\{(0,j,h)\}$, of cardinality $f=2n$. For $p\nmid Mqd$, the Frobenius is $(i,j,[p])$ with $(-1)^i=\chi_{-d}(p)$: **its $k$-th power lies outside Φ exactly when $p$ is inert in $\mathbb Q(\sqrt{-d})$ and $k$ is odd.** The selection "inert primes, odd layers" of § 3.3 can therefore be read off a single coordinate of a Galois group. The primes 2 and $q$ stay in Φ at all powers, since $-d\equiv1$ modulo 8 and modulo $q$; at $d$, the inertia $\{0,(1,0,0)\}$ places half of each class outside Φ, and this is the ramified half-term of § 3.3.

**Thick places, thin places: how the sum isolates the scale $x$.** We denote by $T\subset H$ the set of columns, by $T_2\subset H$ the set that marks the thick places and by $u_0\in H$ a shift of these places. Each place $\rho\in\Phi$ carries a threshold $w(\rho)>0$, which § 4.3 will call a node. A column $t\in H$, of weight $a_t$, transports the complement of Φ onto Φ by $p_t(1,j,h)=(0,j+1,h+t)$, and the sum over primes attached to the column is
$$S_t=2\sum_{g\notin\Phi}\ \sum_{r=p^k}\Lambda(r)\,\mu_r(g)\Big(\frac{a_t}{r}-w(p_tg)\Big)_+,$$
where $\mu_r(g)$ is the probability that $k\sigma_p$ falls on $g$ (0 or 1 away from ramification). The embedding $g$ therefore samples a Riesz sum **at the scale $y=a_t/w(p_tg)$**. Everything rests on two sizes of thresholds, with $b=e^{x^\varepsilon}$, $a_t\approx xb$ and $Z=e^{x^{\varepsilon/3}}$:

- at the **thick** places $(0,1,s)$, $s\in T_2+u_0$, the threshold equals $b$ up to a factor $1+x^{-2}$: the scale is $y=x$ up to $2/x$, the one we are aiming at;
- at the **thin** places, all the others, the threshold is at most $2xb/Z$: the scale exceeds $Z/3$. At such a height, the centered sum of each character of $E$ is at most $y\,e^{-x^{\varepsilon/8}}$, by the classical zero-free region (the logarithm of the conductors, $\ll x^{\varepsilon/5}\log^2x$, is tiny compared with $\log y$) and by the exclusion of real zeros that the choice of $(q,d)$ provides.

The thin places therefore contribute only to the main term, and only the thick places see the fluctuations. This explains the strange scales of the construction: $b=e^{x^\varepsilon}$ has no arithmetic meaning of its own; it serves to separate the two regimes. After orthogonality on $H$, the excess $D_{u_0}$ of the sum over its main term, for a shift $u_0\in H$ of the thick places, equals [Ad, Proposition 5.2]
$$\frac{D_{u_0}}{Q}=G(x)+G_{\chi_{-q}}(x)-G_{\chi_{-d}}(x)-G_{\chi_{-q}\chi_{-d}}(x)+o(1),\qquad Q=\tfrac12\,N_T\,m\,b\,\delta_2,$$
where $\delta_2=|T_2|/n$ is the density of the thick places, $N_T$ the number of columns and $m$ the length of the chain of § 4. The three unwanted terms are at most $x^{1/2+\varepsilon}$ by the choice of the pair, so that $G(x)\le D_{u_0}/Q+3x^{1/2+\varepsilon}+o(1)$. The columns are drawn at random, each $t\in H$ with probability $x^{-\varepsilon/8}$: a Chernoff bound shows that all the translates $T_2+s$ meet $T$ in the same proportion, up to a relative error $O(\sqrt{\log n/(x^{-\varepsilon/8}|T_2|)})$, so that the choice of the shift does not bias the sample. The factor $\delta_2/2$ and the bound $n_T\ge n\,x^{-\varepsilon/8}/2$ will be used again in § 6. This reduction is proved in full in [Ad, Part I] for ζ. For a general character ψ, the group contains in addition the field cut out by ψ, and the sampling follows the 4 : 3 profile of § 1.3: this is the general case of the proof.

**Interpretation ⟦I⟧.**

- Φ is the set of embeddings fixing $\sqrt{-d}$; the congruences are then partly explained: $d\equiv7\pmod8$ makes 2 split in $\mathbb Q(\sqrt{-d})$, and $\left(\frac{-d}q\right)=1$ makes $q$ split.
- The condition on small primes guarantees that **no inert prime is smaller than $Y^{\varepsilon/5}$**. This matters because the per-prime losses ($\mathrm{flG}(p)$, of order $\log_pa$) and the gain bounds ($4|TT|a/p$) get worse for small $p$.
- This condition is satisfied only by a proportion of about $2^{-\pi(Y^{\varepsilon/5})}$ of the $d$, which explains the size $\exp(Y^{\varepsilon/5})$ of the family.

The precise role of $q\equiv3\pmod8$ and of the refinement mod 16 remains open. These conditions are consumed by the construction of the host, by the Ш bound (`vwinAt_of_joint`) and by the treatment of the unwanted twists (`CharacterBoxes`).

### 3.5 In the proof: Theorem A

The computation of § 3.2 takes place on an elliptic curve. The proof carries out the same computation for a **theta series** of a Hermitian lattice, at a CM point of a unitary Shimura variety, in formal-group coordinates:

> **Theorem A** (simplified form). Let $\Theta$ be a theta series, renormalized by a suitable exponential, in formal-group coordinates at the CM point. For inert $p$,
> $$v_p\big(D^{a}\Theta(0)\big)\;\ge\;a\cdot\frac{p}{p^2-1}\;-\;O(\log a)=a\Big(\frac1p+\frac1{p^3}+\cdots\Big)-O(\log a).$$

This is the sentence in the author's note: "$D^a\,\Omega\cdot\theta(0)$ is divisible by $p^{a/p+a/p^3+\cdots-O(\log a)}$". § 3.1 explains an observation of Rubinstein [R2]. For the naive theta series of ℤ[i], differentiated in the analytic coordinate, he does not recover this exponent (he finds 6, 2 and 1 for $p=3$, 7, 11). The gain exists only for the **renormalized object, in formal-group coordinates**: the change of coordinate decides what remains of $a!$.

**Why a CM point.** A theta series encodes data about a lattice, but we wish to extract from it values and derivatives that live in arithmetic structures. A CM point is a point of the moduli space representing an abelian variety with complex multiplication. Its endomorphisms and its reductions impose strong constraints on the local geometry. It therefore makes it possible to relate an analytic function to a power series in a formal coordinate, where valuations make sense. The passage to large rank, the renormalizations and the Frobenius conditions are precisely what Theorem A accomplishes; it would be misleading to regard the elliptic-curve computation as its proof.

**The proof of Theorem A** accounts for about 0.02% of the volume. It proceeds in three steps.

1. **Generic point.** The coefficients to be bounded are polynomials in the coordinates of a "frame" of differentiation directions. They are evaluated at a **residually generic** point, where the absolute value of a polynomial equals its **Gauss norm**, the maximum of its coefficients.
2. **Reduction to a monomial.** The jet is expressed through minors of the derivatives of $\Theta$. The problem reduces to a single multi-index $\kappa$, that is, to $|\kappa!\cdot\mathrm{coeff}_\kappa|$.
3. **Bound for a monomial.** This step combines the integrality of the initial series, the inverse of the formal logarithm and the bound $\rho(p)=1/(p^2-1)$ per degree for the renormalizing exponential (lemma "S"). This bound rests on **Dwork's lemma**, proved in the project. Let $p$ be an odd prime, $W$ the unramified ring of coefficients, $K_0$ its fraction field and σ the Frobenius of $K_0$. For a formal power series $P$ in $n$ variables with coefficients in $K_0$ and no constant term, $\exp(P)$ has coefficients in $W$ if and only if $P^{\sigma}(X_1^p,\dots,X_n^p)-pP\in p\,W[[X_1,\dots,X_n]]$, where $P^\sigma$ is obtained by applying σ to the coefficients of $P$. For $P=X$ in one variable, this recovers the fact that $e^X$ is not integral, which is the multiplicative case of § 3.1. The frame vectors satisfy a *Frobenius-twisted quasi-orthogonality* condition, $\sum_a x_a^{p^{j}}x'_a\equiv0\pmod p$. Labeling the odd shifts $j$ with $p^j\le a$ costs $O(\log a)$, and that is the logarithmic loss.

**The exact hypotheses of Theorem A.** Height 2 alone is not enough. The exact statement assumes $p\ge3$, an unramified extension of even degree (written $d$ in the statement, unrelated to the prime $d$ of the host), formal-group coordinates given by the inverse $g$ of the formal logarithm ($g\circ\log=X$), a series $U$ integral in these coordinates, a renormalizing exponential whose coefficients satisfy a Dwork-type condition, and frames of size at most $a$ with $2\log_pa+2\le N_0-1$. The loss is explicit: $dN_0N_1(\log_pa+1)$. The thresholds on $p$ are not the same from one statement to the next: $p\ge3$ for Theorem A, $p$ odd for Dwork's lemma, $p\ge5$ for the integrality of the kernel, which is stated for the standard theta series (below, "What the formal proof contains"). This does not hinder the proof: the condition on the small primes in § 3.4 guarantees that no inert prime is smaller than $Y^{\varepsilon/5}$. As for the workshops, which follow the prime 3, they are models, not cases of the actual chain.

**A total is not enough: a truncated profile is needed.** Theorem A bounds a total from below, $a\,p/(p^2-1)$. The pattern of § 2 asks for more: a gain of the form $\sum_{e\ \text{odd}}(a/p^e-b)_+$, where each layer is compared with a threshold (§ 3.3, Workshop 2). An elementary lemma says in what sense this is stronger. For a finite family of gains $g_i\ge0$, set $F_g(b)=\sum_i(g_i-b)_+$ and $N_g(t)=\#\{i:g_i>t\}$. Then $F_g(b)=\int_b^\infty N_g(t)\,dt$, since $(g_i-b)_+=\int_b^\infty\mathbf 1_{t<g_i}\,dt$; $F_g$ is convex and nonincreasing, with right derivative $-N_g(b)$. If the gains are sorted in decreasing order, $g_1\ge\cdots\ge g_r\ge0$, then for $b\ge0$ and $0\le k\le r$,
$$F_g(b)=\max_{0\le k\le r}\Big(\sum_{i\le k}g_i-kb\Big),\qquad\sum_{i\le k}g_i=\min_{b\ge0}\big(F_g(b)+kb\big),$$
the maximum being attained by keeping the gains above $b$, and the minimum for $g_{k+1}\le b\le g_k$ when $0<k<r$, for any $b\ge g_1$ when $k=0$, and at $b=0$ when $k=r$. Dominating a truncated profile at *all* thresholds is therefore equivalent to dominating *all* upper partial sums, not just the total: $(8,2)$ and $(5,5)$ have the same total, but $F(4)$ is 4 for the first and 2 for the second.

![The two families have the same total gain, 10. Their truncated profiles nevertheless differ: at threshold 4, the first retains a gain of 4, the second a gain of 2.](fig/profil_tronque_en.svg){width=70%}

This is the classical notion of majorization: for nonnegative vectors of the same length, dominating the sums of the $k$ largest entries for every $k$ is equivalent to dominating the positive-part sums $F_g(b)$ at every threshold $b$. When the two totals are equal, this is majorization proper; otherwise it is weak majorization (by the sums of the largest entries). This toy statement proves nothing about the actual construction. The task is no longer simply to obtain a large amount of divisibility. We need divisibility in the right places and in the right proportions.

This is the situation of the gain we are looking for, with $g=(a/p^e)_{e\text{ odd}}$. An elementary identity makes the gap between the total and the profile precise: for thresholds $w_e\ge0$,
$$\sum_{e\ \text{odd}}\Big(\frac a{p^e}-w_e\Big)_+=a\,\frac p{p^2-1}-\sum_{e\ \text{odd}}\min\Big(\frac a{p^e},w_e\Big),$$
since $(x-w)_+=x-\min(x,w)$: the truncated profile is the raw gain of Theorem A minus a **truncation cost**. Everything therefore comes down to bounding this cost, and that is what the height-2 computation does.

**From the rate to the truncated profile: what the height-2 computation gives.** Adriazola [Ad, Theorem 9.1] shows that the truncation comes out of the same computation as Theorem A, layer by layer, and he identifies the threshold.

Fix a Frobenius orbit of an inert prime $p$, with positions $s\in\mathbb Z/2\nu$: these are the embeddings $\tau_s$ of Φ above a place, read alternately on either side of complex conjugation. The differential operator $P$ applied to the theta kernel is a product of minors, one per column of a Young diagram placed at each position. At the **top** positions, the places $(0,0,t)$ of the columns $t\in T$, we write $\alpha_s$ for the number of columns of height 1: this is the order of differentiation, $\alpha_s=a_t-O(C_0)$. At every position, $C_s$ is the number of the other columns. We set $\gamma_p=p/(p^2-1)$, and Δ denotes a loss of digits, logarithmic in the orders but proportional to the ranks: $r_1d_p(\alpha_s)+r_0r_1d_p(B_s)+\cdots$, with $d_p(n)=1+\lfloor\log_pn\rfloor$. This is the loss $O(N^2\log_pa)$ per prime and per lift that appears in the error budget (§ 6).

> **Theorem** [Ad, 9.1]. Suppose that the series Θ, scaled by $\varpi$ with $\varpi^{p^2-1}=p$ (this letter here denotes a uniformizer, not the lemniscate constant), belongs to the height-2 class: an expansion $\sum_ip^{-i}h^iU_i$ with integral $U_i$, where $h$ is a quadratic form twisted by Frobenius in series $S_s=\sum_{l\ge0}(-1)^lX_{s-2l}^{p^{2l}}$, the trace of the height-2 logarithm of § 3.1 unrolled along the orbit. Then every coefficient $c$ of $(P(\partial_X)\Theta)(0)$ satisfies
> $$v_p(c)\;\ge\;g_A=\sum_{s\ \text{top}}\ \sum_{\substack{j\ \text{odd}\\ j\notin E_s}}\Big(\frac{\alpha_s}{p^{j}}-C_{s+j}\Big)_+-\Delta ,$$
> $$v_p(c)+N_J\;\ge\;g_B=\gamma_p\sum_{s\ \text{even top}}\alpha_s+\sum_{s\ \text{odd top}}\ \sum_{j\ \text{odd}}\Big(\frac{\alpha_s}{p^{j}}-C_{s+j}\Big)_+-\Delta ,$$
> where $E_s$ is the set of the smallest odd displacements from $s$ to a top of opposite parity, and $N_J$ is a count of columns that depends on a set of indices $J$ that may be chosen freely.

*Why.* Three counting arguments suffice. (1) The factorials produced by differentiation give $D/(p-1)-\Delta$ for a total order $D$, by Legendre's formula, and removing the scale $\varpi^D$ costs $D/(p^2-1)$: what remains is $\gamma_p\sum_s\alpha_s$, the odd layers of § 3.2. (2) Each factor $h/p$ of the expansion costs one unit. (3) Such a factor links a top $s$ to the position $s+j$, with $j$ odd, and it consumes $p^j$ units of degree at $s$: there are at most $\alpha_sp^{-j}$ of them. By multilinearity of the minors, there is also at most one per column at $s+j$, that is, $C_{s+j}$. The total cost is therefore at most $\sum_j\min(\alpha_sp^{-j},C_{s+j})$, and
$$\gamma_p\,\alpha_s-\sum_{j\ \text{odd}}\min\Big(\frac{\alpha_s}{p^j},C_{s+j}\Big)=\sum_{j\ \text{odd}}\Big(\frac{\alpha_s}{p^j}-C_{s+j}\Big)_+ .$$
This is the identity $(x-w)_+=x-\min(x,w)$ of the preceding paragraph, and it is what produces the Riesz weight. **The truncation cost is the number of factors that the columns of the diagram can absorb, at the position reached by $\mathrm{Frob}^j$.** The variant $g_B$ keeps the raw gain at the even tops, at the cost of the term $N_J$, which will be paid for with Hecke operators (§ 4.3).

**The threshold is a parameter of the highest weight.** Where does $C_{s+j}$ come from? From the weight of the forms. At the $j$-th lift (this $j$ now numbers the lifts, and is no longer the odd displacement of the theorem), the highest weight at the place ρ is obtained by adding to the previous one $t_r+1$ entries equal to $-w_j(\rho)$ [Ad, (7.2)], and the diagram at the position $s$ is $\mu_s=\lambda^{(j)}_{\tau_s}+w_j(\tau_s)$. Away from the tops, its number of columns is $C_s=w_j(\tau_s)+O(C_0)$. **The threshold of the Riesz truncation is therefore, up to a bounded error, the node $w_j$ of the highest weight, at the place where the Frobenius lands.** On the prime 3 of Workshop 2 ($a=243$, threshold 3), the formula gives $78+6=84$: the total we had set as a target has exactly the form of $g_A$.

**Where the gain is read: the positions along the orbits.** The preceding theorem excludes certain displacements, those that lead from one top to another. The positions of large weight must therefore not be too tightly packed. In a CM field of large degree, the Frobenius of an inert prime acts on the embeddings by a shift, and the gain $a/p^e$ is read at the place $t+e\cdot h_p$ of its **orbit**. It is obtained only if the weight at that place is not too large. The positions of the "thick" places, of large weight, must therefore not come too close to one another along the orbits. The proof requires the set $T$ of these positions to be "without short relation" of length $L$: for distinct $s_1,s_2,s_3\in T$ and distinct nonzero integers $i\ne j$ of absolute value at most $L$, we must have $j(s_2-s_1)\ne i(s_3-s_1)$. This is stronger than the absence of three-term arithmetic progressions ($i=1$, $j=2$), which does not bound the number of points per segment: $\{0,1,3\}$ has no three-term progression and has three points in $[0,3]$, but fails the condition whenever $L\ge3$, since $3\cdot(1-0)=1\cdot(3-0)$. Such a set, of Behrend-type density, is obtained by Behrend's construction. What it serves to preserve, and by what route, is explained in § 7 ("Preserving the gains").

This condition has a simple consequence, and it is this consequence that is actually used. In an abelian group $G$, if $T$ is without short relation of length $L$, then every orbit segment $\{s+rg:0\le r\le L\}$ contains at most two **distinct** points of $T$. Indeed, if $s+r_1g$, $s+r_2g$, $s+r_3g$ are three distinct points of $T$, set $i=r_2-r_1$ and $j=r_3-r_1$: these are distinct nonzero integers of absolute value at most $L$, and $j(s_2-s_1)=jig=i(s_3-s_1)$, which is excluded. No division is involved, even in the presence of torsion. In the formal proof, the condition concerns integers and relations in ℤ: the lemma applies with $G=\mathbb Z$, and without further argument it says nothing about relations modulo the length of the orbit or about repeated visits to the same point. The actual treatment distinguishes long and short orbits (§ 7).

**What the formal proof contains.** The preceding theorem is proved in [Ad] by a computation with formal series, which we have read without checking it line by line. It rests on two hypotheses: that the kernel of the $j$-th lift, multiplied by the renormalizing exponential, is an **integral** series in the coordinates of the formal group, with no spurious constant [Ad, Hypothesis 8.3]; and that it belongs to the height-2 class of the statement. The formal proof establishes both. For the first: for an inert prime $p\ge5$, every combination with $p$-integral coefficients of torsion translates, of order prime to $p$, of the standard theta series can be written, in the coordinates of the formal group and up to a unit, as $U\cdot\exp(-\sum\beta)$ with $U$ integral. It also proves the theorem itself, in the same form: the two bounds $g_A$ and $g_B$, the same excluded displacements, the same threshold and the same digit loss.

The formal proof also contains a term that Adriazola does not have. In its general form, Theorem A of the formal proof bounds the valuation from below by the sum of three terms: a term at the tops, reduced by a truncation cost; the value of a flow program on the orbit; and, with a minus sign, the logarithmic loss of the hypotheses above. The flow program reads as follows: the loss there equals $\gamma_p\sum_sd_s-\max\sum_{s,l}y_{sl}$, under the constraints $\sum_l(p^ly_{sl}+y_{s-l,l})\le d_s$, where $l$ runs over the odd integers. A weight $p^l$ where an odd layer starts and 1 where it lands: this is the form of count (3) above. This correction does not enter the gain; it appears in the balance as a separate term, which cancels between the source and the target (§ 5.4). Finally, a $p$-adic rank property along the Hecke edges propagates the divisibility to a proportion $1-\kappa$ of the directions of the lattice: this property is what bounds the index of the sublattice on which the second bound holds, the term $N_J$ being paid for by the transport of the Hecke operators (§ 4.3).

### 3.6 Where the cost lies, and the answer

In the formal proof, the two components of this question, Theorem A and the choice of the host, are tiny: about 0.1% of the volume. The divisibility gain is local and cheap. What is costly is **preserving** it all the way to the final lattice, through the division. The Ш bound for **the same** field $E$ is supplied together with the host, and it reappears in the bound on twisted places, which must fit in the per-lift loss budget: complex multiplication creates the profile, and Ш guarantees that one can divide without losing it. The mechanism by which Ш enters this division is discussed in § 7 (a); the explanation proposed there, through Hecke denominators, is an interpretation ⟦I⟧.

**What is still missing.** A differentiation at the CM point provides a gain rate with a local logarithmic loss. Converting this loss into a global error requires taking into account the thresholds, the number of places and the normalization $a=xb$; the comparison with the error of the factorial is a motivation ⟦I⟧, not an independent estimate. To get down to $\sqrt y$, the differentiation must be **repeated**, just as Stepanov makes his function vanish to high order. This is question 3.

> **Answer to question 2.** Differentiation introduces factorial factors, hence Legendre divisibility, provided one differentiates in a coordinate in which the object is integral. For a modular form, that coordinate is the one of a formal group, and passing to the linear coordinate costs denominators. In the height-1 model (ordinary reduction), the control of the denominators guarantees no linear gain. In the height-2 model, under the integrality and renormalization hypotheses, a lower bound of rate $p/(p^2-1)$ remains, with logarithmic losses; the decomposition into odd layers describes this rate, not a cancellation coefficient by coefficient. Theorem A realizes the hypotheses needed, and a distinct $p$-adic rank property along Hecke edges propagates the divisibility to the lattices, so as to provide the truncated Riesz weights (§ 3.5). Complex multiplication makes the reduction supersingular at **all** inert primes of good reduction, that is, primes inert in $\mathbb Q(\sqrt{-d})$ (not in the whole host $E$). The resulting profile, $\frac am\cdot\frac{1-\chi_{-d}(m)}2$ for $m$ prime to $d$, is the Legendre profile restricted by a quadratic character. That character is the price to pay: it is neutralized by letting the CM field vary in a huge family.

## 4. Why theta lifts simulate Stepanov's multiplicity

Complex multiplication has given us a first layer of divisibility. But a single layer, however good, is not enough. Taking powers does not improve the ratio of arithmetic gain to archimedean cost. We need a way to add divisibility without merely reproducing the same object. Stepanov faced an analogous problem in a very different mathematical setting: his 1969 argument proves the Riemann hypothesis **for curves over a finite field** by elementary means. Alpöge names it as his model in the first line of his note, and it is the second toy model of this text. We present a simplified classical construction, because everything that follows reuses its architecture. The constants in the bound are schematic.

### 4.1 Stepanov: counting points by counting zeros

**The principle.** A nonzero polynomial $F\in\mathbb F_p[X]$ has at most $\deg F$ roots, counted with multiplicity:
$$\sum_{x\in\mathbb F_p}\operatorname{ord}_x(F)\;\le\;\deg F .$$
This is the identity of § 2.1 in $\mathbb F_p[X]$: the order of vanishing at $x$ plays the role of $v_p$, and the degree that of $\log|M|$. If $F$ vanishes **to order $a$** at every point of a set $S$, one gets
$$a\cdot|S|\le\deg F .$$

**The problem.** Let $g\in\mathbb F_p[X]$ be squarefree of degree $m$, and
$$S=\{x\in\mathbb F_p:\ g(x)\text{ is a nonzero square}\}=\{x:\ g(x)^c=1\},\qquad c=\tfrac{p-1}2 .$$
Counting $S$ means counting the points of the curve $y^2=g(x)$: each $x\in S$ gives two points. For $g=x^3-x$, the curve of § 3.2, $\#E(\mathbb F_p)=2|S|+4$. One expects $|S|\approx p/2$, with fluctuations of order $\sqrt p$:

| $p$ | 10,007 | 10,009 | 10,301 | 100,003 |
|---|---:|---:|---:|---:|
| $\lvert S\rvert$ | 5,002 | 5,006 | 5,250 | 50,000 |
| $\lvert S\rvert-p/2$ | −1.5 | +1.5 | **+99.5** | −1.5 |
| $\sqrt p$ | 100.0 | 100.0 | 101.5 | 316.2 |

For $p=10{,}301$, the deviation almost reaches $\sqrt p$, which is Weil's bound. For $p\equiv3\pmod4$, it is always $-1.5$, since $a_p=0$ (§ 3.2).

**Three attempts that fail.** Each has its counterpart in § 2.4.

| Auxiliary function | Order on $S$ | Degree | Resulting bound | Counterpart in § 2 |
|---|---|---|---|---|
| $\prod_{x\in S}(X-x)$ | 1 | $\lvert S\rvert$ | $\lvert S\rvert\le\lvert S\rvert$ | the lcm: a tautology, since $S$ must be known |
| $g^c-1$ | at least 1 | $mc=m(p-1)/2$ | $\lvert S\rvert\le mp/2$ | $\binom{2n}n$: the right idea, but a constant-factor loss |
| $(g^c-1)^a$ | $a$ | $a\,mp/2$ | $\lvert S\rvert\le mp/2$ | **free multiplicity is useless** |

The third row carries the lesson. Raising a function to the power $a$ multiplies the order of vanishing by $a$, but it also multiplies the degree by $a$. The ratio does not change. To gain anything, one needs a function that vanishes to order $a$ with **a degree well below $a$ times the degree of a function vanishing to order 1**.

**Stepanov's trick.** One looks for $F$ of the form
$$F(X)=\sum_{j<J}\big(r_j(X)+s_j(X)\,g(X)^c\big)\,X^{jp},\qquad\deg r_j,\deg s_j<K\approx p/2 ,$$
where the coefficients of $r_j$ and $s_j$ are unknowns. Two facts do all the work.

1. **On $S$, the high powers disappear.** $x^p=x$ for $x\in\mathbb F_p$, and $g(x)^c=1$ for $x\in S$. Restricted to $S$, $F$ coincides with $\sum_j(r_j+s_j)\,X^j$, a polynomial of **small** degree, about $K+J$.
2. **Differentiation does not see $X^{jp}$.** In characteristic $p$, $\frac{d}{dX}X^{jp}=jp\,X^{jp-1}=0$: the monomials $X^{jp}$ behave as **constants** under differentiation. The derivative of $g^c$ is $c\,g'g^{c-1}$, which remains of the form $g^c\times$(small polynomial)$/g$.

The $k$-th derivative of $F$, multiplied by $g^k$ and restricted to $S$, is therefore again a polynomial of small degree, about $K+J+km$. Requiring it to be **identically zero** guarantees that $D^kF$ vanishes on all of $S$. This imposes about $K+J+km$ linear conditions, **whatever the size of $S$**. The vanishing is not checked point by point: it is obtained all at once, through an identity.

**A point that cannot be skipped: why is $F\ne0$?** Linear algebra gives a nonzero vector of coefficients, but this does not always guarantee a nonzero auxiliary function. In this construction, one can impose $K\le c=(p-1)/2$ and prove the necessary independence. Write $F=R+g^cS_0$ with $R,S_0$ in the span of the monomials $X^{jp+i}$, $0\le i<K$. Let $\alpha$ be a simple root of $g$ in an algebraic closure of $\mathbb F_p$. In the coordinate $t=X-\alpha$, this space is contained in the sums of monomials $t^{jp+i}$, since $(\alpha+t)^p=\alpha^p+t^p$ and $i<K$. The order in $t$ of any nonzero polynomial of this space therefore lies, mod $p$, in $[0,K-1]$. That of $g^cS_0$, if nonzero, lies in $[c,c+K-1]$ mod $p$. These intervals are disjoint. If $R$ and $S_0$ are both nonzero, their orders are distinct: their sum cannot vanish. If only one is nonzero, the result is immediate. Finally, within each block, the degrees $jp+i$ are distinct. A nonzero vector of coefficients therefore does give a nonzero $F$.

This check is instructive for what follows: nondegeneracy is not a detail. An analogous requirement will reappear as the injectivity of a period map. The analogy is one of roles; the proofs are not the same.

**The count, with explicit integers.** Take $p$ odd, $g$ nonconstant and squarefree, $K=c=(p-1)/2$ and $1\le a\le p-2$ (for $a=p-1$, the denominator $2K-a$ below would vanish); the condition $a<p$ makes the $k!$, $k<a$, invertible, so that the vanishing of derivatives really gives multiplicity at least $a$ (here $m=\deg g$; in § 6, $m$ will denote the length of the chain). After multiplication by $g^k$ and reduction on $S$, the $k$-th derivative becomes a polynomial of degree at most $K+J-2+km$: making it vanish identically costs at most $K+J-1+km$ conditions, hence in total at most $a(K+J-1)+m\,a(a-1)/2$. There are $2JK$ unknowns. It therefore suffices to choose $J$ with $(2K-a)J>a(K-1)+m\,a(a-1)/2$, for instance the integer part of the quotient plus 1: this is a **Siegel lemma** over $\mathbb F_p$. Then $F\ne0$ (above), $\deg F\le(J-1)p+K-1+cm$, and
$$|S|\;\le\;\frac{(J-1)p+K-1+c\,m}{a}.$$
For $a\asymp\sqrt p$, this gives $p/2+O_m(\sqrt p)$. Expanding $J$ brings out two costs:
$$\frac{\deg F}{a}\;\approx\;\frac p2\;+\;\frac{m+1}{2}\Big(\underbrace{\frac pa}_{\text{fixed cost, amortized}}+\underbrace{a}_{\text{growing contribution}}\Big).$$

- The **fixed cost**, of order $mp/2$, is the degree of $g^c$, the part that makes $S$ appear. It is paid once, and **amortized** over the $a$ orders of vanishing.
- The **marginal cost**, of order $m$ per order of vanishing, arises because each derivative adds $m$ to the degree of the conditions; accumulated and then spread over the $a$ orders, it gives the growing contribution, in $a$.

![Schematic cost model of Stepanov's bound, for $p=10{,}007$ and $m=3$: $|S|-p/2\approx2(p/a+a)$. The amortized fixed cost decreases like $1/a$, the growing contribution to the cost per order is linear in $a$, and the optimum is at $a\approx\sqrt p$.](fig/stepanov_equilibre_en.svg)

| $a$ | 1 | 10 | 30 | **100** | 300 | 1,000 |
|---|---:|---:|---:|---:|---:|---:|
| explicit bound for $\lvert S\rvert$ ($p=10{,}007$, $m=3$; true: 5,002) | 20,011 | 7,004 | 5,670 | **5,303** | 5,670 | 7,235 |

These values come from the recipe above, integer parts included; the minimum, 5,289, is attained at $a=70$, where the bound exceeds $p/2$ by 286, compared with $\sqrt p\approx100$. With $a=1$, the bound is worse than the trivial one. With $a\approx\sqrt p$, it is $p/2+O(m\sqrt p)$. The lower bound is obtained by applying the same argument to $\eta g$, with η a nonsquare, which counts the $x$ at which $g(x)$ is not a square, and then removing the zeros of $g$ (at most $m$): this method, too, produces only **upper bounds**, as in § 1.4. Together, the two bounds give $|S|=p/2+O(m\sqrt p)$. This is the Weil-type bound for the number of points, with unoptimized constants; refining the method and working over finite extensions leads to the proof of the Riemann hypothesis for curves. This is not a mere substitution of $q=p^r$ for $p$: the recipe assumes $a<p$, whereas $a\asymp\sqrt q$ eventually exceeds $p$, and Hasse derivatives are needed. See Stepanov and Bombieri in the references. **The exponent ½ comes from the balance between an amortized fixed cost in $1/a$ and a contribution to the cost per order that grows like $a$.** Question 5 returns to this.

### 4.2 Over ℤ: what is missing

Transposing the argument means finding a counterpart for each of its ingredients.

| Stepanov ($\mathbb F_p[X]$) | Over ℤ | What provides it in Alpöge's proof |
|---|---|---|
| $\operatorname{ord}_x(F)$, vanishing at a point | $v_p$, divisibility by a prime | § 2 |
| One more **derivative**: one more order | one more **layer** of divisibility | ? |
| $D^kF=0$ on **all** of $S$ at once, by an identity | divisibility at **all** inert primes at once | Theorem A, uniform in $p$ (§ 3) |
| Siegel lemma: $F$ exists | a form exists, with controlled size | slope inequality (§ 5.4) |

The second row is where the difficulty lies. Alpöge (note, § 1): "multiplicity is hard to find over the integers, corresponding to something like differentiating whole numbers". § 3 provided **one** differentiation: $D^a$ at a CM point, which gives the profile $a(1/p+1/p^3+\cdots)$. Increasing $a$ is not enough, for the same reason as the third attempt of § 4.1 ⟦I⟧: divisibility grows with $a$, but so does the archimedean size, and the $O(\log a)$ loss per prime remains a fixed cost of order $O(y)$ that nothing amortizes. One needs a counterpart of "differentiate again", that is, an **operation that adds a layer of divisibility and can be composed**.

### Interlude. What is a theta series, and why a unitary group?

We are about to meet objects that usually belong to a course on automorphic forms. One need not have taken such a course to understand the role they play here. Let us start from an object we know how to compute.

For $|q|<1$, consider

$$\theta(q)=\sum_{n\in\mathbb Z}q^{n^2}=1+2q+2q^4+2q^9+\cdots.$$

This function looks like a generating series from combinatorics. Its square is the theta series of the square lattice:

$$\theta(q)^2=\sum_{(a,b)\in\mathbb Z^2}q^{a^2+b^2}=\sum_{n\ge0}r_2(n)q^n.$$

The coefficient $r_2(n)$ is the number of representations of $n$ by the quadratic form $a^2+b^2$. For example, $r_2(5)=8$. The lattice $\mathbb Z^2$ is also the lattice of Gaussian integers $\mathbb Z[i]$, with norm $|a+ib|^2$. The link with the curve of § 3 is no accident: the same imaginary quadratic field supplies a Hermitian geometry here and extra endomorphisms there.

![The eight points of ℤ² of squared norm 5. The coefficient of q⁵ in a theta series is an arithmetic datum that can be seen geometrically.](fig/theta_reseau_en.svg)

A second phenomenon explains the power of this object. For $t>0$, Poisson summation applied to a Gaussian gives

$$\sum_{n\in\mathbb Z}e^{-\pi t n^2}=t^{-1/2}\sum_{n\in\mathbb Z}e^{-\pi n^2/t}.$$

The same function thus describes simultaneously a lattice and its dual, with a very rigid analytic transformation law. Writing $q=e^{\pi iz}$, one gets a function of $z$ in the upper half-plane, with, in particular, a transformation law under $z\mapsto-1/z$. This is a first example of what one looks for in an automorphic form: a function that obeys transformation rules under a group and whose coefficients carry arithmetic information. The details (group, weight, multipliers and growth conditions) matter for the theorems, but are not needed for this first glimpse.

Over a CM field $K$ with conjugation $v\mapsto\bar v$, a Hermitian form generalizes the complex norm. On $K^r$ one can consider, for example,

$$H(v,w)=\sum_{j=1}^rv_j\overline{w_j}.$$

Its isometry group is the unitary group $U(H)$. If the form is positive definite at all infinite places, the corresponding real groups are compact. One can work with integral lattices in this Hermitian space, then with their isometry classes. For a fixed level, definiteness allows finite-dimensional descriptions in the appropriate adelic setting. The actual theory deals with functions on an arithmetic quotient, possibly vector-valued; the finite model below conveys the intuition.

Suppose we have two finite families of lattice classes $[L]$ and $[L']$. A function $f$ on the first can be transported to the second by a kernel of numbers $K(L',L)$:

$$Tf(L')=\sum_{[L]}\frac{K(L',L)}{|\operatorname{Aut}(L)|}f(L).$$

The operation is simply a matrix multiplication, with a measure weight tied to the stabilizer. In the actual theta correspondence, the kernel comes from the Weil representation and the integral is adelic; the choice of vectors and levels matters. An arbitrary generating series does not yield an automorphic lift. But the model already displays three properties we were looking for: arithmetic coefficients, a linear operation that can be composed, and natural denominators that must be controlled.

Why a period? To extract a number from a function, analysis often uses an integral or a Fourier coefficient. An automorphic period is, schematically, an integral over a subgroup or a quotient, sometimes against a character or a test vector. In the proof, Bessel periods link the kernels, their arithmetic values and the integral structures. We do not need to compute an actual Bessel period to understand why an evaluation or period map can be represented by a matrix. This is what lets us pass from local to global and, in the next section, stack the gains.

### 4.3 The chain of theta lifts

**The theta lift.** An automorphic form φ on a unitary group $U(X_0)$ is carried to a form on a larger unitary group $U(X_1)$ by integrating it against a theta series in two variables, the **kernel**. Iterating gives
$$U(X_0)\xrightarrow{K_1}U(X_1)\xrightarrow{K_2}\cdots\xrightarrow{K_m}U(X_m),\qquad\dim X_j=k+j(t_r+1).$$
All the Hermitian spaces are **definite**. The groups are then compact at infinity, and, at fixed level and type at infinity, the spaces of forms are **finite-dimensional**: each $K_j$ is a **matrix**, of size $c_{j}\times c_{j-1}$.

**The chain is a product.** Each lift is a sum over the classes of lattices, weighted by the stabilizers [Ad, (7.3)]:
$$(K_jF)(L')=\sum_{[L]}\frac{A_j(L',L)\,F(L)}{|\mathrm{Stab}(L)|},$$
where $A_j(L',L)$ is obtained by differentiating the theta kernel of the pair $(L,L')$. This is the finite model of the interlude, with its measure weight. The period map is the composite
$$B_u=P_u\circ K_m\circ\cdots\circ K_1:\ N_u\longrightarrow R^\vee,$$
where $P_u$ is the final pairing with a lattice $R$ of base forms, and $u$ is an auxiliary word that fixes the starting weights. In the formal proof, this composite is literally a product of matrices, through which the period factors.

The **period** of φ (a Bessel period, in the sense of Gan–Gross–Prasad) is a period on the last group of the vector $K_m\cdots K_1\varphi$. This is the matrix form of Kudla's **seesaw** identities.

**Why the layers add up.** If every coefficient of $A$ is divisible by $p^{\alpha}$ and every coefficient of $B$ by $p^{\beta}$, then every coefficient of $AB$ is divisible by $p^{\alpha+\beta}$, since a sum of multiples of $p^{\alpha+\beta}$ is again such a multiple. Hence
$$v_p(K_m\cdots K_1)\;\ge\;\sum_{j=1}^m v_p(K_j),$$
just as $\operatorname{ord}_x(FG)=\operatorname{ord}_xF+\operatorname{ord}_xG$. Each kernel, evaluated near the CM points of the Frobenius orbit of $p$, contributes its gain from § 3, denoted $\mathrm{gain}_j(p)$. It loses the $p$-part of the order of the automorphism group of the lattice, $\mathrm{dG}_j\ge v_p(|\mathrm{Stab}_\Gamma(L)|)$, which is a **Siegel mass** denominator. Altogether, for each inert prime $p$:
$$v_p(\text{period})\;\ge\;\sum_{j=1}^{m}\mathrm{gain}_j(p)\;-\;\sum_{j=1}^m\mathrm{dG}_j,\qquad\mathrm{gain}_j(p)\approx\sum_{e\ \text{odd}}\Big(\frac{a}{p^{e}}-\mathrm{cap}_j(p,e)\Big)_+ ,$$
where $\mathrm{cap}_j$ is a weight, of Harish-Chandra type, specific to the $j$-th lift. **The length $m$ of the chain plays the role of Stepanov's order of vanishing $a$.**

![Stepanov differentiates the same function $a$ times; Alpöge composes $m$ theta kernels. In both cases each step adds a layer, and the layers add up.](fig/chaine_thetas_en.svg)

**Why not a power?** Composing the same kernel $m$ times, or multiplying $m$ copies of the same theta series, would repeat the attempt $(g^c-1)^a$: the archimedean size would be multiplied by the same factor as the divisibility. The chain uses groups of increasing rank. One may hope that the spaces of forms then offer new usable directions, just as Stepanov's unknowns must outnumber the conditions ($2JK>a(K+J)+\cdots$). The proof imposes $k\ge x\,m$: the base rank grows with the length of the chain ⟦I⟧, as in the dimension count that guarantees the existence of $F$.

**The nodes, and why the weights are aligned.** The prime sum to be bounded, with Riesz weights, is written term by term as $\sum_{l\ \text{odd}}\big(a_t/p^l-w_j(\cdot)\big)_+$: it has **the same shape as the truncated gain** of § 3.5. It remains to see that the thresholds are the same. In Adriazola [Ad, § 7], the chain is parametrized by **nodes**
$$w_j(\rho)=b_1(\rho)+\big(j-\tfrac12\big)h_0,\qquad 1\le j\le m,$$
where $b_1(\rho)$ equals $\lceil b\rceil$ at the thick places, about $b'=xb/Z$ at the tops, with $Z=e^{x^{\varepsilon/3}}$, and $\lceil b'/(xn)\rceil$ elsewhere. The gap $h_0=2\lceil x^{c_h}\rceil$ is polynomial, hence negligible next to $b$: all the nodes of a thick place lie in $[b,b(1+x^{-2})]$, as § 3.4 requires. The $j$-th group has rank $N_j=k+j(t_r+1)$, where $k$ is the base rank and $t_r$ is a fixed odd integer, and the highest weight of the $j$-th lift repeats the entry $-w_j(\rho)$ exactly $t_r+1$ times. The nodes therefore play two roles at once: they are thresholds of the prime sum (§ 3.4), and parameters of the weights, hence thresholds of the gain (§ 3.5). This explains why aligned weights exist (§ 3.5): they are not adjusted after the fact, because **the same integer appears on both sides**.

The comparison is then made term by term [Ad, Lemma 12.2]. For an inert prime $p$ whose Frobenius has sufficiently large order in $H$, the contribution of $p$ to the sum splits, orbit by orbit $v$ and lift by lift $j$, into terms $F_{vj}=\sum_s\sum_{l\ \text{odd}}(a_sp^{-l}-w_j(\tau_{s+l}))_+$, and
$$F_{vj}\le g_{A,vj}+H_{vj}+X_{vj},\qquad F_{vj}\le g_{B,vj}+H_{vj}-K_{vj}.$$
Here $T_v$ is the set of tops of the orbit $v$, $\gamma_p=p/(p^2-1)$, $L_p$ is the number of odd exponents $l$ such that $p^l$ stays below the scale, $\Delta_{vj}$ is the digit loss of § 3.5 and $C_0$ is a constant; $H_{vj}=\Delta_{vj}+C_0|T_v|(\gamma_p+L_p)$ is therefore a logarithmic loss, $X_{vj}$ collects the displacements excluded from $g_A$ (it vanishes as soon as $p\ge Z$), and $K_{vj}=\sum\min(a_sp^{-l},w_j)$ is the truncation cost at the even tops. The proof comes down to two inequalities, $a_s-\alpha_s\le C_0$ and $C_{s+l}-w_j(\tau_{s+l})\le C_0$, where $\alpha_s$ (the number of columns of height 1 at the top $s$, that is, the order of differentiation) and $C_{s+l}$ (the number of the other columns at position $s+l$, which serves as the threshold) are those of § 3.5. The comparison is therefore not a term-by-term identity: **it is a domination, with an explicit logarithmic remainder**. The primes of small order in $H$, for which the argument does not hold, are rare: they are congruent to $\pm1$ modulo a large power of 2, and their total contribution is $\ll m\,n_T\,b\,x^{-\varepsilon/3}$, where $n_T$ is the number of columns [Ad, Proposition 12.1].

**Composing: the gain of the chain.** With the gain $g_A$ at each stage and the loss $d_j=\max v_p(|\mathrm{Stab}|)$ of the stabilizers, the additivity of valuations already gives $K_m\cdots K_1(I_0)\subseteq p^{\sum_{j,v}g_{A,vj}-\sum_jd_j}I_m$, between lattices of integral forms. To reach the stronger gain $g_B$ on a set $B$ of orbits, one must pay the term $N_J$ of § 3.5. The payment is made with Hecke operators: an operator $y_v$ at the place $v$ is transported through each lift, up to a scalar of known valuation $\delta_{vj}$, and one obtains [Ad, Theorem 10.5]
$$K_m\cdots K_1\,(D_B)\subseteq p^{G_B}I_m,\qquad G_B=\sum_{j=1}^m\Big(\sum_vg_{A,vj}-d_j\Big)+\sum_{v\in B}\sum_{j=1}^m\big(g_{B,vj}-\delta_{vj}-g_{A,vj}\big)_+,$$
where $D_B=\sum_{C\subseteq B}y_C^{\,m}\,p^{\sum_{v\in B\setminus C}S_v}I_0$ is an explicit sublattice of the source, with $S_v=\sum_j(g_{B,vj}-\delta_{vj}-g_{A,vj})_+$. The cost of the gain B is therefore an **index**: that of $D_B$ in the starting lattice. It is bounded under a hypothesis of local nondegeneracy of the Hecke operators, with shares $\kappa_v$ and a loss $s_*\big(\prod_v(1+m\kappa_v)-1\big)$ per unit of rank [Ad, Hypothesis 12.3 and Proposition 12.4]. The formal proof establishes both statements, constants included, from the $p$-adic rank along the Hecke edges of § 3.5. It makes precise a point that the hypothesis leaves open: the depth is $\tau=\sum_{v\in B}m\,(t_v+D+1)$, that is, $m$ steps of depth $D+1$ per orbit, and the orbits are retained only if $\sigma=m\sum_v\kappa_v\le x^{-\varepsilon}$. Finally, the source is enlarged by the exponents thus gained, rounded down to integers, and its slope rises by $\Gamma=2\sum_p(g_p-\tau_p)\log p$, up to the index and the rounding [Ad, Theorem 12.5]: this is line A2 of the bookkeeping inequality (§ 6.2).

**The served orbits: the kink lemma.** The difficulty is not merely to obtain a stronger divisibility bound. We must also pay for the Hecke operators that make this bound available, and it remains to see why the gain thus obtained still dominates the prime sum once that cost has been paid. This is the first line of the bookkeeping inequality of § 6.2 (prime sum ≤ local gains, denoted A1), on the orbits where the gain B is used, which are called *served*. Slijepčević [S] sees there "the main conceptual gap"; Rubinstein [R2, § III.6] treats the unserved orbits and leaves this case open ("that case is assumed"). At first sight the extra cost is too large to be absorbed into the error term: the cost of the transport and the threshold of the Hecke rank can reach $b$ per odd top of the orbit, whereas the tolerance of the inequality is much smaller. This threshold is not an error term; it must be compensated exactly.

The key observation is that this cost need not be absorbed into the error term: it can be paid out of what is left unused at the even tops. The compensation rests on a one-line lemma, a nearest-predecessor charging lemma, which we found in the formal proof and reprove in the companion note [N1]. The orbit is cyclic, of even length. Number its positions cyclically. Some tops sit at even positions, others at odd positions; not every position is a top. To each odd top $y$, associate the last even top $y^-$ before it, if there is one, and their distance $d^-(y)$, which is odd because the length of the orbit is even. At an even top, the gain equals the full valuation, and the prime sum claims only part of it: a margin $\mathrm{Mn}$ remains, which is an unused reserve. Now each term of the Hecke threshold at an odd top $y$ is of the form $\min\big(W_y,\,a_{y^-}/q^{d^-(y)}\big)$, with $q=p$ in the application; and this term appears as it stands in the reserve of the top $y^-$:
$$\sum_{\substack{y\ \text{odd}\\ y^-\ \text{exists}}}\min\Big(W_y,\frac{a_{y^-}}{q^{d^-(y)}}\Big)\ \le\ \sum_{x\ \text{even}}\ \sum_{e\ \text{odd}}\min\Big(\frac{a_x}{q^e},W_{x+e}\Big),$$
where $e$ runs over the odd integers $\ge1$. The lemma assumes only that $q\ge2$, that $a_x\ge0$ at the tops, and that $W_z\ge0$ is defined at every position $z$ of the orbit, top or not. It holds because $y\mapsto(y^-,d^-(y))$ is injective: two odd tops with the same even predecessor lie at different distances from it. Each term on the left is thus a distinct term of the sum on the right, and since all terms are nonnegative, the selected terms are bounded by the full sum. If there is no even top, the sum on the left is empty. **What must be paid for the right to use the Hecke gain is taken, term by term, from what the prime sum does not claim at the even tops.** This is a charging argument in the spirit of the accounting method of amortized analysis: an unused reserve pays for a cost, and cannot be counted twice. The rest is a comparison between real numbers, under a size condition on the shifts of the columns and a density property of the tops, both found in the archive. Like the rest of line A1, this inequality says nothing about divisibility: it uses only the formulas for the Hecke rank.

![The kink lemma on a fictitious orbit of length 10. The orbit is cyclic, and the figure shows its ten positions, tops or not. Each odd top (orange) draws a distinct term from the reserve of the preceding even top (blue); an even top may serve several odd tops, with different exponents. Dashed: positions that are not tops.](fig/coude.svg){width=80%}

The shortened proof [VL] contains the same principle in a simpler form. Its *exceptional* primes play the role of the served orbits, its *collisions* that of the excluded exponents, and the margin is a single term $a/x_1$ per marked place, because all the weights outside the special residues are equal there [VL, Theorems 19.4 and 19.8].

**What this passage assumes.** Four groups of hypotheses support the chain at the inert primes [Ad]: the integrality of the renormalized kernel; the passage from the jet coefficients to the lattices of integral forms on a common model; the transport relation for the Hecke operators and their nondegeneracy; and the inclusions at the two ends of the chain. The formal proof contains proofs of the analogues of all these statements except the one at the source end. The transport, the composition theorem and the index bound are theorems there; the integrality of the kernel is a theorem about the standard series; the passage from the jets to the lattices and the target end follow from the admissibility of a "local system", under thirteen conditions, whose proof for the actual chain occupies nearly two million lines that we have not read. This paragraph is therefore a readable proof **from statements that Lean has verified**, some of which have no readable proof. Two caveats are in order. Adriazola himself points out three discrepancies with the source: the inclusions at the ends, the gap between nodes, which must satisfy $c_h\ge755$, and the shift, which he fixes whereas the formal proof bounds all the shifts of the family. And his index bound is slightly sharper than the one Lean proves: his version is not certified. The whole difficulty remains to build lattices, kernels and periods that realize these gains, and to control the losses.

### Workshop 3. Composing without losing the gains

In Workshop 2 we identified a desired gain of $84$ at the prime 3. Imagine four successive operators between lattices, whose coefficients are divisible by $3^{84}$. The composite would have coefficients divisible by $3^{336}$. This is an immediate consequence of $v_3(AB)\ge v_3(A)+v_3(B)$, where $v_3(A)$ is the minimum of the valuations of the entries. The inequality may be strict: $A=(1\ \ 1)$ and $B={}^t(1\ \ p-1)$ give $AB=p$, while $v_p(A)=v_p(B)=0$. It guarantees neither injectivity nor that the gains are the desired ones, column by column. Now suppose that, to extract a useful component at each step, one has to divide by $3^2$. The guaranteed gain is then only $4(84-2)=328$. Denominators enter with the opposite sign to gains.

This bookkeeping is fictitious: neither the four operators nor the values 84 and 2 are extracted from Lean. But it shows exactly what must be controlled when kernels are composed. In the proof, valuations are local, gains depend on the places and the weights, and the chain must work simultaneously for a large number of primes.

We can now see why the additivity of valuations does not by itself constitute a proof. The model $K_j=3^{84}I$ would indeed produce the gains above, but the norm of the composite would also be multiplied by $3^{336}$. The inequality would gain nothing. What matters is the relation between the divisibility gain, the archimedean cost and the cost of projecting onto the useful objects. The growth of the groups is a way of building a family of different kernels; it does not by itself establish a net gain. The comparison of slopes will measure precisely this relation.

### 4.4 The full dictionary

| Stepanov | Alpöge |
|---|---|
| Curve $y^2=g(x)$ over $\mathbb F_p$ | Twisted Chebyshev sum over the inert primes of the host $E$ |
| Points $x\in S$ | Inert primes $p$ |
| Auxiliary function $F$ | A form φ and its lifts; the lattice $N_u$ of their periods |
| Order of vanishing $a$ | Length $m$ of the chain |
| $D^kF=0$ on $S$ by an identity | Theorem A, valid at all inert $p$ at once |
| $X^{jp}$, constants under differentiation | Frobenius and CM points: the odd layers $a/p^e$ (§ 3) ⟦I⟧ |
| $\operatorname{ord}(FG)=\operatorname{ord}F+\operatorname{ord}G$ | $v_p(K_m\cdots K_1)\ge\sum_jv_p(K_j)$ |
| Siegel lemma (existence of $F$) | Families of forms on definite groups; Bost's slope inequality (§ 5.4) |
| $a\cdot\lvert S\rvert\le\deg F$ | Difference of slopes ≤ archimedean terms (§ 5) |
| Amortized fixed cost $p/a$, growing contribution $a$ to the cost per order | Amortized fixed cost $x/m$, growing contribution $m$ to the cost per lift (§ 6) |
| $a\approx\sqrt p$ | $m\approx\sqrt x$ |

This transposition, from auxiliary functions over finite fields to divisibility and slopes over ℤ, extends the transcendence methods of Thue, Siegel and Bombieri, of which **Bost**'s slope inequalities are the modern form.

### 4.5 What the chain assumes, and the answer

As with Theorem A, the multiplicity mechanism is small: about 0.1% of the volume. The bulk lies in the objects that the chain **requires us to construct**:

- definite Hermitian spaces with prescribed signatures at every stage;
- kernels with **integral** coefficients, without which the additivity of valuations means nothing;
- rational periods (test vectors, Siegel–Weil).

This is the "construction of the arithmetic objects", 36% of the volume (§ 7). The denominators $\mathrm{dG}_j$ point to Siegel masses, whose archimedean computation is the subject of question 4.

> **Answer to question 3.** Stepanov bounds $|S|$ with a function that vanishes to order $a$ on $S$ and whose degree is well below $a$ times the naive degree. He succeeds because differentiation ignores the monomials $X^{jp}$, which equal $X^j$ on $S$. A multiplicity obtained by taking a power is useless: one needs **new** layers, which add up. Over ℤ, a layer is a $p$-adic divisibility gain at the CM point (§ 3). Theta lifts provide an operation that adds one layer and can be composed: the period of the $m$-th lift is the product $K_m\cdots K_1$ of kernel matrices, and the valuations of a product add up. Groups of increasing rank provide distinct kernels; whether each layer genuinely contributes something new, and at what cost, depends on the construction. The length $m$ of the chain plays the role of the order of vanishing and, like it, is balanced at $\sqrt x$.

## 5. Why the archimedean constraints bring back the expected main term

We can now accumulate divisibility, at least at the level of the mechanism. Whether that brings us any closer to the desired bound depends on its archimedean cost. We must compare two quantities attached to the same object: the divisibility we gain and the geometric cost of obtaining it.

That object is a lattice of periods. The mechanism of §§ 2 to 4 must provide its $p$-adic half, in the sense of the identity of § 2.1, $\sum_pv_p(M)\log p=\log|M|$: a divisibility that, prime by prime, follows the Riesz weight, with $m$ stacked layers. The other half is the size. For Chebyshev, it was $\binom{2n}{n}\le4^n$, and it took one line. Here, it is the most delicate part, for a simple reason. The prime sum to be bounded equals $y\log y$ up to a main term, and one wants an error of size $\sqrt y$. The archimedean bound must therefore **reproduce the main term exactly**, and leave room only for the fluctuations. This section explains why that is possible, and what it demands.

### 5.1 Two ways of measuring the same number

Let us return to $y!$ (§ 2.3). The product formula, applied to this single integer, gives two ways of computing its logarithm:
$$\underbrace{\sum_{m\le y}\Lambda(m)\Big\lfloor\frac ym\Big\rfloor}_{\text{finite places: Legendre}}\;=\;\log y!\;=\;\underbrace{y\log y-y+\tfrac12\log(2\pi y)+O(1/y)}_{\text{infinite place: Stirling}} .$$
The left-hand side requires knowing all the primes. The right-hand side knows nothing about them: it is real analysis, the integral of $\log t$ corrected by Euler–Maclaurin summation. The two are **equal**. The main term $y\log y-y$ on the prime side is thus computed, without a single prime, by the archimedean size.

For $\binom{2n}{n}$, Chebyshev's identity (§ 2.3) and Stirling's formula likewise give:

| $n$ | $\log\binom{2n}{n}$ (exact) | Stirling: $n\log4-\frac12\log(\pi n)$ | $n\log4$, predicted by $\psi(x)\sim x$ |
|---:|---:|---:|---:|
| 10 | 12.1268 | 12.1393 | 13.8629 |
| 1,000 | 1,382.2680 | 1,382.2681 | 1,386.2944 |
| 10⁶ | 1,386,286.8810 | 1,386,286.8810 | 1,386,294.3611 |

The archimedean side knows the main term $n\log4=\sum_k(-1)^{k+1}\,2n/k$, the one that $\psi(x)=x$ would give. It knows it up to $\frac12\log(\pi n)$, with no error coming from the primes.

**Why.** The two sides are governed by different Dirichlet series:
$$\sum_n\frac{\log n}{n^s}=-\zeta'(s)\qquad\text{and}\qquad\sum_n\frac{\Lambda(n)}{n^s}=-\frac{\zeta'}{\zeta}(s).$$
One passes from one to the other by multiplying by $\zeta(s)$, since $\log n=\sum_{d\mid n}\Lambda(d)$: this convolution with 1 is what produces the factors $\lfloor y/m\rfloor$. But $-\zeta'$ has **only one pole, at $s=1$**: the zeros of ζ, which are poles of $\zeta'/\zeta$, are canceled by the multiplication by ζ. The series $-\zeta'$ explains why the zeros give no poles in this computation; Stirling's formula independently provides the precise evaluation of the factorial.

> **The principle, illustrated by the factorial.** Convolution with 1 removes the poles of $-\zeta'/\zeta$ at the zeros of ζ. The quantity $\log y!$ therefore has an archimedean computation that does not depend on any estimate of these oscillations. In the actual proof, the formulas for masses, norms and periods must produce the appropriate main term with sufficient precision. This coincidence requires a specific identity or computation: it does not follow from the mere fact that the volumes are known exactly.

![The two sides of the product formula. The finite side sees the main term and the fluctuations; the infinite side, computed exactly, does not see the fluctuations and must reproduce the same main term. If it does, the inequality concerns only the fluctuations.](fig/bilan_places_en.svg)

This is also what limits $y!$ ⟦I⟧. On the Dirichlet-series side, its profile $\lfloor y/m\rfloor$ amounts to **multiplying by $\zeta(s)$**. The sawtooth that separates it from the Riesz weight contains the fluctuations with the opposite sign, and cancels them: $y!$ can say nothing about the zeros. The profile produced by the chain (§ 4.3) must follow the Riesz weight itself, without that factor ζ.

### 5.2 How much precision? A counterexample

The main term is huge and the target is tiny:

| $y$ | main term $y\log y$ | target $\sqrt y$ | required relative precision |
|---:|---:|---:|---:|
| 10⁶ | $1.4\cdot10^{7}$ | $10^{3}$ | $7\cdot10^{-5}$ |
| 10²⁰ | $4.6\cdot10^{21}$ | $10^{10}$ | $2\cdot10^{-12}$ |

*Counterexample.* Replace Stirling by the crude bound $y!\le y^y$. One gets $S(y)\le y\log y$, hence $G(y)\le(1+\gamma)\,y$. Dropping a single term, here $-y$, produces an error of size $y$, already a thousand times the target at $y=10^6$. An archimedean bound that loses **a constant factor** is fatal, and a factor $1+o(1)$ is not enough either. One needs equalities, or inequalities whose additive error is at most of order $x^{1/2+O(\varepsilon)}$; a relative precision of $x^{-1/2}/\log x$ corresponds to the strict target $\sqrt x$ for a main term of order $x\log x$.

This is where the two sides differ in nature. The $p$-adic side may incur losses (an $O(\log a)$ per prime, Hecke denominators), provided the total loss stays below $\sqrt x$. The archimedean side must be **exact on the main term**.

### 5.3 Exact volumes: three examples

For some arithmetic objects, exact size formulas exist. The three examples below show recurring ingredients: values of Γ, powers of π, a discriminant, and values of ζ or of L-functions at points where the identities needed can be established without assuming GRH.

**(a) A Siegel mass.** The even unimodular lattices of rank 8 form a single class, $E_8$. Siegel's mass formula gives
$$\sum_{[L]}\frac1{|\mathrm{Aut}\,L|}=\frac{|B_4|}{8}\cdot\frac{|B_2|}{4}\cdot\frac{|B_4|}{8}\cdot\frac{|B_6|}{12}=\frac1{696{,}729{,}600},$$
which is indeed $1/|W(E_8)|$. In higher ranks, the Bernoulli numbers bring in values such as $\zeta(12)$. By Euler's formula, $|B_{2j}|=2\,(2j)!\,\zeta(2j)/(2\pi)^{2j}$. A mass is therefore a product of **factorials** (values of Γ), **powers of π** and $\zeta(2),\zeta(4),\dots$: values of ζ at $s\ge2$, where the Euler product converges absolutely, so that nothing needs to be known about the zeros of ζ.

**Rank 16, where the formula sees two lattices.** In rank 16, the genus contains two classes: $E_8\oplus E_8$, with $|\mathrm{Aut}|=2\,|W(E_8)|^2=970{,}864{,}271{,}032{,}320{,}000$, and $D_{16}^+$, with $|\mathrm{Aut}|=2^{15}\cdot16!=685{,}597{,}979{,}049{,}984{,}000$. The sum of the inverses is exactly
$$\frac1{970{,}864{,}271{,}032{,}320{,}000}+\frac1{685{,}597{,}979{,}049{,}984{,}000}=\frac{691}{277{,}667{,}181{,}515{,}243{,}520{,}000},$$
which is what the mass formula gives (checked with exact fractions). The 691 is the numerator of $B_{12}$, hence of $\zeta(12)$. **All the primes appear, but through absolutely convergent Euler products, which can be controlled without knowing the zeros**: the same phenomenon as with Stirling's formula in § 5.1. This property alone does not establish the cancellation of the main term: that requires the identities of § 5.5.

**(b) A CM period.** For the curve of § 3, $y^2=x^3-x$, the integral of $dx/y$ along the real branch, from 1 to infinity, can be computed exactly:
$$\int_1^\infty\frac{dx}{\sqrt{x^3-x}}=\frac{\Gamma(1/4)^2}{2\sqrt{2\pi}}=2.622057\ldots$$
This is the lemniscate constant ϖ, checked numerically in [`tools/modeles.py`](tools/modeles.py). The full real cycle runs over two branches: its period for $dx/y$ is $2\varpi$, and ϖ for the usual invariant differential $dx/2y$. The normalized quantity of `CM.DegSt` involves further conventions: ϖ is not Ω itself. The **Chowla–Selberg formula** [CS] generalizes this computation. The archimedean size of a CM object is a product of values $\Gamma(a/d)^{\pm1}$, with exponents given by the character $\chi_{-d}$ of the CM field.

**(c) The norm of a theta lift.** The **Rallis formula** expresses the norm $\langle\theta(\varphi),\theta(\varphi)\rangle$ of a lift as the product of a special value of an L-function of φ and explicit local factors. The formal proof contains it:

- the convergence of the Rallis inner product is proved by the **doubling method** (about 64,000 lines);
- the tower property is proved (lifts to lower ranks vanish);
- archimedean factors appear;
- the normalizing factors are products of Hecke L-functions, taken in the region of absolute convergence ($\operatorname{Re}s>n/2+1$).

As with the masses, L-functions appear only at points where the identities needed can be established without assuming GRH; uniform estimates of $L'/L(1,\chi)$ as the conductor varies remain nontrivial. We have not traced the exact role of these norms in the size of each link of the chain ⟦I⟧.

### Interlude. From the determinant to the Arakelov degree

Why introduce slopes rather than rely on the product formula alone? Because the proof does not build a single auxiliary integer, but a family of maps between lattices. One needs a measure of size that takes the dimension into account and is compatible with local division.

We start with a two-dimensional example. Take

$$A=\begin{pmatrix}3&2\\6&-2\end{pmatrix}. $$

The first column is divisible by 3; the second by 2. The determinant is nonzero and a multiple of 6, so $6\le|\det A|$. Hadamard's inequality gives on the other side

$$6\le|\det A|\le\|A_1\|\|A_2\|=\sqrt{45}\sqrt8.$$

This inequality already has the desired shape: $\log3+\log2\le\log\|A_1\|+\log\|A_2\|$. A sum of logarithms of primes has been bounded by Euclidean norms.

The same computation can be phrased without explicitly mentioning divisibility of columns. The map $A:\mathbb Z^2\to\mathbb Z^2$ remains integral on the enlarged lattice

$$L'=\tfrac13\mathbb Z e_1\oplus\tfrac12\mathbb Z e_2.$$

The covolume of $L'$ is $1/6$; its slope (in our Euclidean convention, not normalized by the field) is $-\log(1/6)/2=\tfrac12\log6$. The slope of the initial lattice was zero. Dividing the coordinates has thus turned the valuations into an increase of slope.

![Enlarging the lattice in two directions. The colored rectangles are the fundamental domains; their area goes from 1 to 1/6. The slope increases by (log 6)/2.](fig/division_reseau_en.svg)

The matrix $A$ maps $L'$ onto a sublattice of $\mathbb Z^2$ of integer covolume at least 1. Hence $|\det A|/6\ge1$, which is exactly the first inequality. This formulation brings out the role of injectivity: if the determinant were zero, no information of this kind would be available. For lattices of different ranks, one works with volumes in the target space, sublattices and the maximal slope. An abstract version of Hadamard's inequality leads to Bost's slope inequalities, which work over number fields and with norms at several places.

**Why Theorem S?** Theorem S is the quasi-orthogonality statement for the periods (§ 5.4). A volume is sensitive to dependence between vectors. Two almost collinear unit vectors span a parallelogram of almost zero area. More generally, if $N$ unit vectors have off-diagonal inner products bounded by $\eta$, their Gram matrix $G=I+E$ satisfies $\|E\|_{\mathrm{op}}\le(N-1)\eta$. If $(N-1)\eta<1$, it is invertible, and all its eigenvalues lie between $1-(N-1)\eta$ and $1+(N-1)\eta$. One then also controls the Gram determinant. This elementary lemma is not Theorem S; it shows why a quantitative quasi-orthogonality estimate can control rank, norms and volumes at once. In the actual problem, the dimensions grow, which makes the smallness of the error crucial.

**Propagating slopes.** A slope inequality is not always enough, and a two-dimensional example shows why. The lattice $Q=\mathbb Ze_1\oplus\mathbb Z(Me_2)$ in $\mathbb R^2$, with $M>1$, has maximal slope 0, reached by $\mathbb Ze_1$, and mean slope $-\frac12\log M$. An isometric map $\mathbb Z\to\mathbb Ze_1$ controls one direction but says nothing about $M$; a family of maps of good height does not help either if they all point in the same direction. What counts is the **rank** of the sum of the images, and how robust it is when directions are removed. Rubinstein [R2, Proposition M4] derives from this a proof of the mean-slope inequality that differs from the one in the formal proof. Its core reduces to an elementary lemma, which we call the *deficit lemma*. Consider target slopes $y_1,\dots,y_D$, a reference slope $s$ and a number $R>0$ such that $y_i\ge s-R$, and set $N(t)=\#\{i:y_i<s-t\}$. If $N(t)/D\le f(t)$ for $0<t<R$, then
$$\frac1D\sum_iy_i\;\ge\;s-\int_0^R\min\big(1,f(t)\big)\,dt,$$
since $(s-y_i)_+=\int_0^R\mathbf 1_{y_i<s-t}\,dt$. In [R2], a robust rank bound provides $f(t)=(\eta+4\,\mathrm{sp}/(\mathrm{sp}+t))/(1-\delta_*)$, where $\mathrm{sp}>0$ measures the spread of the source slopes, with $\eta\ge0$ and $0\le\delta_*<1$. The untruncated integral $\int_0^Rf=(4\,\mathrm{sp}\log(1+R/\mathrm{sp})+\eta R)/(1-\delta_*)$ bounds that of $\min(1,f)$ from above, and accounts for a logarithm that seemed arbitrary in the error budget. The truncated version can also be computed exactly. If $\eta\ge1-\delta_*$, then $\min(1,f)=1$ and the bound says nothing more than $y_i\ge s-R$. Otherwise $f$ equals 1 at $t_*=\mathrm{sp}\big(4/(1-\delta_*-\eta)-1\big)>0$, and with $u=\min(R,t_*)$,
$$\int_0^R\min(1,f)\,dt=u+\frac{\eta(R-u)+4\,\mathrm{sp}\log\frac{\mathrm{sp}+R}{\mathrm{sp}+u}}{1-\delta_*}.$$
When $R\gg\mathrm{sp}$, the logarithmic term adds up the deficits over a range of scales. Theorem S then appears in a different light. It does not merely make periods almost orthogonal: it guarantees that the divisibility information **propagates** to almost all directions of the target lattice, and the slope measures what survives this transfer. This is our interpretation ⟦I⟧ of the architecture: we have not checked that the mean slope theorem of the formal proof is an instance of this principle.

An arithmetic inequality and a geometric estimate thus meet. The last step is to determine which main term they are compared with.

### Workshop 4. The prime 3 seen through the slope

In the model of Workshop 3, we had guaranteed a gain of $3^{328}$ on a fictitious composite. If it maps into an integral lattice, one can, in the model where the gain is uniform, replace the source lattice $L$ by $3^{-328}L$. With the archimedean norm fixed, the covolume is divided by $3^{328r}$ in rank $r$. The slope therefore increases by $328\log3$, independently of the rank. Divided by the four layers and by the threshold $b=3$ chosen in Workshop 2, the normalized contribution is $(328/12)\log3$, to be compared with the $28\log3$ of the odd part of the Riesz weight at 3. The loss due to the denominators is immediately visible. The other primes produce similar additive terms. This is the idea behind transferring the local sum to a global slope.

### 5.4 In the proof

**Slopes: the product formula for lattices.** A Hermitian lattice over a number field $K$ is a projective $\mathcal O_K$-module with norms at the infinite places. Its Arakelov degree is $\widehat{\deg}=-\log\operatorname{covol}$, and its slope is $\widehat\mu=\widehat{\deg}/\mathrm{rank}$. The degree decomposes into contributions of the finite places, local lengths times $\log N\mathfrak p$, and of the infinite places, norms. This is the product formula of § 2.1, for a lattice instead of an integer. For an integral ideal $I$, setting $L'=I^{-1}L$ raises its slope by
$$\widehat\mu(L')-\widehat\mu(L)=\sum_{\mathfrak p}v_{\mathfrak p}(I)\log N\mathfrak p\quad(\text{normalized}).$$
The divisibility of the periods (§ 4.3) makes it possible to divide the lattice of forms $N_u$ while keeping the period pairing $B_u:N_u\to R^\vee$ integral. The lattice is enlarged by multiplication by the fractional ideal $I_u=\prod_ww^{-\lfloor e_w\sigma_u(w)\rfloor}$. Rounding down loses a little; this loss, counted explicitly, is of order $x\,n\,e^{x^{\varepsilon/3}}$. That is a factor $e^{-x^\varepsilon(1-o(1))}$ below the other remainders: it is negligible.

**The upper bound: Bost's slope inequality.** For an injective map $\varphi:E\to F$, $\widehat\mu(E)\le\widehat\mu_{\max}(F)+h(\varphi)$ (Bost). This is Stepanov's Siegel lemma (§ 4.1), in arithmetic form. It is applied to the maps $B_u$. Three ingredients make it precise enough for the bookkeeping; the second rests on an exact identity, the other two are bounds:

- **the height of the $B_u$ is almost zero**. Periods of different forms are almost orthogonal: this is Theorem S, a formula of Petersson or Kuznetsov type for Bessel coefficients, with a factor $1+b^{-6}$, where $b=e^{x^\varepsilon}$, close to 1 with a super-polynomially small defect, well below the $x^{-1/2}$ required in § 5.2;
- **the slope of the target lattice** is given by an exact identity, up to a local divisor that one bounds (see the paragraph "The slope of the target" below);
- **a covolume bound** for lattices of automorphic forms, through Arakelov geometry on integral models of Shimura varieties (Hironaka, Moriwaki, arithmetic Hilbert–Samuel, toroidal compactifications).

**Three properties, one map.** The slope inequality needs a map that is at once integral, of small height and of large rank. Three maps, each having one of these properties, do not suffice: on the Euclidean lattice $\mathbb Z^2$, $f_1=\mathrm{diag}(M,0)$ is integral, $f_2=\mathrm{diag}(1/M,0)$ has small norm, $f_3=\mathrm{diag}(M,M)$ has rank 2, and no information passes from one to another. In Lean, the general bookkeeping statement requires the three properties **of one and the same family** of maps $B_i$, contained in a single field of a Lean structure: integrality ($B_i(N_i)$ contained in the target lattice), height, and rank (through a matrix defined from the matrix of $B_i$). Where the actual data enter, this field $B$ is instantiated by a single object, the period pairing $B_u:N_u\to R^\vee$. The interface thus holds by construction; what remains to be understood is why the pairing that is constructed has the three properties.

**The mean slope theorem, and what it requires.** The inequality that is applied is not Bost's inequality for a single map, but a version for a family $B_u:N_u\to C$, $u\in\mathcal W$, with common target $C=R^\vee$. Its statement is as follows [Ad, Theorem 13.4]. One is given, at a complex place, matrices $A_u:\mathbb C^{d_u}\to\mathbb C^{D'}$, with $D'\ge D=\operatorname{rank}C$, which represent the $B_u$ after projection onto $D$ coordinates. One sets $\delta=1-D/D'$, $Q=\sum_uA_uA_u^*$ and $\Delta=\sum_ud_u$, and one assumes
$$\sum_u\lVert A_u^*A_u-\mathrm{Id}\rVert_{HS}^2\le e\,\Delta,\qquad\operatorname{tr}(Q^2)\le(1+\eta)\frac{(\operatorname{tr}Q)^2}{D'},\qquad e\le\tfrac14 .$$
The first condition says that each $A_u$ is almost an isometry; the second, that the images of the $A_u$ are spread almost uniformly in $\mathbb C^{D'}$, since $\operatorname{tr}(Q^2)\ge(\operatorname{tr}Q)^2/D'$ with equality when $Q$ is scalar. If moreover $B_u(N_u)\subseteq C$ and $\operatorname{ht}(B_u)\le h_u$, then, with $s=\langle\mu(N_u)-h_u\rangle$, $U=\max_u(\mu_{\max}(N_u)-h_u)-s$ and $H\ge s-\mu_{\min}(C)$, the formal proof establishes
$$s-\mu(C)\;\le\;\log|\mathcal W|+\frac{4U\log(1+H/U)+(\eta+4\sqrt e)\,H}{1-\delta}.$$
This is line A3 of the bookkeeping inequality (§ 6.2). The idea of the proof is that of the deficit lemma of the interlude ("Propagating slopes"): at each threshold $t$, one counts the directions of the target that the sources of slope at least $s-t$ cannot reach, and one integrates over $t$; the two conditions on the $A_u$ bound this count by $\eta+4\sqrt e+4p$, where $p$ is the proportion of the source directions set aside [Ad, Lemma 13.3]. Adriazola obtains a sharper remainder, $4\min\{U,H\}$ without the term $\log|\mathcal W|$; this is more than Lean proves, and we have not checked his proof on this point.

The two conditions on the $A_u$ are the form in which Theorem S enters the proof. For the full columns of the Bessel periods, of dimensions $n_u$, and with $D^*$ denoting the formal degree of the discrete series multiplied by the volume and by the level, one requires [Ad, (14.3)–(14.4)]
$$\lVert K_{uu}-\mathrm{Id}\rVert_{HS}^2\le e_0\,n_u,\qquad\lVert K_{uw}\rVert_{HS}^2\le(1+\eta_0)\frac{n_un_w}{D^*}\ (u\ne w),\qquad D'\le(1+\eta_1)D^*,$$
where $K_{uw}$ is the cross Gram matrix of two columns. These three bounds are the conclusion of Theorem S, with the same small parameter $\sigma=x^{-C_H}$ (this σ is not that of § 4.3, where $\sigma=m\sum_v\kappa_v$ measures the Hecke share). One passes from the full columns to the retained columns by compressing with isometries, which costs only a factor $\vartheta=\Delta/\sum_un_u$, close to 1. Three statements remain, verified by Lean, whose proofs we have not read: the factorization of the period map through the Bessel periods, up to a nonzero scalar (a seesaw identity), and the integrality and the height of $B_u$ [Ad, Hypotheses 14.2 and 13.1].

**The archimedean terms, extracted from the export.**

- **The mass is an equality.** `SiegelMassRatioCM` asserts an **equality**, not an inequality, for the ratio of the masses of the standard Hermitian lattices of ranks $M$ and $M-1$ over an unramified CM field $K$ ($M\ge3$, $f$ infinite places):
  $$\frac{\mathrm{mass}_M}{\mathrm{mass}_{M-1}}=\frac{\big((M-1)!\,(v/\pi)^M\big)^{f}}{\sqrt{(2v)^{f}}}\cdot\prod_{\mathfrak P}\mathrm{eulerFac}(K,M,\mathfrak P),\qquad v=\tfrac12|\mathrm{disc}\,K|^{1/2f}.$$
  This is exactly the structure of example (a): a factorial $(M-1)!=\Gamma(M)$, powers of π, the discriminant, and an **Euler product at $s=M\ge3$**, in the region of absolute convergence. The Gan–Yu mass formula, from which this statement is classically derived, assumes that 2 is unramified in the real subfield, whereas 2 is totally ramified there for the host [Ad, Hypothesis 15.3]. The formal proof does not rely on it: there the mass ratio is proved for every CM field unramified over its real subfield, with no condition at the prime 2, by means of local representation densities.
- **The size of each column.** `Count_at` bounds the size $\log T(u)$ of a column by
  $$\sum_{j\in\text{lifts}}\frac1f\sum_{\tau}\log\frac{w_{j,\tau}\,v}{\pi}+m\log(g_0g_1)-C(\dots)\;\le\;\log T(u)\;\le\;C\,m\,L .$$
  This is a sum, **over the $m$ lifts** and over the CM places τ, of terms of the form $\log(w\,v/\pi)$, of Γ type. The archimedean side thus accumulates link by link, like the $p$-adic side in § 4.3.
- **The constant of the main term** is $\ell(\chi)=(L'/L)(1,\chi)$, the one that defines $g(y,\chi)$ in § 1.2; § 5.5 explains how the archimedean side recovers it.

**The assembly.**
$$\sum(\text{inert primes})\;\le\;\mathrm{Ga}+\text{loss},\qquad\mathrm{Ga}\;\lesssim\;\Delta\widehat\mu,\qquad\widehat\mu(N_u)\;\le\;\widehat\mu_{\mathrm{dual}}(R)+\cdots$$

- The first term is the von Mangoldt sum over the inert primes.
- $\mathrm{Ga}$ is the sum of local gains weighted by $\log N\mathfrak p$.
- The slope is bounded above by the slope inequality and by the Γ-type terms.

Hence: **prime sum ≤ archimedean terms + losses**; the bookkeeping of the losses is done in § 6. These inequalities and the archimedean terms are taken from statements in the export. The exact cancellation of the main term is an algebraic identity, whose three sources are detailed in § 5.5.

**The slope of the target: an identity.** The slope inequality needs an upper bound for the slope of the dual of the target. In the archive, it comes from a general theorem on Hermitian lattices, which we call the *divisor inequality* (`DivisorInequality.boundsMu`). Once its definitions are unfolded, it is an exact equality ([PMC], B.15):
$$c(R)=D\cdot\overline{\log\kappa}+\sum_{j=1}^mc(M_j)+\sum_y\ell_y\,B_y,$$
where $c$ is the log-covolume, $R$ is the target, $M_j$ is the module of the $j$-th lift, $\kappa$ is the constant of the scalar product formula, and $B_y$ is a local term at the finite place $y$: the valuation of the Gram determinant of the base lattice, the gap between the module and the image of the lift, and a self-duality defect. **The log-covolume of the target is the sum of those of the $m$ modules, up to a constant and a local divisor.** At the untwisted places this divisor is zero; at the twisted places it is bounded above, and this is where the correction $\mathcal L$ and the congruence defect of § 7 enter.

The decisive step is elementary. The target is *glued*: at each finite place, integrality is expressed through a twisting character specific to that place, whereas the archimedean sizes are measured without a twist. For the nontrivial twists, the factorization of the norm is assumed at a single archimedean place only. This suffices: at that place it identifies an element of the number field; since an embedding is injective, this element does not depend on the twist, and one takes its valuation place by place before applying the product formula. In the formal proof, these twists are indeed finite-order characters of $E$, trivial on the real subfield and tamely ramified. The proof uses only basic facts (covolume computed from a basis, product formula, duality, self-duality defect) and leaves a single point as an assumption, concerning the base lattice.

**An exact model of the normalization.** Let $L$ be a Hermitian line over $\mathbb Z$, generated by a vector $e$ of norm $r>0$, and set $\widehat{\deg} L=-\log r$. Then $\widehat{\deg} L^{\otimes a}=a\,\widehat{\deg} L$ and $\widehat{\deg} L^\vee=-\widehat{\deg} L$. If $2\widehat{\deg} L=\log\Omega$, the norm of $e^{\otimes2a}$ is $r^{2a}=\Omega^{-a}$, and the vector $a!\,e^{\otimes2a}$ has log-norm
$$\log(a!)-a\log\Omega,$$
which is exactly the shape of the archimedean term of the bookkeeping inequality. This model does not say that the Lean object is this tensor power: the exponent $2a$, the sign and the metrics must be read off from the actual construction. It only shows why the factor 2 in the CM theorem of § 5.5 ($2\widehat{\deg}=\log\Omega$) is structural. Over a number field, the degree normalized by $[K:\mathbb Q]$ preserves both identities; what remains is to check, arrow by arrow, the conventions (norm or squared norm, raw or normalized degree) along the transport of the CM formula down to the division (§ 5.5 and Appendix E.1).

### 5.5 The period Ω: a Chowla–Selberg formula

**The constant to recover.** § 5.1 showed that Stirling's formula reproduces $y\log y-y$. This is not enough: for the Riesz sum, the main term is not $y\log y-y$ but $y\log y-(1+\gamma)y$. A classical computation identifies the difference. Write $s=1+h$; the Laurent series of ζ gives
$$-\frac{\zeta'}{\zeta}(1+h)=\frac1h-\gamma+O(h),\qquad \frac{y^{1+h}}{(1+h)h}=y\left(\frac1h+\log y-1+O(h)\right).$$
The coefficient of $h^{-1}$ in the product is $y\log y-(1+\gamma)y$: $y\log y$ comes from the expansion of $y^h$, $-y$ from the factor $(1+h)^{-1}$, $-\gamma y$ from the regular part of the logarithmic derivative. For a nontrivial primitive character, the linear constant is $-L'(1,\chi)/L(1,\chi)$.

An arithmetic construction that claims to bound the Riesz sum at the scale $\sqrt y$ must recover these constants, not only the coefficient of $y\log y$. Let $M(y)$ be the main term. If the slope gain gives $M(y)+G(y)-E_1$ and the archimedean upper bound is $M(y)+E_2$, then $G(y)\le E_1+E_2$. But if the upper bound were $M(y)+cy+E_2$ with $c>0$, one would only obtain $G(y)\le cy+E_1+E_2$: **a discrepancy in a constant is decisive**.

In the proof, the main term is $\mathrm{MAIN}(a,w)=a\,\big(\log a-1-\gamma+\ell(\chi)-\overline{\log w}\big)$. On the archimedean side, $a\log a-a$ comes from Stirling's formula applied to $a!$; the mean $\overline{\log w}$ comes from the Γ terms of the columns (§ 5.4); and the constant comes from a term involving $\log\Omega$. The cancellation is an algebraic identity between these expressions, checked by Lean. That actual objects realize the bounds it assumes is a matter for the construction. There is a symmetry here: **the same factorial $a!$** gives Legendre's divisibility on the $p$-adic side (§ 3) and Stirling's main term on the archimedean side. Since $\log y!=\sum\Lambda(m)\lfloor y/m\rfloor$, one and the same number is measured on both sides of the product formula.

It remains to explain the term involving $\log\Omega$. The archimedean side contains $-a\log\Omega$, with
$$\log\Omega:=\gamma+\log\frac\pi v-\ell(\chi),\qquad \ell(\chi)=\frac{L'}{L}(1,\chi),$$
and it is this term that supplies the constant $-\gamma+\ell(\chi)$ of the main term. But why should the size of a geometric object know $\gamma$ and the logarithmic derivative of an L-function? The explanation rests on three classical ideas: a period is a size; a CM period is computed by values of Γ; and values of Γ translate into L-functions.

**A period is a size.** An elliptic curve over ℂ is a quotient $\mathbb C/\Lambda$. The integrals of its invariant differential $\omega=dx/y$ along loops are the **periods**, which generate the lattice Λ. For $y^2=x^3-x$, the period in question is the lemniscate constant ϖ (§ 5.3 (b)). In Arakelov geometry, the line generated by ω is given the norm $\|\omega\|^2=\frac i2\int\omega\wedge\bar\omega$, the area of the fundamental domain of Λ. The Arakelov degree of this Hermitian line, the **Faltings height** up to sign, is therefore essentially $-\log$ of the period. **A period is exactly the kind of archimedean size a slope inequality can use.**

**A CM period is computed by the Γ function.** For a general curve, no comparable formula gives the period. For a curve with complex multiplication by the ring of integers of $K=\mathbb Q(\sqrt{-d})$, Chowla and Selberg (1967) showed that it equals, up to an algebraic number and a power of π,
$$\prod_{a=1}^{d-1}\Gamma\Big(\frac ad\Big)^{\chi_{-d}(a)\,w/(4h)},$$
where $h$ is the class number and $w$ the number of roots of unity of $K$. For $\mathbb Z[i]$ ($d=4$), only $\Gamma(1/4)$ and $\Gamma(3/4)=\pi\sqrt2/\Gamma(1/4)$ appear, whence the lemniscate formula.

**From values of Γ to L-functions, in two steps.**

1. *Lerch.* Write $L(s,\chi)=d^{-s}\sum_a\chi(a)\,\zeta(s,a/d)$, with the Hurwitz zeta function. Since $\partial_s\zeta(0,x)=\log\Gamma(x)-\tfrac12\log2\pi$ and $\sum_a\chi(a)=0$,
$$L'(0,\chi)=\sum_{a=1}^{d-1}\chi(a)\log\Gamma\Big(\frac ad\Big)-L(0,\chi)\log d .$$
The logarithm of a product of values of Γ weighted by χ **is** the derivative of $L(s,\chi)$ at 0.

2. *Functional equation.* For χ real and odd of conductor $d$, $\Lambda(s)=(d/\pi)^{(s+1)/2}\Gamma\big(\frac{s+1}2\big)L(s,\chi)$ satisfies $\Lambda(s)=\Lambda(1-s)$. Differentiating logarithmically at $s=0$, with $\frac{\Gamma'}\Gamma(\tfrac12)=-\gamma-2\log2$ and $\frac{\Gamma'}\Gamma(1)=-\gamma$, one gets
$$\frac{L'}{L}(0,\chi)=\gamma+\log\frac{2\pi}d-\frac{L'}{L}(1,\chi).$$
Euler's constant appears here, through the Γ function of the archimedean factor of the functional equation.

Putting the two steps together: **the logarithm of a CM period is a combination of $\gamma$, $\log2\pi$, $\log d$ and $L'/L(1,\chi)$.** This is exactly the shape of $\log\Omega$.

**The example of $\mathbb Z[i]$, checked numerically.**

| Quantity | Value |
|---|---:|
| $L'/L(1,\chi_{-4})=\gamma+2\log2+3\log\pi-4\log\Gamma(\frac14)$ | 0.245610 |
| $L'/L(0,\chi_{-4})$ by Lerch, $\big(\log\Gamma(\frac14)-\log\Gamma(\frac34)\big)/L(0)-\log4$ | 0.783189 |
| $L'/L(0,\chi_{-4})$ by the functional equation, $\gamma+\log\frac{2\pi}4-L'/L(1)$ | 0.783189 |
| $\frac12\big(\gamma+\log\frac{2\pi}{2}-L'/L(1)\big)$ | 0.738168 |
| $\log\big(\Gamma(\frac14)^2/2\pi\big)=\log\big(\varpi\sqrt{2/\pi}\big)$ | 0.738168 |

The last row is $\log(\varpi\sqrt{2/\pi})$: the half-period ϖ, multiplied by a normalization factor $\sqrt{2/\pi}$. The last two rows are **equal**: in these normalizations, the logarithm of the normalized half-period equals one half of the expression defining $\log\Omega$ for $\mathbb Q(i)$. The link with the $v$ of $\log\Omega$ is made precise below: $v=\mathrm{rd}_E/2$.

**The statement in the proof.** A theorem of the formal proof states this relation in the required generality: **twice the Arakelov degree of an eigenline of a CM object of type (1,0) equals $\gamma+\log(2\pi/\mathrm{rd}_E)-L'(1,\chi)/L(1,\chi)$**, for Mathlib's L-function. For $E=\mathbb Q(\sqrt{-d})$, the root discriminant is $\sqrt d$, and the functional equation above rewrites the right-hand side as $\frac{L'}L(0,\chi)+\frac12\log d$. This is the Chowla–Selberg formula for the Faltings height, $h=-\tfrac12\frac{L'}L(0,\chi)-\tfrac14\log d$ (Colmez, in Deligne's normalization), provided the degree of the eigenline is identified with $-h$; this identification of conventions is our interpretation ⟦I⟧. The base case is built from an elliptic curve with complex multiplication by $\mathbb Q(\sqrt{-d})$, with $d\equiv3\pmod4$ and $d\ge7$, with period lattice $\mathbb Z+\frac{1+i\sqrt d}2\mathbb Z$.

**The normalizations.** The $\log\Omega$ of the bookkeeping inequality and the quantity in the CM theorem coincide, as one sees by unfolding three definitions. The field $E$ is the **large host field**, of degree about $x^{2+8\varepsilon}$, and not the quadratic field; $v=\mathrm{rd}_E/2$ is half its root discriminant; and $\ell=\operatorname{Re}L'/L(1,\chi_{-d})$. For $E=\mathbb Q(i)$, $\mathrm{rd}_E=2$ and $v=1$: one recovers twice the row $\frac12(\gamma+\log\frac{2\pi}2-L'/L(1,\chi_{-4}))$ of the preceding table. Two steps have not been read: the passage from the degree of the eigenline to the normalized degree, and the identification with a Faltings height ⟦I⟧.

**Ω is an area.** Adriazola [Ad, § 8.1] gives a direct geometric expression for $\log\Omega$. Normalize the period lattice Λ of an elliptic curve with complex multiplication by $\mathbb Q(\sqrt{-d})$ by $\Delta(\Lambda)=g_2^3-27g_3^2=1$, and denote by $A(\Lambda_s)$ the area of the lattice conjugated by an embedding $s$ of a field of definition $M$. Then
$$\log\Omega=\frac1{[M:\mathbb Q]}\sum_{s}\log\frac{A(\Lambda_s)}{\pi}-\log\frac{\mathrm{rd}_E}{\sqrt d}
=\Big(\gamma+\log\frac{2\pi}{\sqrt d}-\ell\Big)-\log\frac{2v}{\sqrt d}=\gamma+\log\frac\pi v-\ell .$$
The first term is the Chowla–Selberg formula in its "mean area" form. The second comes from the relative different of $E$ over the quadratic field, which shifts the coordinate line at each place. As a check, outside the hypotheses since 4 is not prime: for $\mathbb Z[i]$, the lattice of discriminant 1 is $\sqrt2\,\varpi\,\mathbb Z[i]$, of area $2\varpi^2$, and $\log(2\varpi^2/\pi)=1.476336$ is twice the last row of the table. The question asked above (why a geometric size knows $\gamma$ and $L'/L$) is thus settled at the level of the statement: Ω is the area of a fundamental domain divided by π, in the normalization where the discriminant of the curve equals 1. The area formulas are quoted in [Ad] from the author's earlier manuscript and are not proved again there.

**Why this is exactly what was needed.** The main term of the prime sum is the residue at $s=1$ of $-\frac{L'}L(s)\frac{y^s}{s(s-1)}$. Its constant comes from the Laurent expansion at 1: $-\gamma$ for ζ, and $-\frac{L'}L(1,\chi)$ for a nontrivial character; the sign $+a\ell(\chi)$ in `MAIN` arises because the inert primes are selected by $(1-\chi_{-d})/2$, which subtracts the twisted sum (§ 1.2). This constant is an **analytic** datum at $s=1$. The CM theorem says that the same datum is the geometric size of a line at a CM point. This is why the proof differentiates its theta series *at a CM point*: it is there that the archimedean size of a renormalized derivative, $a!\,\Omega^{-a}$, knows both Stirling (through $a!$) and the constant of the main term (through Ω). The term $\log(\pi/v)$ left in $\log\Omega$ is canceled by the terms $\log(w\,v/\pi)$ of the column sizes (§ 5.4).

**The double role of complex multiplication.** The same CM object is used twice. At the finite places, supersingular reduction at an inert prime and the formal group of height 2 give the odd layers of divisibility (§ 3). At the infinite places, the Chowla–Selberg formula gives the constant $-\gamma+\ell(\chi)$ of the main term, and Stirling's formula gives $a\log a-a$. The two contributions meet in the slope inequality.

| Origin | Contribution, per column and per stage |
|---|---|
| Stirling, $\log a!$ | $a\log a-a$ |
| Chowla–Selberg, $-a\log\Omega$ | $-a\gamma+a\ell(\chi)-a\log(\pi/v)$ |
| Γ terms of the columns | $-a\,\overline{\log w}-a\log(v/\pi)$ |
| total | $\mathrm{MAIN}(a,w)=a\big(\log a-1-\gamma+\ell(\chi)-\overline{\log w}\big)$ |

![The double role of complex multiplication. Arrows are conceptual links; each box refers to the statements of the export that support it.](fig/double_role_cm_en.svg)

The table above shows where each term comes from.

**From CM degrees to lattice bounds.** It remains to transport this formula down to the division of the lattice (§ 5.4). The central step can be fully reconstructed: it is a Siegel-type determinant, in which the functionals are derivatives at CM points, with values in varying number fields. A separation lemma provides independent functionals over a common field; a determinant argument over that field then bounds the quotient of the lattice by their common kernel; and changing the field costs nothing, because degrees and lengths are normalized. The statement and its proof are in Appendix E.1. What we have not read is the existence of well-bounded CM functionals.

### 5.6 Why exactness is costly, and the answer

The archimedean side is **heavy**, in contrast with the $p$-adic side: the covolume bound alone accounts for 7% of the volume, against 0.1% for the mechanism of division and slopes. To this one must add quasi-orthogonality, as well as the families of definite groups and their masses (about 15%, inside the 36% of construction); the other shares are in the table of the overview.

The contrast has the same source as in § 5.2 ⟦I⟧. A $p$-adic bound may be approximate, since it is enough to bound valuations from below. On the archimedean side, the cancellation of the main terms must be exact: it rests on equalities (the mass ratio, the CM formula, the identity for the slope of the target). The other archimedean estimates (the height of the $B_u$, the covolume bound, the size of the columns) are not equalities, but bounds precise enough to fit in the error budget. This precision has a cost: mass formulas proved in full, a quantitative Petersson formula, the Arakelov geometry of Shimura varieties.

> **Answer to question 4.** Divisibility makes it possible to divide a source lattice while preserving the integrality of a period map. A slope inequality bounds this division in terms of the norms and volumes of the target. On the archimedean side, Siegel masses, CM periods and norm formulas provide exact expressions for some terms; the others are known only through bounds, precise enough for the error budget. As with Stirling's formula, this is what allows the cancellation of the main terms, which must be exact. In the actual construction, the proof establishes it: the size of the renormalized $a$-th derivative, $a!\,\Omega^{-a}$, gives $a\log a-a$ by Stirling's formula and $-\gamma+L'(1,\chi)/L(1,\chi)$ by a Chowla–Selberg formula for the CM height, and an algebraic identity assembles these terms into the main term $\mathrm{MAIN}$. Once this cancellation is obtained, the question about zeros has been turned into a question about the sum of the losses. That question is the subject of § 6.

**Transition.** Once the main terms have canceled, the large quantities drop out of the bookkeeping. What remains is a single inequality, fluctuations ≤ losses, between the fluctuations of the prime sum and the cost of the construction. That cost has two sources, both already encountered: the fixed cost, spread over the $m$ layers (the sawtooth, the $O(\log a)$ terms), and the losses of each lift (the denominators $\mathrm{dG}_j$, the terms $C\,m\,L$ of `Count_at`). It therefore depends on a free parameter, the length $m$ of the chain. A short chain amortizes the fixed cost poorly; a long one accumulates the losses per lift. Where is the balance?

## 6. Why balancing the parameters leads to the exponent 1/2

The answer comes in three steps. In the model, the optimum lies at the scale $m\asymp\sqrt x$. The actual parameters of the formal proof bracket this optimum with margins in ε, and the bound obtained on windows is $x^{1/2+O(\varepsilon)}$; it is not the smoothed bound $O(\sqrt x)$ that the explicit formula gives for a fixed character once GRH is established. Finally, and most importantly, **a one-sided bound with an exponent strictly below 1/2 is incompatible with the known zeros**: the exponent ½ is not an accident of optimization.

### 6.1 The model: two costs, one minimum

In Stepanov's argument (§ 4.1), the bound was $p/2+\frac{m+1}2\big(p/a+a\big)$. There is a *fixed cost* $p$, paid once and spread over the $a$ orders of vanishing, and a *marginal cost*, that of one additional order of vanishing, which grows with $a$ because the $k$-th derivative adds $k\,m$ to the degree of the conditions. Writing $F$ for the fixed cost and $c$ for a constant, this leaves two terms per order of vanishing: an *amortized fixed cost* $F/a$, and a *growing contribution to the cost per step*, the term $c\,a$ linear in $a$. The latter has the same order of magnitude as the marginal cost, without being identical to it; "marginal cost" is reserved for the cost of one additional step (here an order of vanishing, later a lift). The arithmetic–geometric mean inequality does the rest:
$$\frac{F}{a}+c\,a\;\ge\;2\sqrt{cF},\qquad\text{with equality for }a=\sqrt{F/c}.$$
If the fixed cost is of the order of the size of the problem ($F\approx p$) and the coefficient of the linear term is of order 1 ($c\approx1$), the optimal error is $\sqrt p$. The optimization itself is elementary, and this is all the arithmetic there is behind the ½. The difficulty lies in constructing objects for which an error estimate of this shape can actually be established.

This calculation has the same structure as an amortized analysis in computer science, in its aggregate form: a fixed cost is spread over a sequence of operations, while their additional costs accumulate. It is a deterministic bound on the amortized cost per step, not a probabilistic average. Of the three classical methods of amortized analysis (aggregate, accounting, potential), this text uses only the first two: we have not identified a useful potential function along the chain.

It remains to check that the chain of lifts has this shape, up to margins in ε.

### 6.2 The bookkeeping inequality and its error terms

**The bookkeeping contract.** The mechanism is written as a bookkeeping theorem: eleven hypotheses on one and the same data set and, as its conclusion, the inequality $\mathrm{ASK}\le\mathrm{MAIN}+\mathrm{Err}$ for each translate. Chapter 58 of Nelson's exposition of the original route [Ne0] describes the same inequality. Two problems then separate. The **construction** problem is to realize these hypotheses simultaneously. The *bookkeeping* problem is to deduce the inequality from them, independently of how they are obtained.

Notation: $S=\mathrm{ASK}$ (the sum of the $P_{t,w_j}(a_t)$), $\Gamma$ the total net gain, $\mathcal L$ the common local terms, $E_u$ the local terms at the level and twisted places, $A=\sum_ta_t$, $h_u$ the height of the period map, $T_u$ the auxiliary prime, $\mu_R=\mu(R^\vee)$ the slope of the target lattice, $\mu(N_u)$ and $\mu(M_u)$ those of the source and base lattices. In lines A5 and A6 below, $g=\log(g_0g_1)$, where $g_0$ and $g_1$ are the two level primes of the host (§§ 5.4 and 7); in $Q$, $f$ is the cardinality of the CM type Φ, that is, the number of its places (§ 3.4). The $e_i$ are error bounds, not the loss exponents of the window.

The bookkeeping comes down to seven inequalities, denoted A1 to A7 after Nelson. In the formal proof there are eleven hypotheses: the four additional ones serve only to bound the spread of the slopes from one word to another (see "Why line A3 concerns a mean"). Proposition 3.1 of Adriazola [Ad], written independently, states the same seven inequalities, the same linear combination and the same final identity: this is a cross-check of the bookkeeping, not of the realization of the hypotheses.

**The cancellation.** Write $P=m\sum_t\varphi(a_t)-mA\log\Omega$, with $\varphi(t)=t\log t-t$, and $Q=\sum_j\frac1f\sum_\rho\log\frac{w_j(\rho)v}\pi$. In simplified form, the useful inputs read:

| | Inequality |
|---|---|
| A1 | $S\le\Gamma+e_1$ |
| A2 | $\mu(M_u)+\Gamma+\mathcal L-E_u-e_2\le\mu(N_u)$ |
| A3 | $\langle\mu(N)-h\rangle-e_3\le\mu_R$, on average over the words, weighted by the ranks $d_u$ |
| A4 | $\mu_R+h_u-\mathcal L\le P-A\log T_u+e_4$ |
| A5 | $E_u\le mAg+e_5$ |
| A6 | $\log T_u\ge Q+mg-e_6$ |
| A7 | $\mu(M_u)\ge-e_7$ |

By A1, A2 and A7, $S\le\mu(N_u)-\mathcal L+E_u+e_1+e_2+e_7$ for each word. Averaging over the words, then by A3, $S\le\mu_R+\langle h\rangle-\mathcal L+\langle E\rangle+e_1+e_2+e_3+e_7$. A4, averaged, replaces $\mu_R+\langle h\rangle-\mathcal L$ by $P-A\langle\log T\rangle+e_4$: *the heights cancel*. Finally A5 and $A$ times A6 give $-A\langle\log T\rangle+\langle E\rangle\le-AQ+Ae_6+e_5$: *the level $mAg$ disappears*. Altogether,
$$S\;\le\;P-AQ+e_1+e_2+e_3+e_4+e_5+Ae_6+e_7 .$$
By the cancellation identity (§ 5.5), $P-AQ=\mathrm{MAIN}$, since $\log v$ and $\log\pi$ cancel: **the main term appears with its sign**. This is Nelson's Theorem 58.1.1, derived as in his exercises 58.1.1 to 58.1.4, and the certificate is the combination $(1,1,1,1,1,A,1)$ of the seven lines.

**Why line A3 concerns a mean.** The source lattices $N_u$ depend on a word $u$. Line A3 takes the mean, weighted by the ranks, of the slopes of the sources minus the heights, and compares it with the slope of the target. It is usable only if these slopes do not spread from one word to another. When two words are compared, the term $\Gamma+\mathcal L$ disappears by subtraction; what remains is the variation of the local terms and of the heights, which the auxiliary hypotheses of the bookkeeping theorem bound. The error $e_3$ then remains of the order of the logarithm of the number of words, plus a multiple of the spread bound and of the size $b$ of a term. The details, and the cross-check with Adriazola, are in Appendix E.2.

**The error bound.** The final theorem of the bookkeeping bounds the total gap between the prime sum and its main term, summed over the columns $t$ and the lifts $j<m$:
$$\sum_{t}\sum_{j<m}\big(\mathrm{ASK}-\mathrm{MAIN}\big)\;\le\;x^{C\varepsilon}\,\mathcal E,\qquad\mathcal E=n_T\,a\Big(1+\frac{m^2}k\Big)+m\Big(2\,n\,m\,b\,x^\varepsilon+\frac{n_{T2}\,k\,b\,x^{2\varepsilon}}{n^2}\Big).$$
Here $n$ is the order of the group $H$ of the host (§ 3.4), $k$ the base rank of the lattices, $n_T$ the number of columns, $n_{T2}$ that of the thick positions, $b=e^{x^\varepsilon}$ the threshold of the weights at the thick places and $a\le2xb$ the size of a column.
There are $n_T\,m$ terms, each of natural size $b$. Divide the error bound $\mathcal E$ by $n_Tmb$:
$$\frac{\mathcal E}{n_Tmb}=\frac a{mb}+\frac{am}{kb}+\frac{2n}{n_T}\,m\,x^\varepsilon+\frac{n_{T2}}{n_T}\,\frac k{n^2}\,x^{2\varepsilon}.\tag{E}$$
With $a\le2xb$, $n_T\ge n\,x^{-\varepsilon/8}/2$ and $n_{T2}\le n$ (whence $n_{T2}/n_T\le2x^{\varepsilon/8}$), this gives $x^{O(\varepsilon)}(x/m+xm/k+m+k/n^2)$. The constraints $k\ge xm$ and $k\le n^2x^{1/2-\varepsilon}$, which are compatible only if $xm\le n^2x^{1/2-\varepsilon}$, then reduce the error *per term*, up to $x^{O(\varepsilon)}$, to
$$\text{normalized error}\;\lesssim\;\underbrace{\frac{4x}{m}}_{(1)}+\underbrace{4m}_{(2)}+\underbrace{2\sqrt x}_{(3)} .$$

Each term has an identifiable origin, and each has its counterpart in Stepanov's argument.

1. **The amortized fixed cost.** The term $n_T\,a$ is paid once per column, whatever the value of $m$. It collects the remainders of the division, of the slope of the starting lattices and of the column sizes: these are properties of the lattice, paid once, whereas the prime sum is compared $m$ times. Spread over the $m$ lifts, it becomes $x/m$. The factor $1+m^2/k$ would be dangerous if $m^2$ exceeded $k$. This is exactly what the constraint $k\ge x\,m$ prevents: it gives $m^2/k\le m/x\le1$. **This is the purpose of the gigantic base rank**, $k\ge x^{3/2-\varepsilon}$.
2. **The term linear in $m$.** The term $2n\,m^2b$ is a total cost, quadratic in $m$; the marginal cost, that of one additional lift, is therefore linear in $m$, and so is the growing contribution to the cost per step. In the formal proof, the loss of each word is proportional to the length of the chain, and the per-lift budget itself satisfies $B_0\le2\,n\,m\,b\,x^\varepsilon$. In Stepanov's argument, the $k$-th derivative costs $k\,m$ conditions. Here, the $j$-th lift operates in rank $k+j(t_r+1)$, which grows linearly with $j$ ⟦I⟧. We do not reconstruct here why these losses stay small after summation over all places (number of places, local degrees, weights, factors $f$ and $N$).
3. **An upper bound.** The last term is bounded by $\sqrt x$ thanks to another size constraint, $k\le n^2x^{1/2-\varepsilon}$. The parameters are calibrated so that nothing exceeds $\sqrt x$, up to $x^{O(\varepsilon)}$.

Since $x/m+m\ge2\sqrt x$, the optimum of the model is $m=\sqrt x$. The code does not impose this point, but a window around it, with margins in ε:
$$x^{1/2-\varepsilon}\;\le\;m\;\le\;x^{1/2+\varepsilon/2},$$
and the error is then $x^{1/2+O(\varepsilon)}$.

![Error per term of the chain for $x=10^6$: $4x/m+4m$, minimal at $m=\sqrt x=1000$. The code imposes $m\in[x^{1/2-\varepsilon},x^{1/2+\varepsilon/2}]$, a narrow window around this minimum.](fig/chaine_equilibre_en.svg)

*Caution*: $m$ is the **length of the chain**, not the rank of the lattices.

**Feasibility of the exponents.** Optimizing the reduced bound does not yet say that the parameters are admissible. Write $m=x^\alpha$, $k=x^\kappa$, $n=x^\nu$, and require each of the four terms $x/m$, $xm/k$, $m$, $k/n^2$ to be at most $x^\theta$:
$$1-\alpha\le\theta,\qquad1+\alpha-\kappa\le\theta,\qquad\alpha\le\theta,\qquad\kappa-2\nu\le\theta.$$
For $\theta=\tfrac12$, the first and the third constraints ($1-\alpha\le\theta$ and $\alpha\le\theta$) force $\alpha=\tfrac12$, then $1\le\kappa\le2\nu+\tfrac12$: the model alone requires only $\nu\ge\tfrac14$. But the actual window $xm\le k\le n^2x^{1/2-\varepsilon}$ forces $\kappa\ge\tfrac32$, hence $\nu\ge\tfrac12+\tfrac\varepsilon2$. The construction chooses a much larger value, $n\asymp x^{2+8\varepsilon}$, and [R2] reports $k\asymp x^{9/2+10\varepsilon}$, so $k/n^2\asymp x^{1/2-6\varepsilon}$: the constraint on $k/n^2$ holds with room to spare, and it is therefore other constraints of the construction, not reconstructed here, that fix the size of the host. This computation shows neither that these parameters are admissible in Lean, nor that an exponent would be an obstruction for any other method; a linear program on the exponents of the constraints actually extracted would tell which ones are active.

### 6.3 Why the exponent ½ is optimal, and what this imposes on the losses

**The observed fluctuations and the analytic threshold.** We compute $G(y)$ directly from the primes up to $10^7$ and compare it with the explicit formula of § 1.2, truncated to the first ten zeros of ζ:

![$(G(y)-\log2\pi)/\sqrt y$, computed from the primes (blue) and predicted by the first ten zeros $\tfrac12+i\gamma$ (dashed red). The curves are close at this scale; a numerical experiment over a finite interval proves neither RH nor an asymptotic bound.](fig/fluctuations_en.svg)

The constant $\log2\pi$ comes from the residue at $s=0$ for ζ. Each zero $\rho=\frac12+i\gamma$ contributes a wave $-2\,\mathrm{Re}\,y^{\rho}/(\rho(\rho-1))$, of amplitude $\approx2\sqrt y/\gamma^2$. These waves do not die out: ζ has infinitely many zeros on the critical line (Hardy), and $G(y)/\sqrt y$ does not tend to 0. For $\psi$ itself, Littlewood even proved that $\psi(x)-x=\Omega_\pm(\sqrt x\,\log\log\log x)$. **A global bound $O(y^{\theta})$ with $\theta<\tfrac12$ is impossible**, since the zeros on the critical line give poles of the Mellin transform of $G$.

**Counterexamples: other trade-offs.** Consider a method of the same shape, with a fixed cost $x$ and a loss per lift of order $m^\beta$. For $\beta>0$, the optimal scale is $m\asymp x^{1/(1+\beta)}$, and the error is $x^{\beta/(1+\beta)}$. By Landau (§ 1.4), an error $x^\theta$ excludes zeros of real part $>\theta$.

| Loss per lift | Scale of $m$ | Error | What one would prove, if this model were a valid global budget |
|---|---|---|---|
| $m^{1/2}$ | $x^{2/3}$ | $x^{1/3}$ | **incompatible** with the critical zeros: some hypothesis of the model (or the analytic reduction) must fail |
| $m$ (Alpöge) | $x^{1/2}$ | $x^{1/2}$ | **GRH** |
| $m^2$ | $x^{1/3}$ | $x^{2/3}$ | only the absence of zeros for $\operatorname{Re}s>2/3$ |
| constant | any $m\gtrsim x$ (the infimum is the constant) | $O(1)$ | **incompatible** with the critical zeros, with the same proviso |

If both costs are varied at once, the general model $x^\alpha/m+m^\beta$ (with $\alpha,\beta>0$) has a minimum of order $x^{\alpha\beta/(1+\beta)}$, at $m\asymp x^{\alpha/(1+\beta)}$. For instance, $\alpha=3/4$ and $\beta=2$ also give the exponent $1/2$. Linearity is therefore not a universal necessity. It is decisive in the particular architecture where the fixed cost is of order $x$ and the other terms are already at most of order $\sqrt x$. In the actual error bound, the extra term of order $\sqrt x$ remains: no contradiction can be derived by optimizing the other two terms alone.

In fact a single singularity suffices to exclude even $G(y)=o(\sqrt y)$, without any numerical data. For a zero $\rho=\frac12+it$, the transform $\int_1^\infty G(y)y^{-s-1}dy$ has at ρ a pole with nonzero residue; so $h\int_1^\infty G(y)y^{-\rho-h-1}dy$ tends to this residue as $h\downarrow0$. If one had $G(y)=o(\sqrt y)$, this quantity would be $h\cdot o(1/h)\to0$: a contradiction.

The third line of the table also shows what separates GRH from a mere zero-free region. With a quadratic loss per lift, if all the other controls remained valid, the model would give a zero-free region $\operatorname{Re}s>2/3$, which would already be a new result. **The linearity of the loss per lift is what makes the method a proof of GRH** ⟦I⟧. That is why the control of the losses is a sensitive point of the construction.

### 6.4 The ε, and the conclusion

**What remains of the average over the columns?** In § 6.2, we divided the error bound $\mathcal E$ by the number of terms and by their natural size, that is, by $n_Tmb$. But in the character sum, only a proportion $\delta_2=|T_2|/|H|$ of the group is involved, where $H$ is the group of § 3.4 and $T_2\subset H$ the set of thick positions. Set $X=x^{1/2+\varepsilon}$, let $G_*$ denote the sum of the level minus the upper bound for the unwanted characters, and write $e_D$ and $e_L$ for two fixed exponents, specified below. After summation over the translates, the orthogonality of characters gives
$$
 \frac{\delta_2}{2}(G_*-4X)
 \;\le\; x^{(e_D+e_L+3)\varepsilon}\frac{\mathcal E}{n_Tmb}+\frac2x .
$$
The rarer $T_2$ is, the less this inequality tells us about $G_*$. This is where the density guaranteed by the host, $\delta_2\ge x^{-\varepsilon}$, is used. The four terms of (E) give $\mathcal E/(n_Tmb)\le 10x^{1/2+13\varepsilon/8}$. Dividing by $\delta_2/2$ and absorbing the constants for $x$ large enough, we obtain $G_*\le x^{1/2+(e_D+e_L+6)\varepsilon}$. The unwanted characters cost at most a further $4oX$, where $o$ is fixed by the level. Putting them back, we obtain the bound announced earlier,
$$G_\psi(x)\le x^{1/2+(e_D+e_L+7)\varepsilon}.$$

**For which family does this computation hold?** Fix the primitive character $\psi$ and take $\lambda=3/2$. At each scale retained, two things are required of the same host. Its columns must sample the characters of the level of $\psi$. It must also satisfy a bound of Tate–Shafarevich type (Ш), needed for the construction of the chain. In the formal proof, a single witness satisfies both conditions. From these hosts, a supply hypothesis gives the division exponent $e_D$ and the loss exponent $e_L$, as well as a threshold $\varepsilon_1>0$. Each $0<\varepsilon<\varepsilon_1$ then has its own family. Once the thresholds of the host and of the chain are exceeded, the computation can be applied to their data at the same index. The family may therefore change with $\varepsilon$, while the two exponents remain fixed.

**From the bound to a zero-free point.** Let $\beta=\operatorname{Re}s>1/2$. Fix $1/2<\theta<\min(\beta,1)$ and set $C=e_D+e_L+7$. The choice
$$\varepsilon=\min\!\left(\frac{\varepsilon_1}{2},\,\frac{\theta-1/2}{|C|+1}\right)$$
gives $0<\varepsilon<\varepsilon_1$ and $C\varepsilon\le\theta-1/2$, whatever the sign of $C$. Take the corresponding family, then its threshold $x_1$. For every $t$, it supplies a window starting at $Y\ge\max(t,x_1,1)$. **For each** $x\in[Y,Y^\lambda]$, the upper bound applies and $x\ge1$, hence
$$G_\psi(x)\le x^{1/2+C\varepsilon}\le x^\theta.$$
The set where $G_\psi(x)\le x^\theta$ therefore contains entire windows arbitrarily far away. This is the hypothesis that gives $L(s,\chi_j)\ne0$ for each $\chi_j\in K_\psi$ since $\beta>\theta$. The primitive character $\psi$ belongs to this level. To pass to a character of arbitrary modulus, it remains to restore the Euler factors of § 1.1, with the condition $\chi\ne1$ or $s\ne1$. The deduction can thus be followed from end to end, taking for granted the supply of hosts, the construction of the chain, its estimates of slopes and of characters, and the analytic data on L-functions.

**Why fix the losses before $\varepsilon$?** In a scalar model, take $C(\varepsilon)=1/\varepsilon$ and $G(x)=x$ for $x\ge1$. The bound $G(x)\le x^{1/2+C(\varepsilon)\varepsilon}=x^{3/2}$ holds everywhere. Yet $G(x)>x^\theta$ for every $x>1$ and every $\theta<1$. The deduction only requires being able to make the exponent loss as small as desired. Fixing $e_D,e_L$ before choosing $\varepsilon$ guarantees this.

**Is the bound needed at every point of the window?** No, and the reason is elementary [Ad, Theorem 6.2]. The function $G(y)+y\log y=(1+\gamma)y+\sum_r\Lambda(r)(y/r-1)_+$ is convex, as a sum of convex functions. Between two points $u<v$ where one knows $G\le Cy^\theta$, it stays below its chord, and the gap between $y\log y$ and its own chord is at most $(v-u)^2/(8u)$. With points spaced at most $Kx^{3/4}$ apart, this gap is at most $K^2\sqrt y/8$: it suffices to construct the chain at the points of a **mesh of step $x^{3/4}$**. The formal proof does not use this economy, as far as we have read it: its upper bound holds for each $x$ of the window.

### 6.5 The answer

Balancing the parameters costs almost nothing in itself: a few inequalities between parameters. The ½ is a **constraint the objects must satisfy**, not a hard theorem. What is costly is constructing families that satisfy it: hosts of degree $\approx x^{2+8\varepsilon}$, ranks $k\ge x\,m$, and losses per lift linear in $m$ (§ 7). The inequality of § 6.2 is itself pure bookkeeping.

> **Answer to question 5.** The dominant model of the losses has two parts, plus a remainder controlled by the other size constraints. A fixed cost, of order $x$, is the imprecision of a single layer of divisibility, and it is spread over the $m$ lifts: this is the amortized fixed cost, $x/m$. The marginal cost, that of one additional lift, is linear in $m$; it is bounded in the formal proof by a term in $m$, and it gives a growing contribution to the cost per step. Its precise link with the growth of ranks remains to be reconstructed. In the model, the sum of the two terms, $x/m+m$, is minimal at $m=\sqrt x$, where it equals $2\sqrt x$, exactly like $p/a+a$ in Stepanov's argument. The actual parameters carry margins in ε: the bound established on windows is $x^{1/2+O(\varepsilon)}$, not the smoothed bound $O(\sqrt x)$ that follows for a fixed character once GRH is established. This ½ is not accidental. A zero on the critical line rules out any exponent strictly below $1/2$ (§ 6.3); the figure shows the fluctuations up to $10^7$, without proving it. In this architecture, the exponent is reached where two terms of the normalized error meet, the other terms being controlled: one, $x/m$, is inversely proportional to $m$, and the other is linear in $m$. With a quadratic loss per lift, the method would only prove a zero-free region.

### Workshop 5. The comparison in a lattice

The principle of §§ 2 and 5 fits in one line. For an integral lattice with basis $v_1,\dots,v_n$ and matrix $A$, divisibility bounds $\log|\det A|$ from below and Hadamard's inequality bounds it from above:
$$\sum_pe_p\log p\;\le\;\log|\det A|\;\le\;\sum_i\log\|v_i\|,$$
where $p^{e_p}$ divides $\det A$. The columns $(1,1)$ and $(1,7)$ give $\det A=6$, divisible by 2 and by 3, and a product of lengths $\sqrt2\cdot\sqrt{50}=10$; the Gram determinant is $36=6^2$. With families of vectors, the final assembly of the proof is a comparison of the same kind, between three real numbers.

**The exercise** (after P. D. Nelson [Ne], ch. 35). A family of $n$ independent vectors in a space of dimension $d$, with $\tfrac d2\le n\le d$, is subject to three bounds. We write $c$ for the logarithmic bound on the Gram determinant and $\delta$ for the logarithmic cost of making the vectors integral. Assume
$$d(H-3F)\le c+2\delta,\qquad c\le n(H-\rho+F),\qquad \delta\le dI .$$
The first bound forces a family that spans almost the whole space to pay in size or in denominators. The second expresses the gain $\rho$ obtained on the size of each vector. The third limits the cost of the denominators. Show that, if $H+F\ge0$, then $n\rho\le d(4F+2I)$.

*Solution.* Chaining the three bounds, $d(H-3F)\le n(H-\rho+F)+2dI$, hence, exactly, $n\rho\le d(4F+2I)-(d-n)(H+F)$. Since $n\le d$ and $H+F\ge0$, the last term is nonpositive, hence $n\rho\le d(4F+2I)$; with $n\ge d/2$ and $F,I\ge0$, $\rho\le8F+4I$. The gain per vector is thus bounded by the errors alone, and this is what bounds the remainder of the prime sums.

*Counterexample.* The hypothesis $H+F\ge0$ cannot be dropped. With $d=2$, $n=1$, $H=-10$ and $F=I=\delta=0$, the family $c=-20$, $\rho=10$ satisfies the three bounds, but $n\rho=10>0=d(4F+2I)$.

**What does the index measure?** Take as target $L=\mathbb Z$ with its usual metric and an integer $q>1$. The vector $q$ spans a sublattice of index $q$, but it is already integral. Its cost is therefore $\delta=0$. For the vector $1/q$, one must multiply by $q$, hence $\delta=\log q$. The term $c+2\delta$ of the exercise can now be computed. In full rank over $\mathbb Q$, without torsion and for a rational Gram metric, write $L$ for the target lattice, $M$ for the lattice spanned by the vectors and $J=M\cap L$. To make the vectors integral, their combinations must span a sublattice of $J$. A basis of $J$ therefore attains the smallest cost, $\log[M:J]$. Since $\operatorname{covol}(J)=[M:J]\operatorname{covol}(M)$ and the Gram determinant is the square of the covolume, the minimal values satisfy
$$c+2\delta=2\log\operatorname{covol}(J).$$
In incomplete rank, a direction is missing from this computation. Thus $e_1$ keeps the same length in $\mathbb Ze_1\oplus t\mathbb Ze_2$ for every integer $t>0$, whereas the covolume of the target is $t$.

**In Sernau's proof.** `IndexLe` asks, at each prime, for integral combinations that work for all the allowed twists simultaneously. In `New.star_inequality`, the exercise applies with $H=\mathrm{mainAmount}$, $F=f\,a\,(\log b)^4$, $\rho=m\cdot\mathrm{rem}$ and $I=10\log(1+2b^2)\cdot f\,a\,(\log b)^3$. The sign condition comes from `mainAmount_nonneg`, and $4/b^2\le\tfrac12$ gives $d_T\le 2n$. The three bounds of the exercise and its conclusion have names there:

- the lower bound is **Theorem C** (`New.Data.integral_forms_long`);
- the short forms and their index form **Theorem A** (`span_short_integralRamified_eq_top`, `indexLe_normalizedPoincare`);
- the fact that few translates span almost the whole target is **Theorem B** (`enough_forms`, unrelated to the arc Theorem B of § 7);
- the conclusion is `New.star_inequality`, namely $m\cdot\mathrm{rem}\le f\,a\,(\log b)^5$.

Theorem C also controls the cost of completing a family of incomplete rank. It accounts for 45% of the weight of the shortened proof, through the Selmer bounds and the construction of Galois representations. In the original proof, the covolume can also be followed down to the bookkeeping inequality (§ 6.2). The covolume bound for the modules first bounds from above the normalized logarithmic covolume of each module $M_j$. Gluing these modules brings in the determinants and the corrections at the finite places, and yields an upper bound for the slope of the dual lattice. The division bound (A4) then combines this slope with the height of the period map and the local terms. This identification is made at the level of roles, and has been checked at several points against the two exports ([Co], §§ 8 and 9). The "types" of the divisor inequality of the archive (§ 5.4) are the twists of the shortened proof; the lattice glued place by place is its twisted lattice; the factorization hypothesis is its volume factorization theorem; and the covolumes of the modules correspond to the "cost of a lift" ([VL, Theorem 36.4]). The term $H=\mathrm{mainAmount}$ collects what the bookkeeping of the archive eliminates in three separate cancellations.

**Two differences between the routes.** The first is a difference in the underlying construction, established on the two exports. In the archive, the $m$ lifts are twisted by the same character $\xi$; in the shortened proof, the $j$-th is twisted by the power $\xi^{\,j}$, hence the condition that $\xi,\xi^2,\dots,\xi^m$ remain nontrivial. The second concerns the exponent ½. In the archive it comes from the trade-off of § 6.1 between an amortized fixed cost, of order $x/m$, and a growing contribution to the cost per step, of order $m$. In the shortened proof the final error involves $1/m$ alone, and it is a size constraint that forbids taking $m$ beyond $\sqrt x$: the gap between the weights of two consecutive lifts must dominate the ranks. The term linear in $m$ of the archive has become a condition on the data; this is our interpretation ⟦I⟧.

**Transition.** The exponent ½ emerges from an almost elementary calculation. The true difficulty of the proof lies elsewhere: the objects that must satisfy the constraints of this calculation simultaneously are far from elementary. In the parameter regime of this construction, the ½ depends in particular on the linear control of the losses and on the possibility of dividing the lattices; other architectures might reach the same precision by other means. We know what these objects must do; we still need to understand why they exist. The last section of Part I does not prove that they do. It says what these conditions cost: Tate–Shafarevich groups to bound, Galois representations to construct, and the local Langlands correspondence to supply.

## 7. The losses, and the theories they call on

The mechanism of §§ 2–6 fits in a few pages. It works only under three conditions. The losses must remain *linear* in the length of the chain (§ 6). The *division* of lattices must be possible without losing the profile gained (§§ 4.3 and 5.4). On the archimedean side, the cancellation of the main terms must remain *exact* (§ 5). § 5 explained how the last two are used (covolume, Theorem S, masses); this section says what it costs to obtain them. These conditions have three costs, which the rest of the proof bears.

### Three difficulties hidden behind an inequality

At this point, the reader may reasonably wonder why the proof needs so many theories. We have written down a few relatively simple inequalities, and yet their justification requires millions of declarations. The reason is that each arrow of the argument carries simultaneous obligations: not only must the operator exist, but its image must have the right rank, its coefficient must be integral at the relevant places, its cost must be under control and its norms must be computable. A single failure can wipe out the precision sought.

**A projection model.** Consider $T=\begin{pmatrix}0&1\\0&\ell\end{pmatrix}$ for a prime $\ell$. The eigenvalues are 0 and $\ell$, distinct over $\mathbb Q$. The projector onto the $\ell$-eigenspace is

$$P=\frac{T}{\ell}=\begin{pmatrix}0&1/\ell\\0&1\end{pmatrix}.$$

It satisfies $P^2=P$, but is no longer integral. Why? The two eigenvalues become equal modulo $\ell$, and isolating an eigenspace requires dividing by their difference. Hecke operators provide much richer systems of eigenvalues, and congruences can make it costly to isolate the arithmetically useful forms. The model shows why a denominator can appear even when all the initial operators are integral.

In many automorphic problems, Galois representations make it possible to translate congruences between eigenvalues into cohomological information about representations. Groups of Tate–Shafarevich type then measure certain obstructions, or classes satisfying local constraints. One need not master these theories to understand what has to be controlled: the amount of divisibility lost when additional arithmetic conditions are imposed.

**(a) Hecke denominators, and Tate–Shafarevich groups.** To isolate the useful forms, one projects onto Hecke eigenspaces. This projection does not preserve integral lattices. Its denominators may come from congruences between systems of eigenvalues, and they cost part of the divisibility gained. In many automorphic problems, such congruences can be read off from extensions of Galois representations: this is the *motivation* ⟦I⟧ for the role of Ш, not a general implication. What the proof does is more precise: it bounds the length of Tate–Shafarevich groups of Tate twists over the host:
$$\sum_\ell\log\ell\sum_{1\le e<x^{401}}\operatorname{len}\,\mathrm{Sha}^1_\ell\big(E,\mathbb Q_\ell/\mathbb Z_\ell(-e)\big)\;\le\;\exp(x^\varepsilon/2).$$
This is the exact statement of the formal proof: the lengths of Ш are finite for all twists $e<x^{401}$, and their weighted sum is at most $\exp(x^\varepsilon/2)$. Alpöge's note presents the result as a bound polynomial in the conductor, effective and uniform in ℓ; we have not read the intermediate statement that would give this dependence. The bound is obtained by Eisenstein congruences on $U(3)$ and $\mathrm{GSp}_4$, in the style of Ribet and Mazur–Wiles, with Kato's Euler system, Soulé-type bounds and Ferrero–Washington ($\mu=0$). The part of opposite parity goes through Bernoulli numbers. The constant 401 bounds the range of twists. Alpöge: "fight for a significant weakening of Vandiver". In the formal proof, this bound is supplied together with the host field, and it bounds the mass of the twisted places within the per-lift loss budget, on which the division depends. The route through Hecke denominators described above is our interpretation ⟦I⟧; the statements do not make it explicit.

**An exact model of integrality losses.** Let $R$ be a discrete valuation ring with uniformizer π and residue field with $q$ elements, and $L\subseteq L'$ two lattices of the same rank. The Smith normal form gives bases with $L'=\bigoplus_iRe_i$ and $L=\bigoplus_iR\pi^{a_i}e_i$, hence
$$\operatorname{len}_R(L'/L)=\sum_ia_i,\qquad\log|L'/L|=\log q\sum_ia_i.$$
Dividing by local exponents is thus an additive loss of length, and for a chain $L_0\subseteq\cdots\subseteq L_m$ of the same rank, $\operatorname{len}(L_m/L_0)=\sum_j\operatorname{len}(L_j/L_{j-1})$. If finite defect modules $M_w$ inject **jointly** into a finite module $H$, that is $\bigoplus_wM_w\hookrightarrow H$, then $\sum_w\operatorname{len}M_w\le\operatorname{len}H$. Separate injections do not suffice: with $H=R/\pi R$ and several copies $M_w=H$, each injection exists, but the sum of lengths exceeds $\operatorname{len}H=1$. This is the shape that a control of the twisted places by lengths of Ш would take: it would need a **joint** morphism, or else an explicit multiplicity factor would have to be paid. The model is a possible mechanism ⟦I⟧: the actual morphism (restriction, quotient, Selmer group, or a mere counting inequality) has not been identified in the export.

**What the local defect is.** The statement of the local datum in the formal proof takes us beyond the motivation. At each twisted place $w$, of characteristic ℓ, the proof has a local Hecke algebra $T$ acting on a free module $M$, a lattice $L\subset M\otimes\mathbb Q_\ell$, and a partition of its eigensystems into "good" and "bad" ones, with eigenspaces $E_{\rm good}$ and $E_{\rm bad}$. The local defect, written $\eta_{\rm loc}$, is the length of
$$\big(E_{\rm good}\cap(L+E_{\rm bad})\big)\big/\big(L\cap E_{\rm good}\big),$$
that is, the quotient of the projection of $L$ onto $E_{\rm good}$ by the trace of $L$ on $E_{\rm good}$: it is **the congruence module** of Ribet and Wiles. In the projection model above, $T=\begin{pmatrix}0&1\\0&\ell\end{pmatrix}$, $L=\mathbb Z^2$, the projection of $L$ onto the eigenspace for ℓ is $\mathbb Z(1/\ell,1)$, its trace is $\mathbb Z(1,\ell)$, and the quotient is $\mathbb Z/\ell$: the defect is $1=v_\ell(\ell-0)$, exactly the denominator of the projector. The motivation by Hecke denominators is therefore the very definition of the quantity that Ш must bound. The local bound, as stated in the export, is
$$\eta_{\rm loc}\;\le\;\sum_{\pi\ \text{good}}\mathrm{mult}(\pi)\Big(\sum_{0<e<t}\operatorname{len}\text{Ш}(\ell,e)+\text{local terms}\Big),$$
under hypotheses involving the Galois representations attached to the eigensystems and the characters $\chi\cdot\mathrm{cyc}^{-(c-1)}$, which are Tate twists. Its proof goes through $p$-adic Hodge theory and Artin reciprocity; its pattern is that of Ribet's method ⟦I⟧, where congruences produce cohomology classes whose size Ш bounds. We have not reconstructed it.

**How Ш enters.** The mass of the twisted places at stage $j$ is bounded by size terms and by a sum over the residue characteristics of the twisted places, each prime ℓ counted only once, with term $\log\ell\sum_{1\le e<t}\operatorname{len}\text{Ш}(\ell,e)$. Ш thus enters once per prime, with an **explicit multiplicity factor** $d_{Z_0}(j)$, the dimension of the space of the $j$-th lift for the untwisted chain: this is the second scenario of the model of integrality losses. The places concerned are those whose residue characteristic is one of the two level primes $g_0\ne g_1$ attached to the host (the primes whose logarithms already appear in the column size, § 5.4), and not $q$ or $d$. The link between a local defect and the lengths of Ш lies in a proof that we have not read. The size of the bound, on the other hand, is not the obstacle: with $b=e^{x^\varepsilon}$, $\exp(x^\varepsilon/2)/b=\exp(-x^\varepsilon/2)$, which absorbs any polynomial factor in $x$.

**Ш at two primes only.** Adriazola [Ad, § 17] organizes this step in the same way, which corroborates the preceding account. The defect $\eta(M,G)$ of a Hecke lattice $M$, relative to the eigensystems $G$ that appear in the lift, is the length of $\pi_GM/(M\cap V_G)$: the congruence module above, for which he cites Hida and Ribet. Its weighted sum $H_j$ over the twisted places at stage $j$ satisfies [Ad, Theorem 17.10]
$$H_j\;\le\;R_j^{\rm tw}+d_j^0\big(V_{g_0}+V_{g_1}+O_\varepsilon(b)\big),\qquad V_l=\log l\sum_{e=1}^{t-1}\operatorname{len}\,\text{Ш}_l(E,e),$$
where $d_j^0$ is the dimension of the lifted space. **The Tate–Shafarevich groups intervene only at the two level primes** $g_0,g_1$, which are large: $l\ge(kb)^8$. The formal proof establishes this bound term for term, for $l\in\{g_0,g_1\}$ and at each stage. At the other characteristics, Ш does not appear: after elimination of the unwanted eigensystems by integral Hecke operators built from the Galois representations, the defect is zero for every large prime outside an exceptional set of bounded size, and at most $2C\,f\,m\,b$ at the two ramified primes $q$ and $d$. In Adriazola's reconstruction, these comparisons are assumed [Ad, Hypotheses 17.2 to 17.9].

**Why a congruence costs slope.** The same section of Adriazola says where this defect enters the bookkeeping. Let $M$ be a Hermitian lattice, $W$ the subspace of lifted forms, $\Pi$ the orthogonal projection of $M$ onto $W$, $\Pi^\circ=M\cap W$ and $\Pi^\#$ the dual of Π in $W$. Then $\Pi^\#\subseteq\Pi^\circ\subseteq\Pi$ when $M$ is integral, and [Ad, Lemma 17.13]
$$\operatorname{disc}_w(\Pi)=\operatorname{len}_w(\Pi/\Pi^\circ)+[\Pi^\circ:\Pi^\#]_w .$$
The first term is the congruence module; the second is zero if $M$ is unimodular, and at most $\dim W\cdot v_w(a)$ if $aM\subseteq M^\#$. The discriminant of the projected lattice, hence the slope of the target $R^\vee$, increases by exactly the length of the congruence module: **a congruence between lifted forms and unwanted forms raises the upper bound in the slope inequality**, and it is this increase that Ш must bound. On $\mathbb Z^2$ with the swap of coordinates and $W=\mathbb Q(1,1)$, we have $\Pi=\frac12\mathbb Z(1,1)$ and $\Pi^\circ=\Pi^\#=\mathbb Z(1,1)$, and the discriminant at 2 is 1. This is why the bound on Ш enters line A4 of the bookkeeping inequality (§ 6.2), the line of the division, and not the line of gains. The formal proof proceeds in this way: there the defect is the local length of the quotient of two lattices, a lemma compares it with a local index, and the theorem that bounds the slope of the dual of the target (§ 5.4) takes as a hypothesis an upper bound for these indices at the twisted places. We have not unfolded the two lattices in question; the identification rests on the form of the statements.

**(b) Galois representations.** The congruences require Galois representations attached to polarized automorphic forms on unitary groups, with local-global compatibility. The project builds them **without the étale cohomology of Shimura varieties**:

- first by theta lifting;
- then by **geometric realization in weight 1** in coherent cohomology (holomorphic Lefschetz formula);
- finally by **ℓ-adic congruences**.

**(c) The local Langlands correspondence, only in part.** It is proved only in **depth zero** (Green's theory of the characters of $\mathrm{GL}_n(\mathbb F_q)$), with arbitrary values elsewhere. The proof invokes the correspondence only at places where this version suffices.

**And the construction of the arithmetic objects**, the heaviest share (36% of the volume, against 8% for the bounds on Ш and 6% for the Galois representations; see the table in the overview): families of definite Hermitian spaces with prescribed signatures, discrete-series parameters, theta kernels with integral coefficients, rationality of periods (test vectors, Siegel–Weil), quasi-orthogonality, covolume.

---

### Preserving the gains: Behrend, clusters and arcs

Producing local gains is not enough; their positions must also not interfere with one another along the Frobenius orbits. This is the role of the sets without short relations of § 3.5, whose construction is **Behrend**'s: an almost dense selection (density $N^{-c/\sqrt{\log N}}$) with few structured collisions. Alpöge's note says so at step 19: "precise choice of the Iwasawa tower, specifically using Behrend!!". The export makes it possible to follow what this construction preserves, and through which channel.

**A proved but unused clause.** The formal proof constructs a set of positions $T_2$ of Behrend density, at least $n_0\exp(-C\sqrt{\log n_0\log L})/L$, with no three-term relation. For every translate and every long enough orbit, **every window of $L$ consecutive steps contains at most two of its points**, and the whole orbit at most one if it is short. But this theorem is *inert*: it enters a bundle whose consumers extract only other clauses (Part II, "Redundant structure and alternative constructions").

**The channel actually used.** The useful property is carried by a condition on the host. On a long orbit, it implies that at most two thick places fall in a window. The thick letters therefore group into clusters of at most two, separated by runs of non-thick letters. This is the hypothesis used, stage by stage, by the control of the losses along the orbit. The chain of dependencies leads to the control of the twisted places, **not to the gains**: the Behrend property is not used to realize the weights of the gains.

**The arc Theorem B.** The lemma on words is a theorem of the formal proof, written here $B_{\rm arcs}$ to distinguish it from the Theorem B of Sernau's rewriting. We have read it at the level of its statement and mechanism. A letter is *thick* if its size falls in a band $[b,b+\eta]$. For a morphism of crystalline lattices (Wach modules [Wa]), the exponent of the morphism is bounded by $C(n+1)\,r\,(h/l^2+(w+\eta)/l+S+1+\log_l(2h)+\eta\cdot\text{band})+C\,n\,m\,e'$ under one of two hypotheses: either the orientations alternate and there are never three consecutive thick letters; or the orientation is constant and there are never $R$ consecutive thick letters, in which case the term $S+1+\log$ is multiplied by $R^2$. The size conditions ($20w,20\eta,20S\le b$, at least one non-thick letter) and the Hida setting are also needed: Behrend's combinatorial condition is not enough by itself. The orbit is cut into **arcs**, which end at a letter followed by a non-thick letter, and the cost of an arc is bounded by the square of its length. If the cost of a cluster of length $r$ is bounded by $Cr^2$ with $r\le R$, the total is at most $CR\sum r$: this model explains the linear control, without claiming that the actual cost grows quadratically. $B_{\rm arcs}$ is an upper bound, not a lower bound. It is the "inert primes" step of the control of the twisted places; we have not read the arc lifts themselves (theory of Wach modules).

# Part II. Assessment

## What seems new ⟦I⟧

*In the light of the sources consulted; establishing novelty would require a systematic comparison with the literature.*

1. **An automorphic multiplicity: Stepanov over the integers** (§ 4). Stepanov's order of vanishing becomes the $p$-adic divisibility of periods of automorphic forms. Each layer comes from a differentiation at the CM point, and the layers stack up along a chain of $m\approx\sqrt x$ theta lifts: the period factors through the product $K_m\cdots K_1$, and the valuations add up. This is the central idea. According to Alpöge's note, it combines his analogy (Stepanov, a Fourier toy, Bost) and a suggestion of the agent (the length $\sqrt X$). On the division of roles, see Appendix A.
2. **Complex multiplication as a source of factorials** (§ 3). In the supersingular model, the rate guaranteed by the lower bound is $p/(p+1)$ times Legendre's rate; in the ordinary model, the computation guarantees no positive linear gain. The resulting profile is that of $y!$ restricted by a quadratic character, and the price to pay, an unwanted twist, is neutralized by letting the CM field vary in a huge family, one window of scales at a time.
3. **A concrete, and exact, arithmetic positivity** (§ 5). Weil's positivity (Castelnuovo, Hodge index), which makes RH work over function fields, finds here an effective arithmetic analogue: Bost's slope inequality on lattices of explicit automorphic forms. On the archimedean side, the main terms are computed exactly (Siegel masses, values of Γ, absolutely convergent Euler products); the other estimates are bounds, precise enough for the error budget (§ 5.6). Computing these quantities does not in itself require locating the zeros of ζ. Their cancellation against the main term must be established in the assembly, which this exposition does not reconstruct in full.
4. **Optimization at the analytic threshold** (§ 6). The exponent ½ comes from the trade-off $x/m+m$, as in a Siegel lemma, and not from the functional equation. It coincides with the actual size of the fluctuations: by Hardy's theorem and Landau's criterion, no smaller exponent is possible. In this architecture, where the fixed cost is of order $x$, it is the **linearity** of the loss per lift that distinguishes a proof of GRH from a mere zero-free region (§ 6.3).
5. **An "abstract, then instantiated" architecture** (overview). The mechanism is written under hypotheses: its core is a theorem with seven inputs. The heavy theories are injected at the very top, through two entry points, the host field and a construction structure. This is what keeps the mechanism readable despite the 17 million lines.
6. **Intermediate results of independent interest**:
   - effective Tate–Shafarevich bounds over families of CM fields, uniform in ℓ;
   - Landau on windows;
   - Galois representations through theta and weight 1, without the étale cohomology of Shimura varieties;
   - a quantitative Petersson formula for the Bessel coefficients of unitary groups.

## Classical ingredients and new combinations

Chebyshev, Stepanov and Bombieri, explicit formula, Landau positivity, large sieve, Honda's theorem on formal groups, theta correspondence and Siegel–Weil, Siegel's mass formula, Rallis formulas, Chowla–Selberg, Dwork's lemma, Legendre, Behrend, Hironaka, Moriwaki, Faltings–Chai, Eisenstein congruences, Kato's Euler system, Ferrero–Washington.

## Where things stand, level by level

The aim of this text is a proof that a mathematician can read from beginning to end. After a complete reading of [Ad], we can say where things stand, level by level. A statement is called *matched* when its precise formulation has been identified with a theorem of the formal proof by comparing the precise statements, and *matched at the structural level only* when only its structure has been; numbers with no other indication refer to [Ad]. Only the first case certifies the exact statement. Appendix F distinguishes further, weaker statuses: a match that is partial or holds only through a consequence; a correspondence at the level of roles, which is an analogy and not an identification; and the mere location of a producer. In the table, "readable from certified statements" is to be understood with the restrictions stated on each line.

| Level | Readable proof | What is missing |
|---|---|---|
| From the zeros to an upper bound on windows (§ 1) | **complete**: § 1.5 for one level of characters, [Ad, § 2] for ζ, about ten pages | nothing |
| From the prime sum to the excess of a chain: host, thick places, columns, mesh (§§ 3.4, 6.4) | **complete for ζ** [Ad, §§ 4–6], modulo two prime-selection theorems and one estimate at large height cited from his manuscript; the case of a general character (profile 4 : 3) is written up in [PMC], Part A | nothing, apart from the three statements cited |
| The bookkeeping: seven inequalities ⇒ bound, and the balance at $\sqrt x$ (§ 6) | **complete**: § 6.2, [Ad, Proposition 3.1], Nelson | nothing |
| Gains at inert primes (§§ 3.5, 4.3) | **readable from certified statements**: Theorems 9.1, 10.5, 12.4 found in the export; hypotheses 8.3, 10.3, 12.3 matched, 10.1 and 11.3 matched at the structural level only; the inequality per served orbit of line (A1) reconstructed ([N1]) | a readable proof of the integrality of the kernel, of the admissibility of the local system (2 M lines) and of the rank along Hecke edges; the source end of the chain |
| Slopes and quasi-orthogonality (§ 5.4) | **readable from certified statements**: mean slope theorem, Gram bounds and factorization through Bessel periods (14.2) matched; integrality and height of the period maps (13.1) matched at the structural level only | a readable proof of Theorem S, of the factorization through Bessel periods, of the integrality and the height of the period maps; the sharper remainder term of [Ad, Theorem 13.4], not certified |
| Archimedean sizes (§§ 5.4, 5.5) | **readable from certified statements**: cancellation of the main term, Ω as an area, mass formula (certified unconditionally at 2), auxiliary prime, slope of the base lattice, finite correction; page step (§ 5.5) | the slope of the target is proved as an identity from its inputs (§ 5.4); what remains is a readable proof of these inputs (covolumes of the modules, indices at the twisted places), of the height of the period maps and of the mass formula; the norms of the kernels, not compared in their own right |
| Corrections at the finite places | **complete** once the definitions are granted [Ad, § 16], except for an orbit term that is not stated | the link between these exponents and the actual lattices |
| Ш and twisted places (§ 7) | **readable from certified statements**: the mechanism (congruence module, index, slope of the target) and the bound on the defect at the two level primes are matched | a readable proof of the bound on the defect by Ш ($p$-adic Hodge theory, 4.7 M lines), of the table for the other primes, and of the bound on Ш itself (8% of the formal proof) |
| Simultaneous existence of all these objects | **none** | everything: 36% of the formal proof; "open" according to [Ad] |
| Comparison with the shortened proof | line-by-line table at the level of roles, verified at several points on the two exports ([Co]); one difference in the underlying construction established (Workshop 5) | the exact identification of the quantities on the two sides; the meaning of this difference |

Three observations. The **skeleton** (reduction, bookkeeping, balance) now has a complete readable proof, of about forty pages: it is Part I of [Ad] and §§ 1 and 6 of this text. The **mechanism** has a conditional readable proof, of about fifty pages, which rests on twenty-two hypotheses; but it cites an unpublished earlier manuscript of 297 pages 86 times, and eighteen of its hypotheses have so far been compared with the formal proof. Seven are matched, five are matched at the structural level only, four in part or only through a consequence, two have candidates that have not been compared, and four budget and existence statements remain to be compared. For every hypothesis examined so far, we have identified a corresponding statement or construction in the formal proof, although some of these correspondences remain partial or structural, and two are candidates not yet compared (details in Appendix F). The **construction**, that is, the proof of the twenty-two hypotheses for one and the same family of objects, has no readable version for the original archive, as far as we have read; for the shortened proof, [VL] and [BL] say they provide one, which we have not checked. This is where the covolume bound, quasi-orthogonality, the Galois representations and the Tate–Shafarevich bounds are found. Naskręcki and Slijepčević estimate that writing it out in ordinary language would take more than a thousand pages, even starting from Sernau's short rewriting.

We are therefore far from a complete readable proof in the strict sense, and this text alone will not reach it. An intermediate objective is within reach: a **readable proof modulo certified statements**. It requires that each assumed hypothesis be matched by comparing the precise statements, and not merely at the structural level, so that the reader knows it is true without reading the code, and can ask why. Three lines of work lead to it: matching the twenty-two hypotheses (article, § 9.5); writing up the case of a general character, which [Ad] does not treat (this is done in [PMC], see below); and replacing the references to the unpublished manuscript by proofs or by declarations. The estimate of 21 November, "a human proof of about a hundred pages", held for this intermediate objective, not for the complete proof.

**Where this objective stands.** The companion document [PMC] (version 0.27, 59 pages) is a first realization of it. Its Part A proves the theorem, for a general character, from sixteen certified statements. Its Part B takes up these statements one by one, with one section per line of the bookkeeping inequality: the prime sum against the gain, with the case of the served orbits; the slope of the source; the integrality clause, traced back to local divisibility; the slope of the target. It shows that the proof rests on six exact cancellations, and that the gain is realized only in the integrality clause: lines (A1) and (A2) use only its formula. Still assumed are, among others, the flow theorem, the sparsity hypotheses, the inputs of the divisor inequality for the chain, and the whole construction. Since then, two long expositions of the shortened proof have appeared, [VL] backed by Lean and [BL] which aims to be self-contained; neither bridges to the original archive, which is what [Co] attempts.

## What is not yet understood

**About the mechanism** (§§ 2 to 6):

- **Why aligned weights exist.** The question now has a conditional answer: the threshold of the gain is the node of the highest weight, the same integer as the threshold of the prime sum, and the term-by-term comparison leaves a logarithmic remainder (§§ 3.5 and 4.3, after [Ad]). Its hypotheses are now matched to the export for the most part (§ 4.3), and the inequality comparing the prime sum to the gain has a local reconstruction on the served orbits, in addition to the unserved case treated by Rubinstein (§ 4.3, [N1]); the whole of line (A1) is not reproved. What is missing is the realization: the construction of the families takes 36% of the volume and has not been read in detail. On the export, the source of the gains is located in a local bundle of local-model, flatness and extremal-projector results (article, § 5.5).
- **Why the loss per lift is linear.** On the export, it is an imposed budget, $B_0\le2\,n\,m\,b\,x^\varepsilon$, within which the families must fit the losses at special primes, at twisted places and at ramified places. Why this budget is achievable (growth of ranks, § 6.2) remains an interpretation.
- **The exact cancellation of the main term.** We have identified the cancellation mechanism (Stirling plus Chowla–Selberg). The path carrying the CM formula to the division is established. Its proofs (page bounds) have not been read line by line: § 5.5 and Appendix E.1 reconstruct their central step, but this reconstruction remains partial, since the existence of well-bounded CM functionals has not been read. A page is a stage $j<m$ of the chain: the page bounds are lattice bounds stage by stage. We have not followed the exact role of the Rallis norms in the size of the links.
- **The fine choices of the host.** The exact conditions have been read (§ 3.4): `HostHyp`, the splitting of small primes, the structure $E_0\times H$, and 2 and $q$ absorbed in Φ. What remains is the role of $q\equiv3\pmod8$ and of the refinement mod 16, and the 4 : 3 profile that gives the weight $1/(3o+1)$ (§ 1.3).
- **What has been settled.** Two compatibility checks that the statements alone left open are settled by reading the proof terms: the three properties required by the slope inequality (integrality, height, rank) concern, by construction, one and the same family of maps, contained in a single field of a Lean structure (§ 5.4), and the sum over the columns produces exactly the target combination, the unwanted characters being bounded one by one.

**About the components** (§ 7):

- **The exact role of Ш.** On the export, Ш accompanies the host field and bounds the mass of the twisted places (where the local datum $\mu_w$ differs from $\mu_0$), which must fit in the per-lift budget $B_0$. The local defect has now been identified: it is the congruence module of the Hecke projector (§ 7 (a)). What remains is the proof of its bound by Ш, through $p$-adic Hodge theory. Ш enters only at the two level primes $g_0,g_1$ of the host.
- **Discrepancies between the reconstruction and the source.** Adriazola documents several: the gap between nodes ($c_h\ge755$), the inclusions at the ends of the chain, the single shift (§ 4.3), the coverage of the mass formula at 2 by the literature (§ 5.4), and the distinction between the integral Weyl lattice and the lattice generated by the products of minors, of index $2^{k(k-1)/2}$ for the weight $(2,0,\dots,0)$, which corrects his earlier manuscript. None affects the formal proof; all indicate where the matching will require care.
- **The covolume in the two proofs.** The path from the covolume to the dual slope of (A4) is identified (Workshop 5 and § 5.4). The correspondence with the lattices and the twists of Sernau's Theorem C is made at the level of roles and verified at several points (Workshop 5; [Co]). What remains without an identified counterpart: the finite correction (A5), the heights of the period maps, and two terms of the divisor inequality. The covolume bounds of the modules themselves belong to the construction, which has not been read.
- **The internal proofs** of quasi-orthogonality (lower bounds for Poincaré series, 5.1 M lines) and of the covolume bound; the deformation part of the Tate–Shafarevich bounds; the automorphy statements for $\mathrm{GSp}_4$ and $U(3)$.

**About necessity**: Alpöge expects quick simplifications. The constants (401, $1/52$, the gap $120n^3$, …) do not seem forced. What § 6.3 identifies is rather a constraint on the overall exponent of the losses, within this architecture and with the other parameters fixed.

## Redundant structure and alternative constructions

Two checks on the export and two comparisons show that part of what is "in the proof" is not used there, or can be realized in another way.

- **Inert clauses.** A theorem often delivers a bundle of conclusions, of which its consumers read only a part. Following the projections in all referents, 5,729 theorems of the project (6.43% of the candidates) deliver at least one conclusion that nobody reads. These theorems total 19,107 components, of which 8,525 are inert; this is a proportion specific to these theorems only, not a global rate. The Behrend bundle of § 7 ("Preserving the gains") is an example: the useful property goes through the host.
- **An empty geometry.** The objects pointed out by Nielsen (an always-true predicate `anyGeometry`, a degenerate geometric model, identifications by reflexivity) are in the closure. By a syntactic criterion, they leave it only behind existence statements, whose consumers know only the stated properties, and these properties only say that the witness copies other data. The "geometric height" is only a name for an explicit expression. The central inequalities do not depend on them, as Zeng's counter-audit confirms [Ze].
- **A compressed proof.** L. Sernau has published a rewriting of the proof [Se], verified by Sutherland and by Rubinstein [Su2, R3]. Its readable edition has about 300,000 source lines and 216,559 declarations in the closure of `riemannHypothesis`, against 1,468,390. No declaration of the original project survives under its name. The names of the objects above are not found there, nor those of `LPprime`, the arc Theorem B and the Wach modules; the short route may replace or internalize the corresponding properties. Siegel–Weil, Selmer and the Galois representations remain, as does Mathlib's Behrend construction, which selects the sparse places. The same analysis finds only 165 inert components there, against 8,525.

- **A difference in the underlying construction.** The two proofs do not twist the chain by the same characters (Workshop 5); we have not determined whether a change of variables relates them.

These findings do not call validity into question. They say that **being in the closure does not mean being used**, and that the same architecture admits shorter realizations. A global rewriting shows that an ingredient can be dispensed with in its original form; it proves neither that this ingredient was empty in the original, nor that it can be removed in isolation. The treatment of the covolume is an example. The original proof uses Arakelov geometry on Shimura varieties (Hilbert–Samuel, Moriwaki). Sernau bounds $c+2\delta$ from below by means of the determinant of a chain of lifts and Selmer bounds. Workshop 5 specifies what is comparable between these two computations.

![Comparative map of the two routes. This is a functional comparison, not a graph extracted from the Lean terms nor a proof of equivalence between the interfaces.](fig/comparaison_routes_en.svg){width=80%}

## What is proved, exactly

GRH for **all Dirichlet L-functions**, hence RH, and RH for the Dedekind zeta functions of **abelian fields**. **Not** GRH for non-abelian fields, nor for Artin or general automorphic L-functions. See Appendix C.

## A sixth question: why was this proof hard to imagine? ⟦I⟧

The path we have just followed is a sequence of changes of representation. It does not directly refine the analytic theory of primes. It begins by replacing the location of complex zeros with a real inequality on a smoothed sum; it then turns this inequality into a problem about a divisibility profile, and this profile into a question about derivatives, formal groups and the composition of kernels; finally it translates these gains into slopes and optimizes an error budget.

One conceptual difficulty is that none of these changes makes sense in isolation. Theta series and complex multiplication provide divisibility, but it would be sterile without an archimedean computation. Bost's inequality would be one geometry-of-numbers inequality among others without a local profile matched to the Riesz weight. And even a chain that accumulates large gains is useless if its losses grow as fast, or if the final map is degenerate. The problem is not to choose a "good theorem", but to construct a family of objects that satisfies several almost contradictory specifications.

We can thus distinguish three levels of understanding. The first is that of the models: the integer, the factorial, the elliptic curve, the matrix. The second is that of the interfaces: the gains, the projections, the division, the upper bound on the slope, the parameters. The third is that of the simultaneous realization of all these interfaces in actual objects. This text has developed the first two and records the information available on the third. This last level cannot be replaced by an appealing story.

The experience of an AI-assisted proof is also interesting from this angle: a mathematical route may require crossing libraries of theories that few researchers master simultaneously. But attributing a given invention to the mathematician or to the agent would require historical traces that the artifact does not provide. Appendix A therefore keeps to what the author's note says.

**The remaining work program** is that of the section "What is not yet understood": realizing the aligned weights, reading the proofs of the transport of the Chowla–Selberg formula to the division, and explaining why the linear budget of the losses is achievable, in particular why Ш bounds the mass of the twisted places. It is pursued in [PMC].

The three levels distinguished above do not yet say why this particular construction was necessary, nor to what extent another could have replaced it. It is this kind of understanding that remains largely beyond our reach.

We began in search of a factorial that did not yet exist. In its place, we found an entire architecture of arithmetic objects. What remains is to discover how much of that architecture was indispensable, and how much is still waiting to be simplified: this is a research question, which this text raises without answering.

---

## Appendix A. Genesis: what the sources say

This appendix is limited to what the author's note [A] states; it does not attempt to attribute ideas. According to the note, the central idea combines an analogy due to the author (Stepanov, a toy model in Fourier analysis, Bost) and a suggestion by Claude: "The simple, new, Fourier-analytic ideas in the toy setting led us to examine chaining theta lifts", and the chain length $\sqrt X$ is "Claude's suggested length of chain of theta lifts". It also says that "Claude far outpaced me near the finish line", and it cites outside contributions. The artifact, for its part, does not document who invented what: it has neither comments nor a version history, and nothing in it makes it possible to establish who wrote what. For the chronology and the details of the division of roles, we refer to [A].

---

## Appendix B. Glossary

*Minimal definitions, in the sense in which they are used in this text. Notions that Part I explains by example are no longer listed: Legendre and Chebyshev (§ 2), Stepanov (§ 4.1), the explicit formula and Landau (§ 1), the von Mangoldt function (preliminaries).*

::: {.glossaire}
```{=latex}
\setlength{\tabcolsep}{9pt}\renewcommand{\arraystretch}{1.25}
```

| Term | Definition |
|---|---|
| **Large sieve** | Mean-square inequalities over a family of characters; they show that almost all characters of a large family have small sums |
| **CM field** | Totally imaginary quadratic extension of a totally real field (e.g. ℚ(√−d)) |
| **Hermitian form, unitary group** | Hermitian sesquilinear form on $E^n$ ($E$ CM); the unitary group is its group of isometries. **Definite**: positive at all infinite places |
| **Siegel mass** | $\displaystyle\sum_{[L]}\frac{1}{\lvert\mathrm{Aut}(L)\rvert}$ over the classes of lattices in a genus; Siegel's formula computes it exactly |
| **Theta series, Siegel–Weil** | The theta series of a lattice is the generating series of its representation numbers; Siegel–Weil: average over the genus = Eisenstein series |
| **Theta correspondence (lift)** | Procedure that carries automorphic forms from one unitary group to another via the Weil representation; **stable range**: when the second group is large enough |
| **Hermitian lattice** | Finitely generated projective $\mathcal O_K$-module with Hermitian norms at the infinite places (a "vector bundle" on $\operatorname{Spec}\mathcal O_K$) |
| **Arakelov degree** | $\widehat{\deg}(L)=-\log\operatorname{covol}(L)$, normalized; decomposes into finite local contributions ($\times\log p$) and archimedean ones |
| **Slope, Harder–Narasimhan** | $\widehat\mu=\widehat{\deg}/\mathrm{rank}$; $\widehat\mu_{\max}$ is the largest slope of a sublattice (first step of the Harder–Narasimhan filtration) |
| **Slope inequality (Bost)** | For $\varphi:E\to F$ injective, $\widehat\mu(E)\le\widehat\mu_{\max}(F)+h(\varphi)$, where $h(\varphi)$ is the height of $\varphi$; generalizes Minkowski |
| **Attached Galois representation** | $r:\mathrm{Gal}(\overline E/E)\to\mathrm{GL}_n(\overline{\mathbb Q}_\ell)$ whose Frobenius eigenvalues at unramified p equal the Satake parameters of the automorphic form at p |
| **Local Langlands** | Bijection between irreducible representations of $\mathrm{GL}_n(K)$ ($K$ local) and n-dimensional Weil–Deligne representations, preserving certain invariants; the Galois side consists of **Weil–Deligne** representations (representations of the Weil group equipped with a monodromy) |
| **Depth zero, tame** | Representation of $\mathrm{GL}_n(K)$ with vectors fixed by the first congruence subgroup; Galois side: trivial wild inertia |
| **Green's theory** | Description of the irreducible characters of $\mathrm{GL}_n(\mathbb F_q)$; the "regular characters" $\theta$ of $\mathbb F_{q^n}^\times$ parametrize the cuspidal ones |
| **Holomorphic Lefschetz formula** | Trace of a correspondence on coherent (Hodge) cohomology = sum over fixed points of local terms |
| **Arakelov geometry** | Geometry of varieties over Spec ℤ completed by metrics at the infinite places; degrees, heights, arithmetic volumes |
| **Formal group, height** | Group law given by a formal power series $F(X,Y)$; over $\mathbb Z_p$, that of a **supersingular** elliptic curve has height 2, with a logarithm of the type $\sum_e X^{p^{2e}}/p^e$ |
| **Ordinary, supersingular** | An elliptic curve with good reduction at $p$ is ordinary if its formal group there has height 1, supersingular if it has height 2; for a CM curve, supersingular exactly at the inert primes (§ 3) |
| **CM point** | Point of a Shimura variety corresponding to an abelian variety with complex multiplication; its reduction at an inert prime is supersingular |
| **Dwork's lemma** | $p$-adic integrality criterion, for odd $p$ and $P$ without constant term, with coefficients in the fraction field of $W$: $\exp(P)\in 1+X\,W[[X]]$ if and only if $P^{\sigma}(X^p)-pP\in pW[[X]]$ (one-variable form; several variables in § 3.5); used for Artin–Hasse exponentials and formal groups |
| **Gauss norm** | Norm of a $p$-adic polynomial equal to the maximum of the norms of its coefficients; it is multiplicative and equals the value at a residually generic point |
| **Bessel period (GGP)** | Integral of an automorphic form over a subgroup, against a character of a unipotent and a form on a smaller group; Kudla's seesaw identities relate those of theta lifts |
| **Tate–Shafarevich group** | Kernel of the restriction $H^1(G_{E,S},\mathbb Q_\ell/\mathbb Z_\ell(-e))\to\prod_{v\mid\ell}H^1(E_v,\cdot)$: global classes that are locally trivial. Written Ш, the Cyrillic letter "sha", initial of Shafarevich (Cassels's notation) |
| **Eisenstein congruence** | Congruence mod ℓ between a cusp form and an Eisenstein series; it builds, or here bounds, Selmer classes (Ribet, Mazur–Wiles) |

```{=latex}
\setlength{\tabcolsep}{6pt}\renewcommand{\arraystretch}{1}
```
:::

---

## Appendix C. Mathematical consequences

**What is proved, exactly.** GRH for **all Dirichlet L-functions**, hence RH. The Dedekind zeta function of an **abelian field** factors as a product of Dirichlet L-functions; **GRH therefore holds for all abelian number fields**, in particular quadratic and cyclotomic ones. It is **not** proved for non-abelian fields, nor for Artin or general automorphic L-functions. This boundary decides most of the consequences.

*These implications are classical results from the literature, whose hypotheses and constants should be checked in the sources; they are not all formalized in Lean.*

### C.1 Classical consequences of RH (for ζ)

- **Optimal prime number theorem** (von Koch): $\pi(x)=\operatorname{li}(x)+O(\sqrt x\log x)$. Explicit form (Schoenfeld): $|\pi(x)-\operatorname{li}(x)|<\dfrac{\sqrt x\,\log x}{8\pi}$ for $x\ge 2657$.
- **Gaps between primes** (Cramér): $p_{n+1}-p_n=O(\sqrt{p_n}\,\log p_n)$. There is a prime in every interval $[x,\,x+C\sqrt x\log x]$.
- **Mertens function**: $\displaystyle M(x)=\sum_{n\le x}\mu(n)=O(x^{1/2+\varepsilon})$, together with all equivalent reformulations of RH (Riesz, Nyman–Beurling, Li's criterion…).
- **Lindelöf hypothesis**: $\zeta(\tfrac12+it)\ll_\varepsilon |t|^{\varepsilon}$. It follows from RH.
- **Robin's criterion**: $\sigma(n)<e^{\gamma}\,n\log\log n$ for all $n>5040$. This is a classical consequence of RH. Independently, Sutherland's page mentions "Robin1984" files, which suggests a formal derivation of this criterion; that content has not been read here.

### C.2 Consequences of GRH for Dirichlet: primes in progressions and algorithms

- **Primes in arithmetic progressions**: for $\gcd(a,q)=1$, $\pi(x;q,a)=\dfrac{\operatorname{li}(x)}{\varphi(q)}+O\big(\sqrt x\,\log(qx)\big)$, uniformly in $q\le x$ (Davenport, ch. 20).
- **Least prime in a progression**: for $\gcd(a,q)=1$, the least prime $p\equiv a\pmod q$ is, under GRH, of order $(\varphi(q)\log q)^2$: **Linnik's exponent** is 2, up to logarithmic factors. Bach and Sorenson give explicit bounds [BS]; their exact statement (constants, asymptotic form, conditions on $q$) has not been checked here, and we do not transcribe it.
- **Least quadratic non-residue** modulo an **odd** prime $p$: under GRH, it is $O((\log p)^2)$ (Ankeny), and Bach gives an explicit constant, of the order of $2(\log p)^2$ [Ba] (constant to be checked in the source). Small primitive roots also follow (Shoup).
- **Deterministic algorithms**:
  - **Miller's primality test**: under GRH, every **odd composite** $n$ has a witness of compositeness below a bound in $O((\log n)^2)$, which Bach makes explicit, of the order of $2(\log n)^2$ [Ba] (constant to be checked in the source); this gives a deterministic polynomial-time test. AKS already was one unconditionally, with a higher theoretical complexity;
  - deterministic computation of square roots mod $p$, and other algorithms that depended on GRH.
- **No more Siegel zero** for Dirichlet L-functions, which **makes effective** results that were ineffective until now:
  - Siegel's theorem $h(-d)\gg_\varepsilon d^{1/2-\varepsilon}$, whose constant becomes computable;
  - Littlewood's lower bound $h(-d)\gg\sqrt d/\log\log d$;
  - the Siegel–Walfisz theorem and what depends on it.
- **Quadratic and cyclotomic fields** (abelian case):
  - Bach's bound: under GRH for the field considered, here abelian, the class group is generated by prime ideals of norm $\le 12(\log|d_K|)^2$, where $d_K$ is the discriminant of the field. This bound on generators becomes unconditional; the full computation of the class group and the certification of units require further arguments;
  - effective Chebotarev (Lagarias–Odlyzko) **for abelian extensions of $\mathbb Q$**.

### C.3 What does not follow

Several famous consequences of "GRH" actually assume GRH for **non-abelian** fields, or for more general L-functions:

- **Artin's primitive root conjecture** (Hooley, 1967): it uses GRH for the Kummer fields $\mathbb Q(\zeta_k,a^{1/k})$, which are not abelian. **Not covered**;
- the **improved form under GRH** of effective Chebotarev (Lagarias–Odlyzko) for non-abelian extensions (weaker unconditional effective versions exist), Bach's bound for non-abelian fields, the Euclidean property of rings of integers (Weinberger) in general. **Not covered**;
- GRH for modular forms, elliptic curves (ranks, Birch and Swinnerton-Dyer…), automorphic L-functions of $\mathrm{GL}_n$ and Artin L-functions. **Not covered**;
- questions that do not follow from RH: twin primes, binary Goldbach, pair correlation (Montgomery), simplicity of zeros, linear independence of their ordinates. **Unchanged**.

For each result "conditional on GRH" in the literature, one must therefore check **which** GRH is assumed.

### C.4 Beyond the statement ⟦I⟧

- **A method, more than a result.** Nothing a priori forces the argument to stay with Dirichlet. An extension to Hecke characters, or even to $\mathrm{GL}_2$, would be the natural goal; nothing in the export establishes it.
- **Intermediate results useful in themselves**: Galois representations through theta, weight 1 and congruences; an explicit local Langlands correspondence in depth zero; a quantitative Petersson formula for Bessel coefficients of unitary groups. They appear in the proof in the form it needs, not in a general, reusable form.
- **Part of the literature becomes unconditional**, but only the part that depends on GRH for Dirichlet or for abelian fields; this sorting remains to be done. In Lean, every theorem stated under the hypothesis `RiemannHypothesis` becomes unconditional by instantiating it.
- **An epistemic precedent**: a central result is certain before it is understood, which raises the question of an "explanatory proof" (Part II).

## Appendix D. Index of notation

| Symbol | Meaning | Where |
|------------|----------------------------------------------|------------|
| $\psi(x,\chi)$ | Chebyshev function twisted by χ | preliminaries |
| ψ (character) | primitive character of order $o$ defining $G_\psi$ | § 1.3 |
| γ | Euler's constant; also the ordinate of a zero $\rho=\frac12+i\gamma$ | prologue, § 1 |
| $\chi_{0,N}$, $\mathbf 1$ | principal character mod $N$; trivial character of conductor 1 | preliminaries |
| $S$, $G$, $g$ | Riesz sum; centered sums for ζ and for χ | § 1.2 |
| $D(N)$ | loss of the factorial, $\log(N!)-S(N)$ | prologue |
| $p,e$ | inert prime and exponent of the power $p^e$ | §§ 2–3 |
| $x$, $a$, $b$ | scale; differentiation order $a=bx$; threshold of the weights | §§ 3, 6 |
| $m$ | length of the chain of lifts (in § 4.1 only: degree of $g$) | §§ 4, 6 |
| $k$, $n$ | base rank of the lattices; size of the host | § 6.2 |
| $n_T$, $n_{T2}$ | number of columns; number of thick positions | §§ 3.4, 6.2 |
| $H$, $T$, $T_2$, $u_0$ | cyclic group of order $n$ of the host; columns; thick positions; shift | § 3.4 |
| $Z$, $b'$ | $Z=e^{x^{\varepsilon/3}}$; $b'=xb/Z$, weight at the tops | § 4.3 |
| $w_j(\rho)$, $h_0$ | nodes of the chain, thresholds common to the prime sum and to the gain; gap between nodes | § 4.3 |
| $N_j$, $t_r$ | rank of the $j$-th group, $N_j=k+j(t_r+1)$; fixed odd integer | § 4.3 |
| $\gamma_p$ | $p/(p^2-1)=\sum_{e\ \text{odd}}p^{-e}$ | § 3.5 |
| $g_A$, $g_B$ | truncated gain; variant that keeps the raw gain at the even tops, paid for with Hecke operators | §§ 3.5, 4.3 |
| A1 to A7 | the seven lines of the balance | § 6.2 |
| $g_0$, $g_1$ | the two level primes of the host | § 7 |
| $e_D$, $e_L$ | division and loss exponents | § 6.4 |
| $E$, $K$ | host field; quadratic CM field | § 3.4 |
| $v$, Ω, Φ | $v=\mathrm{rd}_E/2$, half the root discriminant of the host; normalized period; $\mathrm{Gal}(E/\mathbb Q(\sqrt{-d}))$ | §§ 3.4, 5 |
| `ASK`, `MAIN` | von Mangoldt sum over inert primes; its main term | § 6.2; article, T.8 |
| `Ga`, $B_0$ | slope jump due to the gains; per-lift loss budget | § 6.2; article, T.8 |

The symbols of the models (§§ 2 and 4.1) are local; those in `code` font are names from the export.

**Letters with several meanings.** A few letters change meaning from one section to another. σ: real part of $s$ in § 1; Frobenius of $K_0$ in Dwork's lemma (§ 3.5); $\sigma=m\sum_v\kappa_v$, the Hecke share, in § 4.3; exponent $\sigma_u(w)$ of the ideal $I_u$ and small parameter $\sigma=x^{-C_H}$ of Theorem S in § 5.4. ϖ: the lemniscate constant (prologue, §§ 5.3 and 5.5); a uniformizer, with $\varpi^{p^2-1}=p$, in § 3.5. $Q$: $N_0e^z$, the height of the zero-free rectangle, then the normalization $\tfrac12n_Tmb\,\delta_2$ of the excess, in § 3.4, where $Q_S$ is an auxiliary modulus; $\sum_uA_uA_u^*$ in § 5.4; $\sum_j\frac1f\sum_\rho\log(w_j(\rho)v/\pi)$ in § 6.2. $t$: column $t\in T$ (§§ 3.4 and 6.2); $t_r$, the fixed odd integer that enters the rank (§ 4.3); bound on the exponent $e$ in the sum of the lengths of Ш (§ 7). $X$: endpoint of the window $[Y,X]$ in § 3.4; $x^{1/2+\varepsilon}$ in § 6.4; $x^{C_H}$ in Appendix E.2; formal variable in §§ 3 and 4.1. $H$: group of the host (§ 3.4); transform in Landau's theorem (§ 1.4); upper bound for $s-\mu_{\min}(C)$ in § 5.4; the term $H=\mathrm{mainAmount}$ of Workshop 5. γ: Euler's constant; ordinate of a zero. $d$: prime of the host; degree of the unramified extension in the hypotheses of Theorem A (§ 3.5). $j$: index of the lift; odd displacement along an orbit in § 3.5. $G_\psi$: level combination in § 1.3; centered sum of the single character ψ in the conditions on the pair $(q,d)$ in § 3.4. $g$: centered sum $g(y,\chi)$ in § 1.2; inverse of the formal logarithm in § 3.5; polynomial in § 4.1; $\log(g_0g_1)$ in § 6.2.

## Appendix E. Two technical reconstructions

*These two passages appeared in §§ 5.5 and 6.2 up to version 5.1. They are reproduced in full; they interrupted the narrative. The names of the Lean declarations are kept here. The reconstruction E.1 is partial: it covers the central step of the path, not the existence of the objects that this step assumes.*

### E.1 From CM degrees to lattice bounds: the page step

The path of the CM formula to the division goes through "page bounds" (article, § 5.7). The skeleton of the proof, read with `trace_app.py --outline`, isolates its central step. This step can be reconstructed in full; the path as a whole is reconstructed only in part, because the existence of the numerically good functionals that the step assumes has not been read (see the end of this subsection). At stage $j$, let $K$ be the coefficient field, of degree $\delta$; $V$ the space of cusp forms; $M\subset V$ a lattice; $S_\sigma(F)$ the size of $F$ at the embedding $\sigma$, and $\mathrm{meanLogSup}(F)=\frac1\delta\sum_\sigma\log S_\sigma(F)$; $W\subset V$ the common kernel of the "coefficient of the jet at a CM point" functionals (this is exactly what `KillQ` and `DetectQ` say); and $Q=M/(M\cap W)$, of rank $\rho$. A functional $\varphi$ is **numerically good** if there is a Hermitian line $N$, of normalized degree $\le B_{\rm deg}$, such that $\varphi(M)\subset\mathfrak b^{-1}I_N$ at the finite places, with $\mathfrak b=\prod_\lambda\lambda^{b(\lambda)}$, and $\|\varphi(F)\|_{N,\sigma}\le e^{C_{\rm arch}}S_\sigma(F)$ at the infinite places.

The reconstruction has two steps: a separation lemma, which provides independent functionals over a common field, then a quotient bound by a determinant argument over that field.

> **Lemma (separation).** Let $W\subset V$ be as above and $\mathcal F$ a family of $K$-linear forms $V\to K_1$, with values in finite extensions $K_1$ of $K$. Assume that (1) they all vanish on $W$; (2) every vector of $V\setminus W$ is detected by at least one of them; (3) the family is stable under field embeddings over $K$. Then there exist a finite Galois extension $L/K$ and $\rho=\dim_K(V/W)$ forms of $\mathcal F$, embedded into $L$, whose $L$-linear extensions induce an isomorphism $L\otimes_K(V/W)\simeq L^\rho$.

*Proof.* If $\rho=0$, there is nothing to prove. Otherwise, extract finitely many forms whose common kernel over $K$ is $W$, decreasing the dimension of the kernel at each step thanks to (2). Take a Galois extension $L$ containing their fields of values, and add all their conjugates, which (3) allows. The common kernel of their extensions in $L\otimes V$ is Galois-stable, hence comes by descent from a subspace of $V$; by (2), this subspace is $W$. The extensions therefore span the dual of $L\otimes(V/W)$, and one extracts $\rho$ independent ones. $\square$

Condition (3) is not decorative. The single form $\varphi(x,y)=x+\sqrt2\,y$, with values in $\mathbb Q(\sqrt2)$, detects every nonzero vector of $\mathbb Q^2$, but its extension to $\mathbb Q(\sqrt2)^2$ has a kernel of dimension 1: a family that detects over $K$ need not detect after extension of scalars. Its conjugate $x-\sqrt2\,y$ repairs the defect.

> **Proposition (quotient bound).** Assume the forms of the lemma are numerically good, for the same $\mathfrak b$, $C_{\rm arch}$ and $B_{\rm deg}$, degrees being normalized by $\delta_L=[L:\mathbb Q]$. Write $Q_L=\mathcal O_L\otimes_{\mathcal O_K}Q$ for the extended lattice, distinct from the vector quotient $V/W$ and from its extension $L\otimes_K(V/W)$, and $b(\mathfrak P)=e_{\mathfrak P/\mathfrak p}\,b(\mathfrak p)$ for the extended exponent of the denominator ideal, for $\mathfrak P\mid\mathfrak p$. Then, for every family $t_1,\dots,t_\rho\in M$ whose images span $V/W$, the quotient $Q_L/\sum_i\mathcal O_Lt_i$ has local lengths $\ell_{\mathfrak P}\le n(\mathfrak P)+\rho\,b(\mathfrak P)$ at the places $\mathfrak P$ of $L$, with
> $$\frac1{\delta_L}\sum_{\mathfrak P}n(\mathfrak P)\log N\mathfrak P\;\le\;\sum_{i=1}^\rho\Big(\mathrm{meanLogSup}(t_i)+C_{\rm arch}+B_{\rm deg}+\tfrac12\log\rho\Big),$$
> the sum running over the finite places $\mathfrak P$ of $L$.

*Proof.* Let $\varphi_1,\dots,\varphi_\rho$ be the forms of the lemma. The map $\Phi=(\varphi_k)$ is injective on $L\otimes_K(V/W)$, hence on $Q_L$, and the matrix $A=(\varphi_k(t_i))$ is invertible. Its determinant $\Delta$ is a nonzero section of the line $\bigotimes_kN_k$ over $L$, of normalized degree $\le\rho B_{\rm deg}$. At the finite places, $\Phi(Q)\subset\bigoplus_k\mathfrak b^{-1}I_{N_k}$: the length of $Q/\langle t\rangle$ at $\mathfrak P$ is at most $\mathrm{ord}_{\mathfrak P}\Delta-\mathrm{ord}_{\mathfrak P}\big(\bigotimes I_{N_k}\big)+\rho\,b(\mathfrak P)$, and we write $n(\mathfrak P)$ for the sum of the first two terms. $n(\mathfrak P)$ may be negative, but $n(\mathfrak P)+\rho\,b(\mathfrak P)$, which bounds a length, is not; one does not replace $n$ by its positive part, which would break the product formula. The product formula over $L$ gives $\frac1{\delta_L}\sum_{\mathfrak P}n(\mathfrak P)\log N\mathfrak P=\widehat{\deg}_n\big(\bigotimes N_k\big)+\frac1{\delta_L}\sum_\sigma\log\|\Delta\|_\sigma$. The first term is $\le\rho B_{\rm deg}$. For the second, Hadamard's inequality bounds $\|\Delta\|_\sigma$ by the product of the norms of the columns of $A$, each at most $\sqrt\rho\,e^{C_{\rm arch}}S_\sigma(t_i)$. $\square$

*Why changing the field costs nothing.* An extension of DVRs with ramification $e_{\mathfrak P/\mathfrak p}$ multiplies the length of a finite module by $e_{\mathfrak P/\mathfrak p}$: the length of $Q_L/\sum_i\mathcal O_Lt_i$ at $\mathfrak P$ is $e_{\mathfrak P/\mathfrak p}$ times that of $Q/\langle t_i\rangle$ at $\mathfrak p$, as is $b(\mathfrak P)=e_{\mathfrak P/\mathfrak p}b(\mathfrak p)$. Since $\log N\mathfrak P=f_{\mathfrak P/\mathfrak p}\log N\mathfrak p$ and $\sum_{\mathfrak P\mid\mathfrak p}e_{\mathfrak P/\mathfrak p}f_{\mathfrak P/\mathfrak p}=[L:K]$, the weighted normalized sum $\frac1{[L:\mathbb Q]}\sum_{\mathfrak P}\ell_{\mathfrak P}\log N\mathfrak P$ equals the corresponding sum over $K$. The bound obtained over $L$ is therefore a bound over $K$.

**What the export does.** It is the same argument: a Siegel-type determinant, where the functionals are derivatives at CM points, with values in varying number fields. The separation lemma is proved there by normal closure and Galois descent, condition (3) by composition with the embeddings, and the constants match those of the proposition, down to the Hadamard loss $\frac12\log\rho$ per vector (names and constants: article, technical appendix, T.4; § 7.4 of the article recounts the change-of-field error that the counterexample above revealed). The lemma and the proposition remain independent reconstructions: the Lean proofs have not been read line by line. What remains is the **existence** of numerically good CM functionals, with $B_{\rm deg}$ related to $\frac12\log\Omega$ by the CM theorem. In Adriazola, this existence is split between the height bound for the period maps and the comparison of the target, both assumed [Ad, Hypotheses 13.1 and 15.1].

### E.2 Why line A3 concerns a mean

Fix a translate $u_0$. For its finite, nonempty set of words $\mathcal W$, write $\langle y\rangle_d=\sum_u d_u y_u/\sum_u d_u$, where $d_u=\operatorname{rank}(N_u)>0$, and set $s=\langle\mu(N)-h\rangle_d$. The frame theorem involves the spread $u_F=\max_u(\mu_{\max}(N_u)-h_u)-s$. How can we bound this spread when A2 incurs a different loss $\ell_u$ (`Lo5`) at each word?

Compare two words $u,u'$. The two slope bounds in A2 and A2⁺ contain the same term $\Gamma+\mathcal L$, which cancels on subtraction. We need an upper bound on the difference between $-E_u-h_u$ and $-E_{u'}-h_{u'}$. A5 and A5⁻ bound the variation of $E$, `HComp` that of $h+A\log T$, and A6′ that of $\log T$. Adding the bounds from A7 and A7⁺ on the slopes of $M$ gives, with a constant $K_3$ common to all words,
$$\mu_{\max}(N_u)-h_u\le \mu(N_{u'})-h_{u'}+K_3+\ell_{u'}.$$
First hold $u$ fixed and average over $u'$. The loss becomes $\langle\ell\rangle_d$. Now take the maximum over $u$. This gives $u_F\le U=K_3+\langle\ell\rangle_d$, as in `u_function_le_mean`. Two words already illustrate the role of `HComp`. In the abstract data of this lemma, increasing the height of one word $u'$ by $t>0$ lowers $s$ by $t d_{u'}/\sum d_u$, while $\mu_{\max}(N_u)-h_u$ stays fixed at the other word. Without a bound on this variation, the spread can grow arbitrarily large.

Set $X=x^{C_H}$. By `HHBound`, $Z>0$ satisfies $s-\mu_{\min}(R^\vee)\le Z\le Xb$. In `SlopeIneq`, the term $u_F\log(1+Z/u_F)$ is then at most $(U+b)\log(1+X)$ (`phi_bound`, including the case $u_F=0$). The upper bounds $\bar\delta<1,\bar\eta,\bar e$ on the frame parameters give
$$s-\mu_R\le e_3(U),\qquad
e_3(U)=\log|\mathcal W|+
\frac{4\log(1+X)(U+b)+(\bar\eta+4\sqrt{\bar e})Xb}{1-\bar\delta}.$$
If $\bar\delta\le 1/2$ and $(\bar\eta+4\sqrt{\bar e})X\le6$, this error is at most $\log|\mathcal W|+8\log(1+X)(U+b)+12b$ [Ne0, exercise 59.1.5].

In `Ga_bound5` (notebook, E19), `s_lower5` supplies the other bound on the same threshold, $\Gamma+\mu_R-K_5-\langle\ell\rangle_d\le s$. The same slope $\mu_R$ occurs on both sides and cancels. The identity `key_identity5` gives $K_5=\mathrm{Main}+K_0$, where $K_0$ collects the errors from A4 through A7. Finally, `each_unit_bound_statement` uses `LossBounds` to bound $\langle\ell\rangle_d$ by `MLo5`. This loss enters `ErrX5at` twice, as an additive term and through $U$ in $e_3(U)$. This calculation reconstructs the deduction from the slope hypotheses. Constructing frames that satisfy them is an earlier step.

**Cross-check.** Adriazola obtains line A3 by the same count of missed directions, integrated over the slope thresholds [Ad, Theorem 13.4], with
$$e_3=\frac{(\eta+4\sqrt e)\,H+4\min\{U,H\}}{1-\delta},$$
then $e_3\le8U+12b$ under the same numerical conditions. The structure is that of the formula above. Two differences are to be noted: the term $U\log(1+Z/U)$ of the export becomes $\min\{U,H\}$ in his text, and the term $\log|\mathcal W|$ is absent from his statement. His final budget is $D_{u_0}\le e_1+9\bar e_2+8V_M+O_\varepsilon(x^\varepsilon\mathcal B)$ [Ad, (18.1)], where $\bar e_2$ is the average loss of the source, $V_M$ the dispersion of the base lattices and $\mathcal B=N_Ta(1+m^2/k)+2nm^2bx^\varepsilon$, that is, the first two terms of the error bound $\mathcal E$ of § 6.2. The loss of the source enters it nine times, once directly and eight times through $U$: this is the double use that we have just observed in the export.

## Appendix F. State of understanding, component by component

*This table appeared in the assessment up to version 5.1. The table "Where things stand, level by level" of Part II is its condensed version; this one keeps the detail.*

| Component | State |
|---|---|
| Reduction to Riesz sums, positivity, classical Landau | reconstructed |
| Windowed Landau criterion | deduction reconstructed under the growth, continuation and residue hypotheses of `PoleData` (§ 1.5) |
| From families on windows to the nonvanishing of all characters | conditional deduction from the hosts and the chain down to the primitive ones (§ 6.4), then change of modulus, with its proviso at $s=1$ (§ 1.1) |
| Models (Chebyshev, Stepanov, formal groups, lemniscate) | reconstructed |
| Theorem A | hypotheses and strategy identified |
| Accumulation of gains along the chain | understood algebraically |
| Construction of the gains (`LinkG`) | chain read: admissibility (Theorem A) and $p$-adic rank (`LPprime`); assembly of `LPprime` reconstructed, rank per edge (Weyl modules) not read |
| Reduction of RH to a bound on the excess at one shift (case of ζ) | proved in full by [Ad, Part I]: thick and thin places, mesh of step $x^{3/4}$ (§§ 3.4 and 6.4) |
| Truncated gain, alignment of the thresholds, composition along the chain | proved by [Ad] under hypotheses since matched to the export, except the ends of the chain (§§ 3.5 and 4.3; notebook, E23 to E25 and E33) |
| Cancellation of the main term | reconstructed (identity) |
| CM normalizations | read |
| Transport of degrees to the division | partial reconstruction: page step reconstructed, over the common field provided by the export's Galois descent (§ 5.5, `kerCore_holds`); existence of the CM functionals not read |
| Compatibility of the three properties of the slope inequality | settled by construction |
| Passage from `gapA` to $G_\psi$ | reconstructed |
| Control of twisted places by Ш | defect = congruence module (reconstructed); local bound read; proof ($p$-adic Hodge) not read |
| Bookkeeping inequality of the original route | eleven predicates matched to Nelson and tied to their interfaces (E17); derivation reconstructed and read in Lean at the level of the intermediate statements, exact coefficients included (§ 6.2, E19) |
| Optimization of the budget | reconstructed at the level of the model and the bounds read |
| Prime sum against gain on the served orbits | local reconstruction: kink lemma proved; the inequality per orbit follows under a condition on the data and two facts of the archive (§ 4.3, [N1]) |
| Slope of the target | divisor inequality proved as an identity, up to one point (§ 5.4, [PMC] B.15); its inputs for the chain not read |
| Correspondence between the slope bookkeeping and Theorems A, B, C | line-by-line table, at the level of roles; rewriting side verified on its export ([Co]) |
| Global construction of the arithmetic objects (`HypsAlt`) | wiring read (6 data, 40 certificates), realization not read |
| Arc Theorem B (inert primes, `LinkN`) | statement and mechanism read (quadratic bound on the cost of thick runs); arc lifts (Wach modules) not read |
| Inert or empty parts (Behrend, `anyGeometry`, degenerate model) | established on the export (projection tracking, data frontier); absent from the compressed proof |

The conditional thread now runs from the choice of the hosts to the nonvanishing. To turn it into a self-contained proof on paper, it remains in particular to construct the families that together realize the slope and character hypotheses.

**Details of the comparison with Adriazola's hypotheses.** Seven are matched: the integrality of the kernel (8.3), the Hecke transport (10.3), the Hecke nondegeneracy (12.3), the factorization through Bessel periods (14.2), the Gram bounds (14.5), the mass formula (15.3) and the bound on the defect at the two level primes (17.3). Five are matched at the structural level only, with a producer identified or located, which does not certify their exact statements: 10.1, 11.3, 13.1, and the framework of Hecke lattices with the entry of the discriminant into the slope of the target (17.16, 17.18). Two are matched in part: the ends of the chain (10.6) and the entry of Ш into the budget (17.9). Two are matched only through their consequence: the norms of the kernels (15.1) and the base lattice (15.5). Two have candidates that have not been compared (17.2, 17.5). There remain four budget and existence statements (6.1, 12.6, 13.5, 18.3). Every hypothesis examined so far thus has a corresponding statement or construction in the export, though some of these correspondences remain partial or structural, as listed above. Eleven of its theorems have a proved analogue there (3.1, 9.1, 10.4, 10.5, 12.4, 13.4, 15.4, 15.6, 16.5, 17.10, 17.17). In two places, it asserts more than Lean proves (the remainder of 13.4, the index bound of 12.4): the matching does not certify these refinements.

## References

**The proof and its verification**

- [A] L. Alpöge, announcement note, 20/11/2026: <https://alpo.ge/remark.pdf>
- [Su] A. Sutherland, verification page and proof export (`solution.ndjson.zst`, `challenge.ndjson.zst`): <https://math.mit.edu/~drew/grh/>
- [R] M. Rubinstein, verification page: <https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/>

**Other published syntheses and readings** (all written with AI tools, to varying degrees)

- [Ne] P. D. Nelson (ed.), *GRH via exercises*, sheets written and refereed by AI agents, 26/11/2026, follows the rewriting [Se]: <https://ultronozm.github.io/grh-workbook/>
- [Ne0] P. D. Nelson (ed.), *GRH via exercises*, "original-route" snapshot of 25/11/2026, which follows the first-released code (the one of this synthesis); it warns that it may misstate hypotheses or attributions: <https://ultronozm.github.io/grh-workbook/original-route/>
- [Se] L. Sernau (with Anthropic and Claude), *A short Lean 4 proof of the Generalized Riemann Hypothesis*, commit `72fead1`, 25/11/2026: <https://github.com/lsernau/grh-lean>
- [Su2] A. Sutherland, verification of the short proof and exports: <https://math.mit.edu/~drew/shortgrh/>
- [R3] M. Rubinstein, check of the compact edition: <https://mrubinst.github.io/grh-lean-compact-check/>
- [Ze] Z. Zeng, *The Invalidity of "The Invalidity of Alpöge's Proof of the Riemann Hypothesis"*, 23–24/11/2026: <https://github.com/ArtificialZeng/Riemann-hypothesis-Auditing>
- [R2] M. Rubinstein (with Claude, Codex and Gemini), *The Alpöge–Claude proof of the Riemann hypothesis explained for the Riemann zeta function*, working draft, 21–22/11/2026: <https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/zeta-paper.pdf>. The most detailed exposition, restricted to ζ, in the style of classical analytic number theory.
- [Ad] J. Adriazola, *On Alpöge's Proof of the Riemann Hypothesis*, 73 pp., 27/11/2026: <https://github.com/jimjamzola/RH-Alpoge-Reconstruction>. Restricted to ζ. Part I (reduction of RH to an arithmetic bound) is proved; Part II is a conditional theorem, under twenty-two hypotheses ("landmines") translated from the formal proof or from an earlier manuscript of the author, which he says he has not matched with the Lean declarations (sixteen are matched to date, to varying degrees: Appendix F), and it cites working notes that have not been proofread.
- [VL] V. Liu, *The Rhythm of Primes*, version 1.0.0, 497 pp., 27/11/2026: exposition of [Se] statement by statement, with a table of anchors to the Lean declarations: <https://github.com/AlienMuse/the-rhythm-of-primes>
- [BL] B. Liu, *On a complete written proof of the Riemann Hypothesis*, 604 pp., 26/11/2026: follows the arrangement of [Se] for ζ and aims to be independent of the formalization; not refereed, read in excerpts only.
- [R4] M. Rubinstein, sketch of the shortened proof, version 1.5.6, 29/11/2026.
- [S] S. Slijepčević, *Outline of Alpöge's proof of the generalised Riemann hypothesis*, hexagon:2611.00812: <https://cantabpi.com/grh.pdf>
- [Z] R. Zhang, *A preliminary note on Alpöge's proposed proof of the generalized Riemann hypothesis*, hexagon:2611.00809: <https://www.ihes.fr/~rzhang/files/GRH%20note.pdf>
- [H] twinheterodox, *Three simplifications in the Alpöge–Claude argument for Dirichlet GRH*, hexagon:2611.00828: <https://hexagonmath.org/2611.00828v1>
- [G] `RH-Alpoge-Reconstruction` (repository of [Ad]; textual reading of the source): <https://github.com/jimjamzola/RH-Alpoge-Reconstruction>
- M. Lerma, *A Schematic RH Proof for Dummies* (popular account): <https://mlerma54.github.io/papers/ai_assisted/RH_Proof_for_Dummies.pdf>

**Companion documents** (same repository)

- [PMC] *Preuve modulo des énoncés certifiés* (Proof modulo certified statements), `preuve-modulo-certifies.md`, version 0.27.
- [N1] *La somme de premiers contre le gain, sur les orbites servies* (The prime sum against the gain, on the served orbits), `note-A1-orbites-servies.md`, version 0.5 (English version: `note-A1-served-orbits.md`).
- [Co] *Le bilan en pentes et les théorèmes A, B, C* (The slope balance and Theorems A, B, C), correspondence table between the two proofs, `correspondance-deux-preuves.md`, version 0.6.
- Survey of the published works: `biblio-grh.md`, § 10.

**Classical references**

- H. Davenport, *Multiplicative Number Theory*, 3rd ed., Springer, 2000.
- J.-B. Bost, "Périodes et isogénies des variétés abéliennes sur les corps de nombres", Séminaire Bourbaki, exp. 795, 1995 (slope inequalities).
- S. A. Stepanov, "On the number of points of a hyperelliptic curve over a finite prime field", *Izv. Akad. Nauk SSSR* 33, 1969; E. Bombieri, "Counting points on curves over finite fields (d'après S. A. Stepanov)", Séminaire Bourbaki, exp. 430, 1973.
- [BS] E. Bach, J. Sorenson, *Explicit bounds for primes in residue classes*, Mathematics of Computation 65 (1996), 1717–1735.
- [Ba] E. Bach, *Explicit bounds for primality testing and related problems*, Mathematics of Computation 55 (1990), 355–380.
- [Ho] T. Honda, *Formal groups and zeta-functions*, Osaka Journal of Mathematics 5 (1968), 199–213.
- [Haz] M. Hazewinkel, *Formal Groups and Applications*, Academic Press, 1978.
- [CS] S. Chowla, A. Selberg, *On Epstein's zeta-function*, Journal für die reine und angewandte Mathematik 227 (1967), 86–110.
- [Wa] N. Wach, *Représentations p-adiques potentiellement cristallines*, Bulletin de la Société mathématique de France 124 (1996), 375–400; see also L. Berger, *Limites de représentations cristallines*, Compositio Mathematica 140 (2004), 1473–1498.

## Version history

- **5.7** (30/11/2026): final checks before stabilization (`suggestions13.md`), mirroring the French 5.7. Substantive corrections: in the prologue, the rate $p/(p^2-1)$ for the lemniscate is a reference rate illustrated by the numerical values, not an established asymptotic formula; in the preliminaries, the root number is given by its formula; in § 3.5, the extreme cases of the truncated-profile identities, weak majorization, and the exact hypotheses of Dwork's lemma (read off the export); in § 4.3, the hypotheses of the kink lemma; in Part II and Appendix F, the sentence on the hypotheses compared with the formal proof is restricted to the sixteen that have been. Vocabulary: "marginal cost" is reserved for the cost of one additional lift; the $x/m$ term is the amortized fixed cost, the term linear in $m$ the growing contribution to the cost per lift (§§ 4.1, 4.4, 6; Stepanov figure). Point corrections: additivity of valuations in Workshop 3, Euler's formula for the Bernoulli numbers, the rank $k+j(t_r+1)$ written the same way everywhere, six classical references moved to their heading. Full title restored. Last requests: the three thresholds on $p$ in § 3.5 are related and explained; the Bessel-period factorization is listed as matched in the Part II table, as in Appendix F; Appendix A is reduced to what the author's note states; the conclusion keeps a single triad; the summation index of the theorem in § 3.5 is renamed $j$, the letters $g$ and $f$ of § 6.2 are defined, and Appendix D lists the letters with several meanings. Not proofread by a human.
- **5.6** (29/11/2026): editorial stabilization after review no. 12 (`suggestions12.md`) and the English-language review (`suggestions-en.md`). *The English text is now edited as an English manuscript and no longer follows the French sentence by sentence.* Structure: new title; an abstract follows it; two boxes in the prologue (the loss $\gamma N$, the lemniscate); the five overview answers are tightened; six transitions between sections are rewritten; "What is proved, exactly" now precedes "A sixth question", which concludes the main text by returning to the factorial; § 6 is titled "Why balancing the parameters leads to the exponent 1/2"; several headings reworded. Figure: truncated profile in § 3.5. Vocabulary: a restrained bookkeeping lexicon (gain, cost, loss, reserve, compensation, amortized cost per lift, bookkeeping inequality, error budget); two links with amortized analysis (aggregate analysis in § 6.1, accounting method for the kink lemma in § 4.3); the potential method is not used, for lack of a useful potential function. American spelling throughout. Substantive corrections, identical to the French 5.6: the limit of $(|A_n|/n!)^{1/n}$ does not exist (lower limit 0, upper limit $\sqrt2/\varpi$); in the kink lemma, the positions of the orbit alternate in parity, not the tops, and the sum runs over the odd tops that have an even predecessor; in §§ 5.4 and 5.6, the cancellation of the main terms rests on equalities, the other archimedean estimates are bounds; in § 6, the optimum $m=\sqrt x$ is that of the model, the actual parameters carry $\varepsilon$ margins, and $x^{1/2+O(\varepsilon)}$ is distinguished from the bound obtained once GRH is established; "certified in its form" becomes "matched at the structural level only"; the method note states the scope of negative conclusions. Not proofread by a human.
- **5.5** (29/11/2026): *Vocabulary made uniform afterwards ("bookkeeping" for the accounting of slopes, "assumed" rather than "admitted", "allowed twists", section and paragraph titles aligned). English text resynchronized with the French original in one pass, from 4.9 to 5.5; the new and modified passages were machine-translated against a common glossary and checked for structure, not proofread by a human. The detailed history of versions 1.0 to 4.9 exists in French only (`synthese-historique.md`).* § 3.5 reordered and tightened. The order is now: Theorem A and its CM point; its proof and its hypotheses; why a total is not enough (truncated profiles); what the height-2 computation gives; where the threshold comes from; the positions along the orbits; what the formal proof contains. The last paragraph is rewritten: the formal proof contains Adriazola's theorem in the same form, and in addition a flow statement that he does not have (correction of an imprecise matching, after the notebook, E33).
- **5.4** (29/11/2026): reminders of notation. Twelve notations used without definition receive a gloss at the place where they are used (§§ 3.3, 3.4, 4.3, 6.2, 7 and Workshop 4), after the text itself, the export or [Ad]; the index of notation of Appendix D gains ten lines.
- **5.3** (29/11/2026): continuous read-through after the streamlining, by three reviewers. About one hundred and forty retouches: wrong internal references, "above" without a referent, duplicated sentences, declaration names left without explanation, mentions "on the export" that cut the narrative. § 3.5 is not touched. The table "State of understanding" and the detail of the confrontation with Adriazola's hypotheses are in Appendix F.
- **5.2** (29/11/2026): streamlining, steps 4 and 5. §§ 5.5 and 6.2: the two technical reconstructions (page step, spread of line A3) move to an Appendix E, with a summary in their place; the code blocks and the declaration names are removed from the narrative. Part II: the three status tables are merged into a single one, "Where things stand, level by level". The detailed table "State of understanding" is kept in Appendix F.
- **5.1** (29/11/2026): streamlining, third step. In §§ 2.5, 3.4, 4.3, 5.4 and 7, the matching statuses and the declaration names are replaced by sentences that say what the formal proof proves, with no necessary reference to another document. § 3.5 is not touched.
- **5.0** (29/11/2026): streamlining, first steps. The detailed history has been moved out into `synthese-historique.md`. The paragraphs "What the graph says" are reduced to what they say about the cost of each step; the lists of declarations and of weights are in the companion article. The former Part II is merged into the overview, and the assessment becomes Part II. Workshop 5 is deleted; the computation of the constant of the main term now opens § 5.5, and the former Workshop 6 becomes Workshop 5. Appendices C.4 and C.5 are merged.
- Versions 1.0 to 4.9: see `synthese-historique.md`.

## Method and AI-use note

**Use of AI.** Claude (Anthropic) wrote the analysis tools, read the statements of the export and drafted the text, under the direction of the author, who set the questions, the organization and the standards of rigor, and reviewed each version. ChatGPT (OpenAI) proposed the narrative rewrite of version 3 and reviewed later versions; each of its proposals was checked on the export or on the sources before being adopted, and several were corrected (see the history). No passage has yet been reviewed by an outside specialist.

*Method: streaming read of the export (62 GB decompressed) with [`tools/deps.c`](tools/deps.c); declaration graph, dominators (Cooper–Harvey–Kennedy) and reverse index with [`analyse_export.py`](tools/analyse_export.py), [`revindex.py`](tools/revindex.py) and [`query.py`](tools/query.py); reprinting of statements with [`show.py`](tools/show.py); interface graph with [`interfaces.py`](tools/interfaces.py) and [`organes.py`](tools/organes.py); toy models and figures with [`modeles.py`](tools/modeles.py). Negative conclusions of the form "X is not used" are established on the export, not by text search. Their scope is that of the dependency model employed: a declaration depends on the constants that occur in its type or in its value, and the closure is what can be reached in this way from the final theorems. The analysis is syntactic: it establishes that a declaration lies outside the closure, or that a component is extracted by no consumer, but it says nothing about the mathematical role of a constant that occurs in a term. Nor is an unused component thereby a removable dependency: removing it in isolation may require rewriting the statements that carry it (Part II, "Redundant structure and alternative constructions"). The tools and the text were written with Claude (Anthropic); the narrative rewrite of version 3 was proposed with ChatGPT, then checked and merged.*

