Comparing sums and integrals #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Summary #
It is often the case that error terms in analysis can be computed by comparing an infinite sum to the improper integral of an antitone function. This file will eventually enable that.
At the moment it contains four lemmas in this direction: antitone_on.integral_le_sum
,
antitone_on.sum_le_integral
and versions for monotone functions, which can all be paired
with a filter.tendsto
to estimate some errors.
TODO
: Add more lemmas to the API to directly address limiting issues
Main Results #
antitone_on.integral_le_sum
: The integral of an antitone function is at most the sum of its values at integer steps aligning with the left-hand side of the intervalantitone_on.sum_le_integral
: The sum of an antitone function along integer steps aligning with the right-hand side of the interval is at most the integral of the function along that intervalmonotone_on.integral_le_sum
: The integral of a monotone function is at most the sum of its values at integer steps aligning with the right-hand side of the intervalmonotone_on.sum_le_integral
: The sum of a monotone function along integer steps aligning with the left-hand side of the interval is at most the integral of the function along that interval
Tags #
analysis, comparison, asymptotics