for primitive Dirichlet characters
ProvedQRHLittlewood.normSq_gaussSum_of_isPrimitiveanalytic-number-theorynumber-theory
Let be a primitive Dirichlet character modulo and let
be its Gauss sum with respect to the standard additive character. Then
This holds for every modulus, prime or composite. It gives and hence the unit modulus of the root number in the functional equation of .
Formalization Note The Gauss sum is Mathlib's gaussSum χ ZMod.stdAddChar and primitivity is DirichletCharacter.IsPrimitive.
Preamble
import Mathlib.NumberTheory.LSeries.DirichletContinuation import Mathlib.NumberTheory.DirichletCharacter.GaussSum import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar open Complex
Formal statement
namespace QRHLittlewood
theorem normSq_gaussSum_of_isPrimitive {N : ℕ} [NeZero N] {χ : DirichletCharacter ℂ N}
(hχ : χ.IsPrimitive) : Complex.normSq (gaussSum χ ZMod.stdAddChar) = N := by sorry
end QRHLittlewoodSource
H. Davenport, Multiplicative Number Theory, 3rd ed., Springer GTM 74, Chapter 9 (Gauss sums for primitive characters).