Periodized Bernoulli polynomials #
Mathlib's periodizedBernoulli k : UnitAddCircle → ℝ is the Bernoulli polynomial bernoulliFun k
on [0, 1), extended periodically. At the class of a real number x it is
bernoulliFun k (Int.fract x). This file proves what the general Euler-Maclaurin formula in
Interval.EulerMaclaurin.Formula needs: the value on [m, m + 1) and at the integers,
measurability (also for k = 1, where the function jumps at the integers), interval integrability
of products, and integration by parts against a translated Bernoulli polynomial.
Main results #
periodizedBernoulli_coe:periodizedBernoulli k x = bernoulliFun k (Int.fract x).periodizedBernoulli_coe_of_mem_Ico_intCast: the valuebernoulliFun k (x - m)on[m, m + 1).periodizedBernoulli_intCast: the valuebernoulli kat an integer, withsimpcompanions for natural numbers, numerals,0and1.IntervalIntegrable.periodizedBernoulli_smul: products with interval integrable functions are interval integrable.integral_bernoulliFun_comp_sub_right_smul: integration by parts againstt ↦ bernoulliFun n (t - c).
The periodization AddCircle.liftIco T a f of a measurable function f : ℝ → β, which agrees
with f on [a, a + T), is measurable.
The periodized Bernoulli polynomial at the class of a real number x is B_k at the
fractional part of x. This is the bridge between periodizedBernoulli, defined on the unit
circle, and the periodic function on ℝ.
On [m, m + 1), for an integer m, the periodized Bernoulli polynomial is the translate
x ↦ bernoulliFun k (x - m) of the Bernoulli polynomial.
At an integer, the periodized Bernoulli polynomial is the Bernoulli number.
At a natural number, the periodized Bernoulli polynomial is the Bernoulli number.
At a numeral n ≥ 2, the periodized Bernoulli polynomial is the Bernoulli number.
The periodized Bernoulli polynomial of order k at the real number 1 is the Bernoulli number
B_k. Here one in the name refers to the argument, not to the order.
The periodized Bernoulli polynomial of order k at the zero of the circle is the Bernoulli
number B_k. Here zero in the name refers to the argument, not to the order. It is the form to
which simp reduces the value at the real number 0.
The periodized Bernoulli polynomial is measurable on the circle for every k, including
k = 1, where it jumps at the origin.
The product of the periodized Bernoulli polynomial with an interval integrable function is interval integrable. No continuity is needed: the periodized Bernoulli polynomial is measurable and bounded.
Integration by parts against a translated Bernoulli polynomial. If f has derivative
f' within [a, b], with f' interval integrable, then
`∫ B_n(t - c) • f(t) dt = (n + 1)⁻¹ • (B_{n+1}(b - c) • f(b) - B_{n+1}(a - c) • f(a)
- ∫ B_{n+1}(t - c) • f'(t) dt)`.