NLAlib.matchesMoments_iff_forall_mem_degreeLT
Library · theorem
Moment matching in terms of Mathlib's Polynomial.degreeLT: \mu and \nu match N moments exactly when they agree on the polynomials of degree less than N.
NLAlib.matchesMoments_iff_forall_mem_degreeLT {μ ν : Measure ℝ} {N : ℕ} :
MatchesMoments μ ν N ↔
∀ p ∈ Polynomial.degreeLT ℝ N,
∫ (x : ℝ), Polynomial.eval x p ∂μ = ∫ (x : ℝ), Polynomial.eval x p ∂νImport NLAlib.Polynomial.Orthogonal.Moments.