Exact quadrature on quartics from the first five moments
ProvedZetaNine.quadrature_exact_of_momentsExact quadrature on quartics from the first five moments
Let be a linear functional (the "true" weighted sum, viewed as a functional on the polynomial tested against the kernel), let be five nodes and five weights, and suppose that and the five-node rule have the same moments up to degree four:
Then for every polynomial of degree at most four,
Why. Both sides are -linear in . By hypothesis the two agree on the five monomials ; and every polynomial of degree is a linear combination of them (its expansion is ). Two linear functionals agreeing on a spanning set agree everywhere.
Scope. This is the exact algebraic core of local node FQ ("exact positive five-sample cubature"). In the actual construction is the complete infinite positive-kernel sum restricted to quartics, the nodes are the five prescribed integers , and the weights are defined by solving the Vandermonde system for these five moments; the coordinate and hence is affine in it, which is what makes the quartic a quartic. The statement here is the general moment-matching step, so it covers any such rule. The theorem does not assert that the actual weights are strictly positive (that is the analytic Gaussian-moment input ), and it does not assert that the actual moving first output takes one weak sign at the five nodes; both remain part of the open node T5.
import Mathlib
namespace ZetaNine
theorem quadrature_exact_of_moments
(L : Polynomial ℝ →ₗ[ℝ] ℝ) (y w : Fin 5 → ℝ)
(hmom : ∀ m : ℕ, m ≤ 4 →
L ((Polynomial.X : Polynomial ℝ) ^ m) = ∑ j : Fin 5, w j * (y j) ^ m) :
∀ p : Polynomial ℝ, p.natDegree ≤ 4 →
L p = ∑ j : Fin 5, w j * p.eval (y j) := by sorry
end ZetaNineConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.