Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact quadrature on quartics from the first five moments

Proved
ZetaNine.quadrature_exact_of_moments

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

irrationalitynumber-theoryzeta-values

Exact quadrature on quartics from the first five moments

Let L:R[X]→RL:\mathbb{R}[X]\to\mathbb{R}L:R[X]→R be a linear functional (the "true" weighted sum, viewed as a functional on the polynomial tested against the kernel), let y,w:{0,1,2,3,4}→Ry,w:\{0,1,2,3,4\}\to\mathbb{R}y,w:{0,1,2,3,4}→R be five nodes and five weights, and suppose that LLL and the five-node rule p↦∑jwj p(yj)p\mapsto\sum_j w_j\,p(y_j)p↦∑j​wj​p(yj​) have the same moments up to degree four:

L(X m)=∑jwj yj m(0≤m≤4).L\bigl(X^{\,m}\bigr)=\sum_{j} w_j\,y_j^{\,m}\qquad (0\le m\le 4).L(Xm)=j∑​wj​yjm​(0≤m≤4).

Then for every polynomial ppp of degree at most four,

L(p)=∑j=04wj p(yj).L(p)=\sum_{j=0}^{4} w_j\,p(y_j).L(p)=j=0∑4​wj​p(yj​).

Why. Both sides are R\mathbb{R}R-linear in ppp. By hypothesis the two agree on the five monomials 1,X,X2,X3,X41,X,X^2,X^3,X^41,X,X2,X3,X4; and every polynomial of degree ≤4\le 4≤4 is a linear combination of them (its expansion is p=∑i<5[coeffi p] Xip=\sum_{i<5}\bigl[\text{coeff}_i\,p\bigr]\,X^{i}p=∑i<5​[coeffi​p]Xi). 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 LLL is the complete infinite positive-kernel sum ∑k>nRn(k) (⋅)(k(k+n)/n2)\sum_{k>n}R_n(k)\,(\cdot)\bigl(k(k+n)/n^2\bigr)∑k>n​Rn​(k)(⋅)(k(k+n)/n2) restricted to quartics, the nodes are the five prescribed integers kn,j=⌊nx∗+jn/a+1/2⌋k_{n,j}=\lfloor nx_*+j\sqrt{n/a}+1/2\rfloorkn,j​=⌊nx∗​+jn/a​+1/2⌋, and the weights ωn,j\omega_{n,j}ωn,j​ are defined by solving the Vandermonde system for these five moments; the coordinate sn,ks_{n,k}sn,k​ and hence y=k(k+n)/n2y=k(k+n)/n^2y=k(k+n)/n2 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 ωn,j→(1/12,1/6,1/2,1/6,1/12)\omega_{n,j}\to(1/12,1/6,1/2,1/6,1/12)ωn,j​→(1/12,1/6,1/2,1/6,1/12)), 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.

Preamble
import Mathlib
Formal statement
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 ZetaNine
Source
Local zeta9 research note, roadmap/research/moving-short-sign-next.md, section 6 exact five-sample cubature, 2026-09-25
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 8, 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