Documentation

CslibFrontier.Foundations.Analysis.LaplaceTransform.Basic

The one-sided Laplace transform #

For f : ℝ → E with values in a complex normed space, the one-sided Laplace transform is laplace f s = ∫ t in Ioi 0, exp (-s t) • f t for s : ℂ (laplace). It converges at s (LaplaceConvergent f s) when this integrand is integrable on (0, ∞), i.e. when the integral converges absolutely; at other s the Bochner integral, and so laplace f s, is 0. Only the values of f on (0, ∞) are used; the value f 0 plays a role only in the derivative rule (CslibFrontier/Foundations/Analysis/LaplaceTransform/Deriv.lean).

The names and statement shapes follow the open Mathlib PR mathlib4#40582 (laplace, LaplaceConvergent, laplaceConvergent_of_isBigO_exp, laplace_cexp_smul), so that these definitions can be replaced by Mathlib's if it lands; nothing is copied from it.

Holomorphy #

If f is a.e.-strongly measurable on (0, ∞) (for instance locally integrable on [0, ∞)) and of exponential order σ, i.e. ‖f t‖ ≤ M exp (σ t) for t > 0, then laplace f converges on the open half-plane re s > σ (laplaceConvergent_of_norm_le_exp) and is holomorphic there (differentiableOn_laplace), with derivative -laplace (t • f) (hasDerivAt_laplace).

laplace f is the transform of the measure f · volume (MeasureTheory.Measure.laplace_volume), and these results are the case μ = volume of the holomorphy theorem for measures, MeasureTheory.Measure.hasDerivAt_laplace, applied at a point σ < c < re s where the exponential-order bound gives convergence. That theorem differentiates under the integral sign with Mathlib's hasDerivAt_integral_of_dominated_loc_of_deriv_le, dominating t exp (-z t) f t for z near s by a multiple of exp (-c t) ‖f t‖. Two alternatives were rejected. The substitution t = -log x turns laplace f s into the Mellin transform of x ↦ f (-log x) at s, but the holomorphy theorem of Mathlib.Analysis.MellinTransform is stated with IsBigO hypotheses at 0 and ∞ on (0, ∞), and transporting the exponential-order bound, local integrability and the derivative through the change of variables costs more than the direct proof. CslibFrontier.Foundations.Analysis.Calculus.ParametricIntegralExp requires integrability of exp (c ‖φ t‖) ‖g t‖ for every c, which fails for every nonzero function of exponential order here, so it does not apply.

Main definitions #

Main results #

References #

def LaplaceConvergent {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℝ → E) (s : ℂ) :

The one-sided Laplace transform of f converges at s : ℂ: the integrand t ↦ exp (-s t) • f t is integrable on (0, ∞).

noncomputable def laplace {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℝ → E) (s : ℂ) :
E

The one-sided Laplace transform ∫ t in Ioi 0, exp (-s t) • f t. It is 0 where the integral does not converge (LaplaceConvergent).

theorem laplace_congr {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (h : Set.EqOn f g (Set.Ioi 0)) :
laplace f s = laplace g s

The Laplace transform depends only on the values of f on (0, ∞).

theorem LaplaceConvergent.congr {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (h : Set.EqOn f g (Set.Ioi 0)) :

Convergence depends only on the values of f on (0, ∞).

The function transform is the transform of the measure f · volume. Lebesgue measure does not see the endpoint 0, so integrating over [0, ∞) or (0, ∞) is the same.

Convergence of the function transform is convergence of the transform of f · volume.

Linearity #

theorem LaplaceConvergent.add {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (hg : LaplaceConvergent g s) :
LaplaceConvergent (fun (t : ℝ) => f t + g t) s
theorem LaplaceConvergent.neg {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) :
LaplaceConvergent (fun (t : ℝ) => -f t) s
theorem LaplaceConvergent.sub {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (hg : LaplaceConvergent g s) :
LaplaceConvergent (fun (t : ℝ) => f t - g t) s
theorem LaplaceConvergent.const_smul {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (c : ℂ) :
LaplaceConvergent (fun (t : ℝ) => c • f t) s
theorem laplace_add {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (hg : LaplaceConvergent g s) :
laplace (fun (t : ℝ) => f t + g t) s = laplace f s + laplace g s
theorem laplace_neg {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℝ → E) (s : ℂ) :
laplace (fun (t : ℝ) => -f t) s = -laplace f s
theorem laplace_sub {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) (hg : LaplaceConvergent g s) :
laplace (fun (t : ℝ) => f t - g t) s = laplace f s - laplace g s
theorem laplace_const_smul {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℝ → E) (s c : ℂ) :
laplace (fun (t : ℝ) => c • f t) s = c • laplace f s
theorem LaplaceConvergent.const_mul {s : ℂ} {f : ℝ → ℂ} (hf : LaplaceConvergent f s) (c : ℂ) :
LaplaceConvergent (fun (t : ℝ) => c * f t) s
theorem LaplaceConvergent.mul_const {s : ℂ} {f : ℝ → ℂ} (hf : LaplaceConvergent f s) (c : ℂ) :
LaplaceConvergent (fun (t : ℝ) => f t * c) s
theorem laplace_const_mul (f : ℝ → ℂ) (s c : ℂ) :
laplace (fun (t : ℝ) => c * f t) s = c * laplace f s
theorem laplace_mul_const (f : ℝ → ℂ) (s c : ℂ) :
laplace (fun (t : ℝ) => f t * c) s = laplace f s * c
theorem LaplaceConvergent.sum {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {s : ℂ} {ι : Type u_3} {f : ι → ℝ → E} {u : Finset ι} (hf : ∀ i ∈ u, LaplaceConvergent (f i) s) :
LaplaceConvergent (fun (t : ℝ) => ∑ i ∈ u, f i t) s
theorem laplace_sum {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {s : ℂ} {ι : Type u_3} {f : ι → ℝ → E} {u : Finset ι} (hf : ∀ i ∈ u, LaplaceConvergent (f i) s) :
laplace (fun (t : ℝ) => ∑ i ∈ u, f i t) s = ∑ i ∈ u, laplace (f i) s
theorem ContinuousLinearMap.laplaceConvergent_comp {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedAddCommGroup F] [NormedSpace ℂ F] {f : ℝ → E} {s : ℂ} (L : E →L[ℂ] F) (hf : LaplaceConvergent f s) :
LaplaceConvergent (fun (t : ℝ) => L (f t)) s

A continuous linear map commutes with the Laplace transform where it converges.

theorem ContinuousLinearMap.laplace_comp {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedAddCommGroup F] [NormedSpace ℂ F] {f : ℝ → E} {s : ℂ} [CompleteSpace E] [CompleteSpace F] (L : E →L[ℂ] F) (hf : LaplaceConvergent f s) :
laplace (fun (t : ℝ) => L (f t)) s = L (laplace f s)

A continuous linear map commutes with the Laplace transform where it converges.

theorem laplace_apply {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {s : ℂ} {ι : Type u_3} [Fintype ι] [CompleteSpace E] {f : ℝ → ι → E} (hf : LaplaceConvergent f s) (i : ι) :
laplace f s i = laplace (fun (t : ℝ) => f t i) s

The Laplace transform of a function with values in a finite product is computed coordinatewise.

theorem LaplaceConvergent.apply {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {s : ℂ} {ι : Type u_3} [Fintype ι] {f : ℝ → ι → E} (hf : LaplaceConvergent f s) (i : ι) :
LaplaceConvergent (fun (t : ℝ) => f t i) s

Coordinates of a convergent Laplace transform converge.

theorem laplaceConvergent_pi_iff {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {s : ℂ} {ι : Type u_3} [Fintype ι] {f : ℝ → ι → E} :
LaplaceConvergent f s ↔ ∀ (i : ι), LaplaceConvergent (fun (t : ℝ) => f t i) s

A function into a finite product converges iff all its coordinates do.

Convergence on half-planes #

Measurability of f on (0, ∞) follows from convergence at one point.

theorem LaplaceConvergent.of_re_le {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} (hf : LaplaceConvergent f s) {s' : ℂ} (h : s.re ≤ s'.re) :

Convergence on a half-plane. If the Laplace transform of f converges at s, it converges at every s' with re s ≤ re s'.

theorem laplaceConvergent_of_norm_le_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hf : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.volume.restrict (Set.Ioi 0))) (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :

Convergence for exponential order. If f is a.e.-strongly measurable on (0, ∞) and ‖f t‖ ≤ M exp (σ t) for t > 0, the Laplace transform of f converges at every s with σ < re s.

theorem laplaceConvergent_of_isBigO_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {σ : ℝ} (hf : MeasureTheory.LocallyIntegrableOn f (Set.Ici 0) MeasureTheory.volume) (ho : f =O[Filter.atTop] fun (t : ℝ) => Real.exp (σ * t)) (hs : σ < s.re) :

Convergence for exponential order, asymptotic form. If f is locally integrable on [0, ∞) and f = O(exp (σ t)) as t → ∞, the Laplace transform of f converges at every s with σ < re s.

theorem norm_laplace_le_of_norm_le_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :
‖laplace f s‖ ≤ M / (s.re - σ)

A bound on the transform for exponential order. If ‖f t‖ ≤ M exp (σ t) for t > 0, then ‖laplace f s‖ ≤ M / (re s - σ) for every s with σ < re s.

theorem tendsto_cexp_smul_of_norm_le_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :
Filter.Tendsto (fun (t : ℝ) => Complex.exp (-s * ↑t) • f t) Filter.atTop (nhds 0)

The damped integrand vanishes at infinity. If ‖f t‖ ≤ M exp (σ t) for t > 0 and σ < re s, then exp (-s t) • f t → 0 as t → ∞.

Holomorphy #

theorem laplaceConvergent_ofReal_smul_of_norm_le_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hf : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.volume.restrict (Set.Ioi 0))) (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :
LaplaceConvergent (fun (t : ℝ) => ↑t • f t) s

Convergence of the transform of t • f. If f is a.e.-strongly measurable on (0, ∞) and ‖f t‖ ≤ M exp (σ t) for t > 0, the Laplace transform of fun t => (t : ℂ) • f t converges at every s with σ < re s.

theorem hasDerivAt_laplace {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hf : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.volume.restrict (Set.Ioi 0))) (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :
HasDerivAt (laplace f) (-laplace (fun (t : ℝ) => ↑t • f t) s) s

The Laplace transform is holomorphic on the half-plane of exponential order, with derivative -laplace (t • f). If f is a.e.-strongly measurable on (0, ∞) and ‖f t‖ ≤ M exp (σ t) for t > 0, then at every s with σ < re s the Laplace transform of f has complex derivative -laplace (fun t => (t : ℂ) • f t) s. The transform of t • f converges there (laplaceConvergent_ofReal_smul_of_norm_le_exp).

The Laplace transform is holomorphic on the half-plane of exponential order. If f is a.e.-strongly measurable on (0, ∞) and ‖f t‖ ≤ M exp (σ t) for t > 0, the Laplace transform of f is complex differentiable on the open half-plane re s > σ.

theorem deriv_laplace {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} {M σ : ℝ} (hf : MeasureTheory.AEStronglyMeasurable f (MeasureTheory.volume.restrict (Set.Ioi 0))) (hM : ∀ t ∈ Set.Ioi 0, ‖f t‖ ≤ M * Real.exp (σ * t)) (hs : σ < s.re) :
deriv (laplace f) s = -laplace (fun (t : ℝ) => ↑t • f t) s

The derivative of the Laplace transform on the half-plane of exponential order is deriv (laplace f) s = -laplace (fun t => (t : ℂ) • f t) s.

The frequency-shift rule #

theorem laplaceConvergent_cexp_smul_iff {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℝ → E} {s : ℂ} (a : ℂ) :
LaplaceConvergent (fun (t : ℝ) => Complex.exp (a * ↑t) • f t) s ↔ LaplaceConvergent f (s - a)

Convergence of the frequency-shifted transform: exp (a t) • f t converges at s iff f converges at s - a.

theorem laplace_cexp_smul {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℝ → E) (a s : ℂ) :
laplace (fun (t : ℝ) => Complex.exp (a * ↑t) • f t) s = laplace f (s - a)

The frequency-shift rule laplace (fun t => exp (a t) • f t) s = laplace f (s - a), for all a s : ℂ (both sides are 0 where they do not converge).

Basic transforms #

theorem laplaceConvergent_cexp {s a : ℂ} (hs : a.re < s.re) :
LaplaceConvergent (fun (t : ℝ) => Complex.exp (a * ↑t)) s

The exponential exp (a t) has a convergent Laplace transform on re s > re a.

theorem laplace_cexp {s a : ℂ} (hs : a.re < s.re) :
laplace (fun (t : ℝ) => Complex.exp (a * ↑t)) s = 1 / (s - a)

The transform of an exponential: laplace (fun t => exp (a t)) s = 1 / (s - a) on re s > re a.

theorem laplaceConvergent_mul_cexp {s a : ℂ} (hs : a.re < s.re) :
LaplaceConvergent (fun (t : ℝ) => ↑t * Complex.exp (a * ↑t)) s

The transform of t exp (a t) converges on re s > re a.

theorem laplace_mul_cexp {s a : ℂ} (hs : a.re < s.re) :
laplace (fun (t : ℝ) => ↑t * Complex.exp (a * ↑t)) s = 1 / (s - a) ^ 2

The transform of t exp (a t): laplace (fun t => t exp (a t)) s = 1 / (s - a) ^ 2 on re s > re a. It is computed from laplace_cexp by the derivative rule hasDerivAt_laplace.