NLAlib.integral_eval_basis_of_ae_mem
Library · theorem
The Lagrange basis polynomial integrates to the point mass: for a finite measure \mu carried by a finite set s \subseteq \mathbb{R} and \mathbf{x} \in s, \int\ell_\mathbf{x}\,d\mu = \mu\{\mathbf{x}\}, \ell_\mathbf{x} the Lagrange basis polynomial of \mathbf{x} at s (Mathlib's Lagrange.basis s id x).
NLAlib.integral_eval_basis_of_ae_mem {μ : Measure ℝ} [IsFiniteMeasure μ] {s : Finset ℝ}
(hμ : ∀ᵐ (t : ℝ) ∂μ, t ∈ s) {x : ℝ} (hx : x ∈ s) :
∫ (t : ℝ), Polynomial.eval t (Lagrange.basis s id x) ∂μ = μ.real {x}Import NLAlib.Polynomial.Orthogonal.Moments.