Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The weighted mediant lies strictly between the extreme ratios

Proved
Zeta9Note.mediant_strictly_between_min_and_max

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

inequalitiesmediant

Let w and b be strictly positive five-tuples and a an arbitrary five-tuple. If the ratios a_j / b_j are not all equal, then the ratio of the weighted sums (Σ w_i a_i) / (Σ w_i b_i) is strictly larger than the least of the ratios a_j / b_j and strictly smaller than the largest.

Preamble
import Mathlib
Formal statement
namespace Zeta9Note

theorem mediant_strictly_between_min_and_max
    (w a b : Fin 5 → ℝ)
    (hw : ∀ j : Fin 5, 0 < w j)
    (hb : ∀ j : Fin 5, 0 < b j)
    (hnd : ∃ j j' : Fin 5, a j / b j ≠ a j' / b j') :
    (∃ j : Fin 5,
        a j / b j < (∑ i : Fin 5, w i * a i) / (∑ i : Fin 5, w i * b i)) ∧
      (∃ j : Fin 5,
        (∑ i : Fin 5, w i * a i) / (∑ i : Fin 5, w i * b i) < a j / b 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.mediant_strictly_between_min_and_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: a = (0,1,0,0,0), b constant 1, uniform weights; the ratio of weighted sums is 1/5, strictly between 0 and 1. Positive denominators keep the denominator sum nonzero.

Trivialization

No trivializing premise; hb (positive denominators) is essential and is assumed.

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