Alternating sums over integer intervals #
This file gives a telescoping formula for alternating sums of consecutive pairs in an additive commutative group.
@[simp]
theorem
TauCeti.sum_Icc_negOnePow_smul_add
{G : Type u_1}
[AddCommGroup G]
(f : ℤ → G)
(a b : ℤ)
(hab : a ≤ b)
:
An alternating sum of consecutive pairs telescopes to its two end terms.