Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_PolyaLaplacian_Spectral.lean
qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗
/-From Prove2Me, definition `PolyaLaplacian_Spectral` (https://prove2.me/definitions/71f7b42e-a08f-423c-927c-b16d9f612639). Apache-2.0 per Prove2Me's terms.-/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 usualmeasure; `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 thesquares 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 Courantmin–max principle over `k`-dimensional subspaces of test functions. For a bounded open set this isthe `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