Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.27 — interior H² regularity of weak solutions of −∑∂ᵢ(aᵢⱼ∂ⱼu) = f

Proved
HunterPDE.Regularity.interior_H2_regularity

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

elliptic-pdep2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1pderegularity

Let Ω⊆Rn\Omega \subseteq \mathbb{R}^nΩ⊆Rn be open. Let the coefficients aij∈C1(Ω)∩L∞(Ω)a_{ij} \in C^1(\Omega) \cap L^\infty(\Omega)aij​∈C1(Ω)∩L∞(Ω) be symmetric, aij=ajia_{ij} = a_{ji}aij​=aji​, and uniformly elliptic on Ω\OmegaΩ with constant θ>0\theta > 0θ>0, and let f∈L2(Ω)f \in L^2(\Omega)f∈L2(Ω). If u∈H1(Ω)u \in H^1(\Omega)u∈H1(Ω) is a weak solution of Lu=−∑i,j∂i(aij∂ju)=fLu = -\sum_{i,j}\partial_i(a_{ij}\partial_j u) = fLu=−∑i,j​∂i​(aij​∂j​u)=f in Ω\OmegaΩ, then u∈H2(Ω′)u \in H^2(\Omega')u∈H2(Ω′) for every Ω′⋐Ω\Omega' \Subset \OmegaΩ′⋐Ω, and

∥u∥H2(Ω′)≤C(∥f∥L2(Ω)+∥u∥L2(Ω)),\|u\|_{H^2(\Omega')} \le C\big(\|f\|_{L^2(\Omega)} + \|u\|_{L^2(\Omega)}\big),∥u∥H2(Ω′)​≤C(∥f∥L2(Ω)​+∥u∥L2(Ω)​),

where the constant CCC depends only on nnn, Ω′\Omega'Ω′, Ω\OmegaΩ and the aija_{ij}aij​ — not on fff or uuu.

Weak solutions are a priori only in H1H^1H1; this theorem shows they have square-integrable second weak derivatives away from the boundary, so that the equation holds pointwise almost everywhere (a strong solution).

Formalization Note. The hypotheses aij∈L∞(Ω)a_{ij} \in L^\infty(\Omega)aij​∈L∞(Ω), aij=ajia_{ij} = a_{ji}aij​=aji​ and uniform ellipticity are the standing assumptions (4.17)–(4.18) of §4.6 on the operator. C1(Ω)C^1(\Omega)C1(Ω) is ContDiffOn ℝ 1 on Ω\OmegaΩ, as printed (no regularity up to the boundary). The constant is ∃ C : ℝ, quantified after Ω\OmegaΩ, the coefficients, θ\thetaθ and Ω′\Omega'Ω′ and before fff and uuu; the norms are ℝ≥0∞-valued and CCC enters as ENNReal.ofReal C. ∥u∥H2(Ω′)\|u\|_{H^2(\Omega')}∥u∥H2(Ω′)​ is the norm of Definition 3.23 with k=2k = 2k=2, p=2p = 2p=2 and weak derivatives on Ω′\Omega'Ω′.

Preamble
import Mathlib
import Definitions.Def_HunterPDE_Regularity_WeakSolution
import Definitions.Def_HunterPDE_Regularity_DiffQuotient

open MeasureTheory
open scoped ENNReal
Formal statement
namespace HunterPDE.Regularity

/-- Theorem 4.27 of Hunter, *Notes on PDEs* (revised 6/18/2014), p. 112 (interior `H²`
regularity): let `Ω` be an open set in `ℝⁿ`, `aᵢⱼ ∈ C¹(Ω)` and `f ∈ L²(Ω)`. If `u ∈ H¹(Ω)` is a
weak solution of `L u = −∑ᵢⱼ ∂ᵢ(aᵢⱼ ∂ⱼu) = f` ((4.34)–(4.37)), then `u ∈ H²(Ω′)` for every
`Ω′ ⋐ Ω`, and (4.39) `‖u‖_{H²(Ω′)} ≤ C (‖f‖_{L²(Ω)} + ‖u‖_{L²(Ω)})` where `C` depends only on
`n`, `Ω′`, `Ω` and `aᵢⱼ`.
The standing assumptions of §4.6 on `L` are hypotheses: `aᵢⱼ ∈ L^∞(Ω)`, `aᵢⱼ = aⱼᵢ` ((4.17)) and
uniform ellipticity with constant `θ` ((4.18)). `C¹(Ω)` is `ContDiffOn ℝ 1` on `Ω` (no
regularity up to the boundary, as printed). The constant `C` is chosen after `Ω`, the
coefficients (and their ellipticity constant) and `Ω′`, and before `f` and `u`. -/
theorem interior_H2_regularity {n : ℕ} (Ω : Set (EuclideanSpace ℝ (Fin n))) (hΩ : IsOpen Ω)
    (a : Fin n → Fin n → EuclideanSpace ℝ (Fin n) → ℝ)
    (ha_C1 : ∀ i j, ContDiffOn ℝ 1 (a i j) Ω)
    (ha_bdd : ∀ i j, MemLp (a i j) ∞ (volume.restrict Ω))
    (ha_symm : ∀ i j, a i j = a j i) (θ : ℝ) (hθ : UniformlyElliptic Ω a θ)
    (Ω' : Set (EuclideanSpace ℝ (Fin n))) (hΩ' : CompactlyContained Ω' Ω) :
    ∃ C : ℝ, ∀ f u : EuclideanSpace ℝ (Fin n) → ℝ,
      MemLp f 2 (volume.restrict Ω) → IsWeakSolution Ω a f u →
        MemW 2 2 Ω' u ∧
          sobolevNorm 2 2 Ω' u ≤ ENNReal.ofReal C *
            (eLpNorm f 2 (volume.restrict Ω) + eLpNorm u 2 (volume.restrict Ω)) := by sorry

end HunterPDE.Regularity
Source
Hunter, Notes on Partial Differential Equations (revised 6/18/2014), p. 112, Theorem 4.27
Read-back

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

Let n∈Nn \in \mathbb{N}n∈N (implicit), and write Rn\mathbb{R}^nRn for nnn-dimensional Euclidean space with Lebesgue measure λ\lambdaλ. For a set S⊆RnS \subseteq \mathbb{R}^nS⊆Rn and 1≤p≤∞1 \le p \le \infty1≤p≤∞, write ∥g∥Lp(S)∈[0,∞]\|g\|_{L^p(S)} \in [0,\infty]∥g∥Lp(S)​∈[0,∞] for the LpL^pLp seminorm of ggg with respect to λ\lambdaλ restricted to SSS. This is Lean's eLpNorm, which is defined for every function and takes the value +∞+\infty+∞ when the integral diverges.

Data and hypotheses. The statement fixes:

  • a set Ω⊆Rn\Omega \subseteq \mathbb{R}^nΩ⊆Rn that is open;
  • functions aij:Rn→Ra_{ij} : \mathbb{R}^n \to \mathbb{R}aij​:Rn→R for i,j∈{0,…,n−1}i, j \in \{0, \dots, n-1\}i,j∈{0,…,n−1}, defined on all of Rn\mathbb{R}^nRn, such that for every i,ji, ji,j:
    • aija_{ij}aij​ is continuously differentiable on Ω\OmegaΩ, in the sense of ContDiffOn of order 111. It is differentiable within Ω\OmegaΩ at each point of Ω\OmegaΩ with a derivative continuous on Ω\OmegaΩ. Nothing is required outside Ω\OmegaΩ or up to ∂Ω\partial\Omega∂Ω.
    • aija_{ij}aij​ is essentially bounded on Ω\OmegaΩ: it is a.e.-strongly measurable for λ∣Ω\lambda|_\Omegaλ∣Ω​ and ∥aij∥L∞(Ω)<∞\|a_{ij}\|_{L^\infty(\Omega)} < \infty∥aij​∥L∞(Ω)​<∞.
    • aij=ajia_{ij} = a_{ji}aij​=aji​ as functions on the whole of Rn\mathbb{R}^nRn, not only on Ω\OmegaΩ.
  • a real number θ\thetaθ, with no sign condition stated in this code, and the hypothesis UniformlyElliptic(Ω,a,θ)\mathrm{UniformlyElliptic}(\Omega, a, \theta)UniformlyElliptic(Ω,a,θ).
  • a set Ω′⊆Rn\Omega' \subseteq \mathbb{R}^nΩ′⊆Rn with CompactlyContained(Ω′,Ω)\mathrm{CompactlyContained}(\Omega', \Omega)CompactlyContained(Ω′,Ω).

UniformlyElliptic\mathrm{UniformlyElliptic}UniformlyElliptic, CompactlyContained\mathrm{CompactlyContained}CompactlyContained, IsWeakSolution\mathrm{IsWeakSolution}IsWeakSolution, MemW\mathrm{MemW}MemW and sobolevNorm\mathrm{sobolevNorm}sobolevNorm are definitions from the imported bundle files Def_HunterPDE_Regularity_WeakSolution and Def_HunterPDE_Regularity_DiffQuotient. Their bodies are not part of the code given here, so their content is not expanded in this read-back. Every property below that rests on them holds exactly as those definitions say, and no more.

In particular, nothing in the statement itself requires any of the following. They hold only if one of the bundle definitions imposes them:

  • uuu is square-integrable or has weak derivatives;
  • Ω′\Omega'Ω′ is open, nonempty or bounded;
  • θ>0\theta > 0θ>0.

Conclusion. There exists a real number CCC such that for all functions f,u:Rn→Rf, u : \mathbb{R}^n \to \mathbb{R}f,u:Rn→R the following holds. If

  • f∈L2(Ω)f \in L^2(\Omega)f∈L2(Ω) (a.e.-strongly measurable for λ∣Ω\lambda|_\Omegaλ∣Ω​ with ∥f∥L2(Ω)<∞\|f\|_{L^2(\Omega)} < \infty∥f∥L2(Ω)​<∞), and
  • IsWeakSolution(Ω,a,f,u)\mathrm{IsWeakSolution}(\Omega, a, f, u)IsWeakSolution(Ω,a,f,u) holds,

then both of the following are true:

  1. uuu satisfies the bundle predicate MemW\mathrm{MemW}MemW with parameters 2,22, 22,2 on Ω′\Omega'Ω′. The name suggests membership in the Sobolev space W2,2(Ω′)=H2(Ω′)W^{2,2}(\Omega') = H^2(\Omega')W2,2(Ω′)=H2(Ω′), but its content is whatever the bundle definition says.
  2. The following inequality holds in the extended non-negative reals [0,∞][0,\infty][0,∞]:
sobolevNorm2,2,Ω′(u)  ≤  max⁡(C,0)⋅(∥f∥L2(Ω)+∥u∥L2(Ω)).\mathrm{sobolevNorm}_{2,2,\Omega'}(u) \;\le\; \max(C, 0)\cdot\Big(\|f\|_{L^2(\Omega)} + \|u\|_{L^2(\Omega)}\Big).sobolevNorm2,2,Ω′​(u)≤max(C,0)⋅(∥f∥L2(Ω)​+∥u∥L2(Ω)​).

The factor max⁡(C,0)\max(C,0)max(C,0) is ENNReal.ofReal C: a negative CCC is replaced by 000.

Order of quantifiers. CCC is chosen after nnn, Ω\OmegaΩ, the aija_{ij}aij​, θ\thetaθ and Ω′\Omega'Ω′ (and the hypotheses about them), and before fff and uuu. So one constant works for all fff and uuu, but it may depend on everything else, including θ\thetaθ. No explicit form or dependence of CCC is asserted. The imported difference-quotient file contributes no symbol that appears in the statement.

Degenerate cases.

  • Infinite L2L^2L2 norm of uuu. If ∥u∥L2(Ω)=∞\|u\|_{L^2(\Omega)} = \infty∥u∥L2(Ω)​=∞, which the statement itself does not exclude, the right-hand side is +∞+\infty+∞ when C>0C > 0C>0, and the inequality is then trivially true. When C≤0C \le 0C≤0 it is 0⋅∞0 \cdot \infty0⋅∞, which is 000 under the convention of [0,∞][0,\infty][0,∞]. In the same way, C≤0C \le 0C≤0 makes the right-hand side 000 for every f,uf, uf,u, forcing sobolevNorm2,2,Ω′(u)=0\mathrm{sobolevNorm}_{2,2,\Omega'}(u) = 0sobolevNorm2,2,Ω′​(u)=0.
  • n=0n = 0n=0. R0\mathbb{R}^0R0 is a single point carrying Lebesgue measure 111, and there are no indices i,ji, ji,j. So the coefficient hypotheses are empty, and Ω\OmegaΩ is either empty or that point.
  • Ω=∅\Omega = \emptysetΩ=∅. The restricted measure is zero. Then every Lp(Ω)L^p(\Omega)Lp(Ω) condition holds trivially, the right-hand side equals 000, and the conclusion demands sobolevNorm2,2,Ω′(u)=0\mathrm{sobolevNorm}_{2,2,\Omega'}(u) = 0sobolevNorm2,2,Ω′​(u)=0 together with MemW\mathrm{MemW}MemW. This case is live only if CompactlyContained(Ω′,∅)\mathrm{CompactlyContained}(\Omega', \emptyset)CompactlyContained(Ω′,∅) can hold, which depends on that definition, for instance whether it permits Ω′=∅\Omega' = \emptysetΩ′=∅.
  • Unsatisfiable hypotheses. If UniformlyElliptic(Ω,a,θ)\mathrm{UniformlyElliptic}(\Omega, a, \theta)UniformlyElliptic(Ω,a,θ) or CompactlyContained(Ω′,Ω)\mathrm{CompactlyContained}(\Omega', \Omega)CompactlyContained(Ω′,Ω) cannot be satisfied, for example for a nonpositive θ\thetaθ if the definition requires positivity, the theorem is vacuous for those data. If IsWeakSolution(Ω,a,f,u)\mathrm{IsWeakSolution}(\Omega, a, f, u)IsWeakSolution(Ω,a,f,u) is never satisfiable, any CCC witnesses the statement vacuously. Which of these occur cannot be determined from the code shown.
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