Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Moment matching gives exact five-point quadrature up to degree 4

Proved
Zeta9Note.quadrature_exact_of_moments

by Yuxuan Xu · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

numerical-analysispolynomialsquadrature

Let 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.

Preamble
import Mathlib
Formal statement
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 Zeta9Note
Source
Abstract layer distilled from the v0.1 research note (Zenodo 10.5281/zenodo.22951155); statement and proof in formalization/Zeta9Note.lean.
Read-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.

Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

  • Endorsed by Yuxuan Xu · Sep 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me