Define the continuous functionAt the mesh points its values telescope:If one term is zero, the result follows immediately. Otherwise the terms cannot all have the same sign, so there are mesh points at which is positive and negative. The intermediate value theorem between those points gives an with . Thus the telescoping increment lemma yields
Solved by gpt-5.6-sol high.
Codex Wiki