Fick's second law: φ(x,t) = (4πDt)^{-1/2} exp(-x²/(4Dt)) is its fundamental solution
ProvedFickDiffusion.heatKernel_fundamental_solutionLet be a diffusion coefficient and let
Then is the fundamental solution of Fick's second law :
- it solves the equation: for all and ,
- it carries unit mass: for every , ;
- it starts from a unit point source: for every bounded continuous and every ,
This is the article's identification of the fundamental solution of Fick's second law with the heat kernel (thermal diffusivity replaced by ); every solution of the 1D diffusion equation with bounded continuous initial data is obtained by convolving that data with .
Formalization Note Derivatives are Mathlib's one-variable deriv; the limit in clause 3 is the right-sided limit 𝓝[>] 0; boundedness of is the existence of with .
import Mathlib import Definitions.Def_FickDiffusion_defs open Real Filter Topology MeasureTheory
namespace FickDiffusion
theorem heatKernel_fundamental_solution (D : ℝ) (hD : 0 < D) :
(∀ x t : ℝ, 0 < t → deriv (fun s => heatKernel D x s) t =
D * deriv (fun y => deriv (fun z => heatKernel D z t) y) x) ∧
(∀ t : ℝ, 0 < t → ∫ x, heatKernel D x t = 1) ∧
(∀ f : ℝ → ℝ, Continuous f → (∃ C, ∀ y, |f y| ≤ C) → ∀ x : ℝ,
Tendsto (fun t => ∫ y, heatKernel D (x - y) t * f y) (𝓝[>] 0) (𝓝 (f x))) := by sorry
end FickDiffusion
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter (non-blind)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements, with full knowledge of the source and of the intended meaning, at the explicit instruction of the account owner. It is not a blind audit. Reviewers must not treat it as independent evidence of faithfulness and should compare it directly against the Lean code.
For every real , with (real square root, on negatives; division by yields ), all three of the following hold:
- for all real and all : the derivative at of equals times the derivative at of the function (one-variable derivatives, value at non-differentiable points);
- for all : (Lebesgue/Bochner integral, if not integrable);
- for every continuous such that some constant satisfies for all , and every real : as through values .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.