Weighted ratio interval contains the ratio of the sums
ProvedZetaNine.mediant_strictly_between_min_and_maxThe weighted ratio interval contains the ratio of the sums
Let with and for every , and suppose the five ratios are not all equal. Then the ratio of the weighted sums
is strictly between the smallest and the largest sampled ratio:
Why. Write and reweight by . Then every is strictly positive and , and a one-line rearrangement gives : the ratio of the sums is a convex combination of the sampled ratios. The positive-weight sandwich lemma applied to and to then produces the two strict inequalities.
Scope. This is local node FI in its invariant form: no normalisation is assumed, the conclusion is about the mediant itself. The denominators are strictly positive by hypothesis, so no division by a degenerate local curvature occurs, and makes the mediant well-defined. The lemma is a strict-interval statement only — it gives no quantitative separation, no exponential width, and does not decide whether the actual changing first output lies outside the interval.
import Mathlib
namespace ZetaNine
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 ZetaNineConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.