Part II, chapter 9
Theta series, and the chain of lifts
The proof keeps the idea of chapter 8, differentiate a function of arithmetic origin and look at what divides the result, but changes the function to a theta series. Its derivatives are arithmetic after a period is removed, and their size is a square root of a factorial. Arranged as matrices between finite sets of lattices they are theta lifts, and the proof composes about of them.
draft, under review22 minfirst published in v0.1.0, 2026-11-22
The simplest case
Let be the lattice of Gaussian integers and put
The Gaussian factor makes the sum converge for every , so is entire. Its -th derivative at the origin is : differentiating times at the origin means inserting the weight into the sum over the lattice, and for a polynomial , is a weighted count of lattice points. Because is preserved by multiplication by , vanishes unless . Three things are visible in this example, and all three can be checked by direct computation (the exposition §I.4.1; our numbers are in the tables below).
- A period. , where is the lemniscate constant, the period of the curve of chapter 8. And .
- Rationality. After division by and by the values are rational numbers with denominator . The exposition identified them numerically to 250 digits and observed, to more than 400 digits, the identity with and the Weierstrass functions of the lattice with , , whose Taylor coefficients are rational; he has not written out a proof. That lattice sums of this kind are algebraic multiples of powers of a period is a classical theorem (Damerell). So derivatives of are arithmetic objects once the period is removed. Each derivative costs one factor ; this is why a term linear in the order of differentiation, , appears in the size estimate of chapter 13.
- Gaussian size. By Cauchy–Schwarz, , and the first factor is comparable to . So is at most about : the square root of a factorial, not a factorial.
| k | rk = T4k / (T0(ϖ/π)4k) |
|---|---|
| 1 | 1/4 |
| 2 | 17/16 |
| 3 | -111/64 |
| 4 | 12513/256 |
| 5 | -146079/1024 |
| 6 | 81727857/4096 |
Identified to the stated precision; the denominators are 4k. At k = 30 the numerator has 80 digits and the exponent of 3 in it is 14, against 120 · 3/8 = 45 for the lemniscate numbers.
| n | log |Tn| | ½ log(n!/πn) | log n! |
|---|---|---|---|
| 20 | 1.5 | 9.7 | 42.3 |
| 40 | 19.2 | 32.3 | 110.3 |
| 80 | 62.7 | 91.0 | 273.7 |
| 120 | 119.0 | 160.2 | 457.8 |
The derivative of a Gaussian function grows like the square root of a factorial; the lemniscate numbers of chapter 8 grow like a full factorial.
A warning, with numbers. This simplest theta function does not have the full divisibility of chapter 8. At the exponent of in is , whereas . For the lemniscate sine it was the full amount, but the size was too large. Having both at once, full divisibility at inert primes and Gaussian size, is a theorem about the particular theta series used in the proof, written in particular coordinates. It is the deepest local statement in the argument (chapter 10 says what is proved about it).
A squared Gaussian norm: one factorial for the square
Give the polynomials in a complex variable the inner product with weight . Then the monomials are orthogonal and
For several variables the norms multiply: , the product of the factorials of the entries of the exponent vector . Put . Writing , a derivative of order at is , so , and Cauchy–Schwarz applied to the lists and gives
For the first factor is . The second factor is a Gaussian-weighted norm of the theta function; bounding it is the analytic part of the size estimate (chapter 13). So the squared size of an entry is about times lower-order factors: its logarithm is , one factorial for the square. Compare (D3): there the squared size was against from divisibility. The leading terms now agree, and the comparison becomes a statement about the terms of order .
The archive’s jet library pairs a polynomial with a power series in exactly this way, and proves the Leibniz-type identity that makes directional derivatives of the polynomial side appear with their factorials:
Formalism.DworkPowerSeriesWeights.jetPairdefGaussJetBounds/StatementI.lean:13The pairing of a polynomial with a power series : the sum over exponents of the coefficients of against those of with the factorial weight.
def jetPair {K : Type u} [Field K] {ι : Type} (P : MvPolynomial ι K) (Th : MvPowerSeries ι K) : K
The pairing of a polynomial with a power series : the sum over exponents of the coefficients of against those of with the factorial weight.
Full declaration with proof
def jetPair {K : Type u} [Field K] {ι : Type} (P : MvPolynomial ι K) (Th : MvPowerSeries ι K) : K :=
∑ κ ∈ P.support, MvPolynomial.coeff κ P * ((mfact κ : ℕ) : K) * MvPowerSeries.coeff κ ThFormalism.InvariantFactorPaths.G7.JetPairingHasseIdentitydefUniformThetaSubstitution/StatementAB.lean:29Pairing with , where the are linear forms, equals times the pairing of the Hasse derivative of of order in the directions with . Chapter 10 uses Hasse derivatives because they carry no factorial denominators.
def JetPairingHasseIdentity : Prop
Pairing with , where the are linear forms, equals times the pairing of the Hasse derivative of of order in the directions with . Chapter 10 uses Hasse derivatives because they carry no factorial denominators.
Full declaration with proof
def JetPairingHasseIdentity : Prop :=
∀ (K ι κ : Type) [Field K] [Fintype ι] [Fintype κ] (b : κ → ι → K) (β : κ →₀ ℕ)
(Q : MvPolynomial ι K) (G : MvPowerSeries ι K),
jetPair Q ((∏ k, linS (b k) ^ β k) * G) =
((∏ k, (β k).factorial : ℕ) : K) * jetPair (hasseDir b β Q) GThe general case
In the proof, is replaced by a lattice of the following kind. Let be a number field with complex multiplication (chapter 11 specifies it), and let be lattices over its ring of integers, of ranks and , each with a positive definite Hermitian form. The role of is played by the lattice of linear maps from to . The variable becomes a complex matrix, one for each embedding of in from a fixed set of embeddings (a CM type; is the degree of , and is the number of columns of the table of chapter 11). The theta series is a holomorphic function of all these matrix entries, and one applies a differential operator with a polynomial in the entries. Normalised by the period, the numbers are the divisible objects of the proof.
Why differentiate at all? Three separate reasons.
- It is forced by the construction. These numbers, for suitable , are exactly the entries of the matrix of a theta lift between spaces of forms of prescribed weights. The degree of at a given embedding is one of the parameters of these spaces; call it the order , reserving weight for the parameters of chapter 10. It can be chosen freely, and it will be chosen huge.
- Differentiation creates divisibility. This is the mechanism of chapter 8: in a suitable algebraic coordinate the function has -integral Taylor coefficients, an -th derivative multiplies a coefficient by , and at an inert prime the net gain is .
- Differentiation costs little in size. By the Gaussian computation above, an -th derivative has squared size about .
A theta lift in classical terms
A theta series counts representations by a quadratic form. For the form and ,
the coefficient of being because the solutions of are and . A theta series has two properties at once: it is a sum over a lattice, so its coefficients are integers with arithmetic meaning; and it is Gaussian in nature, so its size is governed by Gaussian integrals. These are the two properties the proof needs.
To make this a lift, allow the lattice to vary within a finite collection of isometry classes (the classes in a genus). Attach to each class a value and weight it by . The theta series are now a kernel depending on both a class and a variable, and the lifted function is . In the case used here both groups are definite unitary groups, for which everything is finite: a “function on the group” is a function on the finite set of classes, the integral is a finite sum weighted by , and the lift is a matrix. Its entries are derivatives, at the origin, of the theta series attached to pairs of lattices.
UpperTheory.theta_lift_lineartheoremAdelicQuotients/ThetaLiftLinear.lean:37The adelic form of the lift: for a Schwartz function and a function on the first group; the theorem proves it is linear in and conjugate-linear in .
theorem UpperTheory.theta_lift_linear : Tools → ∀ (F E : Type) [Field F] [NumberField F] [Field E] [NumberField E] [Algebra F E] (σ : E →ₐ[F] E) (B : Base F E) (n d : ℕ) (X : Spc F E n) (W : Spc F E d) (M : Model σ X W) (χX χW : Chr F E) (om : Rep σ X W), IsPair B M χX χW om n 0 d 0 → (∀ Φ ∈ schA F (Fin n × Fin d), ∀ Φ' ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om (Φ + Φ') φ = lift M om Φ φ + lift M om Φ' φ) ∧ (∀ (c : ℂ), ∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om (c • Φ) φ = c • lift M om Φ φ) ∧ (∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ φ' : UA σ X.J → ℂ, IsFn φ → IsFn φ' → lift M om Φ (φ + φ') = lift M om Φ φ + lift M om Φ φ') ∧ (∀ (c : ℂ), ∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om Φ (c • φ) = (starRingEnd ℂ) c • lift M om Φ φ)
The adelic form of the lift: for a Schwartz function and a function on the first group; the theorem proves it is linear in and conjugate-linear in .
Full declaration with proof
theorem UpperTheory.theta_lift_linear :
Tools → ∀ (F E : Type) [Field F] [NumberField F] [Field E] [NumberField E] [Algebra F E] (σ : E →ₐ[F] E) (B : Base F E) (n d : ℕ) (X : Spc F E n) (W : Spc F E d) (M : Model σ X W) (χX χW : Chr F E) (om : Rep σ X W), IsPair B M χX χW om n 0 d 0 → (∀ Φ ∈ schA F (Fin n × Fin d), ∀ Φ' ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om (Φ + Φ') φ = lift M om Φ φ + lift M om Φ' φ) ∧ (∀ (c : ℂ), ∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om (c • Φ) φ = c • lift M om Φ φ) ∧ (∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ φ' : UA σ X.J → ℂ, IsFn φ → IsFn φ' → lift M om Φ (φ + φ') = lift M om Φ φ + lift M om Φ φ') ∧ (∀ (c : ℂ), ∀ Φ ∈ schA F (Fin n × Fin d), ∀ φ : UA σ X.J → ℂ, IsFn φ → lift M om Φ (c • φ) = (starRingEnd ℂ) c • lift M om Φ φ) := by
intro T F E _ _ _ _ _ σ B n d X W M χX χW om hP
have hpres : ∀ x, ∀ Ψ ∈ schA F (Fin n × Fin d), om x Ψ ∈ schA F (Fin n × Fin d) := hP.weil.isUSplitting.pres
refine ⟨fun Φ hΦ Φ' hΦ' φ hφ => ?_, fun c Φ hΦ φ hφ => ?_, fun Φ hΦ φ φ' hφ hφ' => ?_, fun c Φ hΦ φ hφ => ?_⟩
· funext h
have e : ∀ g, theta om (Φ + Φ') g h * star (φ g) = theta om Φ g h * star (φ g) + theta om Φ' g h * star (φ g) := fun g => by
have : theta om (Φ + Φ') g h = theta om Φ g h + theta om Φ' g h := by
simp only [theta, map_add]
exact thetaSum_add F (hpres _ _ hΦ) (hpres _ _ hΦ')
rw [this, add_mul]
simp only [lift, Pi.add_apply, e]
exact integral_add (integrand_int T hP hΦ hφ h) (integrand_int T hP hΦ' hφ h)
· funext h
have e : ∀ g, theta om (c • Φ) g h * star (φ g) = c * (theta om Φ g h * star (φ g)) := fun g => by
simp only [theta, map_smul, thetaSum_smul, mul_assoc]
simp only [lift, Pi.smul_apply, smul_eq_mul, e, integral_const_mul]
· funext h
have e : ∀ g, theta om Φ g h * star ((φ + φ') g) = theta om Φ g h * star (φ g) + theta om Φ g h * star (φ' g) := fun g => by
simp only [Pi.add_apply, star_add, mul_add]
simp only [lift, Pi.add_apply] at e ⊢
simp only [e]
exact integral_add (integrand_int T hP hΦ hφ h) (integrand_int T hP hΦ hφ' h)
· funext h
have e : ∀ g, theta om Φ g h * star ((c • φ) g) = (starRingEnd ℂ) c * (theta om Φ g h * star (φ g)) := fun g => by
simp only [Pi.smul_apply, smul_eq_mul, star_mul', starRingEnd_apply]
ring
simp only [lift, Pi.smul_apply, smul_eq_mul] at e ⊢
simp only [e, integral_const_mul]in the archive, off the route The exposition’s dependency check (Part III, introduction) found that this linearity statement, like the finite-chain statements below, is present in the archive but not among the 1,478,198 declarations on which riemannHypothesis depends. They are parallel formulations of what the route proves in other words; we quote them because they are the clearest statements of the shape.
Composing maps
Let be the finite set of classes at stage , its weights, and the matrix of the -th map. In the linear convention, . Expanding two such sums gives the composite kernel : successive maps really do use the same intermediate index. The archive’s statement library on theta-lift independence writes exactly this algebra.
Formalism.ThetaLiftIndependence.kerOpdefThetaLiftIndependence/Statement.lean:10A kernel with weights acting on : .
def kerOp {R ι κ : Type*} [CommSemiring R] [Fintype ι] (w : ι → R) (K : ι → κ → R) (f : ι → R) : κ → R
A kernel with weights acting on : .
Full declaration with proof
def kerOp {R ι κ : Type*} [CommSemiring R] [Fintype ι] (w : ι → R) (K : ι → κ → R)
(f : ι → R) : κ → R :=
fun j => ∑ i, w i * f i * K i jFormalism.ThetaLiftIndependence.kerMuldefThetaLiftIndependence/Statement.lean:14The composite kernel .
def kerMul {R ι κ μ : Type*} [CommSemiring R] [Fintype κ] (w : κ → R) (K₁ : ι → κ → R) (K₂ : κ → μ → R) : ι → μ → R
The composite kernel .
Full declaration with proof
def kerMul {R ι κ μ : Type*} [CommSemiring R] [Fintype κ] (w : κ → R) (K₁ : ι → κ → R)
(K₂ : κ → μ → R) : ι → μ → R :=
fun i k => ∑ j, K₁ i j * w j * K₂ j kFormalism.ThetaLiftIndependence.KerCompdefThetaLiftIndependence/Statement.lean:35Applying two kernels in turn equals applying their composite.
def KerComp : Prop
Applying two kernels in turn equals applying their composite.
Full declaration with proof
def KerComp : Prop :=
∀ (R : Type) [CommSemiring R] (ι κ μ : Type) [Fintype ι] [Fintype κ]
(w₁ : ι → R) (w₂ : κ → R) (K₁ : ι → κ → R) (K₂ : κ → μ → R) (f : ι → R),
kerOp w₂ K₂ (kerOp w₁ K₁ f) = kerOp w₁ (kerMul w₂ K₁ K₂) fFormalism.ThetaLiftIndependence.KerAdjointdefThetaLiftIndependence/Statement.lean:29The adjoint kernel with respect to the weighted inner products on both sides.
def KerAdjoint : Prop
The adjoint kernel with respect to the weighted inner products on both sides.
Full declaration with proof
def KerAdjoint : Prop :=
∀ (R : Type) [CommSemiring R] [StarRing R] (ι κ : Type) [Fintype ι] [Fintype κ]
(w : ι → R) (w' : κ → R) (K : ι → κ → R) (f : ι → R) (g : κ → R),
(∀ i, star (w i) = w i) →
wip w' (kerOp w K f) g = wip w f (kerOp w' (kerAdj K) g)Formalism.ThetaLiftIndependence.chainOpdefThetaLiftIndependence/Statement.lean:24The chain: kernels applied in order, by recursion on .
def chainOp {R : Type*} [CommSemiring R] {ι : ℕ → Type*} [∀ j, Fintype (ι j)] (w : ∀ j, ι j → R) (K : ∀ j, ι j → ι (j + 1) → R) : (m : ℕ) → (ι 0 → R) → (ι m → R) | 0, f => f | m + 1, f => kerOp (w m) (K m) (chainOp w K m f) def KerAdjoint : Prop
The chain: kernels applied in order, by recursion on .
Integrality through a chain. Let be a subring of a commutative ring . Suppose all and the starting values lie in , and scalars satisfy for every . Then every final value multiplied by lies in . For one map this follows by moving into its finite sum; induction does the rest. On one class, with successive weights , kernel entries and starting value , the output is , and clearing the two weights gives . At the prime , two entries divisible respectively by and would give a cleared output divisible by : in a sum the exponent can increase through cancellation, but it is always at least the common lower bound on the summands. This is how divisibility persists along the chain; it is the analogue of a function vanishing to order in Stepanov’s proof. Putting significant prime powers into each kernel entry needs the local estimates of chapter 10.
Formalism.ThetaLiftIndependence.ChainIntdefThetaLiftIndependence/Statement.lean:40The integrality assertion above, exactly: with and all kernel entries in , for every .
def ChainInt : Prop
The integrality assertion above, exactly: with and all kernel entries in , for every .
Full declaration with proof
def ChainInt : Prop :=
∀ (R : Type) [CommRing R] (S : Subring R) (ι : ℕ → Type) [∀ j, Fintype (ι j)]
(w : ∀ j, ι j → R) (K : ∀ j, ι j → ι (j + 1) → R) (D : ℕ → R),
(∀ j i, D j * w j i ∈ S) → (∀ j a b, K j a b ∈ S) →
∀ f : ι 0 → R, (∀ i, f i ∈ S) → ∀ (m : ℕ) (y : ι m),
(∏ j ∈ Finset.range m, D j) * chainOp w K m f y ∈ SThe ranks. In the archive the definite groups along the chain have ranks for an odd integer (the exposition writes ), and the rank record carries the numerical conditions the construction needs: even and at least , even and at least , and . For instance , , gives ranks . Since is even and at least , the chain has at least two steps; in the proof (chapter 15).
Formalism.BasicNotions.RanksstructureLocalRingCardinality/Params.lean:6The record of ranks: the frame (which carries the order of the column group), , , , and the inequalities between them.
structure Ranks extends Formalism.HC.Frame
The record of ranks: the frame (which carries the order of the column group), , , , and the inequalities between them.
Full declaration with proof
structure Ranks extends Formalism.HC.Frame where k : ℕ m : ℕ t : ℕ k_even : Even k m_even : Even m t_odd : Odd t two_le_m : 2 ≤ m m_add_three_le_k : m + 3 ≤ k rank_add_five_le : k + m - 1 + 5 ≤ t three_m_lt_t : 3 * m < t m_le_f : m ≤ 2 * ord f_le_k : 2 * ord ≤ k m_sq_le_N : m ^ 2 ≤ k + m * (t + 1)
Formalism.BasicNotions.Ranks.NdefLocalRingCardinality/Params.lean:36, the rank at stage .
def N (j : ℕ) : ℕ
, the rank at stage .
Passing between consecutive groups is governed by interlacing of weights, and the sizes of the spaces of forms enter through Weyl's dimension formula and a hook product:
Formalism.MainNotions.flipTwoThree.InterlacedefGlobalSchurBounds/FlipTwoThree.lean:107A dominant weight for rank interlaces for rank when for every .
def Interlace {n : ℕ} (lt : DomWeight (n + 1)) (sg : DomWeight n) : Prop
A dominant weight for rank interlaces for rank when for every .
Full declaration with proof
def Interlace {n : ℕ} (lt : DomWeight (n + 1)) (sg : DomWeight n) : Prop :=
∀ i : Fin n, lt.w i.succ ≤ sg.w i ∧ sg.w i ≤ lt.w i.castSuccFormalism.MainNotions.flipTwoThree.dimVdefGlobalSchurBounds/FlipTwoThree.lean:35Weyl's formula for : .
def dimV {N : ℕ} (lam : Fin N → ℤ) : ℝ
Weyl's formula for : .
Full declaration with proof
def dimV {N : ℕ} (lam : Fin N → ℤ) : ℝ :=
∏ i : Fin N, ∏ j ∈ Finset.univ.filter (fun j => i < j),
(((lam i - lam j + (j : ℤ) - (i : ℤ) : ℤ) : ℝ) / (((j : ℤ) - (i : ℤ) : ℤ) : ℝ))Formalism.MainNotions.flipTwoThree.hookdefGlobalSchurBounds/FlipTwoThree.lean:30The hook product of a diagram; for a single row of length it is , the factor that the Gaussian norm of produces.
def hook {N : ℕ} (nu : Fin N → ℚ) : ℝ
The hook product of a diagram; for a single row of length it is , the factor that the Gaussian norm of produces.
Full declaration with proof
def hook {N : ℕ} (nu : Fin N → ℚ) : ℝ :=
(∏ i : Fin N, (((⌊nu i⌋.toNat + N - 1 - i : ℕ).factorial : ℕ) : ℝ)) /
∏ i : Fin N, ∏ j ∈ Finset.univ.filter (fun j => i < j),
(((⌊nu i⌋ - ⌊nu j⌋ + (j : ℤ) - (i : ℤ) : ℤ)) : ℝ)What is quoted, and what the reader can check
The exposition’s table (§I.4.5) separates the statements of this chapter by status. Computed, with scripts: , the period, the rational numbers , the size of (we recomputed all of them; the identification of is exact to the precision in theta-gaussian.json, with agreeing to the digits computed). Proved above: and the Cauchy–Schwarz inequality; the identity of chapter 10 is elementary. Proved in his Part II, §6.4: that a determinant absorbs one derivative per direction, and the factorial count. Quoted from the Lean development: that the entries of the lift are the numbers , and the exponent bound for the theta series of the proof, which his §III.5 writes up conditionally on the integrality of the theta kernels in the coordinates of the height-two logarithm.