Distributions #
This file defines distributions E →d[𝕜] F
, which is a way to generalise functions E → F
.
Mathematically, a distribution u : E →d[𝕜] F
takes in a test function η : E → 𝕜
that is smooth
with rapidly decreasing iterated derivatives, and outputs a value in F
. This operation is required
to be linear and continuous. Note that the space of test functions is called the Schwartz space and
is denoted 𝓢(E, 𝕜)
.
E
is required to be a normed vector space over ℝ
, and F
can be a normed vector space over ℝ
or ℂ
(which is the field denoted 𝕜
).
Important Results #
Distribution.derivative
andDistribution.fourierTransform
allow us to make sense of these operations that might not make sense a priori on general functions.
Examples #
Distribution.diracDelta
: Dirac delta distribution at a pointa : E
is a distribution that takes in a test functionη : 𝓢(E, 𝕜)
and outputsη a
.
An F
-valued distribution on E
(where E
is a normed vector space over ℝ
and F
is a
normed vector space over 𝕜
) is a continuous linear map 𝓢(E, 𝕜) →L[𝕜] F
where 𝒮(E, 𝕜)
is
the Schwartz space of smooth functions E → 𝕜
with rapidly decreasing iterated derivatives. This
is notated as E →d[𝕜] F
.
This should be seen as a generalisation of functions E → F
.
Instances For
An F
-valued distribution on E
(where E
is a normed vector space over ℝ
and F
is a
normed vector space over 𝕜
) is a continuous linear map 𝓢(E, 𝕜) →L[𝕜] F
where 𝒮(E, 𝕜)
is
the Schwartz space of smooth functions E → 𝕜
with rapidly decreasing iterated derivatives. This
is notated as E →d[𝕜] F
.
This should be seen as a generalisation of functions E → F
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The construction of a distribution from the following data:
- We take a finite set
s
of pairs(k, n) ∈ ℕ × ℕ
that will be explained later. - We take a linear map
u
that evaluates the given Schwartz functionη
. At this stage we don't needu
to be continuous. - Recall that a Schwartz function
η
satisfies a bound‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖ < Mₙₖ
whereMₙₖ : ℝ
only depends on(k, n) : ℕ × ℕ
. - This step is where
s
is used: for each test functionη
, the norm‖u η‖
is required to be bounded byC * (‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖)
for somex : ℝ
and for some(k, n) ∈ s
, whereC ≥ 0
is a global scalar.
Equations
- Distribution.ofLinear 𝕜 s u hu = SchwartzMap.mkCLMtoNormedSpace ⇑u ⋯ ⋯ ⋯
Instances For
Dirac delta distribution diracDelta 𝕜 a : E →d[𝕜] 𝕜
takes in a test function η : 𝓢(E, 𝕜)
and outputs η a
. Intuitively this is an infinite density at a single point a
.
Equations
- Distribution.diracDelta 𝕜 a = SchwartzMap.delta 𝕜 𝕜 a
Instances For
Dirac delta in a given direction v : F
. diracDelta' 𝕜 a v
takesn in a test function
η : 𝓢(E, 𝕜)
and outputs η a • v
. Intuitively this is an infinitely intense vector field
at a single point a
pointing at the direction v
.
Equations
Instances For
Definition of derivative of distribution: Let u
be a distribution. Then its derivative is
u'
where given a test function η
, u' η := -u(η')
. This agrees with the distribution generated
by the derivative of a differentiable function (with suitable conditions) (to be defined later),
because of integral by parts (where the boundary conditions are 0
by the test functions being
rapidly decreasing).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Fréchet derivative of a distribution.
Informally, for a distribution u : E →d[𝕜] F
,
the Fréchet derivative fderiv u x v
corresponds to the dervative of u
at the
point x
in the direction v
. For example, if F = ℝ³
then fderiv u x v
is a vector in ℝ³
corrsponding to
(v₁ ∂u₁/∂x₁ + v₂ ∂u₁/∂x₂ + v₃ ∂u₁/∂x₃, v₁ ∂u₂/∂x₁ + v₂ ∂u₂/∂x₂ + v₃ ∂u₂/∂x₃,...)
.
Formally, for a distribution u : E →d[𝕜] F
, this is actually defined
the distribution which takes test function η : E → 𝕜
to
- u (SchwartzMap.evalCLM v (SchwartzMap.fderivCLM 𝕜 η))
.
Note that, unlike for functions, the Fréchet derivative of a distribution always exists.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The constant distribution #
The constant distribution E →d[𝕜] F
, for a given c : F
this corresponds
to the integral ∫ x, η x • c ∂MeasureTheory.volume
.
Equations
- Distribution.const 𝕜 E c = SchwartzMap.mkCLMtoNormedSpace (fun (η : SchwartzMap E 𝕜) => ∫ (x : E), η x • c) ⋯ ⋯ ⋯
Instances For
Definition of Fourier transform of distribution: Let u
be a distribution. Then its Fourier
transform is F{u}
where given a test function η
, F{u}(η) := u(F{η})
.
Equations
- Distribution.fourierTransform E F = { toFun := fun (u : E→d[ℂ] F) => ContinuousLinearMap.comp u (SchwartzMap.fourierTransformCLM ℂ), map_add' := ⋯, map_smul' := ⋯ }
Instances For
Heaviside step function #
The Heaviside step distribution defined on (EuclideanSpace ℝ (Fin d.succ))
equal to 1
in the positive z
-direction and 0
in the negative z
-direction.
Equations
- One or more equations did not get rendered due to their size.