Documentation

CslibFrontier.Foundations.Data.Polynomial.FiniteExponential

Finite polynomial exponentials #

Polynomial.finiteExponential D G is the sum of G^j / j! for j ≤ D. Its differential equation holds through degree D - 1 when G has zero constant term and the integers 1, …, D are nonzero in the coefficient field. The degree bound also controls finite-field coefficient extraction.

Adapted from the finite-exponential argument in lean-canny.

noncomputable def Polynomial.finiteExponential {K : Type u_1} [Field K] (D : ℕ) (G : Polynomial K) :

The exponential sum truncated in its power index.

Truncating the exponential at power D multiplies the degree bound by D.

theorem Polynomial.derivative_finiteExponential {K : Type u_1} [Field K] (D : ℕ) (G : Polynomial K) (hK : ∀ (j : ℕ), 1 ≤ j → j ≤ D → ↑j ≠ 0) :

Differentiation cancels factorials whenever the relevant integers are nonzero in the coefficient field.

theorem Polynomial.finiteExponential_differential_coeff {K : Type u_1} [Field K] (D : ℕ) (G : Polynomial K) (hG : G.coeff 0 = 0) (hK : ∀ (j : ℕ), 1 ≤ j → j ≤ D → ↑j ≠ 0) (k : ℕ) (hk : k < D) :
theorem Polynomial.finiteExponential_coeff_zero {K : Type u_1} [Field K] (D : ℕ) (G : Polynomial K) (hG : G.coeff 0 = 0) :

The constant coefficient is normalized when the exponent has zero constant term.