NLA-lib Explorer

NLAlib.MatchesMoments.isOrthogonalPolynomial_iff

Library · theorem

Orthogonality depends only on the moments: if \mu and \nu match their first N moments and \deg p + k \le N, then p is orthogonal to the polynomials of degree less than k in L^2(\mu) exactly when it is in L^2(\nu).

NLAlib.MatchesMoments.isOrthogonalPolynomial_iff {μ ν : Measure ℝ} {N k : ℕ} {p : Polynomial ℝ}
  (h : MatchesMoments μ ν N) (hN : p.natDegree + k ≤ N) :
  IsOrthogonalPolynomial μ k p ↔ IsOrthogonalPolynomial ν k p

Full source on GitHub

Import NLAlib.Polynomial.Orthogonal.Basic.