Moment matching gives exact five-point quadrature up to degree 4
ProvedZeta9Note.quadrature_exact_of_momentsLet L be a linear functional on real polynomials, y a five-point node vector and w a weight vector. If L agrees with the weighted five-point sum on the monomials X^m for every m ≤ 4, then L agrees with the weighted five-point sum on every polynomial of degree at most 4. No positivity of the weights is assumed.
import Mathlib
namespace Zeta9Note
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 Zeta9NoteRead-back
What the Lean code literally says, in plain math · gpt-6
Blind read-back: Zeta9Note.quadrature_exact_of_moments
Verdict: FAITHFUL
Independent audit of the draft statement only (no proofs, no mission description, no author commentary supplied to the auditor).
Checks
Name in file matches the filename: yes.
Elaborates against Mathlib revision 0df444a3 (Lean 4.33.1): yes (lake env lean, exit 0).
Duplicate or inconsistent hypothesis sets: none.
Satisfiability
Satisfiable: take five distinct nodes y, Lagrange weights w and L p = Σ w_j p(y_j); the moment hypothesis holds and the conclusion follows.
Trivialization
No trivializing premise. The hypothesis is only moment matching; the degree bound is an explicit assumption on p, not hidden in the definition of L.
Confirmed by the mission captain (proposal self-audit).