NLAlib.MatchesMoments.finsetSum
Library · theorem
Moment matching is preserved by finite sums: if finite measures \mu_i and \nu_i, all supported in [a, \mathbf{b}], match their first N moments for each i \in s, then \sum_{i\in s}\mu_i and \sum_{i\in s}\nu_i match their first N moments. The average of per-probe Gauss rules matches 2q moments of the average of the probe spectral measures.
NLAlib.MatchesMoments.finsetSum.{u_1} {ι : Type u_1} {s : Finset ι} {μs νs : ι → Measure ℝ}
[∀ (i : ι), IsFiniteMeasure (μs i)] [∀ (i : ι), IsFiniteMeasure (νs i)] {N : ℕ} {a b : ℝ}
(hμs : ∀ i ∈ s, ∀ᵐ (x : ℝ) ∂μs i, x ∈ Set.Icc a b)
(hνs : ∀ i ∈ s, ∀ᵐ (x : ℝ) ∂νs i, x ∈ Set.Icc a b) (h : ∀ i ∈ s, MatchesMoments (μs i) (νs i) N) :
MatchesMoments (∑ i ∈ s, μs i) (∑ i ∈ s, νs i) NImport NLAlib.Polynomial.Orthogonal.Moments.