Finset.sum_le_sum_range_card_of_antitone
Library · theorem
A sum of values of a non-increasing sequence over an index set s is at most the sum of its first \lvert s \rvert values: \sum_{i \in s} f(i) \le \sum_{i < \lvert s \rvert} f(i), with no bound on the indices.
Finset.sum_le_sum_range_card_of_antitone {f : ℕ → ℝ} (hf : Antitone f) (s : Finset ℕ) :
∑ i ∈ s, f i ≤ ∑ i ∈ Finset.range s.card, f iImport NLAlib.ForMathlib.Algebra.Order.BigOperators.Group.Finset.