Kronecker's first limit formula
Lib.CM.KroneckerLimit.lean
Reading
Upstream documentation written by Claude
New.kronecker_limitcomputes the first two terms ats = 1of the Epstein zeta function of a lattice inℂ, in terms of its area and of the discriminantg₂³ - 27 g₃². The Epstein function is not continued analytically: only realswith1 < s < 2occur, and a right derivative at1.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
For the lattice ℤ τ + ℤ, each row ∑ n, |m τ + n|^(-2s) with m ≥ 1 is compared with the
integral ∫ |m τ + t|^(-2s) dt (New.hasSum_shiftedTerm). The errors New.meanError sum to a
function continuous on [1, 2], the integrals to a multiple of ζ(2s - 1), which has a simple pole
at 1. At s = 1 the cotangent series expresses the errors through log |∏ (1 - q ^ n)|
(New.tsum_meanError_one).
Notions from other files:
PeriodPair.area: The area |Im(ω̄₁ω₂)| of the fundamental parallelogram spanned by the periods ω₁, ω₂ of a period pair.
Relation to the literature
Known result: Kronecker's first limit formula. Here the real limit from the right is proved for any lattice and stated with the discriminant. Rows are compared with integrals by the mean value theorem. Source: C. L. Siegel, Lectures on Advanced Analytic Number Theory (1961), Chapter I, Theorem 1; for a proof of this shape, F. Chamizo, A simple evaluation of a theta value, the Kronecker limit formula and a formula of Ramanujan, Ramanujan J. (2022), Prop. 3.1.
Declarations
lemma New.kronecker_limit (L : PeriodPair) (k : ℝ) (hk : 0 < k) : ∃ F : ℝ → ℝ, -- (a) the value at 1 F 1 = π * k ∧ -- (b) the right derivative at 1 HasDerivWithinAt F (F 1 * (2 * eulerMascheroniConstant - Real.log (PeriodPair.area L / k / π ^ 2) - Real.log ‖L.g₂ ^ 3 - 27 * L.g₃ ^ 2‖ / 6)) (Ioi 1) 1 ∧ -- (c) the series for 1 < s < 2 ∀ s ∈ Ioo 1 2, HasSum (fun l : L.lattice ↦ (s - 1) * (‖l.val‖ ^ 2 / k / L.area) ^ (-s)) (F s)
Import route to Main
Lib.CM.KroneckerLimit → Lib.CM.ChowlaSelberg (pinned import) → New.Derivatives.Vacuum.TightFrames (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)