Scalings, test functions, distributions and the spaces
DefinitionHairer_TestFunctionsAnalytic preliminaries for Hairer's theory of regularity structures.
A scaling of is a tuple of integers ; its dimension is and the associated quasi-norm is .
testFunctions d is the space of smooth compactly supported real
functions on (points of being represented as Fin d → ℝ), taken as a
submodule of all real-valued functions, and a distribution is a linear functional on it.
The pairing Distrib.eval ξ φ is for a test function
and is set to on functions that are not test functions.
For and , the rescaled test function is
and the lemma scaledTest_mem records that rescaling maps test functions to test functions.
IsTestBall s r η is Hairer's class : is smooth with compact
support contained in and , i.e. all iterated
derivatives of order at most are bounded by . (Hairer allows all functions of
this kind; restricting to smooth ones defines the same spaces below.)
Finally, MemCalpha s α ξ is Definition 3.7: for , the distribution lies in
the Hölder-Besov space if for every compact there is a constant
with
for all , all and all with .
import Mathlib
/-!
# Scalings, test functions, distributions and the spaces `C^α_s`
Analytic preliminaries of
M. Hairer, *A theory of regularity structures*, Invent. Math. 198 (2014) 269–504,
arXiv:1303.5113,
namely the scaled quasi-norm on `ℝ^d` (§2.3), the rescaled test functions
`S^δ_{s,x}`, the class `B^r_{s,0}` of test functions, and the Hölder–Besov spaces
`C^α_s` of negative regularity (Definition 3.7).
-/
set_option autoImplicit false
open scoped Classical
noncomputable section
namespace Hairer
/-- Points of `ℝ^d`. -/
abbrev Pt (d : ℕ) : Type := Fin d → ℝ
/-- A *scaling* of `ℝ^d` in the sense of Hairer §2.3: a `d`-tuple of integers `s i ≥ 1`. -/
def IsScaling {d : ℕ} (s : Fin d → ℕ) : Prop := ∀ i, 1 ≤ s i
/-- The effective dimension `|s| = ∑ᵢ sᵢ` of a scaling. -/
def scaleDim {d : ℕ} (s : Fin d → ℕ) : ℕ := ∑ i, s i
/-- The scaled quasi-norm `‖x‖_s = maxᵢ |xᵢ|^{1/sᵢ}` associated with a scaling `s`. -/
def snorm {d : ℕ} (s : Fin d → ℕ) (x : Pt d) : ℝ := ⨆ i, |x i| ^ ((1 : ℝ) / (s i : ℝ))
/-- The space `C^∞_0(ℝ^d)` of smooth, compactly supported test functions, as a
subspace of all real-valued functions on `ℝ^d`. -/
def testFunctions (d : ℕ) : Submodule ℝ (Pt d → ℝ) where
carrier := {φ | ContDiff ℝ (⊤ : ℕ∞) φ ∧ HasCompactSupport φ}
add_mem' := fun ⟨h1, h2⟩ ⟨g1, g2⟩ => ⟨h1.add g1, h2.add g2⟩
zero_mem' := ⟨contDiff_const, by simpa using (HasCompactSupport.zero (α := Pt d) (β := ℝ))⟩
smul_mem' := fun c _ ⟨h1, h2⟩ => ⟨h1.const_smul c, h2.smul_left⟩
/-- A distribution on `ℝ^d`: a linear functional on smooth compactly supported test
functions. -/
abbrev Distrib (d : ℕ) : Type := testFunctions d →ₗ[ℝ] ℝ
/-- The pairing `⟨ξ, φ⟩` of a distribution with a function, extended by `0` to
functions that are not test functions. -/
def Distrib.eval {d : ℕ} (ξ : Distrib d) (φ : Pt d → ℝ) : ℝ :=
if h : φ ∈ testFunctions d then ξ ⟨φ, h⟩ else 0
/-- The rescaled test function
`(S^δ_{s,x} φ)(y) = δ^{-|s|} φ((y₁-x₁)/δ^{s₁}, …, (y_d-x_d)/δ^{s_d})`. -/
def scaledTest {d : ℕ} (s : Fin d → ℕ) (δ : ℝ) (x : Pt d) (φ : Pt d → ℝ) : Pt d → ℝ :=
fun y => δ ^ (-(scaleDim s : ℝ)) * φ fun i => (y i - x i) / δ ^ (s i)
/-- The homeomorphism `y ↦ ((yᵢ - xᵢ)/δ^{sᵢ})ᵢ` of `ℝ^d` underlying `scaledTest`. -/
def scaleHomeo {d : ℕ} (s : Fin d → ℕ) {δ : ℝ} (hδ : δ ≠ 0) (x : Pt d) : Pt d ≃ₜ Pt d :=
Homeomorph.piCongrRight fun i =>
(Homeomorph.subRight (x i)).trans (Homeomorph.mulRight₀ (δ ^ (s i))⁻¹ (by simp [hδ]))
@[simp] theorem scaleHomeo_apply {d : ℕ} (s : Fin d → ℕ) {δ : ℝ} (hδ : δ ≠ 0) (x y : Pt d) :
scaleHomeo s hδ x y = fun i => (y i - x i) / δ ^ (s i) := by
funext i
simp [scaleHomeo, Homeomorph.piCongrRight, Homeomorph.subRight, Homeomorph.mulRight₀,
Equiv.mulRight₀, div_eq_mul_inv]
/-- Rescaling maps test functions to test functions. -/
theorem scaledTest_mem {d : ℕ} (s : Fin d → ℕ) {δ : ℝ} (hδ : 0 < δ) (x : Pt d)
{φ : Pt d → ℝ} (hφ : φ ∈ testFunctions d) : scaledTest s δ x φ ∈ testFunctions d := by
obtain ⟨hs, hc⟩ := hφ
refine ⟨contDiff_const.mul (hs.comp (contDiff_pi.2 fun i =>
((contDiff_apply ℝ ℝ i).sub contDiff_const).div_const _)), ?_⟩
have h2 : scaledTest s δ x φ =
(fun _ : Pt d => δ ^ (-(scaleDim s : ℝ))) * (φ ∘ (scaleHomeo s hδ.ne' x)) := by
funext y
simp [scaledTest, Function.comp]
rw [h2]
exact (hc.comp_homeomorph _).mul_left
/-- The class `B^r_{s,0}` of test functions of Hairer §3.2: smooth functions supported in
the unit ball of the scaled distance `‖·‖_s`, all of whose derivatives up to order `r`
are bounded by `1` (that is, `‖η‖_{C^r} ≤ 1`).
Hairer tests against all `C^r` functions of this kind; restricting to smooth ones
defines the same spaces `C^α_s`. -/
structure IsTestBall {d : ℕ} (s : Fin d → ℕ) (r : ℕ) (η : Pt d → ℝ) : Prop where
smooth : ContDiff ℝ (⊤ : ℕ∞) η
compactSupport : HasCompactSupport η
support : tsupport η ⊆ {y | snorm s y ≤ 1}
derivBound : ∀ k ≤ r, ∀ y, ‖iteratedFDeriv ℝ k η y‖ ≤ 1
/-- The integer `r = -⌊α⌋` used in Hairer's Definition 3.7 to test distributions of
regularity `α < 0`. -/
def negReg (α : ℝ) : ℕ := (-⌊α⌋).toNat
/-- **Definition 3.7 (Hairer).** For `α < 0`, a distribution `ξ` belongs to `C^α_s` if,
for every compact set `K`, there is a constant `C` such that
`|⟨ξ, S^δ_{s,x} η⟩| ≤ C δ^α` uniformly over `x ∈ K`, `δ ∈ (0,1]` and `η ∈ B^r_{s,0}`,
where `r = -⌊α⌋`. -/
def MemCalpha {d : ℕ} (s : Fin d → ℕ) (α : ℝ) (ξ : Distrib d) : Prop :=
∀ K : Set (Pt d), IsCompact K → ∃ C : ℝ, ∀ x ∈ K, ∀ δ : ℝ, 0 < δ → δ ≤ 1 →
∀ η : Pt d → ℝ, IsTestBall s (negReg α) η →
|ξ.eval (scaledTest s δ x η)| ≤ C * δ ^ α
end Hairer
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
This bundle introduces a chain of definitions about functions on a finite-dimensional real coordinate space, together with two proved auxiliary facts. Throughout, is a natural number and a point is an element of , formalized as a function from the -element index set to ; the value is allowed, in which case is a one-point space.
Scalings. For a tuple of natural numbers, the predicate " is a scaling" asserts exactly that for every index ; for this holds vacuously. The associated effective dimension is the natural number , which is when . The associated scaled quasi-norm of a point is defined as
where the exponent is a real exponent and the power is the real power function. Two degenerate readings are forced by the definition and are not excluded by it: when the supremum is over an empty index family and equals ; and if some (which the scaling predicate forbids but this definition does not), the exponent is and the term equals even at . The definition is a supremum over a finite family, hence attained when .
Test functions and distributions. The test functions on form the linear subspace of all real-valued functions on consisting of those that are infinitely differentiable and have compact support; the bundle proves this collection is closed under addition and scalar multiplication and contains . A distribution is then any -linear map from this subspace of test functions to . No continuity, boundedness, or seminorm-estimate condition is imposed: this is the full algebraic dual of the space of smooth compactly supported functions. The pairing is defined for an arbitrary function as the value of at when is a test function, and as the junk value otherwise; so every statement written with this pairing is automatically satisfied in a trivial way whenever the function being paired fails to be smooth with compact support.
Rescaled test functions. For a tuple , a real number , a point and an arbitrary function , the rescaled function is
with a real power and each a natural-number power. The definition is total: it also applies to , where the real power and the divisions take their conventional total-function values (in particular each division by yields ).
Two proved auxiliary facts. (i) For the map is a homeomorphism of , and a simplification lemma records that this homeomorphism is given by exactly that formula. (ii) For every , every point and every test function , the rescaled function is again a test function, i.e. smooth with compact support.
The class of unit test functions. For a tuple and a natural number , a function is declared to be in the class when all four of the following hold: is infinitely differentiable; has compact support; the closure of the support of is contained in ; and for every natural number and every point , the operator norm of the -th iterated Fréchet derivative of at is at most (for this says everywhere). Smoothness is required, not merely regularity. The class is never empty: the zero function satisfies all four conditions, so any statement quantified over this class includes the trivial test function .
The integer attached to a regularity exponent. For a real , the natural number is defined as ; it is for every , and equals for (e.g. , ).
The space . Finally, for a tuple , a real number and a distribution , membership of in is defined to mean:
with the real power. The constant is chosen after the compact set and before , and , so it is uniform in those three; is not required to be positive or even nonnegative, and is not required to be negative — for the test class is the one with , i.e. only the sup-norm of is constrained. The empty set is among the compact sets , for which the condition is vacuous.
Confirmed by the mission captain (proposal self-audit).