Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Positive weights sandwich their weighted average

Proved
ZetaNine.min_lt_weighted_average_lt_max

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

irrationalitynumber-theoryzeta-values

Positive weights sandwich their weighted average

Let w,r:{0,1,2,3,4}→Rw,r:\{0,1,2,3,4\}\to\mathbb{R}w,r:{0,1,2,3,4}→R with wj>0w_j>0wj​>0 for every jjj, ∑jwj=1\sum_j w_j=1∑j​wj​=1, and suppose rrr is not constant. Then the weighted average S=∑jwj rjS=\sum_j w_j\,r_jS=∑j​wj​rj​ is strictly above one of the sampled values and strictly below another:

∃j, rj<Sand∃j, S<rj.\exists j,\ r_j<S \qquad\text{and}\qquad \exists j,\ S<r_j .∃j, rj​<Sand∃j, S<rj​.

Why. If every rj≥Sr_j\ge Srj​≥S, then S=∑jwjrj≥∑jwjS=SS=\sum_j w_jr_j\ge\sum_j w_j S=SS=∑j​wj​rj​≥∑j​wj​S=S, and equality in the intermediate step forces rj−S=0r_j-S=0rj​−S=0 for every jjj — because the summands wj(rj−S)w_j(r_j-S)wj​(rj​−S) are nonnegative and add up to 000 and each wjw_jwj​ is nonzero. That makes rrr constant, contradicting the hypothesis. The other inequality is the same argument with the sign reversed. No compactness or ordering of the index set is used.

Scope. This is the ordering heart of local node FI. In the construction the five weights are the exact positive cubature weights of FQ and the two coordinate sums are normalised to 111 and ζ(9)\zeta(9)ζ(9), so the true value is a weighted average of the five sampled ratios and the lemma places it strictly between their minimum and their maximum. The non-constancy hypothesis is where the rank-two non-degeneracy of the inverse image enters; if all sampled ratios coincided there would be no interval at all. The lemma says nothing about the width of the interval, about the exponent −10.1109-10.1109−10.1109 rate, or about the open question whether the moving shortest output avoids the interval — that is target T5.

Preamble
import Mathlib
Formal statement
namespace ZetaNine

theorem min_lt_weighted_average_lt_max
    (w r : Fin 5 → ℝ) (hw : ∀ j : Fin 5, 0 < w j)
    (hsum : ∑ j : Fin 5, w j = 1)
    (hnd : ∃ j j' : Fin 5, r j ≠ r j') :
    (∃ j : Fin 5, r j < ∑ i : Fin 5, w i * r i) ∧
      (∃ j : Fin 5, (∑ i : Fin 5, w i * r i) < r j) := by sorry

end ZetaNine
Source
Local zeta9 research note, roadmap/research/five-point-ratio-window.md, strict five-sample ratio window, 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