Arbitrary-order Euler--Maclaurin summation #
This file is adapted from
Interval/EulerMaclaurin/Bernoulli.lean and
Interval/EulerMaclaurin/EulerMaclaurin.lean in
girving/interval at commit
f4a3231fd735cdf6d5265864d9a9207744a7aca2, licensed under Apache-2.0.
The source has been modified, namespaced for Expdb, and updated for newer version of Mathlib.
Periodic Bernoulli functions #
The scaled periodic Bernoulli function of order s.
Equations
- Expdb.EulerMaclaurin.saw s x = (↑s.factorial)⁻¹ * periodizedBernoulli s ↑x
Instances For
Explicit bounds #
An explicit uniform bound for the absolute value of saw s, obtained by summing the
absolute values of the coefficients of the sth Bernoulli polynomial.
Equations
Instances For
Euler--Maclaurin on one unit interval #
The full formula #
The arbitrary-order Euler--Maclaurin formula for a sum over consecutive integers.
A convenient norm form of Euler--Maclaurin for natural endpoints. Uniform bounds on the function and its derivatives control the difference between the inclusive sum and its integral; the right-hand side records the endpoint, correction-term, and remainder contributions.