The areas / V03. Sets, finite structures and big operators
Mathlib.Algebra.BigOperators.Module
4 declarations. Mathlib docs · Source
theorem Finset.sum_Ico_by_parts E2 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : ℕ → R) (g : ℕ → M)
{m n : ℕ},
m < n →
∑ i ∈ Finset.Ico m n, f i • g i =
f (n - 1) • ∑ i ∈ Finset.range n, g i - f m • ∑ i ∈ Finset.range m, g i -
∑ i ∈ Finset.Ico m (n - 1), (f (i + 1) - f i) • ∑ i ∈ Finset.range (i + 1), g i
Summation by parts, also known as Abel's lemma or an Abel transformation
theorem Finset.sum_Ioc_by_parts E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : ℕ → R) (g : ℕ → M)
{m n : ℕ},
m < n →
∑ i ∈ Finset.Ioc m n, f i • g i =
f n • ∑ i ∈ Finset.range (n + 1), g i - f (m + 1) • ∑ i ∈ Finset.range (m + 1), g i -
∑ i ∈ Finset.Ioc m (n - 1), (f (i + 1) - f i) • ∑ i ∈ Finset.range (i + 1), g i
theorem Finset.sum_range_by_parts E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : ℕ → R) (g : ℕ → M)
(n : ℕ),
∑ i ∈ Finset.range n, f i • g i =
f (n - 1) • ∑ i ∈ Finset.range n, g i -
∑ i ∈ Finset.range (n - 1), (f (i + 1) - f i) • ∑ i ∈ Finset.range (i + 1), g i
Summation by parts for ranges
theorem Finset.sum_range_by_parts' E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : ℕ → R) (g : ℕ → M)
(n : ℕ),
∑ i ∈ Finset.range n, f i • g i =
(∑ i ∈ Finset.range n, f i) • g (n - 1) -
∑ i ∈ Finset.range (n - 1), (∑ j ∈ Finset.range (i + 1), f j) • (g (i + 1) - g i)
Summation by parts for ranges, differencing the second (module) factor instead of the
first: the mirror image of sum_range_by_parts.