MindFormal v1.0.0One Mind

StochasticCalculus.WeightedBracketRiemann

Weighted bracket Riemann sums #

Uniform half-open partitions integrate continuous random weights against the absolutely continuous bracket of a natural Itô process. Combined with the two-scale completed-cell comparison, this closes diffusion-weighted quadratic variation for the natural stochastic-integral component.

noncomputable def StochasticCalculus.generalItoMixedQuadraticApprox {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Z M : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :

A quadratic partition sum whose state-dependent weight is sampled from Z, while the squared increments are sampled from M. This separates the state process from its stochastic-integral component during drift removal.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def StochasticCalculus.generalItoMixedQuadraticCompletedStepApprox {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Z M : NNReal → W → ℝ) (t : NNReal) (n k : ℕ) (omega : W) :

    The coarse-step counterpart of generalItoMixedQuadraticApprox.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      With a continuous second derivative, the mixed quadratic approximation sum is almost everywhere strongly measurable.

      theorem StochasticCalculus.abs_generalItoMixedQuadraticApprox_sub_completedStep_le_of_blockWeight {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Z M : NNReal → W → ℝ) (t : NNReal) (ht : 0 < t) (n k : ℕ) (hn : 0 < n) (hk : 0 < k) (K : ℝ) (omega : W) (hweight : ∀ i ∈ Finset.range n, ∀ j ∈ Finset.range k, uniformPartitionTime t k j < uniformPartitionTime t n (i + 1) ∧ uniformPartitionTime t n (i + 1) ≤ uniformPartitionTime t k (j + 1) → |itoSpaceSecondDerivative f (↑(uniformPartitionTime t n i)) (Z (uniformPartitionTime t n i) omega) - itoSpaceSecondDerivative f (↑(uniformPartitionTime t k j)) (Z (uniformPartitionTime t k j) omega)| ≤ K) :

      If the second-derivative weights of the two grids differ by at most K on overlapping cells, the mixed quadratic sum and its completed-step version differ by at most ½ K times the quadratic sum of M.

      theorem StochasticCalculus.generalItoMixedQuadraticApprox_sub_completedStep_eventually_le_of_continuousPath {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Z M : NNReal → W → ℝ) (t : NNReal) (ht : 0 < t) (omega : W) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => Z s omega) (Set.Icc 0 t)) (K : ℝ) :
      0 < K → ∃ (N : ℕ), ∀ (k n : ℕ), N ≤ k → N ≤ n → |generalItoMixedQuadraticApprox f Z M t (n + 1) omega - generalItoMixedQuadraticCompletedStepApprox f Z M t (n + 1) (k + 1) omega| ≤ 1 / 2 * K * quadraticVariationApprox M t (n + 1) omega

      Along a path continuous on [0, t], the gap between the mixed quadratic sum and its completed-step version is eventually at most ½ K times the quadratic sum of M, for every positive K.

      theorem StochasticCalculus.IsContinuousProcessModification.generalItoMixedQuadraticApprox_sub_completedStep_eventually_le {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {Z Y M : NNReal → W → ℝ} (hmod : IsContinuousProcessModification Z Y P) (f : ℝ → ℝ → ℝ) (t : NNReal) (ht : 0 < t) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) :
      ∀ᵐ (omega : W) ∂P, ∀ (K : ℝ), 0 < K → ∃ (N : ℕ), ∀ (k n : ℕ), N ≤ k → N ≤ n → |generalItoMixedQuadraticApprox f Z M t (n + 1) omega - generalItoMixedQuadraticCompletedStepApprox f Z M t (n + 1) (k + 1) omega| ≤ 1 / 2 * K * quadraticVariationApprox M t (n + 1) omega
      theorem StochasticCalculus.sum_abs_uniformPartition_increment_mul_le_sqrt {W : Type u_1} [MeasurableSpace W] (A M : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :
      ∑ i ∈ Finset.range n, |A (uniformPartitionTime t n (i + 1)) omega - A (uniformPartitionTime t n i) omega| * |M (uniformPartitionTime t n (i + 1)) omega - M (uniformPartitionTime t n i) omega| ≤ √(quadraticVariationApprox A t n omega * quadraticVariationApprox M t n omega)

      Cauchy–Schwarz for uniform-partition increments: the sum of products of absolute increments is at most the square root of the product of the two quadratic sums.

      theorem StochasticCalculus.abs_generalItoMixedQuadraticApprox_add_sub_le {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Z A M : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) (K : ℝ) (hK : 0 ≤ K) (hweight : ∀ i ∈ Finset.range n, |itoSpaceSecondDerivative f (↑(uniformPartitionTime t n i)) (Z (uniformPartitionTime t n i) omega)| ≤ K) :
      |generalItoMixedQuadraticApprox f Z (fun (s : NNReal) (omega : W) => A s omega + M s omega) t n omega - generalItoMixedQuadraticApprox f Z M t n omega| ≤ 1 / 2 * K * (quadraticVariationApprox A t n omega + 2 * √(quadraticVariationApprox A t n omega * quadraticVariationApprox M t n omega))

      Adding a process A to M changes the mixed quadratic sum by at most ½ K times the quadratic sum of A plus twice the Cauchy–Schwarz cross term.

      theorem StochasticCalculus.generalItoMixedQuadraticApprox_add_sub_tendstoInMeasure_zero {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (Z A M : NNReal → W → ℝ) (hZmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (Z s) P) (hAmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (A s) P) (hMmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (M s) P) (t : NNReal) (q : W → ℝ) (hA : ∀ᵐ (omega : W) ∂P, Filter.Tendsto (fun (n : ℕ) => quadraticVariationApprox A t (n + 1) omega) Filter.atTop (nhds 0)) (hM : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationApprox M t (n + 1)) Filter.atTop q) (hweight : ∀ᵐ (omega : W) ∂P, ∃ (K : ℝ), 0 ≤ K ∧ ∀ (n i : ℕ), i ≤ n + 1 → |itoSpaceSecondDerivative f (↑(uniformPartitionTime t (n + 1) i)) (Z (uniformPartitionTime t (n + 1) i) omega)| ≤ K) :
      MeasureTheory.TendstoInMeasure P (fun (n : ℕ) (omega : W) => generalItoMixedQuadraticApprox f Z (fun (s : NNReal) (omega : W) => A s omega + M s omega) t (n + 1) omega - generalItoMixedQuadraticApprox f Z M t (n + 1) omega) Filter.atTop fun (x : W) => 0

      Adding a process whose quadratic sums vanish almost surely does not change the limit in probability of the mixed quadratic sum.

      theorem StochasticCalculus.integral_Ioc_sub_integral_Ioc_eq_integral_Ioc {α : Type u_1} [LinearOrder α] [TopologicalSpace α] [OrderClosedTopology α] [MeasurableSpace α] [BorelSpace α] {μ : MeasureTheory.Measure α} {q : α → ℝ} {z a b t : α} (hza : z ≤ a) (hab : a ≤ b) (hbt : b ≤ t) (hq : MeasureTheory.IntegrableOn q (Set.Ioc z t) μ) :
      ∫ (s : α) in Set.Ioc z b, q s ∂μ - ∫ (s : α) in Set.Ioc z a, q s ∂μ = ∫ (s : α) in Set.Ioc a b, q s ∂μ

      The difference of the integrals over (z, b] and (z, a] is the integral over (a, b].

      theorem StochasticCalculus.biUnion_Ioc_succ_eq_Ioc {α : Type u_1} [LinearOrder α] (a : ℕ → α) (ha : Monotone a) (N : ℕ) :
      ⋃ i ∈ Finset.range N, Set.Ioc (a i) (a (i + 1)) = Set.Ioc (a 0) (a N)

      Consecutive half-open intervals of a monotone sequence tile (a 0, a N].

      theorem StochasticCalculus.pairwise_disjoint_Ioc_succ {α : Type u_1} [LinearOrder α] (a : ℕ → α) (ha : Monotone a) (N : ℕ) :
      (↑(Finset.range N)).Pairwise fun (i j : ℕ) => Disjoint (Set.Ioc (a i) (a (i + 1))) (Set.Ioc (a j) (a (j + 1)))

      Consecutive half-open intervals of a monotone sequence are pairwise disjoint.

      theorem StochasticCalculus.abs_uniformPartition_weighted_integral_sub_le {μ : MeasureTheory.Measure NNReal} (q w : NNReal → ℝ) (t : NNReal) (k : ℕ) (hk : 0 < k) (hq : MeasureTheory.IntegrableOn q (Set.Ioc 0 t) μ) (hwq : MeasureTheory.IntegrableOn (fun (s : NNReal) => w s * q s) (Set.Ioc 0 t) μ) (hq_nonneg : ∀ (s : NNReal), 0 ≤ q s) (K : ℝ) (_hK : 0 ≤ K) (hclose : ∀ i ∈ Finset.range k, ∀ s ∈ Set.Ioc (uniformPartitionTime t k i) (uniformPartitionTime t k (i + 1)), |w (uniformPartitionTime t k i) - w s| ≤ K) :
      |∑ i ∈ Finset.range k, w (uniformPartitionTime t k i) * (∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t k (i + 1)), q s ∂μ - ∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t k i), q s ∂μ) - ∫ (s : NNReal) in Set.Ioc 0 t, w s * q s ∂μ| ≤ K * ∫ (s : NNReal) in Set.Ioc 0 t, q s ∂μ

      A left-endpoint Riemann sum of a weight against a nonnegative integrable density differs from the weighted integral by at most the weight's oscillation on the cells times the total mass.

      theorem StochasticCalculus.uniformPartition_weighted_integral_tendsto {μ : MeasureTheory.Measure NNReal} (q w : NNReal → ℝ) (t : NNReal) (hq : MeasureTheory.IntegrableOn q (Set.Ioc 0 t) μ) (hwq : MeasureTheory.IntegrableOn (fun (s : NNReal) => w s * q s) (Set.Ioc 0 t) μ) (hq_nonneg : ∀ (s : NNReal), 0 ≤ q s) (hw : ContinuousOn w (Set.Icc 0 t)) :
      Filter.Tendsto (fun (k : ℕ) => ∑ i ∈ Finset.range (k + 1), w (uniformPartitionTime t (k + 1) i) * (∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t (k + 1) (i + 1)), q s ∂μ - ∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t (k + 1) i), q s ∂μ)) Filter.atTop (nhds (∫ (s : NNReal) in Set.Ioc 0 t, w s * q s ∂μ))

      Left-endpoint Riemann sums of a continuous weight against a nonnegative integrable density converge to the weighted integral.

      theorem StochasticCalculus.generalItoMixedQuadratic_tendstoInMeasure_of_beforeStop {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (Z M : NNReal → W → ℝ) (hZmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (Z s) P) (hMmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (M s) P) (t : NNReal) (ht : 0 < t) (Q : NNReal → W → ℝ) (G : W → ℝ) (hbefore : ∀ a ≤ t, MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationBeforeStopApprox M t (n + 1) a) Filter.atTop (Q a)) (hG : MeasureTheory.TendstoInMeasure P (fun (k : ℕ) (omega : W) => ∑ i ∈ Finset.range (k + 1), 1 / 2 * itoSpaceSecondDerivative f (↑(uniformPartitionTime t (k + 1) i)) (Z (uniformPartitionTime t (k + 1) i) omega) * (Q (uniformPartitionTime t (k + 1) (i + 1)) omega - Q (uniformPartitionTime t (k + 1) i) omega)) Filter.atTop G) (Y : NNReal → W → ℝ) (hmod : IsContinuousProcessModification Z Y P) :

      Given the before-stop quadratic-variation limits of M and convergence of the bracket-step sums, the mixed quadratic sum converges in probability to the same limit.

      theorem StochasticCalculus.bracketStep_process_tendstoInMeasure {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (Z Y sigma : NNReal → W → ℝ) (hZmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (Z s) P) (hmod : IsContinuousProcessModification Z Y P) (t : NNReal) (hQmeas : ∀ (a : NNReal), MeasureTheory.AEStronglyMeasurable (fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 a, sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure) P) (hσint : ∀ᵐ (omega : W) ∂P, MeasureTheory.IntegrableOn (fun (s : NNReal) => sigma s omega ^ 2) (Set.Ioc 0 t) nonnegativeLebesgueMeasure) :
      MeasureTheory.TendstoInMeasure P (fun (k : ℕ) (omega : W) => ∑ i ∈ Finset.range (k + 1), 1 / 2 * itoSpaceSecondDerivative f (↑(uniformPartitionTime t (k + 1) i)) (Z (uniformPartitionTime t (k + 1) i) omega) * (∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t (k + 1) (i + 1)), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure - ∫ (s : NNReal) in Set.Ioc 0 (uniformPartitionTime t (k + 1) i), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure)) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 t, 1 / 2 * itoSpaceSecondDerivative f (↑s) (Y s omega) * sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure

      The bracket-step sums with weight ½ f'' converge in probability to the integral of ½ f''(s, Y_s) σ_s² over (0, t].

      noncomputable def StochasticCalculus.generalItoQuadraticBracketIntegral {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Y : NNReal → W → ℝ) (u : NNReal × W → ℝ) (t : NNReal) (omega : W) :

      The pathwise continuous-weight integral against a selected nonnegative bracket density on nonnegative time.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem StochasticCalculus.generalItoQuadraticBracketIntegral_uncurry_eq {W : Type u_1} [MeasurableSpace W] (f : ℝ → ℝ → ℝ) (Y sigma : NNReal → W → ℝ) (t : NNReal) (omega : W) :

        The bracket integral with the uncurried diffusion coefficient equals the quadratic integral of the general Itô formula.

        theorem StochasticCalculus.generalItoQuadratic_tendstoInMeasure_of_characteristics_of_pos {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (X mu sigma J Y : NNReal → W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hJmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (J s) P) (hmuMeas : Measurable (Function.uncurry mu)) (hmuInt : ∀ (t : ℝ) (omega : W), MeasureTheory.IntegrableOn (fun (s : ℝ) => mu s.toNNReal omega) (Set.Icc 0 t) MeasureTheory.volume) (hmod : IsContinuousProcessModification X Y P) (hdecomp : ∀ (s : NNReal), X s =ᵐ[P] fun (omega : W) => X 0 omega + integratedDrift mu s omega + J s omega) (hbefore : ∀ (T a : NNReal), MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationBeforeStopApprox J T (n + 1) a) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 (min T a), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure) (hσint : ∀ (T : NNReal), ∀ᵐ (omega : W) ∂P, MeasureTheory.IntegrableOn (fun (s : NNReal) => sigma s omega ^ 2) (Set.Ioc 0 T) nonnegativeLebesgueMeasure) (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (t : NNReal) (ht : 0 < t) :

        For an Itô process with drift mu, diffusion sigma and stochastic part J, the quadratic term of the general Itô formula converges in probability to the diffusion-weighted integral, for positive t.

        theorem StochasticCalculus.generalItoQuadratic_tendstoInMeasure_of_characteristics {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (X mu sigma J Y : NNReal → W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hJmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (J s) P) (hmuMeas : Measurable (Function.uncurry mu)) (hmuInt : ∀ (t : ℝ) (omega : W), MeasureTheory.IntegrableOn (fun (s : ℝ) => mu s.toNNReal omega) (Set.Icc 0 t) MeasureTheory.volume) (hmod : IsContinuousProcessModification X Y P) (hdecomp : ∀ (s : NNReal), X s =ᵐ[P] fun (omega : W) => X 0 omega + integratedDrift mu s omega + J s omega) (hbefore : ∀ (T a : NNReal), MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationBeforeStopApprox J T (n + 1) a) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 (min T a), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure) (hσint : ∀ (T : NNReal), ∀ᵐ (omega : W) ∂P, MeasureTheory.IntegrableOn (fun (s : NNReal) => sigma s omega ^ 2) (Set.Ioc 0 T) nonnegativeLebesgueMeasure) (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (t : NNReal) :

        The quadratic term of the general Itô formula converges in probability to the diffusion-weighted integral for an Itô process with given characteristics, at every time.

        theorem StochasticCalculus.quadraticVariation_tendstoInMeasure_of_characteristics {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (X mu sigma J : NNReal → W → ℝ) (hJmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (J s) P) (hmuMeas : Measurable (Function.uncurry mu)) (hmuInt : ∀ (t : ℝ) (omega : W), MeasureTheory.IntegrableOn (fun (s : ℝ) => mu s.toNNReal omega) (Set.Icc 0 t) MeasureTheory.volume) (hdecomp : ∀ (s : NNReal), X s =ᵐ[P] fun (omega : W) => X 0 omega + integratedDrift mu s omega + J s omega) (hbefore : ∀ (T a : NNReal), MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationBeforeStopApprox J T (n + 1) a) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 (min T a), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure) (t : NNReal) :
        MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationApprox X t (n + 1)) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 t, sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure

        The quadratic sums of an Itô process with given characteristics converge in probability to the integrated square of the diffusion coefficient.

        theorem StochasticCalculus.exists_ito_formula_of_characteristics {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (X mu sigma J Y : NNReal → W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hJmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (J s) P) (hmuMeas : Measurable (Function.uncurry mu)) (hmuInt : ∀ (t : ℝ) (omega : W), MeasureTheory.IntegrableOn (fun (s : ℝ) => mu s.toNNReal omega) (Set.Icc 0 t) MeasureTheory.volume) (hmod : IsContinuousProcessModification X Y P) (hdecomp : ∀ (s : NNReal), X s =ᵐ[P] fun (omega : W) => X 0 omega + integratedDrift mu s omega + J s omega) (hbefore : ∀ (T a : NNReal), MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationBeforeStopApprox J T (n + 1) a) Filter.atTop fun (omega : W) => ∫ (s : NNReal) in Set.Ioc 0 (min T a), sigma s omega ^ 2 ∂nonnegativeLebesgueMeasure) (hσint : ∀ (T : NNReal), ∀ᵐ (omega : W) ∂P, MeasureTheory.IntegrableOn (fun (s : NNReal) => sigma s omega ^ 2) (Set.Ioc 0 T) nonnegativeLebesgueMeasure) (f : ℝ → ℝ → ℝ) (hf : Continuous fun (p : ℝ × ℝ) => f p.1 p.2) (htdiff : ∀ (x : ℝ), Differentiable ℝ fun (s : ℝ) => f s x) (hslice : ∀ (s : ℝ), ContDiff ℝ 2 (f s)) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hdx : Continuous fun (p : ℝ × ℝ) => itoSpaceDerivative f p.1 p.2) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (t : NNReal) :
        ∃ (I : W → ℝ), MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoSpaceApprox f X t (n + 1)) Filter.atTop I ∧ ∀ᵐ (omega : W) ∂P, f (↑t) (X t omega) = f 0 (X 0 omega) + generalItoTimeIntegral f Y t omega + I omega + generalItoQuadraticIntegral f Y sigma t omega

        The general Itô formula holds almost everywhere for an Itô process with given characteristics, with the stochastic term characterized as a limit in probability.