NLA-lib Explorer

NLAlib.sumLargest_of_card_le

Library · theorem

Beyond the number of entries, sumLargest is the total sum: for k \ge \lvert \iota \rvert, S_k(\mathbf{x}) = \sum_i \mathbf{x}_i.

NLAlib.sumLargest_of_card_le.{u_1} {ι : Type u_1} [Fintype ι] (x : ι → ℝ) {k : ℕ}
  (hk : Fintype.card ι ≤ k) : sumLargest x k = ∑ i, x i

Full source on GitHub

Import NLAlib.Matrix.Majorization.Basic.