Adapted from Charlie Dorsey’s Apache-2.0 Weil Bounds Toolkit for Lean Pool’s module system, Mathlib version, quality requirements and compilation performance.
Formal generating-series algebra #
Formal power-series and coefficient identities underlying the Carlitz (1969) generating method. The particular identities are derived in Lean.
The formal series with positive-degree coefficients K n / n and constant term zero.
Equations
- KloostermanWeil.Carlitz.KSeries K = PowerSeries.mk fun (n : ℕ) => if n = 0 then 0 else K n / ↑n
Instances For
The quadratic formal series 1 + K1 * X + q * X².
Equations
- KloostermanWeil.Carlitz.quadraticL K1 q = 1 + PowerSeries.C K1 * PowerSeries.X + PowerSeries.C q * PowerSeries.X ^ 2
Instances For
@[simp]
theorem
KloostermanWeil.Carlitz.derivative_logOf_mul_self
{f : PowerSeries ℂ}
(hf : PowerSeries.constantCoeff f = 1)
:
theorem
KloostermanWeil.Carlitz.coeff_mul_quadraticL
(D : PowerSeries ℂ)
(K1 q : ℂ)
(r : ℕ)
:
(PowerSeries.coeff (r + 2)) (D * quadraticL K1 q) = (PowerSeries.coeff (r + 2)) D + K1 * (PowerSeries.coeff (r + 1)) D + q * (PowerSeries.coeff r) D
theorem
KloostermanWeil.Carlitz.coeff_one_mul_quadraticL
(D : PowerSeries ℂ)
(K1 q : ℂ)
:
(PowerSeries.coeff 1) (D * quadraticL K1 q) = (PowerSeries.coeff 1) D + K1 * (PowerSeries.coeff 0) D
The quadratic polynomial whose two roots encode the extension-sum recurrence.
Equations
- KloostermanWeil.Carlitz.spectralPoly K1 q = Polynomial.X ^ 2 + (Polynomial.C K1 * Polynomial.X + Polynomial.C q)