NLA-lib Explorer

NLAlib.Majorized.sum_sub_sumLargest_le_sum

Library · theorem

For a majorized pair, every partial sum of \mathbf{x} is at least the sum of the smallest entries of \mathbf{y} of that count: for an index set s and \lvert s \rvert + d = \lvert \iota \rvert, \sum_i \mathbf{y}_i - S_d(\mathbf{y}) \le \sum_{i \in s} \mathbf{x}_i. This is the lower half of majorization.

NLAlib.Majorized.sum_sub_sumLargest_le_sum.{u_1} {ι : Type u_1} [Fintype ι] {x y : ι → ℝ}
  (h : Majorized x y) (s : Finset ι) {d : ℕ} (hd : s.card + d = Fintype.card ι) :
  ∑ i, y i - sumLargest y d ≤ ∑ i ∈ s, x i

Full source on GitHub

Import NLAlib.Matrix.Majorization.Basic.