NLAlib.sum_neg_one_pow_mul_choose_mul_eval_eq_zero
Library · theorem
Finite differences annihilate low-degree polynomials: for a polynomial \mathbf{P} over a commutative ring with \deg \mathbf{P} < n and any \mathbf{x}, h, \sum_{j=0}^{n} (-1)^{n-j}\binom{n}{j} \mathbf{P}(\mathbf{x} + jh) = 0 \,. The equispaced case of NLAlib.dividedDifference_eval_eq_zero, with integer weights.
NLAlib.sum_neg_one_pow_mul_choose_mul_eval_eq_zero.{u_1} {R : Type u_1} [CommRing R]
{P : Polynomial R} {n : ℕ} (hP : P.natDegree < n) (x h : R) :
∑ j ∈ Finset.range (n + 1), (-1) ^ (n - j) * ↑(n.choose j) * Polynomial.eval (x + ↑j * h) P = 0Import NLAlib.Polynomial.Interpolation.DividedDifference.