Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A non-degenerate weighted average lies strictly between min and max

Proved
Zeta9Note.min_lt_weighted_average_lt_max

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

convexityinequalities

Let w be a strictly positive weight vector on five indices with total weight 1, and let r be a five-tuple that is not constant. Then some entry of r is strictly below the weighted average of r, and some entry is strictly above it.

Preamble
import Mathlib
Formal statement
namespace Zeta9Note

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

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: r = (0,1,0,0,0) with uniform weights; the non-constancy hypothesis holds and the average 1/5 is strictly between the extreme values.

Trivialization

No trivializing premise; the non-constancy hypothesis is what prevents the degenerate constant case.

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