Documentation

LeanPool.AutoconvolutionSharpness.PolyStep

From a polynomial to a step function #

Mathlib's Polynomial.toFn and Polynomial.ofFn identify a finite coefficient vector with its polynomial. This identifies the coefficients used by the real convolution formula with those of the polynomial square.

theorem Autoconvolutions.convCoeff_eq_ofFn_sq (d : ℕ) (p : Fin (d + 1) → ℝ) (k : ℕ) :
convCoeff d p ↑k = ((Polynomial.ofFn (d + 1)) p ^ 2).coeff k
theorem Autoconvolutions.convCoeff_of_neg (d : ℕ) (p : Fin (d + 1) → ℝ) {k : ℤ} (hk : k < 0) :
convCoeff d p k = 0