All proofs
Project-declaredLean 4.30.0 · mathlib@c5ea00351c28

Heat Tail change Of Variables

Heat.heatTail_changeOfVariables

Plain-language statement

Change of variables formula for heat kernel tail integrals. Transforms the integral ∫_{|y-x| ≥ δ} Φ(x-y,t) dy into a standard Gaussian tail integral via the substitution z = (x-y)/√(4αt).

Exact Lean statement

lemma heatTail_changeOfVariables
    {α x δ t : ℝ} (hα : 0 < α) (ht : 0 < t) :
  (∫ y, Set.indicator {y : ℝ | δ ≤ |y - x|}
            (fun y => heatKernel α (x - y) t) y)
  = (1 / Real.sqrt Real.pi) *
    ∫ z, Set.indicator
           {z : ℝ | (δ / Real.sqrt (4 * α * t)) ≤ |z|}
           (fun z => Real.exp (-z^2)) z

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma heatTail_changeOfVariables    {α x δ t : } (hα : 0 < α) (ht : 0 < t) :  (∫ y, Set.indicator {y :  | δ  |y - x|}            (fun y => heatKernel α (x - y) t) y)  = (1 / Real.sqrt Real.pi) *    ∫ z, Set.indicator           {z :  | (δ / Real.sqrt (4 * α * t))  |z|}           (fun z => Real.exp (-z^2)) z := by    unfold heatKernel     let s :  := Real.sqrt (4 * α * t)    have s_pos: 0 < s := by positivity     calc       ∫ (y : ), {y | δ  |y - x|}.indicator (fun y  1 / √(4 * Real.pi * α * t) * Real.exp (-(x - y) ^ 2 / (4 * α * t))) y        = ∫ z, Set.indicator {z :  | δ  |z|}               (fun z => 1 / √(4 * Real.pi * α * t) * Real.exp (-z^2 / (4 * α * t))) z := by          simp only [abs_sub_comm]          exact integral_sub_left_eq_self (fun z =>                 Set.indicator {z :  | δ  |z|} (fun z => 1 / √(4 * Real.pi * α * t) * Real.exp (-z^2 / (4 * α * t))) z):= volume) (x : )      _ = ∫ z, Set.indicator {z :  | δ / s  |s⁻¹  * z|}               (fun z => 1 / √(4 * Real.pi * α * t) * Real.exp (-(s⁻¹ * z)^2)) z := by            congr 1; ext z;            simp only [Set.indicator]            congr 1            · simp only [Set.mem_setOf_eq]              rw [div_le_iff₀' s_pos, abs_mul, abs_inv, abs_of_pos s_pos]              field_simp [s_pos.ne.symm]            · congr 2              field_simp [s_pos.ne.symm]; rw [Real.sq_sqrt (by positivity)]; ring      _ = 1 / √(4 * Real.pi * α * t) * ∫ z, Set.indicator {z :  | δ / s  |s⁻¹  * z|}               (fun z => Real.exp (-(s⁻¹ * z)^2)) z := by          simp [Set.indicator_const_mul]          rw [integral_const_mul]      _ =  1 / √(4 * Real.pi * α * t) * (s * ∫ z, Set.indicator {z :  | δ / s  |z|}               (fun z => Real.exp (-z^2)) z) := by          congr 1          set f :    := fun u  {u | δ / s  |u|}.indicator (fun u => Real.exp (-u ^ 2)) u          have hf : (fun z  {z | δ / s  |s⁻¹ * z|}.indicator (fun z => Real.exp (-(s⁻¹ * z) ^ 2)) z) =            (fun z  f (s⁻¹ * z)) := by            ext z; dsimp [f]; rfl          rw [hf, integral_comp_mul_left f s⁻¹, inv_inv, abs_of_pos]; rfl; exact s_pos      _ = (1 / Real.sqrt Real.pi) * ∫ z, Set.indicator           {z :  | δ / s  |z|}           (fun z => Real.exp (-z^2)) z := by             unfold s; rw [ mul_assoc]; field_simp             rw [ mul_right_comm, mul_comm ];             rw [ mul_comm,  Real.sqrt_mul <| by positivity ]             ac_rfl
Project
PDE
License
Apache-2.0
Commit
0ab5d79a0d7a
Source
PDE/Basics/Heat/HeatSolutionProperty.lean:141-190

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.30.0

Fderiv Ccinfty

FderivCcinfty

Plain-language statement

The Fréchet derivative x ↦ (∂ˢψ(x))(unitSeq s) of a test function ψ ∈ Cc^∞(U) again lies in Cc^∞(U). This is used to compose the weak derivative definition with itself.

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record
Project-declaredLean 4.30.0

Heat from convolution heat Kernel

heat_from_convolution_heatKernel

Project documentation

Swap the second spatial derivative xx\partial_{xx} with the integral \int. -/ lemma swap_xx_heatKernel {α : ℝ} {x t : ℝ} (g : ℝ → ℝ) (ht : 0 < t) (hα : 0 < α) (hg : Integrable g) : HasDerivAt (fun x' => ∫ y, HKx α (x' - y) t * g y ∂volume) (∫ y, HKxx α (x - y) t * g y ∂volume) x := by have mem_nhds : Metric.ball x 1 ∈ 𝓝 x := Metric.ball_mem_nhds x (by...

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record
Project-declaredLean 4.30.0

Deriv exp heat Kernel

Heat.deriv_exp_heatKernel

Plain-language statement

Derivative of the exponential term exp(-(x²)/(4αt)) with respect to x.

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record