math / data /lean /ComparatorChallenges /DiskMaximal.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.43 kB
import Mathlib
namespace OAI
open MeasureTheory Set
open scoped ENNReal NNReal Topology ContDiff
noncomputable section
namespace CenteredDiskEndpoint
/-- The Euclidean plane, not the product space with its max norm. -/
abbrev Plane := EuclideanSpace ℝ (Fin 2)
/-- Absolute disk average, retaining possible infinite values. -/
def absoluteDiskAverage (f : Plane β†’ ℝ) (x : Plane) (r : ℝ) : ℝβ‰₯0∞ :=
(∫⁻ y in Metric.ball x r, ENNReal.ofReal |f y|) /
ENNReal.ofReal (Real.pi * r ^ 2)
/-- The actual centered disk maximal function, over every positive real radius. -/
def maximal (f : Plane β†’ ℝ) (x : Plane) : ℝβ‰₯0∞ :=
⨆ (r : ℝ) (_ : 0 < r), absoluteDiskAverage f x r
/-- Real representative; the endpoint also asserts that `maximal f` is finite a.e. -/
def maximalReal (f : Plane β†’ ℝ) (x : Plane) : ℝ := (maximal f x).toReal
/-- The i-th coordinate derivative of a smooth test function. -/
def testPartial (Ο† : Plane β†’ ℝ) (i : Fin 2) (x : Plane) : ℝ :=
fderiv ℝ Ο† x (EuclideanSpace.single i 1)
/-- Distributional first derivatives represented by a vector-valued function. -/
def HasWeakGradient (f : Plane β†’ ℝ) (g : Plane β†’ Plane) : Prop :=
βˆ€ (Ο† : Plane β†’ ℝ), ContDiff ℝ ∞ Ο† β†’ HasCompactSupport Ο† β†’
βˆ€ i : Fin 2, (∫ x, f x * testPartial Ο† i x) = -∫ x, g x i * Ο† x
/-- Local W^(1,1), expressed using the same distributional gradient convention. -/
def InW11Loc (f : Plane β†’ ℝ) : Prop :=
LocallyIntegrable f ∧
βˆƒ g : Plane β†’ Plane, LocallyIntegrable g ∧ HasWeakGradient f g
/-- The gradient L1 norm in Euclidean norm. -/
def gradientNorm (g : Plane β†’ Plane) : ℝ := ∫ x, β€–g xβ€–
/-- Exact endpoint, including finiteness before passing to the real representative.
Quantifying the input gradient makes the norm bound independent of a choice of
representative of its weak derivatives. -/
def EndpointStatement : Prop :=
βˆƒ C : ℝ, 0 ≀ C ∧
βˆ€ (f : Plane β†’ ℝ) (g : Plane β†’ Plane),
Integrable f β†’ Integrable g β†’ HasWeakGradient f g β†’
(βˆ€α΅ x, maximal f x β‰  ⊀) ∧
LocallyIntegrable (maximalReal f) ∧
InW11Loc (maximalReal f) ∧
βˆƒ G : Plane β†’ Plane, Integrable G ∧
HasWeakGradient (maximalReal f) G ∧ gradientNorm G ≀ C * gradientNorm g
theorem main_endpoint : EndpointStatement := by
sorry
end CenteredDiskEndpoint
end
end OAI