RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Theta series of Dirichlet characters, Poisson summation, and `L(s, χ)` as a Mellin transform

Lib.Analytic.DirichletTheta.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

For a parity j ∈ {0, 1}, the weight w(z) = z ^ j e^(-π z²) and coefficients c(n), this file studies the theta series θ(u) = u ^ (1/2) ∑_{n ≥ 1} c(n) w(n u). It bounds θ and expresses its Mellin transform through the Dirichlet series of c. For a Dirichlet character χ ≠ 1 of parity j, Poisson summation bounds the series near 0 and so gives the formula for L(s, χ) in re s > 0 (hasMellin_thetaSeries_char); if χ is also primitive, it gives the transformation formula of |θ| (norm_thetaSeries_inv).

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

Rest of upstream introduction

Rest of upstream introduction

Relation to the literature

Known result: the transformation formula and the Mellin transform of the theta series of a Dirichlet character. Sources: Davenport, Multiplicative Number Theory; Montgomery–Vaughan, Multiplicative Number Theory I, ch. 10. Form here: the transformation is proved in absolute value only, so no root number appears.

Pinned source lines

Declarations

  • theorem hasMellin_thetaSeries_char (hχ_ne : χ ≠ 1) (hχ_parity : χ (-1) = (-1) ^ j.val)
        (hs : 0 < s.re) :
        HasMellin (thetaSeries j fun n : ℕ ↦ χ n) (s - 2⁻¹)
          (gaussianMellin j s * χ.LFunction s)
    

Import route to Main

Lib.Analytic.DirichletTheta → Lib.Analytic.QuadraticTwist (pinned import) → New.Reduction.Zeros.Criterion (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn