Documentation

PrimeNumberTheoremAnd.EulerMaclaurin

We prove the 1st order Euler-Maclaurin formula by specialising Abel summation and manipulating integrals.

noncomputable def B1 (x : ℝ) :

The 1st Bernoulli function.

Equations
Instances For
    Inspect dependencies

    B1 · compiled type and proof/definition references.

    Inspect dependencies

    aestronglyMeasurable_B1 · compiled type and proof/definition references.

    theorem abs_B1_le_half {x : ℝ} (hx : 0 ≤ x) :
    |B1 x| ≤ 1 / 2
    Inspect dependencies

    abs_B1_le_half · compiled type and proof/definition references.

    theorem integral_deriv_mul_add_const {𝕜 : Type u_1} [RCLike 𝕜] {f : ℝ → 𝕜} {a b : ℝ} (c : 𝕜) (hab : a ≤ b) (h_int : IntervalIntegrable (deriv f) MeasureTheory.volume a b) (hf_diff : ∀ t ∈ Set.Icc a b, DifferentiableAt ℝ f t) :
    ∫ (t : ℝ) in a..b, (↑t + c) * deriv f t = (↑b + c) * f b - (↑a + c) * f a - ∫ (t : ℝ) in a..b, f t
    Inspect dependencies

    integral_deriv_mul_add_const · compiled type and proof/definition references.

    theorem intervalIntegrable_deriv_mul_B1 {𝕜 : Type u_1} [RCLike 𝕜] {f : ℝ → 𝕜} {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (h_cont : ContinuousOn (deriv f) (Set.uIcc a b)) :
    IntervalIntegrable (fun (t : ℝ) => deriv f t * ↑(B1 t)) MeasureTheory.volume a b
    Inspect dependencies

    intervalIntegrable_deriv_mul_B1 · compiled type and proof/definition references.

    theorem integral_deriv_mul_floor_add_one {𝕜 : Type u_1} [RCLike 𝕜] {f : ℝ → 𝕜} {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hf_diff : ∀ t ∈ Set.Icc a b, DifferentiableAt ℝ f t) (h_cont : ContinuousOn (deriv f) (Set.uIcc a b)) :
    ∫ (t : ℝ) in a..b, deriv f t * (↑⌊t⌋₊ + 1) = ((↑b + 1 / 2) * f b - (↑a + 1 / 2) * f a - ∫ (t : ℝ) in a..b, f t) - ∫ (t : ℝ) in a..b, deriv f t * ↑(B1 t)
    Inspect dependencies

    integral_deriv_mul_floor_add_one · compiled type and proof/definition references.

    theorem sum_eq_integral_add_integral_deriv {𝕜 : Type u_1} [RCLike 𝕜] {f : ℝ → 𝕜} {a b : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hf_diff : ∀ t ∈ Set.Icc a b, DifferentiableAt ℝ f t) (h_cont : ContinuousOn (deriv f) (Set.uIcc a b)) :
    ∑ k ∈ Finset.Ioc ⌊a⌋₊ ⌊b⌋₊, f ↑k = (f a * ↑(B1 a) - f b * ↑(B1 b) + ∫ (t : ℝ) in a..b, f t) + ∫ (t : ℝ) in a..b, deriv f t * ↑(B1 t)
    Inspect dependencies

    sum_eq_integral_add_integral_deriv · compiled type and proof/definition references.