Lagrange.sum_eval_basis_mul_pow
Library · theorem
Lagrange interpolation of a monomial: for nodes \mathbf{v}_i, i \in s, distinct on s, with Lagrange basis polynomials \ell_i, every exponent k < \lvert s \rvert and every point \mathbf{x}, \sum_{i \in s} \ell_i(\mathbf{x})\,\mathbf{v}_i^k = \mathbf{x}^k\,. It is Lagrange.eq_interpolate for X^k, evaluated at \mathbf{x}: the row of powers at \mathbf{x} is the combination of the rows of the Vandermonde matrix with coefficients \ell_i(\mathbf{x}).
Lagrange.sum_eval_basis_mul_pow.{u_1, u_2} {F : Type u_1} [Field F] {ι : Type u_2} [DecidableEq ι]
{s : Finset ι} {v : ι → F} (hvs : Set.InjOn v ↑s) {k : ℕ} (hk : k < s.card) (x : F) :
∑ i ∈ s, Polynomial.eval x (Lagrange.basis s v i) * v i ^ k = x ^ kImport NLAlib.ForMathlib.LinearAlgebra.Vandermonde.