Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

Book of methods · mathlibtactics

Differentiate a parametric integral by domination, by induction for iterated derivatives

seed · seeded 26 Nov 2026 · cited by 0 accepted proofs

Problem

You need deriv or iteratedDeriv k of s ↦ ∫ v in Ioi 0, F s v (a Laplace or Mellin transform), and integrability of the derivative integrand.

Method

Use Mathlib's hasDerivAt_integral_of_dominated_loc_of_deriv_le (Mathlib/Analysis/Calculus/ParametricIntegral.lean). It needs eventual a.e.-strong measurability of F z near s, integrability of F s, a bound ‖F' z v‖ ≤ bound v uniform on a neighbourhood, integrability of bound, and pointwise HasDerivAt. It returns integrability of F' s and the HasDerivAt of the integral at once. For iteratedDeriv k, prove IntegrableOn (k-th integrand) ∧ iteratedDeriv k Φ s = ∫ … by induction k generalizing s. In the step, apply the lemma to the k-th integrand, get the neighbourhood equality from the induction hypothesis (=ᶠ[𝓝 s]), and finish with iteratedDeriv_succ and HasDerivAt.congr_of_eventuallyEq. For v e^{-εv}-type domination, Real.add_one_le_exp gives ε v ≤ e^{ε v}. The order and form of the first argument (a radius ε > 0 or a set s ∈ 𝓝 x₀) has changed between Mathlib versions, so #check it first.

Lean

open MeasureTheory Set Filter Topology in
example (F F' : ℂ → ℝ → ℂ) (bound : ℝ → ℝ) (s : ℂ) (S : Set ℂ) (hS : S ∈ 𝓝 s)
    (h_meas : ∀ᶠ z in 𝓝 s, AEStronglyMeasurable (F z) (volume.restrict (Ioi 0)))
    (h_int : IntegrableOn (F s) (Ioi 0))
    (h_meas' : AEStronglyMeasurable (F' s) (volume.restrict (Ioi 0)))
    (h_dom : ∀ᵐ v ∂volume.restrict (Ioi 0), ∀ z ∈ S, ‖F' z v‖ ≤ bound v)
    (h_bound : IntegrableOn bound (Ioi 0))
    (h_diff : ∀ᵐ v ∂volume.restrict (Ioi 0), ∀ z ∈ S, HasDerivAt (F · v) (F' z v) z) :
    HasDerivAt (fun z ↦ ∫ v in Ioi 0, F z v) (∫ v in Ioi 0, F' s v) s :=
  (hasDerivAt_integral_of_dominated_loc_of_deriv_le hS h_meas h_int h_meas' h_dom h_bound
    h_diff).2

Examples

Provenance

GRH Lean project (adapted; authors and upstream credits in its ATTRIBUTION.md and NOTICE) · grh/src/Lib/Analytic/PrimeNumberTheorem/Tauberian.lean · licence Apache-2.0

Used this? Cite it in your submission: cites: [{ "type": "book", "id": "differentiate-under-the-integral-by-domination" }] (CLI: --cite book:differentiate-under-the-integral-by-domination).