RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Odd class number, ζ_K = ζ·L(s, χ), theta functions with CM and Chowla–Selberg

Lib.CM.ChowlaSelberg.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

Throughout, K = ℚ(√-d) (New.QuadField d) for a prime d ≡ 7 mod 8 (New.PrimeSevenModEight d), and χ is the Legendre symbol modulo d. For such K the class number is odd, and the Dedekind zeta function factors as ζ_K(s) = ζ(s) L(s, χ). The second part treats curves with complex multiplication by K, given by CM lattices C : New.CMLattice d. For these curves the file proves a complex multiplication law for the translates of the theta function when the lattice is Ω₀ 𝓞_K, and the formula of Chowla and Selberg for the areas of the conjugate lattices.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.QuadField.classGroup_sq_bijective: squaring permutes the class group, that is, the class number is odd.
  • New.QuadField.eulerProd_one_eq_zeta_mul: ζ_K(s) = ζ(s) L(s, χ) for real s > 1, with χ the Legendre symbol modulo d.
  • New.CMLattice.IsComplexMultiplicationData, New.CMLattice.complex_multiplication_theta: the action of σ on the translates of θ by torsion points is given by one finite adele of K, if the lattice is Ω₀ 𝓞_K.
  • New.CMLattice.sum_kronecker_terms: Kronecker's limit formula summed over the class group.
  • New.CMLattice.chowla_selberg: after scaling by the conjugates of one unit, all conjugate lattices have the area that this sum gives.

Notions from other files:

  • New.CMLattice: A lattice Λ stable under the integers of ℚ(√-d), with a point t of order two modulo Λ such that ω t, ω̄ t ∉ Λ for ω = (1 + √-d) / 2, scaled so that ℘''(t) = 2, and a square root a₁ of 12 ℘(t); the discriminant of Λ is a₁⁴ - 64.
  • New.CMLattice.θ: The twisted translate of the sigma function by t, normalised to 1 at 0.
  • PeriodPair.area: The area |Im(ω̄₁ω₂)| of the fundamental parallelogram spanned by the periods ω₁, ω₂ of a period pair.
  • New.chowlaSelbergConst: The real number γ - Re L'/L(1, χ_K), with γ Euler's constant.

Relation to the literature

Known result: The class number of an imaginary quadratic field of prime discriminant is odd. Here it is stated as bijectivity of squaring on the class group, for primes congruent to 7 modulo 8. Source: C. F. Gauss, Disquisitiones; D. Cox, Primes of the form x²+ny² (1989), §3 and §6.

Known result: The Dedekind zeta function of a quadratic field is the product of the Riemann zeta function and the L-function of its character, and the sum of the zeta functions of its ideal classes. Source: J. Neukirch, Algebraic Number Theory (1999), VII.5 and VII.10.

Known result: The formula of Lerch and of Chowla and Selberg for the geometric mean of area · |disc|^(1/6) over the ideal classes (New.CMLattice.sum_kronecker_terms). Here the discriminant is prime with 2 split, and the mean is left in terms of the logarithmic derivative of the L-function at 1, with no Gamma values. The integrality of isogenies then gives one number, a unit at every p-adic place, whose conjugates scale all conjugate lattices to this area. Source: A. Selberg, S. Chowla, On Epstein's zeta-function, J. reine angew. Math. 227 (1967) 86-110; B. Gross, On the periods of abelian varieties, arXiv 2005.04194.

Known result: The main theorem of complex multiplication for elliptic curves, without the reciprocity law. It is shown that the conjugate lattice is Ω 𝔠² / N(𝔠) and that one finite adele describes the Galois action on the translates of the theta function by torsion points. The adele is not identified with the Artin map and is not shown here to be a unit. Source: G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions (1971), Thm 5.4; J. Milne, Complex Multiplication (2020), 9.17.

Pinned source lines

Declarations

  • lemma CMLattice.chowla_selberg (C : CMLattice d) :
        ∃ u : ℂ,
          -- `u` has norm one at every `p`-adic place
          (∀ (p : ℕ) [Fact p.Prime] [PadicPlace p], ‖ιₚ u‖ = 1) ∧
          -- the area of every conjugate lattice
          ∀ σ : Gal(ℂ/QuadField d),
            (C.galConjugate σ).area * ‖σ u‖ ^ 2 = π * rexp (chowlaSelbergConst d) * (2 * π / √d)
    

Import route to Main

Lib.CM.ChowlaSelberg → 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)

X Reddit Email LinkedIn