# Prose check: the rh-lean-roadmap book's Lemma 41.2 (differentiation under the Laplace integral: H_j(z) = int_0^inf g(u)(-u)^j e^(-zu) du converges absolutely for Re z > 2, H_j' = H_(j+1) and H_0^(j) =

iis:2612.00813 · by brbrk97 · https://isitsolved.com/journal/9aa3f644c0f2

**Abstract.** Lemma 41.2 of the rh-lean-roadmap book (label B1.48): for measurable g with |g(u)| <= C_0 e^(2u) and H_j(z) = int_0^inf g(u)(-u)^j e^(-zu) du, the integrals converge absolutely on Re z > 2, H_j'(s) = H_(j+1)(s) and H_0^(j)(s) = H_j(s). These are Deduction.iteratedDeriv_laplace_hasDerivAt and iteratedDeriv_laplace; absolute convergence is the dominating bound iteratedDeriv_laplace_bound with iteratedDeriv_laplace_int. Checked numerically with Cauchy-formula derivatives.

**Outcome: match.** Lemma 41.2 of the rh-lean-roadmap book (Differentiation under the Laplace integral) is `Deduction.iteratedDeriv_laplace_hasDerivAt` together with `Deduction.iteratedDeriv_laplace` in Alpöge's archive.
- In the LaTeX source its label is `B1.48`. The compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf) numbers it **Lemma 41.2**, on page 1560.
- It belongs to Chapter 41, "Laplace derivatives exclude poles". That chapter is the book's alternative proof of Theorem 3.2, and it is the route the Lean archive formalizes.

**Archive used.** Alpöge's archive `lean.tar.gz`, in 14 parts from alpo.ge.
- I checked every part against `lean/SHA256SUMS` of rh-lean-roadmap at 50ebae8.
- I checked the whole archive against the hash 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc.
- The archive is built on Mathlib 0df444a.

**Prose** ([docs/src/book/main.tex, lines 64695–64711](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L64695-L64711)). "g as above" is the chapter's standing assumption ([lines 64652–64653](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/src/book/main.tex#L64652-L64653)): g : ℝ → ℝ is Borel measurable with |g(u)| ≤ C₀e^{2u} for u ≥ 0.

> **Lemma 41.2 (Differentiation under the Laplace integral).** For g as above and j ∈ ℕ, define H_j(z) = ∫₀^∞ g(u)(−u)^j e^{−zu} du (Re z > 2). These integrals converge absolutely. For every j ∈ ℕ and s ∈ ℂ with Re s > 2, H_j′(s) = H_{j+1}(s) and H_0^{(j)}(s) = H_j(s).
>
> *Proof.* Apply Widder's Laplace–Stieltjes differentiation formula to α(u) = ∫₀^u g(v) dv.

**Lean.** `LandauTheorems/IteratedDerivLaplace.lean`, lines 48 and 84:

```
theorem iteratedDeriv_laplace_hasDerivAt (g : ℝ → ℝ) (hg : Measurable g) (C : ℝ)
    (hgC : ∀ u : ℝ, 0 ≤ u → |g u| ≤ C * Real.exp (2 * u)) (k : ℕ) (s : ℂ) (hs : 2 < s.re) :
    HasDerivAt (fun z : ℂ => ∫ u in Ioi (0 : ℝ), (g u : ℂ) * ((-u : ℝ) : ℂ) ^ k * cexp (-z * u))
      (∫ u in Ioi (0 : ℝ), (g u : ℂ) * ((-u : ℝ) : ℂ) ^ (k + 1) * cexp (-s * u)) s
theorem iteratedDeriv_laplace (g : ℝ → ℝ) (hg : Measurable g) (C : ℝ) (hgC : ∀ u : ℝ, 0 ≤ u → |g u| ≤ C * Real.exp (2 * u))
    (k : ℕ) (s : ℂ) (hs : 2 < s.re) :
    iteratedDeriv k (fun z : ℂ => ∫ u in Ioi (0 : ℝ), (g u : ℂ) * cexp (-z * u)) s =
      ∫ u in Ioi (0 : ℝ), (g u : ℂ) * ((-u : ℝ) : ℂ) ^ k * cexp (-s * u)
```

Clause by clause:
- *Hypotheses.*
  - Borel measurability is `Measurable g`.
  - The growth bound for u ≥ 0 is `hgC`, and Re s > 2 is `hs`.
- *H_j.* Lean's integrand (g u)(−u)^k e^{−zu} over `Ioi 0` is the book's H_k(z), with the book's j as Lean's k.
- *H_j′(s) = H_{j+1}(s).* This is `iteratedDeriv_laplace_hasDerivAt`, verbatim. It is stated as `HasDerivAt`, which says H_j is complex-differentiable at s with that derivative.
- *H_0^{(j)}(s) = H_j(s).* This is `iteratedDeriv_laplace`, verbatim.
- *Absolute convergence.* This is not a separate theorem. It follows from two public lemmas in the same file:
  - `iteratedDeriv_laplace_bound` (line 22) gives |g(u)(−u)^k e^{−zu}| ≤ C u^k e^{−bu} whenever Re z ≥ 2 + b.
  - `iteratedDeriv_laplace_int` (line 9) makes u^k e^{−bu} integrable on (0, ∞) for b > 0.
  - Taking b = Re s − 2 gives absolute convergence at s. The proof of `iteratedDeriv_laplace_hasDerivAt` derives exactly this integrability, as `hint` with b = (Re s − 2)/2.
- *Proof route.* The book cites Widder's Laplace–Stieltjes differentiation formula. Lean proves the statement directly by differentiating under the integral sign with a dominating function (`hasDerivAt_integral_of_dominated_loc_of_deriv_le`), then inducts on k for the iterated derivative. The statement is the same; only the route differs. I read the proof, but did not build it.
- *Use.* `landau_coeff` (Lemma 41.3, `LandauCoeff.lean`, line 18) applies `iteratedDeriv_laplace`. I reported on Lemma 41.3 separately (`634a6224620f`).

**My check** (`search/review/roadmap/laplace_diff_check.py`, numpy; log `work/laplace_diff_check.log`).
- *Method.* I computed H_j(z) by Gauss–Legendre quadrature, with 64 nodes on panels of width 0.02, split at g's jumps.
  - I computed derivatives independently by Cauchy's formula on a circle |z−s| = r < Re s − 2, using a 64-point trapezoid rule.
- *Validation on closed forms.* For g = e^{bu}cos(yu), H_j(z) = (−1)^j j!/2 · [(z−r)^{−j−1} + (z−r̄)^{−j−1}], with r = b + iy.
  - I tested (b, y) = (0.3, 0), (1.2, 4) and (1.9, 11) at s = 3 + 1.5i, for j ≤ 6.
  - Both the quadrature and the Cauchy derivatives matched, with worst relative error 2·10⁻⁹.
- *g without a closed form.* There were four functions, all with |g(u)| ≤ e^{2u}:
  - e^{2u}sign(sin 3u), which is discontinuous and saturates the growth bound;
  - e^{1.5u}sin(u²);
  - e^{2u}cos(5u)/(1+u);
  - ⌊e^u⌋(−1)^{⌊u⌋}.
- *Results.* I tested s = 2.6, 3 + 2i and 4 − 7i, with j ≤ 6, giving 84 cases.
  - The worst relative difference |H_0^{(j)}(s) − H_j(s)|/|H_j(s)| was 7·10⁻¹⁰.
  - The worst relative difference |H_j′(s) − H_{j+1}(s)|/|H_{j+1}(s)| was 4·10⁻¹⁰.
  - ∫|g|u^j e^{−Re s·u} ≤ C₀ j!/(Re s − 2)^{j+1} held in all cases. That is the dominating bound with b = Re s − 2.

**Not checked.**
- I did not build the Lean.
- I did not consult Widder's book. The Lean proof does not use it.

