MindFormal v1.0.0One Mind

MindFormal.Tools.A783TwiceDynkin.Identity

The window identity ∫_A F(X_τ) − ∫_A F(X_c) = ∫_A ∫_{(c,τ]} (𝓛F)(X_r) dr, for every event A known at the cut: Itô's formula for the process stopped at τ minus Itô's formula for it stopped at c.

theorem MindFormal.A783TwiceDynkin.restrictRow_coeFn {Ω : Type u_1} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {T : NNReal} (S : Set (NNReal × Ω)) (hS : MeasurableSet S) (f : GroupsWorld.OriginalRow ℱ μ T J) (j : J) :
↑↑(↑(GroupsWorld.restrictRow T S hS f) j) =ᵐ[ItoFiltration.predMeasure ℱ μ T] S.indicator ↑↑(↑f j)
theorem MindFormal.A783TwiceDynkin.mem_stopSet_iff {Ω : Type u_1} (τ : Ω → NNReal) (z : NNReal × Ω) :
(z ∈ ItoFiltration.stopSet fun (ω : Ω) => ↑(τ ω)) ↔ z.1 ≤ τ z.2
theorem MindFormal.A783TwiceDynkin.restricted_cov {Ω : Type u_1} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Countable J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {T : NNReal} (τ : Ω → NNReal) (hτ : MeasureTheory.IsStoppingTime ℱ fun (ω : Ω) => ↑(τ ω)) (f g : GroupsWorld.OriginalRow ℱ μ T J) :

The covariance density of two rows restricted to a stopping interval, in iterated form.

theorem MindFormal.A783TwiceDynkin.cov_cut_path {T c τ : NNReal} (hc : c ≤ τ) (hτ : τ ≤ T) {g R ρτ ρc a' : NNReal → ℝ} {C : ℝ} (hgc : Continuous g) (hg : ∀ (s : NNReal), |g s| ≤ C) (hR : MeasureTheory.IntegrableOn R (Set.Ioc 0 T) MathFin.ItoIntegralL2.timeMeasure) (hτR : ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralL2.timeMeasure.restrict (Set.Ioc 0 T), ρτ s = if s ≤ τ then R s else 0) (hcR : ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralL2.timeMeasure.restrict (Set.Ioc 0 T), ρc s = if s ≤ c then R s else 0) (hcov : ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralL2.timeMeasure.restrict (Set.Ioc 0 T), c < s → s ≤ τ → R s = a' s) :

The covariance part of the window identity, path by path.

theorem MindFormal.A783TwiceDynkin.restrictRow_ext {Ω : Type u_1} {J : Type u_3} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {T : NNReal} {S : Set (NNReal × Ω)} (hS : MeasurableSet S) {f g : GroupsWorld.OriginalRow ℱ μ T J} (h : ∀ (j : J), S.indicator ↑↑(↑f j) =ᵐ[ItoFiltration.predMeasure ℱ μ T] S.indicator ↑↑(↑g j)) :
theorem MindFormal.A783TwiceDynkin.stoch_cut {Ω : 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} (hτ : MeasureTheory.IsStoppingTime ℱ fun (ω : Ω) => ↑(τ ω)) (hcτ : ∀ (ω : Ω), c ≤ τ ω) (hcT : c ≤ T) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) {C₁ : ℝ} (hC₁ : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst F x i| ≤ C₁) {A : Set Ω} (hA : MeasurableSet A) :
∫ (ω : Ω) in A, GroupsWorld.finiteStochasticTerm hB T hF ⋯ ⋯ (stopRows S τ hτ) ω ∂μ = ∫ (ω : Ω) in A, GroupsWorld.finiteStochasticTerm hB T hF ⋯ ⋯ (stopRows S (fun (x : Ω) => c) ⋯) ω ∂μ

The noise terms of the two stopped Itô formulas have the same mean on every event known at the cut.

theorem MindFormal.A783TwiceDynkin.window_integrableOn {I : Type u_2} {U : Set (I → ℝ)} {X : NNReal → I → ℝ} (hX : Continuous X) {c τ : NNReal} (hU : ∀ (s : NNReal), c ≤ s → s ≤ τ → X s ∈ U) {φ : (I → ℝ) → ℝ} (hφ : ContinuousOn φ U) :
theorem MindFormal.A783TwiceDynkin.coord_continuousOn {I : Type u_2} {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} (hβ : ContinuousOn β U) (i : I) :
ContinuousOn (fun (x : I → ℝ) => β x i) U
theorem MindFormal.A783TwiceDynkin.stj_window {I : Type u_2} {T : NNReal} [Fintype I] [DecidableEq I] {c τ : NNReal} (hcτ : c ≤ τ) (hτT : τ ≤ T) {X : NNReal → I → ℝ} (hX : Continuous X) {A K : I → NNReal → ℝ} (hA : ∀ (i : I), Continuous (A i)) (hAv : ∀ (i : I), BoundedVariationOn (A i) (Set.Icc 0 T)) (hK : ∀ (i : I), Continuous (K i)) {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {floor : Set I} (hβ : ContinuousOn β U) (hfloorU : ∀ x ∈ U, ∀ i ∈ floor, 0 ≤ x i) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst F x i = 0) (hU : c < τ → ∀ (s : NNReal), c ≤ s → s ≤ τ → X s ∈ U) (hfv : ∀ (i : I) (s : NNReal), c ≤ s → s ≤ τ → A i s - A i c = ∫ (r : NNReal) in Set.Ioc c s, β (X r) i ∂MathFin.ItoIntegralL2.timeMeasure + (K i s - K i c)) (hmono : ∀ (i : I), MonotoneOn (K i) (Set.Icc c τ)) (hoff : ∀ i ∉ floor, ∀ (s : NNReal), c ≤ s → s ≤ τ → K i s = K i c) (hsupp : ∀ i ∈ floor, ∀ (u v : NNReal), c ≤ u → u ≤ v → v ≤ τ → (∀ r ∈ Set.Icc u v, 0 < X r i) → K i u = K i v) :
GroupsWorld.finiteStieltjes F (fun (s : NNReal) => X (min s τ)) (fun (s : NNReal) (i : I) => A i (min s τ)) T - GroupsWorld.finiteStieltjes F (fun (s : NNReal) => X (min s c)) (fun (s : NNReal) (i : I) => A i (min s c)) T = ∑ i : I, ∫ (r : NNReal) in Set.Ioc c τ, GroupsWorld.stateFirst F (X r) i * β (X r) i ∂MathFin.ItoIntegralL2.timeMeasure

The Stieltjes difference on one path.

theorem MindFormal.A783TwiceDynkin.gen_window {I : Type u_2} [Fintype I] [DecidableEq I] {c τ : NNReal} {X : NNReal → I → ℝ} (hX : Continuous X) {U : Set (I → ℝ)} {β : (I → ℝ) → I → ℝ} {a : (I → ℝ) → I → I → ℝ} (hβ : ContinuousOn β U) (ha : ContinuousOn a U) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) (hU : c < τ → ∀ (s : NNReal), c ≤ s → s ≤ τ → X s ∈ U) :
∫ (r : NNReal) in Set.Ioc c τ, gen β a F (X r) ∂MathFin.ItoIntegralL2.timeMeasure = ∑ i : I, ∫ (r : NNReal) in Set.Ioc c τ, GroupsWorld.stateFirst F (X r) i * β (X r) i ∂MathFin.ItoIntegralL2.timeMeasure + 1 / 2 * ∑ i : I, ∑ k : I, ∫ (r : NNReal) in Set.Ioc c τ, GroupsWorld.stateSecond F (X r) i k * a (X r) i k ∂MathFin.ItoIntegralL2.timeMeasure

The generator integral split into its two parts on one path.

theorem MindFormal.A783TwiceDynkin.path_identity {Ω : 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) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) {C₁ : ℝ} (hC₁ : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst F x i| ≤ C₁) {C₂ : ℝ} (hC₂ : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond F x i k| ≤ C₂) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst F x i = 0) :
∀ᵐ (ω : Ω) ∂μ, F (S.X (τ ω) ω) - F (S.X c ω) = ∫ (r : NNReal) in Set.Ioc c (τ ω), gen β a F (S.X r ω) ∂MathFin.ItoIntegralL2.timeMeasure + (GroupsWorld.finiteStochasticTerm hB T hF ⋯ ⋯ (stopRows S τ ⋯) ω - GroupsWorld.finiteStochasticTerm hB T hF ⋯ ⋯ (stopRows S (fun (x : Ω) => c) ⋯) ω)

The window identity path by path, with the two noise terms.

theorem MindFormal.A783TwiceDynkin.gen_integrable {Ω : 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) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) {M : ℝ} (hM : ∀ (x : I → ℝ), |F x| ≤ M) {C₁ : ℝ} (hC₁ : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst F x i| ≤ C₁) {C₂ : ℝ} (hC₂ : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond F x i k| ≤ C₂) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst F x i = 0) :
MeasureTheory.Integrable (fun (ω : Ω) => ∫ (r : NNReal) in Set.Ioc c (τ ω), gen β a F (S.X r ω) ∂MathFin.ItoIntegralL2.timeMeasure) μ

The generator integral over the window is integrable.

theorem MindFormal.A783TwiceDynkin.dynkin {Ω : 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) {F : (I → ℝ) → ℝ} (hF : ContDiff ℝ 2 F) {M : ℝ} (hM : ∀ (x : I → ℝ), |F x| ≤ M) {C₁ : ℝ} (hC₁ : ∀ (x : I → ℝ) (i : I), |GroupsWorld.stateFirst F x i| ≤ C₁) {C₂ : ℝ} (hC₂ : ∀ (x : I → ℝ) (i k : I), |GroupsWorld.stateSecond F x i k| ≤ C₂) (hdom : ∀ x ∈ U, ∀ i ∈ floor, x i = 0 → GroupsWorld.stateFirst F x i = 0) {A : Set Ω} (hA : MeasurableSet A) :
∫ (ω : Ω) in A, F (S.X (τ ω) ω) ∂μ - ∫ (ω : Ω) in A, F (S.X c ω) ∂μ = ∫ (ω : Ω) in A, ∫ (r : NNReal) in Set.Ioc c (τ ω), gen β a F (S.X r ω) ∂MathFin.ItoIntegralL2.timeMeasure ∂μ

Dynkin's identity on the window: for every event A known at the cut, ∫_A F(X_τ) − ∫_A F(X_c) = ∫_A ∫_{(c,τ]} (𝓛F)(X_r) dr.