MindFormal v1.0.0One Mind

MindFormal.Tools.A783TwiceDynkin.Expansion

The twice-applied Dynkin expansion of a bounded read after a cut.

On a window after the cut c (Window), let the actual read f be bounded and equal on U to a C² read φ, whose generator image 𝓛φ equals on U a second C² read G; both have vanishing normal derivative on the floor faces U meets. Then for every event A known at the cut on which the state at the cut lies in U, and every t with c + t ≤ T,

|∫_A f(X_{c+t}) − ∫_A [f(X_c) + t G(X_c) + t²/2 (𝓛G)(X_c)]| ≤ t²/2 (ε μ(A) + 2 M_H μ(A ∩ bad)) + t M_G μ(A ∩ exit) + 2 M_f μ(A ∩ exit),

where exit is the event that the window ends before c + t, bad adds to it a move of the state by δ from its value at the cut, and ε is the oscillation of 𝓛G over δ on U. The first application of the generator is Dynkin's identity for φ on the window stopped at c + t; the second is Dynkin's identity for G on the window stopped at every r ∈ (c, c + t], carried under the time integral.

def MindFormal.A783TwiceDynkin.Window.restrict {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} {S : Semimartingale hB T} {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) {r : NNReal} (hr : c ≤ r) :
Window S c (fun (ω : Ω) => min (τ ω) r) U β a floor

A window restricted to end no later than r.

Equations
  • W.restrict hr = { stopping := ⋯, cut_le := ⋯, le_horizon := ⋯, push := W.push, push_continuous := ⋯, local_ae := ⋯, cov := ⋯ }
Instances For
    theorem MindFormal.A783TwiceDynkin.Semimartingale.jointly_measurable {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} (S : Semimartingale hB T) :
    Measurable fun (p : Ω × NNReal) => S.X p.2 p.1
    theorem MindFormal.A783TwiceDynkin.Semimartingale.stopped_measurable {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} (S : Semimartingale hB T) {τ : Ω → NNReal} (hτ : Measurable τ) :
    Measurable fun (ω : Ω) => S.X (τ ω) ω
    theorem MindFormal.A783TwiceDynkin.stopping_measurable {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {τ : Ω → NNReal} (hτ : MeasureTheory.IsStoppingTime ℱ fun (ω : Ω) => ↑(τ ω)) :
    def MindFormal.A783TwiceDynkin.exitEvent {Ω : Type u_1} (τ : Ω → NNReal) (c t : NNReal) :
    Set Ω

    The event that the window ends before c + t.

    Equations
    Instances For
      theorem MindFormal.A783TwiceDynkin.actual_vs_stopped {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} (S : Semimartingale hB T) {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) {f φ : (I → ℝ) → ℝ} (hf : Measurable f) {Mf : ℝ} (hMf : ∀ (x : I → ℝ), |f x| ≤ Mf) (hφ : Continuous φ) {Mφ : ℝ} (hMφ : ∀ (x : I → ℝ), |φ x| ≤ Mφ) (hfφ : ∀ x ∈ U, f x = φ x) {A : Set Ω} (hAm : MeasurableSet A) (hAU : ∀ ω ∈ A, S.X c ω ∈ U) (t : NNReal) :
      |∫ (ω : Ω) in A, f (S.X (c + t) ω) ∂μ - ∫ (ω : Ω) in A, φ (S.X (min (τ ω) (c + t)) ω) ∂μ| ≤ 2 * Mf * μ.real (A ∩ exitEvent τ c t)

      The actual read against the read on the window stopped at c + t.

      theorem MindFormal.A783TwiceDynkin.first_application {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] [Countable J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} [Fintype I] [DecidableEq I] (S : Semimartingale hB T) {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) (hcT : c ≤ T) (hfloorU : ∀ x ∈ U, ∀ i ∈ floor, 0 ≤ x i) (hβ : ContinuousOn β U) (ha : ContinuousOn a U) {φ G : (I → ℝ) → ℝ} (hφ : ContDiff ℝ 2 φ) {Mφ C₁ C₂ : ℝ} (hMφ : ∀ (x : I → ℝ), |φ x| ≤ Mφ) (hφ1 : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst φ x i| ≤ C₁) (hφ2 : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond φ x i k| ≤ C₂) (hGφ : ∀ x ∈ U, G x = gen β a φ x) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst φ x i = 0) {A : Set Ω} (hA : MeasurableSet A) :
      ∫ (ω : Ω) in A, φ (S.X (τ ω) ω) ∂μ - ∫ (ω : Ω) in A, φ (S.X c ω) ∂μ = ∫ (ω : Ω) in A, ∫ (r : NNReal) in Set.Ioc c (τ ω), G (S.X r ω) ∂MathFin.ItoIntegralL2.timeMeasure ∂μ

      The first generator application, with 𝓛φ replaced by G on U.

      theorem MindFormal.A783TwiceDynkin.window_fubini {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} (S : Semimartingale hB T) {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) {G : (I → ℝ) → ℝ} (hG : Continuous G) {MG : ℝ} (hMG : ∀ (x : I → ℝ), |G x| ≤ MG) {A : Set Ω} (t : NNReal) :
      ∫ (ω : Ω) in A, ∫ (r : NNReal) in Set.Ioc c (min (τ ω) (c + t)), G (S.X r ω) ∂MathFin.ItoIntegralL2.timeMeasure ∂μ = ∫ (r : NNReal) in Set.Ioc c (c + t), ∫ (ω : Ω) in A, if r ≤ τ ω then G (S.X r ω) else 0 ∂μ ∂MathFin.ItoIntegralL2.timeMeasure ∧ MeasureTheory.IntegrableOn (fun (r : NNReal) => ∫ (ω : Ω) in A, if r ≤ τ ω then G (S.X r ω) else 0 ∂μ) (Set.Ioc c (c + t)) MathFin.ItoIntegralL2.timeMeasure

      The time integral of the window carried under the event integral.

      theorem MindFormal.A783TwiceDynkin.closed_piece_measurable {I : Type u_2} [Finite I] {U : Set (I → ℝ)} (hUc : IsClosed U) {h : (I → ℝ) → ℝ} (hh : ContinuousOn h U) :
      Measurable fun (x : I → ℝ) => if x ∈ U then h x else 0

      A function continuous on a closed set, read along a measurable map into it, is measurable.

      theorem MindFormal.A783TwiceDynkin.second_application {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] [Countable J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} [Fintype I] [DecidableEq I] (S : Semimartingale hB T) {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) (hcT : c ≤ T) (hUc : IsClosed U) (hfloorU : ∀ x ∈ U, ∀ i ∈ floor, 0 ≤ x i) (hβ : ContinuousOn β U) (ha : ContinuousOn a U) {G : (I → ℝ) → ℝ} (hG : ContDiff ℝ 2 G) {MG D₁ D₂ : ℝ} (hMG : ∀ (x : I → ℝ), |G x| ≤ MG) (hG1 : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst G x i| ≤ D₁) (hG2 : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond G x i k| ≤ D₂) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst G x i = 0) {MH : ℝ} (hMH0 : 0 ≤ MH) (hMH : ∀ x ∈ U, |gen β a G x| ≤ MH) {ε δ : ℝ} (hε : 0 ≤ ε) (hδ : ∀ x ∈ U, ∀ y ∈ U, dist x y ≤ δ → |gen β a G x - gen β a G y| ≤ ε) (hball : ∀ᵐ (ω : Ω) ∂μ, ∀ (u : NNReal), c ≤ u → u ≤ τ ω → dist (S.X u ω) (S.X c ω) ≤ δ) {A : Set Ω} (hA : MeasurableSet A) (hAU : ∀ ω ∈ A, S.X c ω ∈ U) {t r : NNReal} (hr : r ∈ Set.Ioc c (c + t)) :
      |∫ (ω : Ω) in A, if r ≤ τ ω then G (S.X r ω) else 0 ∂μ - ∫ (ω : Ω) in A, G (S.X c ω) ∂μ - (↑r - ↑c) * ∫ (ω : Ω) in A, gen β a G (S.X c ω) ∂μ| ≤ (↑r - ↑c) * (ε * μ.real A + 2 * MH * μ.real (A ∩ exitEvent τ c t)) + |MG| * μ.real (A ∩ exitEvent τ c t)

      The second generator application at one time r, with its remainder.

      theorem MindFormal.A783TwiceDynkin.expansion {Ω : Type u_1} {I : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Finite I] [Countable J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {T : NNReal} [Fintype I] [DecidableEq I] (S : Semimartingale hB T) {c : NNReal} {τ : Ω → NNReal} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} {floor : Set I} (W : Window S c τ U β a floor) {t : NNReal} (hct : c + t ≤ T) (hUc : IsClosed U) (hfloorU : ∀ x ∈ U, ∀ i ∈ floor, 0 ≤ x i) (hβ : ContinuousOn β U) (ha : ContinuousOn a U) {f φ G : (I → ℝ) → ℝ} (hf : Measurable f) {Mf : ℝ} (hMf : ∀ (x : I → ℝ), |f x| ≤ Mf) (hφ : ContDiff ℝ 2 φ) {Mφ C₁ C₂ : ℝ} (hMφ : ∀ (x : I → ℝ), |φ x| ≤ Mφ) (hφ1 : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst φ x i| ≤ C₁) (hφ2 : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond φ x i k| ≤ C₂) (hfφ : ∀ x ∈ U, f x = φ x) (hGφ : ∀ x ∈ U, G x = gen β a φ x) (hdomφ : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst φ x i = 0) (hG : ContDiff ℝ 2 G) {MG D₁ D₂ : ℝ} (hMG : ∀ (x : I → ℝ), |G x| ≤ MG) (hG1 : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst G x i| ≤ D₁) (hG2 : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond G x i k| ≤ D₂) (hdomG : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst G x i = 0) {MH : ℝ} (hMH0 : 0 ≤ MH) (hMH : ∀ x ∈ U, |gen β a G x| ≤ MH) {ε δ : ℝ} (hε : 0 ≤ ε) (hδ : ∀ x ∈ U, ∀ y ∈ U, dist x y ≤ δ → |gen β a G x - gen β a G y| ≤ ε) (hball : ∀ᵐ (ω : Ω) ∂μ, ∀ (u : NNReal), c ≤ u → u ≤ τ ω → dist (S.X u ω) (S.X c ω) ≤ δ) {A : Set Ω} (hA : MeasurableSet A) (hAU : ∀ ω ∈ A, S.X c ω ∈ U) :
      |∫ (ω : Ω) in A, f (S.X (c + t) ω) ∂μ - (∫ (ω : Ω) in A, f (S.X c ω) ∂μ + ↑t * ∫ (ω : Ω) in A, G (S.X c ω) ∂μ + ↑t ^ 2 / 2 * ∫ (ω : Ω) in A, gen β a G (S.X c ω) ∂μ)| ≤ ↑t ^ 2 / 2 * (ε * μ.real A + 2 * MH * μ.real (A ∩ exitEvent τ c t)) + ↑t * |MG| * μ.real (A ∩ exitEvent τ c t) + 2 * Mf * μ.real (A ∩ exitEvent τ c t)

      The twice-applied Dynkin expansion with its remainder (see the module docstring).