Finset.sum_apply_le_of_pairwiseDisjoint_Ico
Library · theorem
The sum of a superadditive cost on disjoint interval lengths is bounded by the cost of an ambient size containing every interval. The cost is monotone and superadditive on natural numbers.
Finset.sum_apply_le_of_pairwiseDisjoint_Ico.{u_1} {ι : Type u_1} (s : Finset ι) {off len : ι → ℕ}
{n : ℕ} {T : ℕ → ℕ} (hT : Monotone T) (hadd : ∀ (a b : ℕ), T a + T b ≤ T (a + b))
(hdisj : (↑s).PairwiseDisjoint fun i ↦ Finset.Ico (off i) (off i + len i))
(hbound : ∀ i ∈ s, off i + len i ≤ n) : ∑ i ∈ s, T (len i) ≤ T nImport NLAlib.ForMathlib.Algebra.BigOperators.Intervals.