Dirichlet eigenvalues, Rayleigh quotient and area
DefinitionPolyaLaplacian_SpectralThis file builds the Dirichlet spectral infrastructure for the positive Laplacian on a bounded domain , used throughout the mission.
It defines the open disk and annulus , the area as the Lebesgue measure of (returned as a real number), and the space of smooth compactly-supported test functions supported in the interior of . For a test function it defines the Dirichlet energy , the mass , and the Rayleigh quotient
The -th Dirichlet eigenvalue is then given by the Courant min–max principle
For a bounded open set this recovers the -th eigenvalue of the Dirichlet Laplacian counted with multiplicity, and it is the variational characterization used in all the mission's eigenvalue bounds.
Formalization Note. The gradient squared is written as the sum of squares of the partial derivatives in the standard orthonormal basis. The eigenvalue is an infimum over -dimensional submodules of test functions of a supremum of Rayleigh quotients; the test-function space is taken over the interior of the input set, which equals the set when it is open.
import Mathlib
noncomputable section
namespace PolyaLaplacian
open MeasureTheory Set TopologicalSpace
variable {n : ℕ}
/-- The open ball of radius `R` centered at the origin in `ℝ^n`. -/
def disk (R : ℝ) : Set (EuclideanSpace ℝ (Fin n)) := {x | ‖x‖ < R}
/-- The annulus `{x | r < ‖x‖ < 1}` in `ℝ^n`. -/
def annulus (r : ℝ) : Set (EuclideanSpace ℝ (Fin n)) := {x | r < ‖x‖ ∧ ‖x‖ < 1}
/-- Lebesgue measure of a set, as a real number. For a bounded measurable set this is its usual
measure; `ENNReal.toReal` sends `⊤` to `0`. -/
def area (s : Set (EuclideanSpace ℝ (Fin n))) : ℝ := (volume s).toReal
/-- The space of smooth compactly-supported test functions whose support lies in the interior of
`Ω`. For open `Ω` this is `C_c^∞(Ω)`. -/
abbrev TestFn (Ω : Set (EuclideanSpace ℝ (Fin n))) : Type _ :=
TestFunction (⟨interior Ω, isOpen_interior⟩ : Opens (EuclideanSpace ℝ (Fin n))) ℝ ⊤
/-- The Dirichlet energy `∫ |∇u|²` of a test function, with `|∇u|²` written as the sum of the
squares of the partial derivatives in the standard orthonormal basis. -/
def dirichletEnergy (Ω : Set (EuclideanSpace ℝ (Fin n))) (u : TestFn Ω) : ℝ :=
∫ x in interior Ω,
∑ i : Fin n, (fderiv ℝ (u : EuclideanSpace ℝ (Fin n) → ℝ) x (EuclideanSpace.single i 1)) ^ 2
/-- The `L²` mass `∫ u²` of a test function. -/
def l2Mass (Ω : Set (EuclideanSpace ℝ (Fin n))) (u : TestFn Ω) : ℝ :=
∫ x in interior Ω, ((u : EuclideanSpace ℝ (Fin n) → ℝ) x) ^ 2
/-- The Rayleigh quotient `∫ |∇u|² / ∫ u²`. -/
def rayleighQuotient (Ω : Set (EuclideanSpace ℝ (Fin n))) (u : TestFn Ω) : ℝ :=
dirichletEnergy Ω u / l2Mass Ω u
/-- The `k`-th Dirichlet eigenvalue of the positive Laplacian on `Ω`, defined by the Courant
min–max principle over `k`-dimensional subspaces of test functions. For a bounded open set this is
the `k`-th eigenvalue counted with multiplicity. -/
def dirichletEigenvalue (Ω : Set (EuclideanSpace ℝ (Fin n))) (k : ℕ) : ℝ :=
⨅ (V : Submodule ℝ (TestFn Ω)) (_ : Module.finrank ℝ V = k),
⨆ (u : V) (_ : (u : TestFn Ω) ≠ 0), rayleighQuotient Ω (u : TestFn Ω)
end PolyaLaplacian
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.