MindFormal v1.0.0One Mind

StochasticCalculus.ItoFormulaPartition

General Itô formula: exact partition reduction #

This file records the algebraic reduction behind the time-dependent Itô formula. For a function f(t, x) and a process X, its increment along a uniform partition is split exactly into

Consequently, convergence in probability of the four analytic pieces implies the almost-everywhere Itô identity. The frozen-time and frozen-state Taylor remainders with uniform bounds on compact rectangles, and the notion of a continuous modification of a process together with its quadratic-variation sums, complete the file; the continuous modification of a natural Itô process is constructed in ItoFormulaGeneral.

noncomputable def StochasticCalculus.itoTimeDerivative (f : ℝ → ℝ → ℝ) (s x : ℝ) :

The time partial derivative, with the state variable held fixed.

Equations
Instances For
    noncomputable def StochasticCalculus.itoSpaceDerivative (f : ℝ → ℝ → ℝ) (s x : ℝ) :

    The space partial derivative, with the time variable held fixed.

    Equations
    Instances For
      noncomputable def StochasticCalculus.itoSpaceSecondDerivative (f : ℝ → ℝ → ℝ) (s x : ℝ) :

      The second space partial derivative.

      Equations
      Instances For
        noncomputable def StochasticCalculus.generalItoTimeApprox {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :

        The left-endpoint time-derivative sum along the uniform n-partition.

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

          The left-endpoint space-derivative sum against the increments of X.

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

            The left-endpoint weighted quadratic-variation term, including the coefficient 1 / 2.

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

              Fixed-time measurability of a process and continuity of the second-derivative weight imply measurability of every weighted quadratic partition sum.

              noncomputable def StochasticCalculus.generalItoRemainderIncrement (f : ℝ → ℝ → ℝ) (s₀ s₁ x₀ x₁ : ℝ) :

              The exact one-step residual after the time, space, and quadratic terms have been removed from the increment of f.

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

                Sum of the exact one-step residuals along the uniform n-partition.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem StochasticCalculus.aestronglyMeasurable_generalItoRemainderApprox {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} (f : ℝ → ℝ → ℝ) (hf : Continuous fun (p : ℝ × ℝ) => f p.1 p.2) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hdx : Continuous fun (p : ℝ × ℝ) => itoSpaceDerivative f p.1 p.2) (hdxx : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (X : NNReal → W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (t : NNReal) (n : ℕ) :

                  Joint continuity of the function and its displayed partial derivatives, together with fixed-time measurability of the process, makes every finite general Taylor-remainder sum measurable.

                  noncomputable def StochasticCalculus.generalItoFrozenStateTimeRemainderIncrement (f : ℝ → ℝ → ℝ) (s₀ s₁ x₁ : ℝ) :

                  Time Taylor residual with the state frozen at the right endpoint of a single process increment.

                  Equations
                  Instances For
                    noncomputable def StochasticCalculus.generalItoFrozenTimeStateRemainderIncrement (f : ℝ → ℝ → ℝ) (s₀ x₀ x₁ : ℝ) :

                    State Taylor residual with time frozen at the left endpoint of a single process increment.

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

                      The frozen-time state component is exactly the ordinary one-variable second-order Taylor remainder of the corresponding time slice.

                      theorem StochasticCalculus.uniform_generalItoFrozenTimeStateRemainder_bound_on_rectangle (f : ℝ → ℝ → ℝ) (hslice : ∀ (s : ℝ), ContDiff ℝ 2 (f s)) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (a b c d ε : ℝ) :
                      0 < ε → ∃ (δ : ℝ), 0 < δ ∧ ∀ s ∈ Set.Icc a b, ∀ x₀ ∈ Set.Icc c d, ∀ x₁ ∈ Set.Icc c d, |x₁ - x₀| < δ → |generalItoFrozenTimeStateRemainderIncrement f s x₀ x₁| ≤ ε * (x₁ - x₀) ^ 2

                      Uniform second-order Taylor bound for all time slices on a compact time/state rectangle. Joint continuity of the second space derivative makes the little-o modulus independent of the chosen time slice.

                      theorem StochasticCalculus.generalItoFrozenTimeStateRemainder_eventually_bound_of_continuous_path {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hslice : ∀ (s : ℝ), ContDiff ℝ 2 (f s)) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) (ε : ℝ) :
                      0 < ε → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), |generalItoFrozenTimeStateRemainderIncrement f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) i) omega) (X (uniformPartitionTime t (n + 1) (i + 1)) omega)| ≤ ε * (X (uniformPartitionTime t (n + 1) (i + 1)) omega - X (uniformPartitionTime t (n + 1) i) omega) ^ 2

                      Joint continuity of the second space derivative makes the frozen-time state Taylor little-o estimate uniform along every continuous compact sample path.

                      noncomputable def StochasticCalculus.generalItoTimeStateCrossIncrement (f : ℝ → ℝ → ℝ) (s₀ s₁ x₀ x₁ : ℝ) :

                      Mixed error caused by evaluating the time derivative at the left state rather than the right state of a single process increment.

                      Equations
                      Instances For
                        theorem StochasticCalculus.abs_generalItoFrozenStateTimeRemainderIncrement_le (f : ℝ → ℝ → ℝ) (s₀ s₁ x₁ K : ℝ) (hfdiff : Differentiable ℝ fun (s : ℝ) => f s x₁) (hdt : Continuous fun (s : ℝ) => itoTimeDerivative f s x₁) (hbound : ∀ s ∈ Set.uIoc s₀ s₁, |itoTimeDerivative f s x₁ - itoTimeDerivative f s₀ x₁| ≤ K) :

                        A frozen-state first-order time residual is controlled by the oscillation of the time derivative on the corresponding time interval.

                        Exact factorization of a genuinely two-variable one-step Itô residual. It separates the two ordinary one-variable Taylor errors from the sole mixed time/state cross term.

                        noncomputable def StochasticCalculus.generalItoFrozenStateTimeRemainderApprox {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :

                        Accumulated frozen-state time Taylor residual along a uniform partition.

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

                          Accumulated frozen-time state Taylor residual along a uniform partition.

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

                            Accumulated mixed time/state cross error along a uniform partition.

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

                              The full accumulated residual is exactly the sum of its frozen-state time, frozen-time state, and mixed cross components.

                              theorem StochasticCalculus.generalItoFrozenTimeStateRemainderApprox_subseq_tendsto_zero_of_bound {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (k : ℕ → ℕ) (hk : Filter.Tendsto k Filter.atTop Filter.atTop) (C : ℝ) (hC : 0 < C) (hquadratic : ∀ᶠ (n : ℕ) in Filter.atTop, quadraticVariationApprox X t (k n + 1) omega ≤ C) (hremainder : ∀ (ε : ℝ), 0 < ε → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), |generalItoFrozenTimeStateRemainderIncrement f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) i) omega) (X (uniformPartitionTime t (n + 1) (i + 1)) omega)| ≤ ε * (X (uniformPartitionTime t (n + 1) (i + 1)) omega - X (uniformPartitionTime t (n + 1) i) omega) ^ 2) :

                              Subsequence form of the frozen-time state closure, used when quadratic variation in probability supplies almost-sure convergence only after taking a subsubsequence.

                              theorem StochasticCalculus.generalItoFrozenStateTimeRemainderApprox_tendsto_zero_of_derivative_oscillation {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hfdiff : ∀ (x : ℝ), Differentiable ℝ fun (s : ℝ) => f s x) (hsmall : ∀ (δ : ℝ), 0 < δ → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), ∀ s ∈ Set.uIoc ↑(uniformPartitionTime t (n + 1) i) ↑(uniformPartitionTime t (n + 1) (i + 1)), |itoTimeDerivative f s (X (uniformPartitionTime t (n + 1) (i + 1)) omega) - itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) (i + 1)) omega)| ≤ δ) (hdt : ∀ (x : ℝ), Continuous fun (s : ℝ) => itoTimeDerivative f s x) :

                              Uniformly small oscillation of the time derivative within every fine partition interval forces the accumulated frozen-state time Taylor error to vanish.

                              theorem StochasticCalculus.generalItoTimeDerivative_time_oscillation_eventually_small {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) (δ : ℝ) :
                              0 < δ → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), ∀ s ∈ Set.uIoc ↑(uniformPartitionTime t (n + 1) i) ↑(uniformPartitionTime t (n + 1) (i + 1)), |itoTimeDerivative f s (X (uniformPartitionTime t (n + 1) (i + 1)) omega) - itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) (i + 1)) omega)| ≤ δ

                              On a continuous compact path, joint continuity of the time derivative makes its oscillation uniformly small within each sufficiently fine time interval, even though the frozen state varies from interval to interval.

                              theorem StochasticCalculus.generalItoFrozenStateTimeRemainderApprox_tendsto_zero_of_continuous_path {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hfdiff : ∀ (x : ℝ), Differentiable ℝ fun (s : ℝ) => f s x) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) :

                              The frozen-state time component of the general Itô remainder vanishes pathwise for a jointly continuous time derivative and time-differentiable test function along every continuous sample path.

                              theorem StochasticCalculus.generalItoTimeStateCrossApprox_tendsto_zero_of_derivative_increments {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hsmall : ∀ (δ : ℝ), 0 < δ → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), |itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) (i + 1)) omega) - itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) i) omega)| ≤ δ) :

                              If the time derivative changes uniformly little across every state increment of a fine partition, then the accumulated mixed time/state cross term vanishes. Continuity of the derivative along a continuous compact path is intended to discharge the explicit hsmall premise.

                              theorem StochasticCalculus.generalItoTimeDerivative_state_increments_eventually_small {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) (δ : ℝ) :
                              0 < δ → ∀ᶠ (n : ℕ) in Filter.atTop, ∀ i ∈ Finset.range (n + 1), |itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) (i + 1)) omega) - itoTimeDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) i) omega)| ≤ δ

                              Joint continuity of the time derivative and continuity of one sample path make the derivative uniformly insensitive to adjacent state increments on a fixed compact horizon.

                              theorem StochasticCalculus.generalItoTimeStateCrossApprox_tendsto_zero_of_continuous_path {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) :

                              The mixed time/state component of the general Itô remainder vanishes pathwise along every continuous path when the time derivative is jointly continuous.

                              theorem StochasticCalculus.generalItoRemainderApprox_subseq_tendsto_zero_of_continuous_path {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (k : ℕ → ℕ) (hk : Filter.Tendsto k Filter.atTop Filter.atTop) (q : ℝ) (htdiff : ∀ (x : ℝ), Differentiable ℝ fun (s : ℝ) => f s x) (hslice : ∀ (s : ℝ), ContDiff ℝ 2 (f s)) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (hpath : ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) (hquadratic : Filter.Tendsto (fun (n : ℕ) => quadraticVariationApprox X t (k n + 1) omega) Filter.atTop (nhds q)) :
                              Filter.Tendsto (fun (n : ℕ) => generalItoRemainderApprox f X t (k n + 1) omega) Filter.atTop (nhds 0)

                              Subsequence-stable form of the full pathwise remainder theorem.

                              theorem StochasticCalculus.generalItoRemainderApprox_tendstoInMeasure_of_continuous_qv {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (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) (X : NNReal → W → ℝ) (t : NNReal) (q : W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hcontinuous : ∀ᵐ (omega : W) ∂P, ContinuousOn (fun (s : NNReal) => X s omega) (Set.Icc 0 t)) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationApprox X t (n + 1)) Filter.atTop q) :
                              MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0

                              For a measurable process with almost-everywhere continuous paths and quadratic variation in probability, the full genuinely two-variable Taylor remainder vanishes in probability.

                              A process Y is a continuous modification of X when the two agree almost everywhere at each fixed time and Y has almost-everywhere continuous sample paths. The fixed-time quantifier is deliberately outside the almost-everywhere quantifier, matching the standard notion of modification.

                              Instances For
                                theorem StochasticCalculus.fixedTime_ae_eq_uniformPartitions {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hXY : ∀ (s : NNReal), X s =ᵐ[P] Y s) (t : NNReal) :
                                ∀ᵐ (omega : W) ∂P, ∀ (n i : ℕ), X (uniformPartitionTime t (n + 1) i) omega = Y (uniformPartitionTime t (n + 1) i) omega

                                A fixed-time modification agrees simultaneously at every point of all uniform partitions of a fixed horizon. Countability of the two natural-number indices is the key distinction from an uncountable simultaneous-time claim.

                                For a process admitting a continuous modification, every deterministic stopping boundary contributes vanishing quadratic mass in probability. This is the analytic boundary-error input for replacing stopped cumulative sums by ordinary prefix sums in the weighted-bracket argument.

                                Once the stopped quadratic sums have a limit, continuity removes their single partial boundary cell and gives the same limit for the completed cells strictly before the stopping time.

                                theorem StochasticCalculus.IsContinuousProcessModification.uniformPartition_bounded {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hmod : IsContinuousProcessModification X Y P) (t : NNReal) :
                                ∀ᵐ (omega : W) ∂P, ∃ (K : ℝ), ∀ (n i : ℕ), i ≤ n + 1 → |X (uniformPartitionTime t (n + 1) i) omega| ≤ K

                                A continuous modification also supplies a sample-dependent compact-range bound simultaneously on every uniform partition point of a fixed horizon. This is the pathwise localization datum used to bound derivatives on compact state ranges.

                                theorem StochasticCalculus.IsContinuousProcessModification.uniformPartition_secondDerivative_bounded {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hmod : IsContinuousProcessModification X Y P) (f : ℝ → ℝ → ℝ) (hsecond : Continuous fun (p : ℝ × ℝ) => itoSpaceSecondDerivative f p.1 p.2) (t : NNReal) :
                                ∀ᵐ (omega : W) ∂P, ∃ (K : ℝ), 0 ≤ K ∧ ∀ (n i : ℕ), i ≤ n + 1 → |itoSpaceSecondDerivative f (↑(uniformPartitionTime t (n + 1) i)) (X (uniformPartitionTime t (n + 1) i) omega)| ≤ K

                                A continuous modification localizes every continuous second-derivative weight on the countable family of uniform grids. The bound may depend on the sample and horizon, but is simultaneous in the partition size and index.

                                theorem StochasticCalculus.generalItoTimeApprox_ae_eq_of_fixedTime_ae_eq {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hXY : ∀ (s : NNReal), X s =ᵐ[P] Y s) (f : ℝ → ℝ → ℝ) (t : NNReal) (n : ℕ) :

                                Fixed-time modifications give the same time partition term almost everywhere for every fixed finite partition.

                                theorem StochasticCalculus.generalItoRemainderApprox_ae_eq_of_fixedTime_ae_eq {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hXY : ∀ (s : NNReal), X s =ᵐ[P] Y s) (f : ℝ → ℝ → ℝ) (t : NNReal) (n : ℕ) :

                                Fixed-time modifications give the same explicit Taylor residual term almost everywhere for every fixed finite partition.

                                theorem StochasticCalculus.generalIto_uniformPartition_decomposition {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :
                                f (↑t) (X t omega) - f 0 (X 0 omega) = generalItoTimeApprox f X t (n + 1) omega + generalItoSpaceApprox f X t (n + 1) omega + generalItoQuadraticApprox f X t (n + 1) omega + generalItoRemainderApprox f X t (n + 1) omega

                                Exact four-term decomposition of a time-dependent function increment along the uniform partition. No differentiability or probability hypothesis is needed: the remainder was defined to make this identity exact.

                                theorem StochasticCalculus.generalIto_formula_ae_of_partition_limits {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (T I Q : W → ℝ) (hendpoint : MeasureTheory.AEStronglyMeasurable (fun (omega : W) => f (↑t) (X t omega) - f 0 (X 0 omega)) P) (htime : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoTimeApprox f X t (n + 1)) Filter.atTop T) (hspace : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoSpaceApprox f X t (n + 1)) Filter.atTop I) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoQuadraticApprox f X t (n + 1)) Filter.atTop Q) (hremainder : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0) :
                                ∀ᵐ (omega : W) ∂P, f (↑t) (X t omega) = f 0 (X 0 omega) + T omega + I omega + Q omega

                                The general Itô formula reduced to convergence in probability of its partition terms. This is the analytic interface needed by any future continuous-modification and localization layer.

                                theorem StochasticCalculus.generalIto_formula_ae_iff_space_limit {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (T I Q : W → ℝ) (hendpoint : MeasureTheory.AEStronglyMeasurable (fun (omega : W) => f (↑t) (X t omega) - f 0 (X 0 omega)) P) (htime : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoTimeApprox f X t (n + 1)) Filter.atTop T) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoQuadraticApprox f X t (n + 1)) Filter.atTop Q) (hremainder : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0) :
                                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) + T omega + I omega + Q omega

                                Once the time, quadratic, and remainder sums have their intended limits, the general Itô identity is equivalent to convergence of the concrete dX left sums. In particular, the stochastic term cannot be chosen independently of the partition approximation.

                                theorem StochasticCalculus.generalIto_exists_space_limit_and_formula {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (T Q : W → ℝ) (hendpoint : MeasureTheory.AEStronglyMeasurable (fun (omega : W) => f (↑t) (X t omega) - f 0 (X 0 omega)) P) (htime : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoTimeApprox f X t (n + 1)) Filter.atTop T) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoQuadraticApprox f X t (n + 1)) Filter.atTop Q) (hremainder : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0) :
                                ∃ (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) + T omega + I omega + Q omega

                                Once the other three partition terms converge, the exact decomposition itself constructs the dX-sum limit. This is useful when the theorem only needs the stochastic first-order term existentially: its canonical value is the endpoint increment minus the time and quadratic limits.

                                noncomputable def StochasticCalculus.generalItoTimeIntegral {W : Type u_1} (f : ℝ → ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) :

                                The pathwise time integral appearing in the general Itô formula.

                                Equations
                                Instances For
                                  theorem StochasticCalculus.generalItoTimeApprox_tendsto_of_continuous_path {W : Type u_1} (f : ℝ → ℝ → ℝ) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (X : NNReal → W → ℝ) (t : NNReal) (omega : W) (hcontinuous : Continuous fun (s : NNReal) => X s omega) :
                                  Filter.Tendsto (fun (n : ℕ) => generalItoTimeApprox f X t (n + 1) omega) Filter.atTop (nhds (generalItoTimeIntegral f X t omega))

                                  Along a continuous sample path, a jointly continuous time derivative has the expected uniform-partition Riemann-sum limit.

                                  theorem StochasticCalculus.generalItoTimeApprox_tendstoInMeasure_of_continuous_paths {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ → ℝ) (hdt : Continuous fun (p : ℝ × ℝ) => itoTimeDerivative f p.1 p.2) (X : NNReal → W → ℝ) (t : NNReal) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hcontinuous : ∀ᵐ (omega : W) ∂P, Continuous fun (s : NNReal) => X s omega) :

                                  If fixed-time process values are measurable and paths are almost everywhere continuous, the generic time term converges in probability for every jointly continuous time derivative.

                                  The time-term limit may be proved on a continuous modification and then transported to the original fixed-time representative. The limiting path integral is naturally evaluated on that continuous modification.

                                  noncomputable def StochasticCalculus.generalItoQuadraticIntegral {W : Type u_1} (f : ℝ → ℝ → ℝ) (X σ : NNReal → W → ℝ) (t : NNReal) (omega : W) :

                                  The pathwise diffusion-weighted second-order integral appearing in the general Itô formula.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    noncomputable def StochasticCalculus.itoStateTaylorRemainder (f : ℝ → ℝ) (x₀ x₁ : ℝ) :

                                    The second-order Taylor residual in the state coordinate.

                                    Equations
                                    Instances For
                                      noncomputable def StochasticCalculus.itoStateTaylorRemainderApprox {W : Type u_1} (f : ℝ → ℝ) (X : NNReal → W → ℝ) (t : NNReal) (n : ℕ) (omega : W) :

                                      Accumulated second-order state residual along the uniform partition.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        theorem StochasticCalculus.itoStateTaylorRemainderApprox_ae_eq_of_fixedTime_ae_eq {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X Y : NNReal → W → ℝ} (hXY : ∀ (s : NNReal), X s =ᵐ[P] Y s) (f : ℝ → ℝ) (t : NNReal) (n : ℕ) :

                                        The accumulated state-only Taylor residual is invariant almost everywhere under fixed-time modification of the process.

                                        theorem StochasticCalculus.itoStateTaylorRemainderApprox_tendstoInMeasure_of_continuous_qv {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} [MeasureTheory.IsFiniteMeasure P] (f : ℝ → ℝ) (hf : ContDiff ℝ 2 f) (X : NNReal → W → ℝ) (t : NNReal) (q : W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hcontinuous : ∀ᵐ (omega : W) ∂P, Continuous fun (s : NNReal) => X s omega) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationApprox X t (n + 1)) Filter.atTop q) :
                                        MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => itoStateTaylorRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0

                                        For any measurable process with almost-everywhere continuous paths and quadratic variation in probability, the accumulated second-order state Taylor residual vanishes in probability. This is the Brownian-independent analytic remainder theorem needed by the general Itô reduction.

                                        A continuous modification is enough to obtain state Taylor-remainder convergence for the original representative, because both its quadratic sums and its Taylor sums are invariant on each finite partition almost everywhere.

                                        theorem StochasticCalculus.IsContinuousProcessModification.generalRemainder_tendstoInMeasure {W : Type u_1} [MeasurableSpace W] {P : MeasureTheory.Measure W} {X : NNReal → W → ℝ} [MeasureTheory.IsFiniteMeasure P] {Y : NNReal → W → ℝ} (hmod : IsContinuousProcessModification X Y P) (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) (q : W → ℝ) (hXmeas : ∀ (s : NNReal), MeasureTheory.AEStronglyMeasurable (X s) P) (hquadratic : MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => quadraticVariationApprox X t (n + 1)) Filter.atTop q) :
                                        MeasureTheory.TendstoInMeasure P (fun (n : ℕ) => generalItoRemainderApprox f X t (n + 1)) Filter.atTop fun (x : W) => 0

                                        A continuous modification upgrades the full genuinely two-variable Taylor-remainder theorem back to the original fixed-time representative.