Positive weights sandwich their weighted average
ProvedZetaNine.min_lt_weighted_average_lt_maxPositive weights sandwich their weighted average
Let with for every , , and suppose is not constant. Then the weighted average is strictly above one of the sampled values and strictly below another:
Why. If every , then , and equality in the intermediate step forces for every — because the summands are nonnegative and add up to and each is nonzero. That makes 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 and , 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 rate, or about the open question whether the moving shortest output avoids the interval — that is target T5.
import Mathlib
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 ZetaNineConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.