MindFormal v1.0.0One Mind

MindFormal.Tools.ReflectedSDE

The reflected equation with coefficients that depend on the state, on one filtration carrying several Brownian sources. The state lives in I → ℝ and is reflected by a reflection of paths reflect (PathReflection: the floor 0 at marked coordinates, or declared floors and caps), of Lipschitz constant lip. The drift and the amplitude are predictable in (s, ω) at each state and Lipschitz in the state with one constant L, bounded by K at the zero state. The equation is solved by a Picard map on the predictable L² space of states on [0,T]: a state X gives the free path x₀ + ∫₀ᵗ b(s, X_s) ds + Σₖ ∫₀ᵗ σₖ(s, X_s) dBᵏ (the drift integral pathwise, the amplitude integral the continuous version of ItoFiltration), and the map sends X to the class of the reflection of that path, which is continuous, adapted and predictable when every null set is known at time 0. Its fixed point is the solution: on a short horizon the map contracts.

The estimates are cut at each time s: the squared running maximum of the free path's difference has mean at most 2 L² (s + 4 |I| |J|) times the cut squared distance of the states, by the Cauchy–Schwarz inequality on the drift and Doob's L² inequality and the stopped isometry on each coordinate's integral; the reflection multiplies it by at most lip².

Cut integrals over the integrand space as iterated integrals #

Cutting the integrand measure at s: Lebesgue measure on (0, s ∧ T] times μ.

A cut integral of a predictable function is an iterated integral, the time inside.

A cut integral of a predictable function is an iterated integral, the time outside.

The cut at s and at s ∧ T integrate alike: the integrand measure lives on (0,T].

A cut squared L² norm as a cut integral.

theorem MindFormal.ItoFiltration.enorm_sq_le_sum {I : Type u_2} [Fintype I] (v : I → ℝ) :
‖v‖ₑ ^ 2 ≤ ∑ i : I, ‖v i‖ₑ ^ 2

For a vector, the squared size is at most the sum of the coordinates' squared sizes.

theorem MindFormal.ItoFiltration.add_sq_le_two (a b : ENNReal) :
(a + b) ^ 2 ≤ 2 * (a ^ 2 + b ^ 2)

(a + b)² ≤ 2 (a² + b²) in ℝ≥0∞.

theorem MindFormal.ItoFiltration.lintegral_sq_le {α : Type u_4} [MeasurableSpace α] (ν : MeasureTheory.Measure α) {f : α → ENNReal} (hf : AEMeasurable f ν) :
(∫⁻ (x : α), f x ∂ν) ^ 2 ≤ ν Set.univ * ∫⁻ (x : α), f x ^ 2 ∂ν

Cauchy–Schwarz on a set: (∫⁻_A f)² ≤ ν(A) ∫⁻_A f².

theorem MindFormal.ItoFiltration.sq_iSup₂ {ι : Type u_4} (p : ι → Prop) (a : ι → ENNReal) :
(⨆ (r : ι), ⨆ (_ : p r), a r) ^ 2 = ⨆ (r : ι), ⨆ (_ : p r), a r ^ 2

(⨆ r ≤ s, a r)² = ⨆ r ≤ s, (a r)² in ℝ≥0∞.

theorem MindFormal.ItoFiltration.aemeasurable_iSup_le {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {E : Type u_4} [NormedAddCommGroup E] {X : NNReal → Ω → E} (hX : ∀ (t : NNReal), Measurable fun (ω : Ω) => ‖X t ω‖ₑ) (hc : ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) => X t ω) (s : NNReal) :
AEMeasurable (fun (ω : Ω) => ⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖X r ω‖ₑ) μ

The running maximum of a process with almost surely continuous paths is almost everywhere measurable: almost surely it is the maximum over the rational grid.

Coefficients and integrands #

structure MindFormal.ItoFiltration.LipschitzCoeff {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (ℱ : MeasureTheory.Filtration NNReal mΩ) (I : Type u_4) (J : Type u_5) [Fintype I] [Fintype J] :
Type (max (max u_1 u_4) u_5)

Coefficients of a reflected equation on the states I → ℝ, driven by the sources J: a drift and an amplitude, predictable in (s, ω) at each state, Lipschitz in the state with one constant L uniformly in (s, ω), and bounded by K at the zero state.

Instances For
    theorem MindFormal.ItoFiltration.LipschitzCoeff.drift_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) (z : NNReal × Ω) (x : I → ℝ) :
    ‖c.drift z x‖ ≤ c.K + ↑c.L * ‖x‖
    theorem MindFormal.ItoFiltration.LipschitzCoeff.amp_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) (z : NNReal × Ω) (x : I → ℝ) (i : I) (k : J) :
    |c.amp z x i k| ≤ c.K + ↑c.L * ‖x‖
    theorem MindFormal.ItoFiltration.LipschitzCoeff.enorm_drift_sub_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) (z : NNReal × Ω) (x y : I → ℝ) :
    ‖c.drift z x - c.drift z y‖ₑ ≤ ↑c.L * ‖x - y‖ₑ

    The drift differs at two states by at most L times their distance.

    theorem MindFormal.ItoFiltration.LipschitzCoeff.enorm_amp_sub_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) (z : NNReal × Ω) (x y : I → ℝ) (i : I) (k : J) :
    ‖c.amp z x i k - c.amp z y i k‖ₑ ≤ ↑c.L * ‖x - y‖ₑ

    Each coordinate of the amplitude differs at two states by at most L times their distance.

    theorem MindFormal.ItoFiltration.LipschitzCoeff.stronglyMeasurable_drift {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {X : NNReal × Ω → I → ℝ} (hX : Measurable X) :

    The drift at a predictable state is predictable.

    theorem MindFormal.ItoFiltration.LipschitzCoeff.stronglyMeasurable_amp {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {X : NNReal × Ω → I → ℝ} (hX : Measurable X) (i : I) (k : J) :
    MeasureTheory.StronglyMeasurable fun (z : NNReal × Ω) => c.amp z (X z) i k

    The amplitude at a predictable state is predictable.

    theorem MindFormal.ItoFiltration.LipschitzCoeff.memLp_drift {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
    MeasureTheory.MemLp (fun (z : NNReal × Ω) => c.drift z (↑↑X z)) 2 (predMeasure ℱ μ T)

    The drift at a state in the integrand space is in it.

    theorem MindFormal.ItoFiltration.LipschitzCoeff.memLp_amp {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (i : I) (k : J) :
    MeasureTheory.MemLp (fun (z : NNReal × Ω) => c.amp z (↑↑X z) i k) 2 (predMeasure ℱ μ T)

    Each coordinate of the amplitude at a state in the integrand space is in it.

    noncomputable def MindFormal.ItoFiltration.LipschitzCoeff.ampLp {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (i : I) (k : J) :
    ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))

    Coordinate (i, k) of the amplitude at a state, in the integrand space.

    Equations
    Instances For
      theorem MindFormal.ItoFiltration.LipschitzCoeff.coeFn_ampLp {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (i : I) (k : J) :
      ↑↑(c.ampLp X i k) =ᵐ[predMeasure ℱ μ T] fun (z : NNReal × Ω) => c.amp z (↑↑X z) i k

      The two size bounds: the drift integral and the integral against the sources #

      theorem MindFormal.ItoFiltration.lintegral_iSup_driftPath_sq {Ω : Type u_1} {I : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [MeasureTheory.SFinite μ] [Fintype I] {T : NNReal} {β : NNReal × Ω → I → ℝ} (hβ : Measurable β) (s : NNReal) :
      ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖driftPath β T r ω‖ₑ) ^ 2 ∂μ ≤ MathFin.ItoIntegralL2.timeMeasure (Set.Ioc 0 (min s T)) * ∫⁻ (z : NNReal × Ω) in cutSet s, ‖β z‖ₑ ^ 2 ∂predMeasure ℱ μ T

      The size of a drift path: the mean squared running maximum up to s of the drift path of a predictable rate is at most |(0, s ∧ T]| times the cut squared size of the rate.

      theorem MindFormal.ItoFiltration.lintegral_iSup_itoVec_sq {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {T : NNReal} (f : I → J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) (s : NNReal) :
      ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖fun (i : I) => itoVecCont B T (f i) r ω‖ₑ) ^ 2 ∂μ ≤ 4 * ∑ i : I, ∑ k : J, ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑(f i k) z‖ₑ ^ 2 ∂predMeasure ℱ μ T

      The size of the integral against the sources: for integrands f i k, the mean squared running maximum up to s of the vector (Σₖ ∫₀ᵗ f i k dBᵏ)ᵢ is at most 4 times the sum of the integrands' cut squared sizes.

      Linearity of the continuous version #

      theorem MindFormal.ItoFiltration.itoCont_sub {Ω : Type u_1} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (j : J) (T : NNReal) (f g : ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) :
      ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal), itoCont B j T f t ω - itoCont B j T g t ω = itoCont B j T (f - g) t ω

      The continuous version is linear, almost surely at all times.

      theorem MindFormal.ItoFiltration.itoVecCont_sub {Ω : Type u_1} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (T : NNReal) (f g : J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) :
      ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal), itoVecCont B T f t ω - itoVecCont B T g t ω = itoVecCont B T (f - g) t ω

      The continuous version of the vector integral is linear, almost surely at all times.

      A predictable integrable function of (s, ω) is, for almost every ω, integrable in s over (0,T].

      Helpers on sizes #

      theorem MindFormal.ItoFiltration.iSup_enorm_lt_top {E : Type u_4} [NormedAddCommGroup E] {p : NNReal → E} (hp : Continuous p) (t : NNReal) :
      ⨆ (s : NNReal), ⨆ (_ : s ≤ t), ‖p s‖ₑ < ⊤

      A continuous path's running maximum up to a time is finite.

      theorem MindFormal.ItoFiltration.enorm_reflectPath_sub_le {I : Type u_2} [Fintype I] (reflect : PathReflection I) (T : NNReal) {p q : NNReal → I → ℝ} (hp : Continuous p) (hq : Continuous q) (t : NNReal) :
      ‖reflectPath reflect T p t - reflectPath reflect T q t‖ₑ ≤ ↑reflect.lip * ⨆ (s : NNReal), ⨆ (_ : s ≤ t), ‖p s - q s‖ₑ

      The reflection multiplies the running maximum of the difference of two continuous inputs by at most its constant.

      theorem MindFormal.ItoFiltration.enorm_reflectPath_le {I : Type u_2} [Fintype I] (reflect : PathReflection I) (T : NNReal) {p : NNReal → I → ℝ} (hp : Continuous p) (t : NNReal) :
      ‖reflectPath reflect T p t‖ₑ ≤ ↑reflect.lip * ⨆ (s : NNReal), ⨆ (_ : s ≤ t), ‖p s‖ₑ

      The reflection of a continuous input is at most its constant times its running maximum.

      The squared L² size as an integral.

      A function whose squared size has finite integral is in L².

      The integrand measure lives on (0,T] × Ω.

      theorem MindFormal.ItoFiltration.ae_predMeasure_of_ae {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [MeasureTheory.SFinite μ] {E : Type u_4} [TopologicalSpace E] [TopologicalSpace.MetrizableSpace E] {T : NNReal} {g h : NNReal × Ω → E} (hg : MeasureTheory.StronglyMeasurable g) (hh : MeasureTheory.StronglyMeasurable h) (hgh : ∀ᵐ (ω : Ω) ∂μ, ∀ (u : NNReal), g (u, ω) = h (u, ω)) :
      g =ᵐ[predMeasure ℱ μ T] h

      Two predictable functions that agree at all times on almost every path agree almost everywhere for the integrand measure.

      theorem MindFormal.ItoFiltration.lintegral_sq_lt_top {α : Type u_4} {E : Type u_5} {m : MeasurableSpace α} [NormedAddCommGroup E] {ν : MeasureTheory.Measure α} {f : α → E} (hf : MeasureTheory.MemLp f 2 ν) :
      ∫⁻ (x : α), ‖f x‖ₑ ^ 2 ∂ν < ⊤

      A function in L² has a finite squared-size integral.

      theorem MindFormal.ItoFiltration.edist_sq_eq_cut {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [MeasureTheory.SFinite μ] {E : Type u_4} [NormedAddCommGroup E] {T : NNReal} (X Y : ↥(MeasureTheory.Lp E 2 (predMeasure ℱ μ T))) :
      edist X Y ^ 2 = ∫⁻ (z : NNReal × Ω) in cutSet T, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T

      The squared distance of two states is their cut squared distance at T.

      theorem MindFormal.ItoFiltration.stronglyAdapted_itoVec {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Finite I] [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {T : NNReal} (f : I → J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) :
      MeasureTheory.StronglyAdapted ℱ fun (t : NNReal) (ω : Ω) (i : I) => itoVecCont B T (f i) t ω

      The vector of integrals against the sources is adapted.

      theorem MindFormal.ItoFiltration.continuous_itoVec {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Countable I] [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {T : NNReal} (f : I → J → ↥(MeasureTheory.Lp ℝ 2 (predMeasure ℱ μ T))) :
      ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) (i : I) => itoVecCont B T (f i) t ω

      The vector of integrals against the sources has continuous paths, almost surely.

      The free path, the reflected path at a state, and the Picard map #

      noncomputable def MindFormal.ItoFiltration.LipschitzCoeff.freePath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (B : J → NNReal → Ω → ℝ) (x₀ : Ω → I → ℝ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (t : NNReal) (ω : Ω) :
      I → ℝ

      The free path at a state X of the integrand space: the start, plus the drift integral of b(s, X_s), plus for each coordinate i the integral Σₖ ∫₀ᵗ σᵢₖ(s, X_s) dBᵏ, on [0,T].

      Equations
      Instances For
        noncomputable def MindFormal.ItoFiltration.LipschitzCoeff.solPath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsFiniteMeasure μ] (B : J → NNReal → Ω → ℝ) (reflect : PathReflection I) (x₀ : Ω → I → ℝ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (t : NNReal) (ω : Ω) :
        I → ℝ

        The reflected path at a state: the reflection of the free path.

        Equations
        Instances For
          theorem MindFormal.ItoFiltration.LipschitzCoeff.stronglyAdapted_freePath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {x₀ : Ω → I → ℝ} (hx₀ : MeasureTheory.StronglyMeasurable x₀) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :

          The free path is adapted, for a start known at time 0.

          theorem MindFormal.ItoFiltration.LipschitzCoeff.continuous_freePath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (x₀ : Ω → I → ℝ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
          ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) => c.freePath B x₀ X t ω

          The free path is continuous, almost surely.

          theorem MindFormal.ItoFiltration.LipschitzCoeff.stronglyAdapted_solPath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
          MeasureTheory.StronglyAdapted ℱ (c.solPath B reflect x₀ X)

          The reflected path at a state is adapted, when every null set is known at time 0.

          theorem MindFormal.ItoFiltration.LipschitzCoeff.continuous_solPath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} (reflect : PathReflection I) [MeasureTheory.IsFiniteMeasure μ] (x₀ : Ω → I → ℝ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (ω : Ω) :
          Continuous fun (t : NNReal) => c.solPath B reflect x₀ X t ω

          The reflected path at a state is continuous on every path.

          theorem MindFormal.ItoFiltration.LipschitzCoeff.stronglyMeasurable_solPath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
          MeasureTheory.StronglyMeasurable fun (z : NNReal × Ω) => c.solPath B reflect x₀ X z.1 z.2

          The reflected path at a state is predictable.

          The size of the free path and the Picard map #

          theorem MindFormal.ItoFiltration.LipschitzCoeff.lintegral_iSup_freePath_sq {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {x₀ : Ω → I → ℝ} (hx₀ : MeasureTheory.StronglyMeasurable x₀) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (s : NNReal) :
          ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖c.freePath B x₀ X r ω‖ₑ) ^ 2 ∂μ ≤ 3 * (∫⁻ (ω : Ω), ‖x₀ ω‖ₑ ^ 2 ∂μ + MathFin.ItoIntegralL2.timeMeasure (Set.Ioc 0 (min s T)) * ∫⁻ (z : NNReal × Ω) in cutSet s, ‖c.drift z (↑↑X z)‖ₑ ^ 2 ∂predMeasure ℱ μ T + 4 * ∑ i : I, ∑ k : J, ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑(c.ampLp X i k) z‖ₑ ^ 2 ∂predMeasure ℱ μ T)

          The size of the free path: the mean squared running maximum up to s is at most three times the start's mean square, plus |(0, s ∧ T]| times the drift's cut squared size, plus four times the amplitude's.

          theorem MindFormal.ItoFiltration.LipschitzCoeff.lintegral_iSup_freePath_sq_lt_top {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) {x₀ : Ω → I → ℝ} (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (s : NNReal) :
          ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖c.freePath B x₀ X r ω‖ₑ) ^ 2 ∂μ < ⊤

          The free path's mean squared running maximum is finite, for a start in L².

          theorem MindFormal.ItoFiltration.LipschitzCoeff.memLp_solPath {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
          MeasureTheory.MemLp (fun (z : NNReal × Ω) => c.solPath B reflect x₀ X z.1 z.2) 2 (predMeasure ℱ μ T)

          The reflected path at a state is in the integrand space, for a start in L².

          noncomputable def MindFormal.ItoFiltration.LipschitzCoeff.picard {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
          ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))

          The Picard map: a state goes to the class of the reflected path at it.

          Equations
          Instances For
            theorem MindFormal.ItoFiltration.LipschitzCoeff.coeFn_picard {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
            ↑↑(c.picard hB reflect hnull hx₀ hx₀2 X) =ᵐ[predMeasure ℱ μ T] fun (z : NNReal × Ω) => c.solPath B reflect x₀ X z.1 z.2

            The estimate between two states #

            theorem MindFormal.ItoFiltration.LipschitzCoeff.cut_drift_sub_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (s : NNReal) :
            ∫⁻ (z : NNReal × Ω) in cutSet s, ‖c.drift z (↑↑X z) - c.drift z (↑↑Y z)‖ₑ ^ 2 ∂predMeasure ℱ μ T ≤ ↑c.L ^ 2 * ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T

            The drift's cut squared difference at two states is at most L² times theirs.

            theorem MindFormal.ItoFiltration.LipschitzCoeff.cut_amp_sub_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (s : NNReal) (i : I) (k : J) :
            ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑((c.ampLp X - c.ampLp Y) i k) z‖ₑ ^ 2 ∂predMeasure ℱ μ T ≤ ↑c.L ^ 2 * ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T

            Each amplitude coordinate's cut squared difference at two states is at most L² times theirs.

            theorem MindFormal.ItoFiltration.LipschitzCoeff.lintegral_iSup_freePath_sub_sq {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (x₀ : Ω → I → ℝ) (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (s : NNReal) :
            ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ s), ‖c.freePath B x₀ X r ω - c.freePath B x₀ Y r ω‖ₑ) ^ 2 ∂μ ≤ 2 * ↑c.L ^ 2 * (MathFin.ItoIntegralL2.timeMeasure (Set.Ioc 0 (min s T)) + 4 * (↑(Fintype.card I) * ↑(Fintype.card J))) * ∫⁻ (z : NNReal × Ω) in cutSet s, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T

            The free paths at two states: the mean squared running maximum up to s of their difference is at most 2 L² (|(0, s ∧ T]| + 4 |I| |J|) times the states' cut squared distance at s.

            theorem MindFormal.ItoFiltration.LipschitzCoeff.lintegral_solPath_sub_sq {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) (x₀ : Ω → I → ℝ) (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (u : NNReal) :
            ∫⁻ (ω : Ω), ‖c.solPath B reflect x₀ X u ω - c.solPath B reflect x₀ Y u ω‖ₑ ^ 2 ∂μ ≤ 2 * ↑reflect.lip ^ 2 * ↑c.L ^ 2 * (↑T + 4 * (↑(Fintype.card I) * ↑(Fintype.card J))) * ∫⁻ (z : NNReal × Ω) in cutSet u, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T

            The reflected paths at two states: at each time u, their mean squared difference is at most 2 lip² L² (T + 4 |I| |J|) times the states' cut squared distance at u.

            theorem MindFormal.ItoFiltration.LipschitzCoeff.cut_picard_sub_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) (t : NNReal) :
            ∫⁻ (z : NNReal × Ω) in cutSet t, ‖↑↑(c.picard hB reflect hnull hx₀ hx₀2 X) z - ↑↑(c.picard hB reflect hnull hx₀ hx₀2 Y) z‖ₑ ^ 2 ∂predMeasure ℱ μ T ≤ 2 * ↑reflect.lip ^ 2 * ↑c.L ^ 2 * (↑T + 4 * (↑(Fintype.card I) * ↑(Fintype.card J))) * ∫⁻ (u : NNReal) in Set.Ioc 0 (min t T), ∫⁻ (z : NNReal × Ω) in cutSet u, ‖↑↑X z - ↑↑Y z‖ₑ ^ 2 ∂predMeasure ℱ μ T ∂MathFin.ItoIntegralL2.timeMeasure

            The Picard map's time-resolved estimate: the cut squared distance at t of the images of two states is at most 2 lip² L² (T + 4 |I| |J|) times the integral over (0, t ∧ T] of the states' cut squared distance.

            One step: the contraction on a short horizon and the solution #

            theorem MindFormal.ItoFiltration.cutSet_mono {Ω : Type u_1} {u v : NNReal} (h : u ≤ v) :
            cutSet u ⊆ cutSet v
            def MindFormal.ItoFiltration.LipschitzCoeff.rate {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) (reflect : PathReflection I) (T : NNReal) :

            The constant of the time-resolved estimate, 2 lip² L² (T + 4 |I| |J|); 8 L² (T + 4 |I| |J|) for the zero-floor reflection.

            Equations
            Instances For
              theorem MindFormal.ItoFiltration.LipschitzCoeff.coe_rate {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} (reflect : PathReflection I) :
              ↑(c.rate reflect T) = 2 * ↑reflect.lip ^ 2 * ↑c.L ^ 2 * (↑T + 4 * (↑(Fintype.card I) * ↑(Fintype.card J)))
              theorem MindFormal.ItoFiltration.LipschitzCoeff.edist_picard_sq_le {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (X Y : ↥(MeasureTheory.Lp (I → ℝ) 2 (predMeasure ℱ μ T))) :
              edist (c.picard hB reflect hnull hx₀ hx₀2 X) (c.picard hB reflect hnull hx₀ hx₀2 Y) ^ 2 ≤ ↑(c.rate reflect T * T) * edist X Y ^ 2

              The squared distance of the images is at most rate · T times the squared distance.

              From squares to the quantities, in ℝ≥0∞.

              theorem MindFormal.ItoFiltration.LipschitzCoeff.picard_contractingWith {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (hT : c.rate reflect T * T < 1) :
              ContractingWith (NNReal.sqrt (c.rate reflect T * T)) (c.picard hB reflect hnull hx₀ hx₀2)

              The Picard map contracts on a short horizon: when rate · T < 1, it is a contraction with constant √(rate · T).

              def MindFormal.ItoFiltration.LipschitzCoeff.IsSolution {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (B : J → NNReal → Ω → ℝ) (reflect : PathReflection I) (x₀ : Ω → I → ℝ) (Z : NNReal → Ω → I → ℝ) :

              A process solves the reflected equation on [0,T]: its paths are continuous, it is adapted, it is in the integrand space, and almost surely at all times it is the reflection of x₀ + ∫₀ᵗ b(s, Z_s) ds + Σₖ ∫₀ᵗ σₖ(s, Z_s) dBᵏ, the integrands read at its own class.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.ItoFiltration.LipschitzCoeff.picard_class_of_isSolution {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) {Z : NNReal → Ω → I → ℝ} (hZc : ∀ (ω : Ω), Continuous fun (t : NNReal) => Z t ω) (hZa : MeasureTheory.StronglyAdapted ℱ Z) (hZ : MeasureTheory.MemLp (fun (z : NNReal × Ω) => Z z.1 z.2) 2 (predMeasure ℱ μ T)) (heq : ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal), Z t ω = c.solPath B reflect x₀ (MeasureTheory.MemLp.toLp (fun (z : NNReal × Ω) => Z z.1 z.2) hZ) t ω) :
                c.picard hB reflect hnull hx₀ hx₀2 (MeasureTheory.MemLp.toLp (fun (z : NNReal × Ω) => Z z.1 z.2) hZ) = MeasureTheory.MemLp.toLp (fun (z : NNReal × Ω) => Z z.1 z.2) hZ

                The class of a solution is a fixed point of the Picard map.

                theorem MindFormal.ItoFiltration.LipschitzCoeff.exists_unique_solution_short {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} [Fintype I] [Fintype J] (c : LipschitzCoeff ℱ I J) {T : NNReal} [MeasureTheory.IsProbabilityMeasure μ] (hB : BrownianFiltration μ ℱ B) (reflect : PathReflection I) {x₀ : Ω → I → ℝ} (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (hx₀ : MeasureTheory.StronglyMeasurable x₀) (hx₀2 : MeasureTheory.MemLp x₀ 2 μ) (hT : c.rate reflect T * T < 1) :
                ∃ (Z : NNReal → Ω → I → ℝ), c.IsSolution B reflect x₀ Z ∧ ∀ (Z' : NNReal → Ω → I → ℝ), c.IsSolution B reflect x₀ Z' → ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal), Z' t ω = Z t ω

                The reflected equation, one step. On a horizon short enough for the contraction (rate · T < 1), with every null set known at time 0 and a start known at time 0 and in L², the reflected equation has a solution Z, equal on every path and at every time to the reflection of its free path; and every solution is almost surely equal to Z at all times.