Adapted from Charlie Dorsey’s Apache-2.0 Weil Bounds Toolkit for Lean Pool’s module system, Mathlib version, quality requirements and compilation performance.
Prime Kloosterman sums and normalization #
Additive-character conventions and elementary identities for the classical prime sums. References: Weil (1948); Harcos (2015), equation (1).
The prime-modulus sum of the additive phase b*x + a/x over nonzero residues.
Equations
Instances For
Inversion as an involutive permutation of a prime residue field, including zero.
Equations
Instances For
The prime Kloosterman bound with both coefficients nonzero, proved by prime_bound.
Equations
Instances For
Classical prime Kloosterman sum in conventional coefficient order: S(m,n;p) = ∑_{x mod p, x ≠ 0} e_p(m x + n x⁻¹). This matches Weil (1948), up to the standard additive-character notation.
Equations
Instances For
Exact normalization bridge: the prime sum agrees with the classical Kloosterman sum with the two coefficients named in the opposite order.
Classical prime Kloosterman–Weil bound in conventional coefficient order.
This proposition is proved in LeanPool.KloostermanWeil.Weil.PrimeKloosterman using a
Carlitz recurrence and a Stepanov point-count estimate.
Source: André Weil, "On Some Exponential Sums", Proc. Natl. Acad. Sci. U.S.A. 34 (1948), 204-207, DOI 10.1073/pnas.34.5.204.
Equations
Instances For
The nondegenerate formulation and the classical Weil statement are exactly equivalent; there is no remaining normalization or convention gap.
The prime Kloosterman bound after normalizing the linear coefficient to one.