Sums over a finite field weighted by the quadratic character #
Let F be a finite field of odd characteristic with quadratic character χ. For a ≠ 0, the
value u = a t² has 1 + χ(a u) preimages t, by Mathlib's quadraticChar_card_sqrts. Hence a
sum over t of a function of a t² is a sum over u weighted by 1 + χ(a u). Similarly the
quadratic character sums to zero against any nonzero dilation, and the quadratic Jacobi sum
∑ᵤ χ(u (c - u)) is evaluated through Mathlib's jacobiSum_nontrivial_inv.
Main results #
TauCeti.sum_comp_mul_sq:∑ₜ g(a t²) = ∑ᵤ (1 + χ(a u)) • g(u)fora ≠ 0.TauCeti.sum_quadraticChar_mul:∑ᵤ χ(a u) = 0fora ≠ 0.TauCeti.sum_quadraticChar_mul_sub: the quadratic Jacobi sum∑ᵤ χ(u (c - u)).
Grouping a sum by squares: for a ≠ 0 in a finite field of odd characteristic, the value
u = a t² has 1 + χ(a u) preimages t, so ∑ₜ g(a t²) = ∑ᵤ (1 + χ(a u)) • g(u).
The quadratic character sums to zero against any nonzero dilation.
The quadratic Jacobi sum: in a finite field of odd characteristic, ∑ᵤ χ(u (c - u)) is
χ(-1) (q - 1) for c = 0 and -χ(-1) otherwise.