Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5.9) — Γ is C^∞ on ℝⁿ × (0,∞) and Γ_t = ΔΓ for t > 0

Proved
HunterPDE.HeatFourier.heatKernel_heat_equation

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

heat-equationheat-kernelp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1pde

The heat kernel Γ(x,t)=(4πt)−n/2e−∣x∣2/4t\Gamma(x,t) = (4\pi t)^{-n/2} e^{-|x|^2/4t}Γ(x,t)=(4πt)−n/2e−∣x∣2/4t is an infinitely differentiable function of (x,t)(x,t)(x,t) on Rn×(0,∞)\mathbb{R}^n \times (0,\infty)Rn×(0,∞), and it solves the heat equation there:

Γt=ΔΓ(t>0).\Gamma_t = \Delta \Gamma \qquad (t > 0).Γt​=ΔΓ(t>0).

Formalization Note. Smoothness is joint ContDiffOn ℝ ∞ on Rn×(0,∞)\mathbb{R}^n \times (0,\infty)Rn×(0,∞); Γt\Gamma_tΓt​ is the derivative in ttt at fixed xxx, and Δ\DeltaΔ is Mathlib's Laplacian in xxx on the inner-product space EuclideanSpace ℝ (Fin n).

Preamble
import Mathlib
import Definitions.Def_HunterPDE_HeatFourier_HeatKernel
Formal statement
namespace HunterPDE.HeatFourier

open scoped ContDiff Laplacian

/-- Hunter, *Notes on PDEs*, p. 131, Eq. (5.9): the heat kernel `Γ(x, t)` of (5.6) is a
`C^∞`-function of `(x, t)` in `ℝⁿ × (0, ∞)`, and `Γₜ = ΔΓ` if `t > 0`.
`Δ` is Mathlib's Laplacian in `x` on `EuclideanSpace ℝ (Fin n)` (the sum of the pure second
partial derivatives), `Γₜ` the ordinary derivative in `t` at fixed `x`. -/
theorem heatKernel_heat_equation (n : ℕ) :
    ContDiffOn ℝ ∞ (fun z : EuclideanSpace ℝ (Fin n) × ℝ => heatKernel n z.1 z.2)
      (Set.univ ×ˢ Set.Ioi 0) ∧
    ∀ (x : EuclideanSpace ℝ (Fin n)) (t : ℝ), 0 < t →
      deriv (fun s : ℝ => heatKernel n x s) t = Δ (fun y => heatKernel n y t) x := by sorry

end HunterPDE.HeatFourier
Source
Hunter, Notes on Partial Differential Equations (revised 6/18/2014), p. 131, Eq. (5.9)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

For every n∈Nn\in\mathbb{N}n∈N, with Rn\mathbb{R}^nRn Euclidean space and

Γn(x,t)=1(4πt)n/2exp⁡ ⁣(−∣x∣24t)\Gamma_n(x,t)=\frac{1}{(4\pi t)^{n/2}}\exp\!\Big(\frac{-|x|^2}{4t}\Big)Γn​(x,t)=(4πt)n/21​exp(4t−∣x∣2​)

(real power; division by zero gives 000), both of the following hold.

  1. Smoothness. The map (x,t)↦Γn(x,t)(x,t)\mapsto\Gamma_n(x,t)(x,t)↦Γn​(x,t), viewed as a function on Rn×R\mathbb{R}^n\times\mathbb{R}Rn×R, is infinitely differentiable (C∞C^\inftyC∞) on the set Rn×(0,∞)\mathbb{R}^n\times(0,\infty)Rn×(0,∞).
  2. Heat equation. For every x∈Rnx\in\mathbb{R}^nx∈Rn and every real t>0t>0t>0,
ddsΓn(x,s)∣s=t=(ΔyΓn(⋅,t))(x).\frac{d}{ds}\Gamma_n(x,s)\Big|_{s=t} = (\Delta_y \Gamma_n(\cdot,t))(x).dsd​Γn​(x,s)​s=t​=(Δy​Γn​(⋅,t))(x).
  • The left side is the ordinary one-variable derivative in the time variable at fixed xxx. It is defined as 000 if the function is not differentiable at ttt.
  • The right side is the Laplacian in the space variable: ∑i=1n\sum_{i=1}^n∑i=1n​ of the second derivative of y↦Γn(y,t)y\mapsto\Gamma_n(y,t)y↦Γn​(y,t) at xxx in direction eie_iei​, taken twice, for an orthonormal basis e1,…,ene_1,\dots,e_ne1​,…,en​. It is defined via the second Fréchet derivative, which is 000 where that derivative does not exist.

Degenerate cases. Nothing is asserted about t≤0t\le 0t≤0. For n=0n=0n=0, Γ0≡1\Gamma_0\equiv1Γ0​≡1: part 1 is smoothness of a constant, and part 2 reads 0=00=00=0, since the Laplacian is an empty sum.

Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me