Existence theory for elliptic, parabolic and nonlinear PDEs mostly runs through one argument: build approximate solutions, bound them in a Sobolev norm, extract a convergent subsequence, and pass to the limit. The extraction step needs a compact embedding: a bound on derivatives must buy convergence of the functions themselves in a weaker norm. On a bounded domain this is the Rellich–Kondrachov theorem. It is what makes the resolvent of the Dirichlet Laplacian compact, and so gives the Fredholm alternative and the discrete spectrum of elliptic operators on bounded domains. The companion topics of the same section, extension and trace, are how Sobolev functions are moved between a domain and all of space, and how they are given boundary values.
This mission follows Chapter 3 (§3.9–3.10) and Theorem 1.15 of J. K. Hunter's Notes on Partial Differential Equations (UC Davis lecture notes, revised 6/18/2014).
Timeline. Rellich proved the compactness of on bounded domains in 1930. Kondrachov extended it to and exponents below the Sobolev exponent in 1945. The compactness criterion used in the notes goes back to Kolmogorov (1931) and M. Riesz (1933); a modern account with a history is Hanche-Olsen and Holden 2010. Gagliardo characterized the traces of in 1957.
Throughout, carries Lebesgue measure, and functions are real-valued. For an open set , a test function is smooth with compact support inside . A locally integrable is the weak derivative of a locally integrable if for every test function . Here is a multi-index of order .
For and , the Sobolev space consists of the whose weak derivatives , , exist and lie in . For its norm is
and for it is the maximum of the essential suprema. The space is the closure of in this norm. For the Sobolev conjugate is .
The upper half-space is , with closure and boundary . The space consists of the functions that are smooth up to the boundary and vanish outside a compact set. Unlike , they need not vanish on .
A subset of a metric space is precompact if its closure is compact. is the space of continuous functions vanishing at infinity, with the sup norm.
In Lean the weak derivative is HasWeakDeriv (with weakDeriv and weakGradNorm) in the series' shared namespace HunterPDE.Shared; the other objects are MemW k p Ω f, sobolevNorm k p Ω f, MemW0 k p Ω f, sobolevConjugate, upperHalfSpace m, IsSmoothCompactClosedHalfSpace and boundaryPoint, in the namespace HunterPDE.Compactness.
Let be a bounded open set in , and . If satisfies for all , then
The goal is stated qualitatively (precompactness), with no constants, so it does not depend on any particular form of the Sobolev inequality.
The result itself. Rellich–Kondrachov is the source of compactness in the theory of elliptic equations. With it, the solution operator of a coercive elliptic problem on a bounded domain is compact. That yields the Fredholm alternative, the discreteness of the Dirichlet spectrum, and existence results for semilinear problems via compactness and fixed-point arguments. The trace theorem makes the boundary condition " on " meaningful for Sobolev functions, and identifies as the space in which Dirichlet problems are posed. The extension theorem transfers whole-space results to domains. Theorem 3.48 gives the uniform-norm counterpart above the critical exponent.
Formalizing it. All results here are classical and proved. The notes prove 3.45, 3.48 and the forward direction of 3.44. They describe 3.41 and 3.42 in a sentence each, and cite 1.15 without proof. Mathlib has the Lebesgue spaces Lp, Arzelà–Ascoli for bounded continuous functions, and mollification. It has no weak derivatives, no Sobolev spaces on domains, no trace, no extension operators and no Kolmogorov–Riesz criterion. A complete development would supply the first machine-checked versions of these in the notes' form, and a formal compactness theorem usable by the elliptic chapters of the same series.
The obvious route to the goal is: approximate by test functions, extend by zero, and verify the three Kolmogorov–Riesz conditions. The first two follow from the Sobolev inequality and the boundedness of . The hard parts are elsewhere. First, the Kolmogorov–Riesz criterion is not in Mathlib, and its "if" direction needs a mollification and total-boundedness argument in . Second, the -equicontinuity for above needs an interpolation between an translation estimate and the critical Sobolev embedding into , so the Gagliardo–Nirenberg–Sobolev inequality must be available for , not only for smooth compactly supported functions. Third, weak derivatives are defined by integration against test functions, and every density step has to be carried through that definition. The exponent restriction is sharp (Example 3.47 in the notes), so no argument that ignores it can succeed.
EuclideanSpace ℝ (Fin n) with volume. Open sets are Ω : Set _ with IsOpen Ω, and bounded means Bornology.IsBounded Ω. Coordinates are 0-based (i : Fin n), and multi-indices are α : Fin n → ℕ.ℝⁿ → ℝ, and only their values on the relevant set matter. weakDeriv is a chosen representative, used only where a weak derivative is assumed to exist. sobolevNorm takes values in ℝ≥0∞.sobolevNorm 1 p Ω.Ω.indicator f). The conclusion asserts both that each extension lies in and that the set of their classes in Mathlib's Lp ℝ q volume has compact closure. The hypothesis rules out .Fin.last m. The boundary is via . Extension and trace operators are maps on functions that are linear up to a.e. equality on .namespace HunterPDE.Compactness
/-- Theorem 3.45 of Hunter, *Notes on PDEs* (revised 6/18/2014), p. 73 (Rellich–Kondrachov): let
`Ω` be a bounded open set in `ℝⁿ`, `1 ≤ p < n` and `1 ≤ q < p* = np/(n − p)`. If `F` is a bounded
set in `W^{1,p}_0(Ω)`, then `F` is precompact in `L^q(ℝⁿ)`.
Elements of `F` are functions `ℝⁿ → ℝ` in `W^{1,p}_0(Ω)` (closure of `C_c^∞(Ω)` in the
`W^{1,p}(Ω)` norm) with a common bound on `‖f‖_{W^{1,p}(Ω)}`; they are placed in `L^q(ℝⁿ)` by
extension by zero outside `Ω` (`Ω.indicator f`). The conclusion says every extension lies in
`L^q(ℝⁿ)` and the set of their classes has compact closure in `L^q(ℝⁿ)`. -/
theorem rellich_kondrachov {n : ℕ} (Ω : Set (EuclideanSpace ℝ (Fin n))) (hΩ : IsOpen Ω)
(hΩb : Bornology.IsBounded Ω) (p : ℝ) (hp : 1 ≤ p) (hpn : p < n)
(q : ℝ≥0∞) [Fact (1 ≤ q)] (hq : q < ENNReal.ofReal (sobolevConjugate n p))
(F : Set (EuclideanSpace ℝ (Fin n) → ℝ))
(hF : ∀ f ∈ F, MemW0 1 (ENNReal.ofReal p) Ω f)
(hFb : ∃ M : ℝ≥0, ∀ f ∈ F, sobolevNorm 1 (ENNReal.ofReal p) Ω f ≤ (M : ℝ≥0∞)) :
(∀ f ∈ F, MemLp (Ω.indicator f) q volume) ∧
IsCompact (closure {u : Lp ℝ q (volume : Measure (EuclideanSpace ℝ (Fin n))) |
∃ f ∈ F, (u : EuclideanSpace ℝ (Fin n) → ℝ) =ᵐ[volume] Ω.indicator f}) := by sorry
end HunterPDE.Compactness
Let be a bounded open set in , , and . If is a bounded set in , that is, for all , then is precompact in :
Equivalently, every bounded sequence in has a subsequence converging in . This compact embedding underlies the Fredholm theory and spectral theory of elliptic operators on bounded domains. Both boundedness of and are necessary.
Formalization Note. is real with , and with (so is finite). Elements of are functions in MemW0 1 p Ω with a common bound on sobolevNorm 1 p Ω. They are placed in by extension by zero, Ω.indicator f. The conclusion states that every extension is in , and that the set of their classes in Mathlib's Lp ℝ q volume has compact closure.
No open leaves. Every sub-goal is proved or awaiting decomposition.