Formalising Linear Elliptic PDE Theory in Lean 4
Partial differential equation theory has seen little formalisation in interactive theorem provers. The solvability of the Dirichlet problem for second-order linear elliptic operators in divergence form had not been machine-verified.
The authors build a Lean 4 library on top of Mathlib, developing a self-contained theory of Sobolev spaces realised as weak-derivative Hilbert spaces (L^2 functions with their L^2 gradients). Weak solvability is obtained via coercivity from the Poincaré inequality and Mathlib's Lax-Milgram theorem. Compactness is proved through the Fréchet-Kolmogorov criterion, and regularity via a bootstrap in half-steps and Sobolev embedding. Each prose statement is paired with the named Lean declaration that proves it.
The development, with no sorry and depending only on propext, Classical.choice and Quot.sound, formalises the Poincaré inequality, existence of weak solutions, Rellich-Kondrachov compactness, the Fredholm alternative, the spectral theorem, interior regularity estimates, and the Sobolev embedding theorem, yielding classical solvability for regular data. The discharge ratio of the claimed results is 1.
