PhysLean Documentation

PhysLean.Mathematics.Distribution.Basic

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 #

Examples #

@[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
      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 η
        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 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
            @[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
            def Distribution.derivative (𝕜 : Type) [RCLike 𝕜] :
            (→d[𝕜] 𝕜) →ₗ[𝕜] →d[𝕜] 𝕜

            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
              @[simp]
              theorem Distribution.derivative_apply (𝕜 : Type) [RCLike 𝕜] (u : →d[𝕜] 𝕜) (η : SchwartzMap 𝕜) :
              ((derivative 𝕜) u) η = -u ((SchwartzMap.derivCLM 𝕜) η)

              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
                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 𝕜) η))

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