Moment matching
Library · Source module
Moment matching
Two measures on \mathbb{R} match their first N moments when they give every real polynomial of degree less than N the same integral. The degree bound is strict, as in Mathlib's Polynomial.degreeLT and Chebyshev–Gauss quadrature: an n-node Gauss rule matches 2n moments, and q Lanczos steps match 2q. At N = 0 the statement is vacuous.
Moment matching transfers uniform polynomial approximation: if \mu and \nu are finite, supported in [a, \mathbf{b}], match N moments, and f is within \varepsilon of a polynomial of degree less than N on [a, \mathbf{b}], then \lvert\int f\,d\mu - \int f\,d\nu\rvert \le (\mu(\mathbb{R}) + \nu(\mathbb{R}))\varepsilon. This is the bridge from polynomial approximation to quadrature errors and to spectral-distribution bounds.
The support hypothesis is [IsFiniteMeasure μ] with ∀ᵐ x ∂μ, x ∈ Set.Icc a b; it admits discrete measures (spectral measures, quadrature rules).
Main definitions
* NLAlib.MatchesMoments: the first N moments agree.
Main results
* NLAlib.matchesMoments_iff_forall_mem_degreeLT: the bridge to Polynomial.degreeLT. * NLAlib.matchesMoments_iff_forall_integral_pow: the monomial form. * NLAlib.MatchesMoments.abs_integral_sub_integral_le_of_isUniformApproxOn: the transfer of uniform approximation. * NLAlib.matchesMoments_measureT: Mathlib's Chebyshev–Gauss quadrature in this vocabulary. * NLAlib.ae_eval_eq_zero_of_integral_sq_eq_zero: a polynomial of norm zero vanishes a.e. * NLAlib.integral_eval_mul_eq_zero_of_integral_sq_eq_zero: and is orthogonal to everything. * NLAlib.integral_eval_basis_of_ae_mem: on a finite set, \int\ell_\mathbf{x}\,d\mu = \mu\{\mathbf{x}\}. * NLAlib.MatchesMoments.eq_of_ae_mem: moment determinacy on a finite set. * NLAlib.MatchesMoments.smul, NLAlib.MatchesMoments.nnreal_smul, NLAlib.MatchesMoments.finsetSum: linearity in the pair.
Declarations
- NLAlib.MatchesMoments
- NLAlib.MatchesMoments.abs_integral_sub_integral_le_of_isUniformApproxOn
- NLAlib.MatchesMoments.eq_of_ae_mem
- NLAlib.MatchesMoments.finsetSum
- NLAlib.MatchesMoments.measureReal_univ_eq
- NLAlib.MatchesMoments.mono
- NLAlib.MatchesMoments.nnreal_smul
- NLAlib.MatchesMoments.refl
- NLAlib.MatchesMoments.smul
- NLAlib.MatchesMoments.symm
- NLAlib.MatchesMoments.trans
- NLAlib.ae_eval_eq_zero_of_integral_sq_eq_zero
- NLAlib.integrable_eval_of_ae_mem_Icc
- NLAlib.integral_eval_basis_of_ae_mem
- NLAlib.integral_eval_mul_eq_zero_of_integral_sq_eq_zero
- NLAlib.matchesMoments_iff
- NLAlib.matchesMoments_iff_forall_integral_pow
- NLAlib.matchesMoments_iff_forall_mem_degreeLT
- NLAlib.matchesMoments_measureT
- NLAlib.matchesMoments_zero