Part II, chapter 13
Size, periods, and the count of forms
The size side of (M). The squared norm of a lift has logarithm with the linear term known exactly: a Gaussian integral, a period fixed by Kronecker's limit formula (the Chowla–Selberg form), and a count of forms by Siegel's mass formula and Weyl's dimension formula. After an exact cancellation the linear term is the main term of the prime sum. That the two sides produce the same linear term is the reason the method can work at all.
draft, under review20 minfirst published in v0.1.0, 2026-11-22
The model for the size of a derivative
Let be an entire function with for all . Cauchy’s formula on the circle gives , so by Stirling, if ,
One factorial for the square, as in chapter 9. Compare a function with a pole at finite distance, such as , whose -th derivative at is : the logarithm of the square is . That was the lemniscate sine of chapter 8. If the coordinate is changed by a factor, with , the -th derivative with respect to is times that with respect to , and the bound becomes . This is the shape of the size estimate, with its sign. The archive writes the function as ph:
Formalism.RankGapBounds.WeightedMeanData.phdefRankGapBounds/MeanBoundSecondForm.lean:9: Stirling's leading terms, the shape of .
def ph (y : ℝ) : ℝ
: Stirling's leading terms, the shape of .
The paragraphs of the exposition's Part III, §III.4 carry the model over to the setting of the proof: several complex variables, a polynomial with values in linear maps in place of a single derivative, several blocks of variables (one per place), and sums over classes of lattices. The one-block, one-map and chain estimates are proved there in an abstract setting; four passages (the reference mean square, the eigenvalues of a lift, the row-by-row comparison with the hook product, the pairing at the end of the chain) are conditional on inputs from the archive.
The period
The constants and are periods: belongs to an elliptic curve with complex multiplication by , and to the field . A derivative with respect to the algebraic invariant differential and one with respect to the analytic variable differ by a constant factor, the period; an -th derivative acquires its -th power, and is the square of that factor. Its value is
In this form the identity is Kronecker's limit formula; is then a geometric mean, over the ideal classes of , of squared periods of the corresponding elliptic curves. Expressing it through values of the Gamma function is the formula of Lerch and of Chowla and Selberg, whose name the archive uses. For , with replaced by and by the character modulo , exponentiating gives exactly: times the square of the factor met in chapter 9.
| quantity | value |
|---|---|
| Γ(1/4)4 / (4π2) | 4.376879230 |
| 2π (ϖ/π)2, with ϖ the lemniscate constant | 4.376879230 |
| exp(γ + log(2π/√4) − L′/L(1, χ4)) | 4.376879230 |
| L′/L(1, χ4) | 0.245609585 |
| log Ω for d = 23: γ + log(2π/√23) − L′/L(1, χ23) | 1.269466571 |
The three expressions for ℚ(i) agree to every digit computed; the L-values come from the Laurent expansion of the Hurwitz zeta function at s = 1 (digamma and the first Stieltjes constant), the same routine that produced the constants of chapter 11.
The archive does not construct the period from a specific curve: it states that a curve and a normalisation exist for which the formula holds, in the setting of a CM field and a host carrying the prime .
GlobalTheory.T.chowla_selberg_periodtheoremGeometryProofs/ChowlaSelbergPeriodStatement.lean:9For a CM field , a host with its prime , the Kronecker character modulo and a square root of : there is a curve datum with whose curve has the real period . The -function is Mathlib's `DirichletCharacter.LFunction`.
theorem _root_.GlobalTheory.T.chowla_selberg_period : ∀ (E : Type) [Field E] [NumberField E] [IsCMField E] (H : Host E) [NeZero H.d] (χ : DirichletCharacter ℂ H.d), IsKroneckerChar χ → ∀ ρ : ℂ, ρ ^ 2 = -(H.d : ℂ) → ∃ (Z : Curve0 H ρ) (x : ℝ), Z.z ≠ 0 ∧ Z.C.HasPeriod x ∧ (x : ℂ) = (Real.eulerMascheroniConstant + Real.log (2 * Real.pi / √H.d) : ℝ) - deriv χ.LFunction 1 / χ.LFunction 1
For a CM field , a host with its prime , the Kronecker character modulo and a square root of : there is a curve datum with whose curve has the real period . The -function is Mathlib's `DirichletCharacter.LFunction`.
Full declaration with proof
theorem _root_.GlobalTheory.T.chowla_selberg_period : ∀ (E : Type) [Field E] [NumberField E] [IsCMField E] (H : Host E) [NeZero H.d] (χ : DirichletCharacter ℂ H.d), IsKroneckerChar χ → ∀ ρ : ℂ, ρ ^ 2 = -(H.d : ℂ) → ∃ (Z : Curve0 H ρ) (x : ℝ), Z.z ≠ 0 ∧ Z.C.HasPeriod x ∧ (x : ℂ) = (Real.eulerMascheroniConstant + Real.log (2 * Real.pi / √H.d) : ℝ) - deriv χ.LFunction 1 / χ.LFunction 1 := by first | exact @GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod | exact GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod | (intros; apply GlobalTheory.CompanionTheory.Ar.Fl.exists_curve0_hasPeriod <;> assumption)
GlobalTheory.CompanionTheory.Ar.Fl.Curve0structureGlobalGeometry/IsCMFrame.lean:15The curve datum: a number field , an elliptic curve over its integers with the CM parameter (), its base change to , a holomorphic uniformisation whose lattice is quadratic of discriminant up to the scalar , and the differential.
structure Curve0 (H : Host E) (ρ : ℂ) : Type 1
The curve datum: a number field , an elliptic curve over its integers with the CM parameter (), its base change to , a holomorphic uniformisation whose lattice is quadratic of discriminant up to the scalar , and the differential.
Full declaration with proof
structure Curve0 (H : Host E) (ρ : ℂ) : Type 1 where
M : IntermediateField ℚ ℂ
[nf : NumberField M]
ω : 𝓞 M
C : Ell H (𝓞 M) ω
hω : 2 * ((ω : M) : ℂ) - 1 = ρ
C' : Ell H ℂ ((ω : M) : ℂ)
π : C'.P.A.left ⟶ C.P.A.left
map : EllMap C' C ((algebraMap M ℂ).comp (algebraMap (𝓞 M) M)) π
u : HolUnif C'.P.A C'.P.L C'.P.g
theta : PureType.IsThetaUnif u
c : ℂ
c_ne : c ≠ 0
lat : PureType.IsQuadLattice u.Λ H.d c
z : ℂ
diff : u.IsDiff (fun _ => c * z) C'.v
attribute [instance] Curve0.nf
variable {D : Datum H} {l : Level H} {Xo : Moduli D l} {g : ℕ} {ty : Fin g → (E →+* ℂ)}GlobalTheory.IsKroneckerChardefHomogeneousIdeals/ExistsIsKroneckerCharOfDiscr.lean:388The character : the Kronecker symbol as a Dirichlet character modulo .
def IsKroneckerChar {d : ℕ} (χ : DirichletCharacter ℂ d) : Prop
The character : the Kronecker symbol as a Dirichlet character modulo .
Full declaration with proof
def IsKroneckerChar {d : ℕ} (χ : DirichletCharacter ℂ d) : Prop :=
∀ n : ℕ, Odd n → χ n = (J(-(d : ℤ) | n) : ℤ)The constant that enters the size bound for the field is , with , where is the root discriminant. With this is the form the archive uses in its comparison record:
Formalism.RankGapBounds.WeightedMeanData.Data.logOmdefRankGapBounds/MeanBoundSecondForm.lean:88, from the fields `gam`, `v`, `LpL` of the record of chapter 11.
def logOm : ℝ
, from the fields `gam`, `v`, `LpL` of the record of chapter 11.
The count of forms
The other source of linear terms is a count. The mass of a definite genus is the sum of over its lattice classes, as in chapter 9. The dimension of a representation of with strictly decreasing shifted weights is with (Weyl's formula). Siegel's mass formula gives the ratio of masses between consecutive ranks; writing for the number of weight places and for the extra local factors,
For two ranks with weight lists at the places, multiplying the mass ratios and the dimension ratios gives precisely
because the extra in the mass cancels the extra in each dimension denominator. For a numerical check take one place, , , , : the dimensions are and , the ratio is , the factorial from the mass is , leaving . The archive states the mass recurrence, with computed from the discriminant, and proves it for unimodular definite lattices in a separate theorem.
Formalism.HermitianLatticesTheory.SiegelMassRatiodefHermitianLattices/StatementMass.lean:67For a CM field unramified in the relevant sense, , and orthonormal Hermitian lattices of ranks and : the right side below.
def SiegelMassRatio : Prop
For a CM field unramified in the relevant sense, , and orthonormal Hermitian lattices of ranks and : the right side below.
Full declaration with proof
def SiegelMassRatio : Prop :=
∀ (K : Type) [Field K] [NumberField K] [StarRing K], IsCMUnram K →
∀ (M : ℕ), 3 ≤ M →
∀ (V V' : Type) [AddCommGroup V] [Module K V] [Module (RingOfIntegers K) V]
[IsScalarTower (RingOfIntegers K) K V] [AddCommGroup V'] [Module K V']
[Module (RingOfIntegers K) V'] [IsScalarTower (RingOfIntegers K) K V']
(h : V →ₗ⋆[K] V →ₗ[K] K) (h' : V' →ₗ⋆[K] V' →ₗ[K] K)
(L : Submodule (RingOfIntegers K) V) (L' : Submodule (RingOfIntegers K) V'),
h.IsSymm → h'.IsSymm → IsOrthoLattice h L M → IsOrthoLattice h' L' (M - 1) →
mass h L / mass h' L' = massRatioRightSide K MFormalism.HermitianLatticesTheory.massRatioRightSidedefHermitianLattices/StatementMass.lean:40, with the number of infinite places and = `vInv`.
def massRatioRightSide (K : Type*) [Field K] [NumberField K] [StarRing K] (M : ℕ) : ℝ
, with the number of infinite places and = `vInv`.
Full declaration with proof
def massRatioRightSide (K : Type*) [Field K] [NumberField K] [StarRing K] (M : ℕ) : ℝ :=
(((Nat.factorial (M - 1) : ℕ) : ℝ) * (vInv K / Real.pi) ^ M) ^ fDeg K /
Real.sqrt ((2 * vInv K) ^ fDeg K) * lValEta K MFormalism.HermitianLatticesTheory.vInvdefHermitianLattices/StatementMass.lean:27.
def vInv (K : Type*) [Field K] [NumberField K] : ℝ
.
Full declaration with proof
def vInv (K : Type*) [Field K] [NumberField K] : ℝ := |(discr K : ℝ)| ^ ((1 : ℝ) / (2 * fDeg K)) / 2
Formalism.HermitianLatticesTheory.eulerFacdefHermitianLattices/StatementMass.lean:30The local factor at a prime ideal: at a conjugation-stable prime, otherwise.
def eulerFac (K : Type*) [Field K] [NumberField K] [StarRing K] (M : ℕ) (P : Ideal (RingOfIntegers K)) : ℝ
The local factor at a prime ideal: at a conjugation-stable prime, otherwise.
Full declaration with proof
def eulerFac (K : Type*) [Field K] [NumberField K] [StarRing K] (M : ℕ)
(P : Ideal (RingOfIntegers K)) : ℝ :=
if conjIdeal (K := K) P = P then
(1 - (-1 : ℝ) ^ M * (Real.sqrt (Ideal.absNorm P : ℝ)) ^ (-(M : ℤ)))⁻¹
else
(1 - (Ideal.absNorm P : ℝ) ^ (-(M : ℤ))) ^ (-(1 : ℝ) / 2)Formalism.HermitianLatticesTheory.massdefHermitianLattices/StatementMass.lean:11The mass: over a set of class representatives.
def mass {K V : Type*} [Field K] [NumberField K] [StarRing K] [AddCommGroup V] [Module K V] [Module (RingOfIntegers K) V] [IsScalarTower (RingOfIntegers K) K V] (h : V →ₗ⋆[K] V →ₗ[K] K) (L : Submodule (RingOfIntegers K) V) : ℝ
The mass: over a set of class representatives.
Full declaration with proof
def mass {K V : Type*} [Field K] [NumberField K] [StarRing K] [AddCommGroup V] [Module K V]
[Module (RingOfIntegers K) V] [IsScalarTower (RingOfIntegers K) K V] (h : V →ₗ⋆[K] V →ₗ[K] K) (L : Submodule (RingOfIntegers K) V) :
ℝ := by
classical
exact if hs : ∃ s, Formalism.ThetaLiftIndependence.IsClassReps h L s then
∑ M ∈ hs.choose, ((Nat.card (Formalism.ThetaLiftIndependence.autL h M) : ℕ) : ℝ)⁻¹ else 0Formalism.HermitianLatticesTheory.IsOrthoLatticedefHermitianLattices/StatementMass.lean:18A lattice spanned by an orthonormal basis of the Hermitian form.
def IsOrthoLattice {K V : Type*} [Field K] [NumberField K] [StarRing K] [AddCommGroup V] [Module K V] [Module (RingOfIntegers K) V] (h : V →ₗ⋆[K] V →ₗ[K] K) (L : Submodule (RingOfIntegers K) V) (n : ℕ) : Prop
A lattice spanned by an orthonormal basis of the Hermitian form.
Full declaration with proof
def IsOrthoLattice {K V : Type*} [Field K] [NumberField K] [StarRing K] [AddCommGroup V]
[Module K V] [Module (RingOfIntegers K) V] (h : V →ₗ⋆[K] V →ₗ[K] K)
(L : Submodule (RingOfIntegers K) V) (n : ℕ) : Prop :=
∃ e : Fin n → V, LinearIndependent K e ∧ Submodule.span K (Set.range e) = ⊤ ∧
L = Submodule.span (RingOfIntegers K) (Set.range e) ∧
∀ i j, h (e i) (e j) = if i = j then 1 else 0Formalism.HermitianLatticesTheory.MassBasicdefHermitianLattices/StatementMass.lean:56Class representatives exist, the mass is their weighted count and it is positive.
def MassBasic : Prop
Class representatives exist, the mass is their weighted count and it is positive.
Full declaration with proof
def MassBasic : Prop :=
∀ (K V : Type) [Field K] [NumberField K] [StarRing K] [AddCommGroup V] [Module K V]
[FiniteDimensional K V] [Module (RingOfIntegers K) V] [IsScalarTower (RingOfIntegers K) K V]
(h : V →ₗ⋆[K] V →ₗ[K] K), h.IsSymm →
(∀ x : V, x ≠ 0 → 0 < Algebra.trace ℚ K (h x x)) →
∀ L : Submodule (RingOfIntegers K) V, Submodule.IsLattice K L →
(∃ s, Formalism.ThetaLiftIndependence.IsClassReps h L s) ∧
(∀ s, Formalism.ThetaLiftIndependence.IsClassReps h L s →
mass h L = ∑ M ∈ s, ((Nat.card (Formalism.ThetaLiftIndependence.autL h M) : ℕ) : ℝ)⁻¹) ∧
0 < mass h LFormalism.HermitianLatticesTheory.massBasictheoremHermitianLatticesProofs/MassBasic.lean:41Its proof.
theorem massBasic : MassBasic
Its proof.
Full declaration with proof
theorem massBasic : MassBasic := by
intro K V _ _ _ _ _ _ _ _ h hh hpos L hL
obtain ⟨hex, hwt, -⟩ := Formalism.ThetaLiftIndependence.classRepsDefinite K V h hh hpos L hL
refine ⟨hex, fun s hs => ?_, ?_⟩
· rw [massBasic_mass_eq h L hex]
have e := Formalism.ThetaLiftIndependence.latLiftIndep K V h L (fun _ => 1) (fun _ => 1)
(fun _ _ _ => rfl) (fun _ _ _ => rfl) _ _ hex.choose_spec hs
rw [← massBasic_sum_cast, ← massBasic_sum_cast] at e
exact_mod_cast e
· rw [massBasic_mass_eq h L hex]
obtain ⟨hmem, huniq⟩ := hex.choose_spec
obtain ⟨N, ⟨hN, -⟩, -⟩ := huniq L (massBasic_self_mem_genus h L hL)
apply Finset.sum_pos
· intro M hM
obtain ⟨n, hn, hnw⟩ := hwt M (hmem M hM)
have hc : Nat.card (Formalism.ThetaLiftIndependence.autL h M) = n := by
simp only [Formalism.ThetaLiftIndependence.latWt] at hnw
exact_mod_cast inv_inj.mp hnw
rw [hc]
exact inv_pos.mpr (by exact_mod_cast hn)
· exact ⟨N, hN⟩Formalism.HermitianLattices.Ext.L3.siegelMassRatiotheoremUnimodularClassRepresentatives/SiegelMassRatioOfLI.lean:59The mass ratio, proved.
theorem siegelMassRatio : Formalism.HermitianLatticesTheory.SiegelMassRatio
The mass ratio, proved.
GlobalTheory.T.siegel_massRatio_unimodular_definitetheoremFlagMeasures/SiegelMassRatioUnimodularDefiniteStatement.lean:6The mass ratio for unimodular definite lattices, in the automorphic part of the archive.
theorem _root_.GlobalTheory.T.siegel_massRatio_unimodular_definite : Formalism.HermitianLatticesTheory.SiegelMassRatio
The mass ratio for unimodular definite lattices, in the automorphic part of the archive.
Full declaration with proof
theorem _root_.GlobalTheory.T.siegel_massRatio_unimodular_definite : Formalism.HermitianLatticesTheory.SiegelMassRatio := by first | exact @GlobalTheory.Mass.siegelMassRatio_holds | exact GlobalTheory.Mass.siegelMassRatio_holds | (intros; apply GlobalTheory.Mass.siegelMassRatio_holds <;> assumption)
Formalism.CountingSumsFrames.weylDimdefPolynomialDimension/WeylDim.lean:9Weyl's dimension formula for , as a rational number.
def weylDim (n : ℕ) (lam : Fin n → ℤ) : ℚ
Weyl's dimension formula for , as a rational number.
Full declaration with proof
def weylDim (n : ℕ) (lam : Fin n → ℤ) : ℚ :=
∏ i : Fin n, ∏ j : Fin n,
if i < j then (((lam i - lam j : ℤ) : ℚ) + ((j : ℕ) : ℚ) - ((i : ℕ) : ℚ)) / (((j : ℕ) : ℚ) - ((i : ℕ) : ℚ))
else 1Why the linear term has precisely the required sign
Write for the positive auxiliary level attached to one choice of lattice data and for the logarithm of the product of the two level primes. The size and count bounds have the form, at a fixed translate,
where combines the height of the pairing map (the average over the archimedean places of the logarithm of the squared operator norm), the mean slope of the common lattice in which all the pairing maps take their values, and the part of the local divisibility that comes from the places other than those of the top weights. Neither offset survives: appears with the opposite sign in the slope of the source lattice after gluing (chapter 14), and is the slope of the target in the inequality of chapter 15, where it appears on both sides. Insert the lower bound for in the first line. The terms cancel against the level correction of the divisibility side, and the coefficient of at step is
The equality is the period formula. Thus the sum of the surviving terms is exactly : the main term needs all three of Stirling (), the period () and the count (). An uncancelled constant per derivative would survive multiplication by , and division by would leave an error of order , against a target of . In the finite table of chapter 11 one can check the cancellation even though no level or lattice has been constructed: with and the elliptic normalisation , the combination equals , and the remaining entries and give the computed by prime summation.
Formalism.RankGapBounds.WeightedMeanData.Data.DIVdefRankGapBounds/MeanBoundSecondForm.lean:118The size inequality in the archive's record, exactly the first line above: .
def DIV : Prop
The size inequality in the archive's record, exactly the first line above: .
Full declaration with proof
def DIV : Prop :=
∀ u0 (u : W u0), D.muCC u0 + D.h u0 u - D.Fo u0 ≤
(∑ t, ((m : ℝ) * (ph (D.aT t) - D.aT t * D.logOm) - D.aT t * Real.log (D.T u0 u)))
+ C.cDiv * D.nT * D.a * D.La + C.cDiv * (m : ℝ) * (D.B0 + D.Nc) * D.x ^ (C.eDiv * D.ε)Formalism.MainNotions.flipTwoThree.NumsdefGlobalSchurBounds/FlipTwoThree.lean:45The numerical regime of the size estimate: , , the level primes below , , the scale , and , among others.
def Nums (D : D7) (T g1 g2 : ℕ) (Cn x b L b' Sc eta : ℝ) : Prop
The numerical regime of the size estimate: , , the level primes below , , the scale , and , among others.
Full declaration with proof
def Nums (D : D7) (T g1 g2 : ℕ) (Cn x b L b' Sc eta : ℝ) : Prop := 0 < b ∧ Real.log (x * b * D.host.v) ≤ L ∧ Real.log T ≤ Cn * D.R.m * L ∧ Real.log g1 ≤ Cn * L ∧ Real.log g2 ≤ Cn * L ∧ b' ≤ x * b / x ∧ 1 ≤ Sc ∧ 1 ≤ eta ∧ Sc + eta + D.R.m * D.R.t ≤ b' / x ∧ (D.R.N D.R.m : ℝ) ^ 2 * (L + Real.log T) ≤ D.R.N D.R.m * b' ∧ (D.R.N D.R.m : ℝ) * L + Real.log T ≤ b' ∧ (D.R.m : ℝ) ^ 2 * (D.R.N D.R.m : ℝ) ^ 2 * (L + Real.log T + Real.log ((g1 : ℝ) * g2)) ≤ D.R.N D.R.m * b' * L ∧ |dlogL D 1| ≤ Cn * L ∧ 2 ≤ x ∧ 1 ≤ D.host.v ∧ (1 + 2 * (2 * Cn + 4)) * (D.R.m : ℝ) ^ 3 * D.R.N D.R.m ≤ b'
Formalism.MainNotions.flipTwoThree.WtsdefGlobalSchurBounds/FlipTwoThree.lean:55The weights of a word at every place: integers; at top places the first weight between and (the order ) and the last at least ; at thick places between and ; elsewhere at most ; nondecreasing along the chain and interlacing.
def Wts (D : D7) (u : D.what₂.Word) (Cn x b b' Sc eta : ℝ) : Prop
The weights of a word at every place: integers; at top places the first weight between and (the order ) and the last at least ; at thick places between and ; elsewhere at most ; nondecreasing along the chain and interlacing.
Full declaration with proof
def Wts (D : D7) (u : D.what₂.Word) (Cn x b b' Sc eta : ℝ) : Prop :=
∀ τ : D.what₂.Tau,
(∀ i < D.R.k, ∃ z : ℤ, lamCol D u τ i = z) ∧
(IsTop D τ → x * b ≤ (lamCol D u τ 0 : ℝ) ∧ (lamCol D u τ 0 : ℝ) ≤ 2 * (x * b) ∧
b' ≤ -(lamCol D u τ (D.R.k - 1) : ℝ) ∧ -(lamCol D u τ (D.R.k - 1) : ℝ) < 2 * b' ∧
∀ i, 0 < i → i < D.R.k - 1 → 0 ≤ (lamCol D u τ i : ℝ) ∧ (lamCol D u τ i : ℝ) ≤ Sc) ∧
(¬ IsTop D τ → ∀ i < D.R.k, 0 ≤ (lamCol D u τ i : ℝ) ∧ (lamCol D u τ i : ℝ) ≤ Cn * Sc) ∧
(∀ j, j + 1 < D.R.m → wJ D u τ j ≤ wJ D u τ (j + 1)) ∧
(¬ IsThick D τ → ∀ j < D.R.m, (wJ D u τ j : ℝ) ≤ 2 * b') ∧
(IsThick D τ → ∀ j < D.R.m, b - D.R.N D.R.m ≤ (wJ D u τ j : ℝ) ∧ (wJ D u τ j : ℝ) ≤ b + eta + 1) ∧
- lamCol D u τ (D.R.k - 1) ≤ wJ D u τ 0 ∧
((wJ D u τ (D.R.m - 1) - wJ D u τ 0 : ℚ) : ℝ) ≤ etaour exposition What is quoted in this comparison: the period formula (proved in the archive as the theorem above), the mass formula (proved), the construction and count of the auxiliary levels, and the local level correction. The analytic norm bound is proved in part in the exposition’s §III.4; the factorial cancellation and all signs are algebraic consequences proved above. His §III.7 proves that the size inequality follows from eleven named inputs (the inner-product formula, the covolumes, the local index bounds, the period input, among them) and that an index-corrected mean of periods equals under hypotheses stated there; the eleven inputs remain quoted, so the size bound itself remains quoted.