Adapted from Charlie Dorsey’s Apache-2.0 Weil Bounds Toolkit for Lean Pool’s module system, Mathlib version, quality requirements and compilation performance.
Auxiliary-polynomial coefficient space #
Constructs the coefficient space and base-q encoding of Harcos (2015), §5, equations
(18)–(22). The variable-versus-equation count yields a nonzero solution, and the
degree decomposition prevents cancellation; see also Stepanov (1972).
A polynomial is a square after extension to an algebraic closure exactly when it is a nonzero scalar times a square over the ground field. This predicate is the form needed in Stepanov's nonvanishing argument.
Equations
- KloostermanWeil.Stepanov.IsScalarSquare f = ∃ (c : F), c ≠ 0 ∧ ∃ (g : Polynomial F), f = Polynomial.C c * g ^ 2
Instances For
UFD cancellation used in the auxiliary-polynomial nonvanishing proof.
The pairs of coefficient families (r_j,s_j) in Stepanov equation
(18), with every polynomial of degree strictly less than d.
Equations
- KloostermanWeil.Stepanov.StepanovCoefficientSpace F J d = ((Fin J → ↥(Polynomial.degreeLT F d)) × (Fin J → ↥(Polynomial.degreeLT F d)))
Instances For
A homogeneous finite-dimensional linear system with fewer equations than variables has a nonzero solution.
A base-q sum of polynomial blocks of degree below q has a unique
block expansion. This is the exact algebra behind the first congruence in
the nonvanishing argument following equation (19).
In a finite base-q block sum, if all earlier blocks vanish, the
first remaining block is divisible by X^q.
If every earlier block vanishes and a base-q block sum is zero, its
first remaining block is divisible by X^q. Unlike block uniqueness, this
statement requires no degree bound and is the congruence actually used in
the source nonvanishing argument after equation (19).
Over a finite field, f^q is congruent to its constant coefficient
modulo X^q. This is the Frobenius congruence used verbatim in the
nonvanishing argument following equation (19).
Squaring the first-block congruence and applying finite-field
Frobenius gives the source congruence
r² f ≡ s² f(0) (mod X^q).
A polynomial of degree below q divisible by X^q is zero.
Under the source degree restriction, the preceding congruence is an actual polynomial identity.
One coefficient block in equation (18) is injective modulo X^q
under the source nonsquare and degree hypotheses.
The polynomial inside the leading factor f^l in Stepanov equation
(18).
Equations
Instances For
Stepanov's auxiliary polynomial h_a; the sign a enters the
homogeneous constraints rather than this defining expression.
Equations
- KloostermanWeil.Stepanov.stepanovAuxiliary f q l J d v = f ^ l * KloostermanWeil.Stepanov.stepanovAuxiliaryCore f q J d v
Instances For
Exact equation (18), exposed as a theorem for later source-order composition.
The nonzero coefficient vector supplied by the homogeneous system produces a genuinely nonzero auxiliary polynomial. This completes the nonvanishing paragraph following equation (19), rather than assuming it.
Exact Hasse-derivative factorization (20) for the auxiliary polynomial.
The two quotient families are the source polynomials r_j^(k) and
s_j^(k) from Lemma 10.
Source-sharp cancellation-safe form of equation (21). Moving k to
the right recovers deg g^(k) < d + k (deg f - 1) without truncated
subtraction in the Lean statement.
The kth homogeneous polynomial constraint in equation (22).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact degree count behind equations (21)--(22).
The complete homogeneous linear system (22), with each row placed in its source-sharp degree-bounded polynomial space.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dimension-count existence theorem for a nonzero solution of all
constraints (22). Its hypothesis is the exact source variable-versus-row
count, before the later numerical choice of l and J.
A zero of the kth row of (22) forces the kth Hasse derivative of
the auxiliary polynomial to vanish at every point with quadratic value
a.
If the whole system (22) vanishes, every point where f(x) is zero
or has quadratic value a is a root of the auxiliary polynomial with
multiplicity at least l; this is implication (17).
The source degree estimate for the Stepanov auxiliary polynomial. This is the strict form of the estimate immediately preceding (14).
Stepanov inequality (14), with the exact source parameter conditions.
The left side counts every zero of f together with every point where its
quadratic character has the prescribed value.