The areas / V04. Order and lattices
Mathlib.Algebra.Order.Group.Int.Sum
4 declarations. Mathlib docs · Source
theorem Finset.sum_le_sum_Ioc E1 #
∀ {s : Finset ℤ} {c : ℤ}, (∀ x ∈ s, x ≤ c) → ∑ x ∈ s, x ≤ ∑ x ∈ Finset.Ioc (c - ↑s.card) c, x
Sharp upper bound for the sum of a finset of integers that is bounded above, Ioc version.
theorem Finset.sum_le_sum_range E1 #
∀ {s : Finset ℤ} {c : ℤ}, (∀ x ∈ s, x ≤ c) → ∑ x ∈ s, x ≤ ∑ n ∈ Finset.range s.card, (c - ↑n)
Sharp upper bound for the sum of a finset of integers that is bounded above, range version.
theorem Finset.sum_Ico_le_sum E1 #
∀ {s : Finset ℤ} {c : ℤ}, (∀ x ∈ s, c ≤ x) → ∑ x ∈ Finset.Ico c (c + ↑s.card), x ≤ ∑ x ∈ s, x
Sharp lower bound for the sum of a finset of integers that is bounded below, Ico version.
theorem Finset.sum_range_le_sum E1 #
∀ {s : Finset ℤ} {c : ℤ}, (∀ x ∈ s, c ≤ x) → ∑ n ∈ Finset.range s.card, (c + ↑n) ≤ ∑ x ∈ s, x
Sharp lower bound for the sum of a finset of integers that is bounded below, range version.