PhysLean Documentation

PhysLean.Mathematics.Distribution.Basic

Distributions #

i. Overview of distributions #

Distributions are often used implicitly in physics, for example the correct way to handle a dirac delta function is to treat it as a distribution. In this file we will define distributions and some properties on them.

The distributions from a space E to space F can be thought of as a generalization of functions from E to F. We give a more precise definition of distributions below.

ii. Key results #

iii. Table of Content #

iv. Implementation notes #

A. The definition of a distribution #

In physics, we often encounter mathematical objects like the Dirac delta function δ(x) that are not functions in the traditional sense. Distributions provide a rigorous framework for handling such objects.

The core idea is to define a "generalized function" not by its value at each point, but by how it acts on a set of well-behaved "test functions".

These test functions, typically denoted η. The choice of test functions depends on the application here we choose test functions which are smooth and decay rapidly at infinity (called Schwartz maps). Thus really the distributions we are defining here are called tempered distributions.

A distribution u is a linear map that takes a test function η and produces a value, which can be a scalar or a vector. This action is written as ⟪u,η⟫.

Two key examples illustrate this concept:

  1. Ordinary Functions: Any well-behaved function f(x) can be viewed as a distribution. Its action on a test function η is defined by integration: u_f(η) = ∫ f(x) η(x) dx This integral "tests" the function f using η.

  2. Dirac Delta: The Dirac delta δ_a (centered at a) is a distribution whose action is to simply evaluate the test function at a: δ_a(η) = η(a)

Formally, a distribution is a continuous linear map from the space of Schwartz functions 𝓢(E, 𝕜) to a vector space F over 𝕜. This definition allows us to rigorously define concepts like derivatives and Fourier transforms for these generalized functions, as we will see below.

We use the notation E →d[𝕜] F to denote the space of distributions from E to F where E is a normed vector space over and F is a normed vector space over 𝕜.

@[reducible, inline]

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
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

      B. Construction of distributions from linear maps #

      Distributions are defined as continuous linear maps from 𝓢(E, 𝕜) to F. It is possible to define a constructor of distributions from just linear maps 𝓢(E, 𝕜) →ₗ[𝕜] F (without the continuity requirement) by imposing a condition on the size of u applied to η.

      def Distribution.ofLinear (𝕜 : Type) {E F : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace E] [NormedSpace 𝕜 F] (s : Finset ( × )) (u : SchwartzMap E 𝕜 →ₗ[𝕜] F) (hu : ∃ (C : ), 0 C ∀ (η : SchwartzMap E 𝕜), ∃ (k : ) (n : ) (x : E), (k, n) s u η C * (x ^ k * iteratedFDeriv n (⇑η) x)) :
      E→d[𝕜] F

      The construction of a distribution from the following data:

      1. We take a finite set s of pairs (k, n) ∈ ℕ × ℕ that will be explained later.
      2. We take a linear map u that evaluates the given Schwartz function η. At this stage we don't need u to be continuous.
      3. Recall that a Schwartz function η satisfies a bound ‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖ < Mₙₖ where Mₙₖ : ℝ only depends on (k, n) : ℕ × ℕ.
      4. This step is where s is used: for each test function η, the norm ‖u η‖ is required to be bounded by C * (‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖) for some x : ℝ and for some (k, n) ∈ s, where C ≥ 0 is a global scalar.
      Equations
      Instances For
        @[simp]
        theorem Distribution.ofLinear_apply (𝕜 : Type) {E F : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace E] [NormedSpace 𝕜 F] (s : Finset ( × )) (u : SchwartzMap E 𝕜 →ₗ[𝕜] F) (hu : ∃ (C : ), 0 C ∀ (η : SchwartzMap E 𝕜), ∃ (k : ) (n : ) (x : E), (k, n) s u η C * (x ^ k * iteratedFDeriv n (⇑η) x)) (η : SchwartzMap E 𝕜) :
        (ofLinear 𝕜 s u hu) η = u η

        C. Derivatives of distributions #

        Given a distribution u : E →d[𝕜] F, we can define the derivative of that distribution. In general when defining an operation on a distribution, we do it by applying a similar operation instead to the Schwartz maps it acts on.

        Thus the derivative of u is the distribution which takes η to ⟪u, - η'⟫ where η' is the derivative of η.

        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 derivative of u at the point x in the direction v. For example, if F = ℝ³ then fderiv u x v is a vector in ℝ³ corresponding 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
          theorem Distribution.fderivD_apply (𝕜 : Type) {E F : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace E] [NormedSpace F] [NormedSpace 𝕜 F] [SMulCommClass 𝕜 F] [FiniteDimensional E] (u : E→d[𝕜] F) (η : SchwartzMap E 𝕜) (v : E) :
          (((fderivD 𝕜) u) η) v = -u ((SchwartzMap.evalCLM v) ((SchwartzMap.fderivCLM 𝕜) η))

          D. Fourier transform of distributions #

          As with derivatives of distributions we can define the fourier transform of a distribution by taking the fourier transform of the underlying Schwartz maps. Thus the fourier transform of the distribution u is the distribution which takes η to ⟪u, F[η]⟫ where F[η] is the fourier transform of η.

          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
          Instances For

            E. Specific distributions #

            We now define specific distributions, which are used throughout physics. In particular, we define:

            E.1. The constant distribution #

            The constant distribution is the distribution which corresponds to a constant function, it takes η to the integral of η over the volume measure.

            The constant distribution E →d[𝕜] F, for a given c : F this corresponds to the integral ∫ x, η x • c ∂MeasureTheory.volume.

            Equations
            Instances For

              E.2. The dirac delta distribution #

              The dirac delta distribution centered at a : E is the distribution which takes η to η a. We also define diracDelta' which takes in an element of v of F and outputs η a • v.

              def Distribution.diracDelta (𝕜 : Type) {E : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace E] (a : E) :
              E→d[𝕜] 𝕜

              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
              Instances For
                @[simp]
                theorem Distribution.diracDelta_apply (𝕜 : Type) {E : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedSpace E] (a : E) (η : SchwartzMap E 𝕜) :
                (diracDelta 𝕜 a) η = η a
                def Distribution.diracDelta' (𝕜 : Type) {E F : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace E] [NormedSpace 𝕜 F] (a : E) (v : F) :
                E→d[𝕜] F

                Dirac delta in a given direction v : F. diracDelta' 𝕜 a v takes 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
                  @[simp]
                  theorem Distribution.diracDelta'_apply (𝕜 : Type) {E F : Type} [RCLike 𝕜] [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace E] [NormedSpace 𝕜 F] (a : E) (v : F) (η : SchwartzMap E 𝕜) :
                  (diracDelta' 𝕜 a v) η = η a v

                  E.3. The heviside step function #

                  The heaviside step function on EuclideanSpace ℝ (Fin d.succ) is the distribution from EuclideanSpace ℝ (Fin d.succ) to which takes a η to the integral of η in the upper-half plane (determined by the last coordinate in EuclideanSpace ℝ (Fin d.succ)).

                  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.
                  Instances For