The modulus of a Gauss sum of a primitive character
ProvedGaussSums.gaussSum_normSq_of_primitiveThe modulus of a Gauss sum attached to a primitive character.
For a Dirichlet character modulo and an additive character of , the Gauss sum is
If both characters are primitive, then the sum has modulus exactly :
A Gauss sum has terms each of modulus at most , so the trivial bound is ; the theorem says there is complete square-root cancellation. This is the archetypal example of such cancellation in analytic number theory, and it is what makes Gauss sums the standard bridge between multiplicative and additive characters: it converts the functional equation of a Dirichlet -function into one with a root number of modulus , and it supplies the normalising factor in the Pólya–Vinogradov inequality and in the Fourier expansion of in additive characters.
Primitivity is essential in both arguments. If is induced from a character of smaller conductor, or if is non-primitive, the sum degenerates and can even vanish, so no such identity can hold.
The modulus here is arbitrary, composite included; the familiar special case is the quadratic Gauss sum modulo a prime , of modulus .
Formalization note. gaussSum and AddChar.IsPrimitive are Mathlib's; the statement is
given as over rather than , which avoids a square
root and is equivalent since norms are non-negative.
import Mathlib
namespace GaussSums
theorem gaussSum_normSq_of_primitive {q : ℕ} [NeZero q] {χ : DirichletCharacter ℂ q}
(hχ : χ.IsPrimitive) {ψ : AddChar (ZMod q) ℂ} (hψ : ψ.IsPrimitive) :
‖gaussSum χ ψ‖ ^ 2 = (q : ℝ) := by sorry
end GaussSums