H¹ and H₀¹ as weak-derivative Hilbert spaces #
We realise W^{1,2}(Ω) as the graph of the weak-gradient operator inside the Hilbert space
L²(Ω) × (L²(Ω))ᵈ (encoded as PiLp 2 over Fin (d+1): coordinate 0 is the function,
coordinate i.succ the i-th weak partial). The weak-gradient relation is orthogonality to a
family of explicit "constraint vectors", so W^{1,2} is an orthogonal complement: closed,
complete, and a real Hilbert space with no further work.
The real L² space on a domain Ω ⊆ ℝ^d (restricted Lebesgue measure).
Equations
Instances For
Ambient Hilbert space for the graph encoding: a function value together with d gradient
components, with the ℓ² (H¹) inner product. Coordinate 0 is the function; coordinate i.succ
is the i-th weak partial derivative.
Equations
- EllipticPdes.Sobolev.H1amb Ω = PiLp 2 fun (x : Fin (d + 1)) => EllipticPdes.Sobolev.L2D Ω
Instances For
Inner product of a single-coordinate vector against an ambient vector picks out the
coordinate: ⟪single j a, U⟫ = ⟪a, U j⟫.
Test functions and their L² classes #
The i-th classical partial derivative of φ (a directional fderiv).
Equations
- EllipticPdes.Sobolev.partialD i φ x = (fderiv ℝ φ x) (EuclideanSpace.single i 1)
Instances For
partialD is additive on differentiable functions.
The topological support of a partial derivative sits inside the support of the
function: off tsupport φ the function is locally zero, so fderiv vanishes.
A smooth, compactly supported test function whose support sits inside Ω.
Equations
- EllipticPdes.Sobolev.IsTestFn Ω φ = (ContDiff ℝ (↑⊤) φ ∧ HasCompactSupport φ ∧ tsupport φ ⊆ Ω)
Instances For
A test function is continuous.
Test functions are monotone in the domain: a test function of Ω is a test
function of any superset.
Each partial derivative of a test function is continuous.
Each partial derivative of a test function has compact support.
φ being a test function is preserved under sums.
The zero function is a test function.
A test function lies in L²(Ω).
Each partial derivative of a test function lies in L²(Ω).
The L²(Ω) class of a test function.
Equations
- h.testCls = MeasureTheory.MemLp.toLp φ ⋯
Instances For
The L²(Ω) class of the i-th partial derivative of a test function.
Equations
Instances For
Constraint vector: orthogonality to it expresses one instance of the weak-gradient
relation ⟪U₀, [∂ᵢφ]⟫ + ⟪U_{i+1}, [φ]⟫ = 0 (coordinate 0 is the function, coordinate
i.succ the i-th weak partial).
Equations
- h.constraintVec i = PiLp.single 2 0 (h.partialCls i) + PiLp.single 2 i.succ h.testCls
Instances For
Pairing a constraint vector against U extracts the weak-gradient relation.
A test function embedded as its graph (φ, ∇φ) in the ambient space: coordinate 0
is the function, coordinate i.succ its i-th classical (= weak) partial.
Equations
- h.testGraph = WithLp.toLp 2 (Fin.cons h.testCls fun (i : Fin d) => h.partialCls i)
Instances For
Simp lemma: testGraph h i.succ = partialCls h i.
The graph embedding is additive: (φ + ψ) graphs to the sum of the graphs.
The graph of the zero function is the zero vector.
The real L²(Ω) inner product of two MemLp.toLp classes is the integral of the
product over Ω.
Weak-gradient graph space W^{1,2}(Ω) #
The set of all constraint vectors over Ω.
Equations
- EllipticPdes.Sobolev.constraintSet Ω = {w : EllipticPdes.Sobolev.H1amb Ω | ∃ (φ : EuclideanSpace ℝ (Fin d) → ℝ) (h : EllipticPdes.Sobolev.IsTestFn Ω φ) (i : Fin d), w = h.constraintVec i}
Instances For
W^{1,2}(Ω): functions paired with their weak L² gradient, realised as the
orthogonal complement of the constraint vectors inside the ambient Hilbert space. As an
orthogonal complement it is automatically a closed, complete, real Hilbert space.
Equations
Instances For
W^{1,2}(Ω) is complete, being an orthogonal complement in a Hilbert space.
Membership in W^{1,2}(Ω) is exactly the weak-gradient relation tested against every
test function: ⟪U₀, [∂ᵢφ]⟫ + ⟪U_{i+1}, [φ]⟫ = 0. This is what makes an element of W12
a function (U 0) together with its weak L² gradient (U ∘ Fin.succ).
H₀¹(Ω) as the closure of the test functions #
The set of test-function graphs over Ω.
Equations
- EllipticPdes.Sobolev.testGraphSet Ω = {U : EllipticPdes.Sobolev.H1amb Ω | ∃ (φ : EuclideanSpace ℝ (Fin d) → ℝ) (h : EllipticPdes.Sobolev.IsTestFn Ω φ), U = h.testGraph}
Instances For
The test-function graphs already form a submodule: smooth compactly supported
functions are closed under sums and scalar multiples, and the graph embedding is linear.
This identifies Submodule.span ℝ (testGraphSet Ω) with testGraphSet Ω itself.
Equations
- EllipticPdes.Sobolev.testGraphSubmodule Ω = { carrier := EllipticPdes.Sobolev.testGraphSet Ω, add_mem' := ⋯, zero_mem' := ⋯, smul_mem' := ⋯ }
Instances For
The span of the test-function graphs equals the test-function graphs.
H₀¹(Ω) = W₀^{1,2}(Ω): the closure of the smooth compactly supported functions
inside the ambient H¹ space. As a topological closure it is automatically a closed,
complete, real Hilbert space.
Equations
Instances For
H₀¹(Ω) is complete, being a topological closure in a Hilbert space.
Classical gradient of a test function as a weak gradient. Hence every test
function's graph lies in W^{1,2}(Ω). This is the integration-by-parts step (no boundary
term, by compact support).
H₀¹(Ω) ⊆ W^{1,2}(Ω): every element of H₀¹ is a function with a weak L² gradient.
Public because it is the bridge between the two solution spaces the library uses. The
interior regularity chain quantifies over H01 Ω, while Evans §6.3.1 Theorem 1 and
Fernández-Real and Ros-Oton both state the interior theory over the ambient Sobolev space,
so a generalisation of that chain runs through W12 Ω and needs this inclusion from outside
this file.