MindFormal v1.0.0One Mind

StochasticCalculus.WienerIntegral

The Wiener integral #

The first-order stochastic integral of a deterministic kernel against a pre-Brownian process B: the isometry J₁ : L²(ℝ≥0) → L²(P) determined by J₁ (1_{(0, t]}) = B t.

Construction #

The indicators 1_{(0, t]} of the intervals (0, t] have dense span in L²(ℝ≥0) (dense_span_intervalIndicator): an L² function orthogonal to all of them has vanishing integral over every interval (a, b], so the finite measures g⁺ λ and g⁻ λ agree on intervals, hence everywhere (Measure.ext_of_Ioc_finite), and g = 0.

On the free module ℝ≥0 →₀ ℝ the two linear maps v ↦ ∑ vₜ 1_{(0, t]} (stepToLp) and v ↦ ∑ vₜ B t (stepToRandom) have the same Gram matrix, ⟪1_{(0, s]}, 1_{(0, t]}⟫ = min s t = E[B s B t], so the second is bounded by the first and LinearMap.extendOfNorm extends it along the dense map stepToLp to the Wiener integral wienerIntegral hB.

Main results #

Density of interval indicators in L²(ℝ≥0) #

A square-integrable function is integrable on every interval (a, b].

If the integrals of g over all intervals (0, t] vanish, so do those over all (a, b].

Uniqueness from interval integrals: a square-integrable g on ℝ≥0 whose integrals over all intervals (0, t] vanish is zero almost everywhere.

The indicator of the interval (0, t] as an element of L²(ℝ≥0).

Equations
Instances For

    The interval indicators 1_{(0, t]} have dense span in L²(ℝ≥0).

    The Gram matrix of the interval indicators: ⟪1_{(0, s]}, 1_{(0, t]}⟫ = min s t.

    The Wiener integral #

    noncomputable def StochasticCalculus.brownianLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (t : NNReal) :

    The Brownian coordinate B t as an element of L²(P).

    Equations
    Instances For
      theorem StochasticCalculus.coeFn_brownianLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (t : NNReal) :
      ↑↑(brownianLp hB t) =ᵐ[P] B t
      theorem StochasticCalculus.inner_brownianLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (s t : NNReal) :
      inner ℝ (brownianLp hB s) (brownianLp hB t) = min ↑s ↑t

      The Brownian Gram matrix: E[B s B t] = min s t.

      The formal linear combination v ↦ ∑ₜ vₜ 1_{(0, t]} in L²(ℝ≥0).

      Equations
      Instances For

        The formal linear combination v ↦ ∑ₜ vₜ B t in L²(P).

        Equations
        Instances For

          The Itô isometry on formal step functions.

          The Wiener integral J₁ : L²(ℝ≥0) → L²(P) of a pre-Brownian process: the continuous linear extension of 1_{(0, t]} ↦ B t.

          Equations
          Instances For

            J₁ (1_{(a, b]}) = B b - B a: the Wiener integral of an interval indicator is the Brownian increment.

            The Itô isometry: ⟪J₁ f, J₁ g⟫ = ⟪f, g⟫.

            The Wiener integral as a linear isometry.

            Equations
            Instances For

              Expectation on L²(P) is the pairing with the constant 1.

              Wiener integrals are centered.

              The Hilbert-space laws bundled in IteratedIntegralFamily (simplex isometry, centering, orthogonality between orders) do not determine the operators: any isometric embedding of the simplex spaces onto mutually orthogonal centered subspaces of L²(P) satisfies them. The genuine iterated Itô integrals must take indicators of ordered boxes to products of Brownian increments (chainIntegral). We record this compatibility as IteratedIntegralFamily.IsBrownian and prove that the Wiener integral, transported to IteratedKernel 1, satisfies the order-one clause together with the order-one Hilbert-space laws; it is the order-one level of any Brownian family.

              def StochasticCalculus.orderedBox {n : ℕ} (u v : Fin n → NNReal) :
              Set (Fin n → NNReal)

              The ordered box ∏ᵢ (u i, v i] in Fin n → ℝ≥0.

              Equations
              Instances For
                noncomputable def StochasticCalculus.boxKernel {n : ℕ} (u v : Fin n → NNReal) :

                The indicator of an ordered box as an order-n kernel.

                Equations
                Instances For

                  The Brownian ordered-box compatibility. A family satisfying the Hilbert-space laws of IteratedIntegralFamily is Brownian for B if on the indicator of every ordered box u 0 ≤ v 0 ≤ u 1 ≤ v 1 ≤ ⋯ ≤ u (n-1) ≤ v (n-1) its order-n operator is the product of the Brownian increments ∏ᵢ (B (v i) - B (u i)). Genuine iterated Itô integrals must satisfy this additional compatibility; this file proves its order-one realization, not existence in all orders.

                  Instances For
                    theorem StochasticCalculus.IteratedIntegralFamily.box_zero {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (J : IteratedIntegralFamily P) (u v : Fin 0 → NNReal) :
                    (fun (ω : Ω) => ↑↑((J.integral 0) (boxKernel u v)) ω) =ᵐ[P] chainIntegral B u v

                    The order-zero clause of the Brownian link holds for every family: the order-zero kernel space is one-dimensional and zeroOrder identifies J₀ with the integral.

                    theorem StochasticCalculus.IteratedIntegralFamily.IsBrownian.of_pos {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} {J : IteratedIntegralFamily P} (h : ∀ (n : ℕ), 0 < n → ∀ (u v : Fin n → NNReal), (∀ (i : Fin n), u i ≤ v i) → (∀ (i j : Fin n), i < j → v i ≤ u j) → (fun (ω : Ω) => ↑↑((J.integral n) (boxKernel u v)) ω) =ᵐ[P] chainIntegral B u v) :

                    To be Brownian it suffices to satisfy the box law at positive orders.

                    theorem StochasticCalculus.IteratedIntegralFamily.norm_sq_integral_boxKernel {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} (J : IteratedIntegralFamily P) {n : ℕ} (u v : Fin n → NNReal) (huv : ∀ (i : Fin n), u i ≤ v i) (hord : ∀ (i j : Fin n), i < j → v i ≤ u j) :
                    ‖(J.integral n) (boxKernel u v)‖ ^ 2 = ∏ i : Fin n, (↑(v i) - ↑(u i))

                    The Hilbert-space sameOrder law alone fixes the squared norm of every ordered-box image. Brownian ordered-box compatibility is not needed for this norm identity.

                    The simplex Itô isometry at order one.

                    theorem StochasticCalculus.kernelToLine_boxKernel {a b : NNReal} :
                    kernelToLine (boxKernel (fun (x : Fin 1) => a) fun (x : Fin 1) => b) = MeasureTheory.indicatorConstLp 2 ⋯ ⋯ 1
                    theorem StochasticCalculus.wienerIntegralKernel_boxKernel {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b : NNReal} (hab : a ≤ b) :
                    (wienerIntegralKernel hB) (boxKernel (fun (x : Fin 1) => a) fun (x : Fin 1) => b) = brownianLp hB b - brownianLp hB a

                    The Brownian link at order one: J₁ (1_{(a, b]}) = B b - B a.

                    theorem StochasticCalculus.wienerIntegralKernel_box {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (u v : Fin 1 → NNReal) (huv : ∀ (i : Fin 1), u i ≤ v i) :
                    (fun (ω : Ω) => ↑↑((wienerIntegralKernel hB) (boxKernel u v)) ω) =ᵐ[P] chainIntegral B u v

                    The genuine J₁ satisfies the order-one clause of the Brownian link.

                    theorem StochasticCalculus.dense_span_boxKernel_one :
                    Dense ↑(Submodule.span ℝ (Set.range fun (t : NNReal) => boxKernel (fun (x : Fin 1) => 0) fun (x : Fin 1) => t))

                    The box indicators 1_{(0, t]} have dense span among order-one kernels.

                    Uniqueness of the order-one level. Any family of operators satisfying the Brownian link has the Wiener integral as its order-one operator.

                    Odd moments and a direction beyond the first chaos #

                    The finite-dimensional laws of a pre-Brownian process are invariant under B ↦ -B, so all odd moments vanish. Consequently the product of two Brownian increments is orthogonal to the whole first chaos (the range of the Wiener integral) and, for consecutive disjoint intervals, to the constants, while its squared norm is (b - a) (d - c). In particular the unit-interval product on (0, 1] × (1, 2] is nonzero, so ℝ ⊕ H₁ is a proper subspace of L²(P). Identifying this product with a second-order chaos additionally requires a Brownian-linked family.

                    theorem StochasticCalculus.integral_odd_eq_zero {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (I : Finset NNReal) {f : (↥I → ℝ) → ℝ} (hf : Measurable f) (hodd : ∀ (x : ↥I → ℝ), f (-x) = -f x) :
                    ∫ (ω : Ω), f (I.restrict fun (x : NNReal) => B x ω) ∂P = 0

                    Symmetry of a pre-Brownian process. The finite-dimensional laws are invariant under B ↦ -B, so the Bochner integral of an odd measurable function of finitely many coordinates vanishes. No integrability hypothesis is needed for this formal statement because Lean's Bochner integral is zero by convention in the nonintegrable case.

                    theorem StochasticCalculus.integral_mul_mul_eval {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (a b c : NNReal) :
                    ∫ (ω : Ω), B a ω * B b ω * B c ω ∂P = 0

                    Third moments of a pre-Brownian process vanish.

                    theorem StochasticCalculus.integral_incr_mul_incr_mul_eval {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (a b c d t : NNReal) :
                    ∫ (ω : Ω), (B b ω - B a ω) * (B d ω - B c ω) * B t ω ∂P = 0

                    Expectation of an odd polynomial: E[(B b - B a) (B d - B c) B t] = 0.

                    theorem StochasticCalculus.memLp_eval {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (t : NNReal) {p : ENNReal} (hp : p ≠ ⊤) :

                    Brownian coordinates lie in every Lᵖ, p < ∞.

                    theorem StochasticCalculus.memLp_two_incr_mul_incr {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (a b c d : NNReal) :
                    MeasureTheory.MemLp (fun (ω : Ω) => (B b ω - B a ω) * (B d ω - B c ω)) 2 P

                    The product of two Brownian increments is square integrable.

                    noncomputable def StochasticCalculus.incrementProductLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (a b c d : NNReal) :
                    ↥(RandomL2 P)

                    The product of two Brownian increments as an element of L²(P).

                    Equations
                    Instances For
                      theorem StochasticCalculus.coeFn_incrementProductLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (a b c d : NNReal) :
                      ↑↑(incrementProductLp hB a b c d) =ᵐ[P] fun (ω : Ω) => (B b ω - B a ω) * (B d ω - B c ω)

                      Products of increments are orthogonal to the Brownian coordinates.

                      Products of increments are orthogonal to the first chaos: for every f ∈ L²(ℝ≥0), E[(B b - B a) (B d - B c) J₁ f] = 0.

                      theorem StochasticCalculus.integral_incr_mul_incr {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b c d : NNReal} (hab : a ≤ b) (hbc : b ≤ c) (hcd : c ≤ d) :
                      ∫ (ω : Ω), (B b ω - B a ω) * (B d ω - B c ω) ∂P = 0

                      Products of increments over consecutive disjoint intervals are centered.

                      theorem StochasticCalculus.indepFun_incr_incr {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b c d : NNReal} (hab : a ≤ b) (hbc : b ≤ c) (hcd : c ≤ d) :
                      ProbabilityTheory.IndepFun (fun (ω : Ω) => B b ω - B a ω) (fun (ω : Ω) => B d ω - B c ω) P

                      Increments over consecutive disjoint intervals are independent.

                      theorem StochasticCalculus.integral_incr_sq {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b : NNReal} (hab : a ≤ b) :
                      ∫ (ω : Ω), (B b ω - B a ω) ^ 2 ∂P = ↑b - ↑a

                      The variance of a Brownian increment: E[(B b - B a)²] = b - a.

                      theorem StochasticCalculus.norm_sq_incrementProductLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b c d : NNReal} (hab : a ≤ b) (hbc : b ≤ c) (hcd : c ≤ d) :
                      ‖incrementProductLp hB a b c d‖ ^ 2 = (↑b - ↑a) * (↑d - ↑c)

                      Squared norm of a product of two consecutive disjoint Brownian increments.

                      Wiener integrals are Gaussian #

                      Formal step sums ∑ₜ vₜ B t are linear functionals of finitely many Brownian coordinates, hence Gaussian; Wiener integrals are their L² limits, so they are Gaussian as well, with law N(0, ‖f‖²) by the Itô isometry.

                      def StochasticCalculus.stepSum {Ω : Type u_6} (B : NNReal → Ω → ℝ) (v : NNReal →₀ ℝ) :
                      Ω → ℝ

                      The pointwise formal step sum ∑ₜ vₜ B t.

                      Equations
                      Instances For
                        theorem StochasticCalculus.stepSum_zero {Ω : Type u_6} {B : NNReal → Ω → ℝ} :
                        stepSum B 0 = fun (x : Ω) => 0
                        theorem StochasticCalculus.stepSum_single_add {Ω : Type u_6} {B : NNReal → Ω → ℝ} (t : NNReal) (c : ℝ) (v : NNReal →₀ ℝ) :
                        stepSum B (Finsupp.single t c + v) = fun (ω : Ω) => c * B t ω + stepSum B v ω

                        Formal step sums are linear functionals of finitely many Brownian coordinates, hence form a Gaussian process indexed by ℝ≥0 →₀ ℝ.

                        The law of a Wiener integral is the centered Gaussian with variance ‖f‖².

                        The first chaos #

                        The range of the Wiener integral is the Gaussian first chaos H₁, the closed span of the Brownian coordinates; together with the constants it is a proper closed subspace of L²(P).

                        The genuine Gaussian first chaos of the process: the closed span of the Brownian coordinates. It is not identified here with the selected order-one range of iteratedIntegralFamily.

                        Equations
                        Instances For

                          The first chaos is the range of the Wiener integral.

                          theorem StochasticCalculus.exists_ne_zero_orthogonal_firstChaos {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) :
                          ∃ (Y : ↥(RandomL2 P)), Y ≠ 0 ∧ ∫ (ω : Ω), ↑↑Y ω ∂P = 0 ∧ ∀ Z ∈ firstChaos hB, inner ℝ Y Z = 0

                          The first chaos and the constants do not exhaust L²(P): (B 1 - B 0)(B 2 - B 1) is a nonzero centered element orthogonal to the first chaos.

                          theorem StochasticCalculus.IteratedIntegralFamily.inner_integral_zero_eq_zero {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} (J : IteratedIntegralFamily P) {Y : ↥(RandomL2 P)} (hY : ∫ (ω : Ω), ↑↑Y ω ∂P = 0) (f : ↥(IteratedKernel 0)) :
                          inner ℝ Y ((J.integral 0) f) = 0

                          Zero-order integrals of any family are orthogonal to centered random variables.

                          Orders zero and one never exhaust L²(P) for a family satisfying the Brownian link: (B 1 - B 0)(B 2 - B 1) is orthogonal to both.

                          The first chaos is Gaussian: every element has a Gaussian law. The following theorem identifies the law's center and variance.

                          Every first-chaos element has the centered Gaussian law whose variance is its squared L²(P) norm.

                          theorem StochasticCalculus.IteratedIntegralFamily.IsBrownian.integral_two_boxKernel {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} {J : IteratedIntegralFamily P} (hJ : J.IsBrownian B) (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b c d : NNReal} (hab : a ≤ b) (hbc : b ≤ c) (hcd : c ≤ d) :
                          (J.integral 2) (boxKernel ![a, c] ![b, d]) = incrementProductLp hB a b c d

                          For a Brownian family, the order-two operator sends the indicator of an ordered box (a, b] × (c, d] to the product of increments (B b - B a) (B d - B c).

                          theorem StochasticCalculus.IteratedIntegralFamily.IsBrownian.norm_sq_integral_two_boxKernel {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} {J : IteratedIntegralFamily P} (hJ : J.IsBrownian B) (hB : ProbabilityTheory.IsPreBrownianReal B P) {a b c d : NNReal} (hab : a ≤ b) (hbc : b ≤ c) (hcd : c ≤ d) :
                          ‖(J.integral 2) (boxKernel ![a, c] ![b, d])‖ ^ 2 = (↑b - ↑a) * (↑d - ↑c)

                          For a Brownian-linked family, the conditional order-two box value has squared norm (b - a) (d - c). The norm formula itself is already an instance of IteratedIntegralFamily.norm_sq_integral_boxKernel; the Brownian hypothesis is needed for the preceding increment-product value identity.

                          Unit-increment embeddings are not Brownian #

                          Embedding the kernel spaces isometrically into the closed span of the unit increments B (k + 1) - B k produces families satisfying all the Hilbert-space laws, but never the Brownian link: the order-one operator of a Brownian family is the Wiener integral, whose range contains B (1/2), and B (1/2) is not in the closed span of the unit increments.

                          noncomputable def StochasticCalculus.unitIncrementLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (k : ℕ) :
                          ↥(RandomL2 P)

                          The unit Brownian increments B (k + 1) - B k in L²(P).

                          Equations
                          Instances For
                            theorem StochasticCalculus.inner_brownianLp_unitIncrementLp {Ω : Type u_6} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B P) (t : NNReal) (k : ℕ) :
                            inner ℝ (brownianLp hB t) (unitIncrementLp hB k) = min (↑t) (↑k + 1) - min ↑t ↑k

                            B (1/2) does not lie in the closed span of the unit increments: its inner product with B 1 - B 0 is 1/2 and with all other unit increments 0, while ‖B (1/2)‖² = 1/2 ≠ 1/4.

                            B 0 = 0 in L²(P).

                            No family satisfying the Brownian link has its order-one range inside the closed span of the unit increments B (k + 1) - B k: the order-one operator is the Wiener integral, whose range contains B (1/2).