MindFormal v1.0.0One Mind

MathFin.Foundations.ItoFormulaAdapted

Itô's formula for an Itô process with adapted coefficients #

Let B be a Brownian motion every path of which is continuous, and let σ and b be bounded processes, adapted to the natural filtration of B, every path of which is continuous. Fix a horizon T and a deterministic starting point x₀, and let

X_t = x₀ + ∫₀ᵗ b_s ds + ∫₀ᵗ σ_s dB_s

(adaptedItoProcess: the pathwise drift integral plus the continuous modification of the stochastic integral). For f twice continuously differentiable with f' and f'' bounded,

f(X_T) − f(x₀) = ∫₀ᵀ f'(X_s) σ_s dB_s + ∫₀ᵀ (f'(X_s) b_s + ½ f''(X_s) σ_s²) ds

almost surely (ito_formula_adapted).

X is a functional of the path of B, not a function of (t, B_t), so the formula does not reduce to the one for functions of Brownian motion. The proof is the classical one. On the uniform partition of [0, T] the discrete formula discrete_ito_formula splits f(X_T) − f(X_0) into four sums:

The limits in measure hold almost surely along a common subsequence of partitions. Along it all four sums converge at almost every ω, and the path-level statement ito_formula_of_tendsto finishes.

The statement is at the terminal time T, for bounded coefficients and bounded derivatives. Localisation to unbounded f', f'' or coefficients is not here.

Along one path #

The increments of a continuous path over the uniform partition are uniformly small, for a fine enough partition: uniform continuity on the compact [0, T].

theorem MathFin.ItoFormulaAdapted.abs_discreteTaylorRemainder_le_of_abs_sub_le {f f' f'' : ℝ → ℝ} (hf : ∀ (x : ℝ), HasDerivAt f (f' x) x) (hf' : ∀ (x : ℝ), HasDerivAt f' (f'' x) x) {x y η : ℝ} (hη : ∀ t ∈ Set.uIcc x y, |f'' t - f'' x| ≤ η) :
|discreteTaylorRemainder f f' f'' x y| ≤ η * (y - x) ^ 2

The second-order Taylor remainder under an oscillation bound on f'': if f'' stays within η of f''(x) between x and y, the remainder is at most η (y − x)². Two applications of the mean value inequality.

theorem MathFin.ItoFormulaAdapted.tendsto_sum_discreteTaylorRemainder (T : NNReal) {f f' f'' : ℝ → ℝ} (hf : ∀ (x : ℝ), HasDerivAt f (f' x) x) (hf' : ∀ (x : ℝ), HasDerivAt f' (f'' x) x) (hf'' : Continuous f'') {x : NNReal → ℝ} (hx : ContinuousOn x (Set.Icc 0 T)) {ν : ℕ → ℕ} (hν : Filter.Tendsto ν Filter.atTop Filter.atTop) {Q : ℝ} (hQ : ∀ᶠ (i : ℕ) in Filter.atTop, ∑ k ∈ Finset.range (ν i), (x (QuadraticVariationL2.unifPart T (ν i) (k + 1)) - x (QuadraticVariationL2.unifPart T (ν i) k)) ^ 2 ≤ Q) :
Filter.Tendsto (fun (i : ℕ) => ∑ k ∈ Finset.range (ν i), discreteTaylorRemainder f f' f'' (x (QuadraticVariationL2.unifPart T (ν i) k)) (x (QuadraticVariationL2.unifPart T (ν i) (k + 1)))) Filter.atTop (nhds 0)

The Taylor remainders vanish along a continuous path with bounded squared-increment sums. The path stays in a compact interval, on which f'' is uniformly continuous, so once the increments are small each remainder is at most η (Δx)² (abs_discreteTaylorRemainder_le_of_abs_sub_le), and the sum at most η Q.

theorem MathFin.ItoFormulaAdapted.ito_formula_of_tendsto (T : NNReal) {f f' f'' : ℝ → ℝ} (hf : ∀ (x : ℝ), HasDerivAt f (f' x) x) (hf' : ∀ (x : ℝ), HasDerivAt f' (f'' x) x) (hf'' : Continuous f'') {x a m : NNReal → ℝ} {c : ℝ} (hxam : ∀ (t : NNReal), x t = c + a t + m t) (hx : ContinuousOn x (Set.Icc 0 T)) {ν : ℕ → ℕ} (hν : Filter.Tendsto ν Filter.atTop Filter.atTop) {D I W Q : ℝ} (hD : Filter.Tendsto (fun (i : ℕ) => ∑ k ∈ Finset.range (ν i), f' (x (QuadraticVariationL2.unifPart T (ν i) k)) * (a (QuadraticVariationL2.unifPart T (ν i) (k + 1)) - a (QuadraticVariationL2.unifPart T (ν i) k))) Filter.atTop (nhds D)) (hI : Filter.Tendsto (fun (i : ℕ) => ∑ k ∈ Finset.range (ν i), f' (x (QuadraticVariationL2.unifPart T (ν i) k)) * (m (QuadraticVariationL2.unifPart T (ν i) (k + 1)) - m (QuadraticVariationL2.unifPart T (ν i) k))) Filter.atTop (nhds I)) (hW : Filter.Tendsto (fun (i : ℕ) => ∑ k ∈ Finset.range (ν i), f'' (x (QuadraticVariationL2.unifPart T (ν i) k)) * (x (QuadraticVariationL2.unifPart T (ν i) (k + 1)) - x (QuadraticVariationL2.unifPart T (ν i) k)) ^ 2) Filter.atTop (nhds W)) (hQ : ∀ᶠ (i : ℕ) in Filter.atTop, ∑ k ∈ Finset.range (ν i), (x (QuadraticVariationL2.unifPart T (ν i) (k + 1)) - x (QuadraticVariationL2.unifPart T (ν i) k)) ^ 2 ≤ Q) :
f (x T) - f (x 0) = D + I + 1 / 2 * W

Itô's formula along one path. Let x = c + a + m be a path continuous on [0, T], and f ∈ C². If, along a sequence of uniform partitions, the Riemann–Stieltjes sums of f'(x) against a and against m converge to D and I, the weighted squared-increment sums with weight f''(x) converge to W, and the squared-increment sums stay bounded, then f(x_T) − f(x_0) = D + I + ½ W. The discrete formula holds on each partition, and its Taylor remainders vanish in the limit.

Convergence in measure #

theorem MathFin.ItoFormulaAdapted.exists_seq_tendsto_ae_comp {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {g : ℕ → Ω → ℝ} {g' : Ω → ℝ} (h : MeasureTheory.TendstoInMeasure μ g Filter.atTop g') {ns : ℕ → ℕ} (hns : StrictMono ns) :
∃ (ms : ℕ → ℕ), StrictMono ms ∧ ∀ᵐ (ω : Ω) ∂μ, Filter.Tendsto (fun (i : ℕ) => g (ns (ms i)) ω) Filter.atTop (nhds (g' ω))

A sequence converging in measure has, inside any subsequence, a further subsequence converging almost everywhere.

theorem MathFin.ItoFormulaAdapted.tendstoInMeasure_of_tendsto_integral_abs {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {g : ℕ → Ω → ℝ} {g' : Ω → ℝ} (hint : ∀ (n : ℕ), MeasureTheory.Integrable (fun (ω : Ω) => g n ω - g' ω) μ) (_hg' : MeasureTheory.AEStronglyMeasurable g' μ) (h : Filter.Tendsto (fun (n : ℕ) => ∫ (ω : Ω), |g n ω - g' ω| ∂μ) Filter.atTop (nhds 0)) :

Convergence in L¹, stated on integrals of absolute differences, gives convergence in measure.

theorem MathFin.ItoFormulaAdapted.tendstoInMeasure_riemannStieltjes {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {M : NNReal → Ω → ℝ} (hM : ∀ t ≤ T, M t =ᵐ[μ] ↑↑((ItoIntegralProcessGeneral.itoProcessCLM hB T t hBmeas) φ)) {w : NNReal → Ω → ℝ} (hw_pred : MeasureTheory.IsStronglyPredictable (ItoIntegralL2.natFiltration hBmeas) w) (hw_cont : ∀ᵐ (ω : Ω) ∂μ, ContinuousOn (fun (s : NNReal) => w s ω) (Set.Icc 0 T)) {Cw : ℝ} (hw_bdd : ∀ (s : NNReal) (ω : Ω), |w s ω| ≤ Cw) :

Riemann–Stieltjes sums against M = φ●B converge in measure to the integral against M, for any process M that agrees with the Itô integral process almost surely at each time of [0, T]: the mean-square convergence tendsto_itoIntegralAgainst_stepσ, read on the sums.

theorem MathFin.ItoFormulaAdapted.tendstoInMeasure_weighted_qv_adapted {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => σ t ω) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |σ t ω| ≤ C) {X A : NNReal → Ω → ℝ} {X₀ : Ω → ℝ} {Ca : ℝ} (hA : ∀ ⦃s t : NNReal⦄, s ≤ t → ∀ (ω : Ω), |A t ω - A s ω| ≤ Ca * (↑t - ↑s)) (hX : ∀ t ≤ T, X t =ᵐ[μ] fun (ω : Ω) => X₀ ω + A t ω + ↑↑((ItoIntegralProcessGeneral.itoProcessCLM hB T t hBmeas) (processToLp T hBmeas hadap hcont hbdd)) ω) (hX_meas : ∀ (t : NNReal), MeasureTheory.AEStronglyMeasurable (X t) μ) {w : NNReal → Ω → ℝ} (hw_adap : ∀ (s : NNReal), MeasureTheory.StronglyMeasurable (w s)) (hw_cont : ∀ᵐ (ω : Ω) ∂μ, ContinuousOn (fun (s : NNReal) => w s ω) (Set.Icc 0 T)) {Cw : ℝ} (hw_bdd : ∀ (s : NNReal) (ω : Ω), |w s ω| ≤ Cw) :
MeasureTheory.TendstoInMeasure μ (fun (n : ℕ) (ω : Ω) => ∑ k ∈ Finset.range n, w (QuadraticVariationL2.unifPart T n k) ω * (X (QuadraticVariationL2.unifPart T n (k + 1)) ω - X (QuadraticVariationL2.unifPart T n k) ω) ^ 2) Filter.atTop fun (ω : Ω) => ∫ (s : NNReal) in Set.Ioc 0 T, w s ω * σ s ω ^ 2 ∂ItoIntegralL2.timeMeasure

The weighted quadratic variation of an Itô process converges in measure. The L¹ convergence tendsto_weighted_qv_adapted, for a process whose time sections are measurable.

The process #

noncomputable def MathFin.ItoFormulaAdapted.adaptedItoProcess {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) (x₀ : ℝ) (b : NNReal → Ω → ℝ) (t : NNReal) (ω : Ω) :

The Itô process X_t = x₀ + ∫₀ᵗ b ds + ∫₀ᵗ φ dB with drift rate b and integrand class φ: the pathwise drift integral plus the continuous modification, at horizon T, of the stochastic integral. It is meant for t ≤ T. For a Brownian motion with continuous paths and a bounded rate with continuous paths, almost every path is continuous on [0, T] (ae_continuousOn_adaptedItoProcess).

Equations
Instances For
    theorem MathFin.ItoFormulaAdapted.adaptedItoProcess_ae_eq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (x₀ : ℝ) {t : NNReal} (ht : t ≤ T) :
    adaptedItoProcess T hBmeas φ x₀ b t =ᵐ[μ] fun (ω : Ω) => x₀ + AdaptedDrift.driftPath b t ω + ↑↑((ItoIntegralProcessGeneral.itoProcessCLM hB T t hBmeas) φ) ω

    At each time up to T the process is x₀ plus the drift plus the Itô integral, almost surely.

    theorem MathFin.ItoFormulaAdapted.adaptedItoProcess_zero {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (x₀ : ℝ) :
    adaptedItoProcess T hBmeas φ x₀ b 0 =ᵐ[μ] fun (x : Ω) => x₀

    The process starts at x₀, almost surely.

    theorem MathFin.ItoFormulaAdapted.ae_continuousOn_adaptedItoProcess {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) :
    ∀ᵐ (ω : Ω) ∂μ, ContinuousOn (fun (t : NNReal) => adaptedItoProcess T hBmeas φ x₀ b t ω) (Set.Icc 0 T)

    Almost every path of the process is continuous on [0, T].

    theorem MathFin.ItoFormulaAdapted.adaptedItoProcess_isStronglyPredictable {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) :

    The process is predictable for the natural filtration of B.

    theorem MathFin.ItoFormulaAdapted.comp_adaptedItoProcess_isStronglyPredictable {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) {g : ℝ → ℝ} (hg : Continuous g) :
    MeasureTheory.IsStronglyPredictable (ItoIntegralL2.natFiltration hBmeas) fun (s : NNReal) (ω : Ω) => g (adaptedItoProcess T hBmeas φ x₀ b s ω)

    A continuous function of the process is predictable.

    theorem MathFin.ItoFormulaAdapted.comp_adaptedItoProcess_mul_isStronglyPredictable {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => σ t ω) (φ : ↥(MeasureTheory.Lp ℝ 2 (ItoIntegralCLM.trimMeasure_T T hBmeas))) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) {g : ℝ → ℝ} (hg : Continuous g) :
    MeasureTheory.IsStronglyPredictable (ItoIntegralL2.natFiltration hBmeas) fun (s : NNReal) (ω : Ω) => g (adaptedItoProcess T hBmeas φ x₀ b s ω) * σ s ω

    A continuous function of the process, times an adapted process with continuous paths, is predictable.

    theorem MathFin.ItoFormulaAdapted.abs_comp_mul_le {Ω : Type u_1} {g : ℝ → ℝ} {C₁ C : ℝ} (hg : ∀ (x : ℝ), |g x| ≤ C₁) {σ : NNReal → Ω → ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |σ t ω| ≤ C) (X : NNReal → Ω → ℝ) (s : NNReal) (ω : Ω) :
    |g (X s ω) * σ s ω| ≤ C₁ * C

    A product of functions bounded by C₁ and C is bounded by C₁ C.

    The formula #

    theorem MathFin.ItoFormulaAdapted.ito_formula_adapted_against {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => σ t ω) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |σ t ω| ≤ C) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) {f f' f'' : ℝ → ℝ} (hf : ∀ (x : ℝ), HasDerivAt f (f' x) x) (hf' : ∀ (x : ℝ), HasDerivAt f' (f'' x) x) (hf'' : Continuous f'') {C₁ C₂ : ℝ} (hf1 : ∀ (x : ℝ), |f' x| ≤ C₁) (hf2 : ∀ (x : ℝ), |f'' x| ≤ C₂) :
    (fun (ω : Ω) => f (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b T ω) - f x₀) =ᵐ[μ] fun (ω : Ω) => ↑↑((ItoIntegralAgainstMartingale.itoIntegralAgainstCLM hB T hBmeas (processToLp T hBmeas hadap hcont hbdd)) (AdaptedRiemannStieltjes.weightLp T hBmeas (processToLp T hBmeas hadap hcont hbdd) ⋯ ⋯)) ω + ∫ (s : NNReal) in Set.Ioc 0 T, f' (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b s ω) * b s ω + 1 / 2 * (f'' (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b s ω) * σ s ω ^ 2) ∂ItoIntegralL2.timeMeasure

    Itô's formula, with the stochastic integral taken against M = σ●B. For X = x₀ + ∫ b ds + ∫ σ dB with σ, b bounded, adapted and path-continuous, and f ∈ C² with f', f'' bounded, almost surely

    f(X_T) − f(x₀) = ∫₀ᵀ f'(X) dM + ∫₀ᵀ (f'(X_s) b_s + ½ f''(X_s) σ_s²) ds,

    where ∫ f'(X) dM is the integral against M of the class of the weight f'(X) (weightLp).

    Along a subsequence of the uniform partitions the Riemann–Stieltjes sums against M, the weighted quadratic variation and the quadratic variation converge almost surely. On such a path, where X is also continuous, ito_formula_of_tendsto applies.

    theorem MathFin.ItoFormulaAdapted.ito_formula_adapted {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : ProbabilityTheory.IsPreBrownianReal B μ) (T : NNReal) (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => B t ω) {σ : NNReal → Ω → ℝ} (hadap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (σ t)) (hcont : ∀ (ω : Ω), Continuous fun (t : NNReal) => σ t ω) {C : ℝ} (hbdd : ∀ (t : NNReal) (ω : Ω), |σ t ω| ≤ C) {b : NNReal → Ω → ℝ} (hb_adap : ∀ (t : NNReal), MeasureTheory.StronglyMeasurable (b t)) (hb_cont : ∀ (ω : Ω), Continuous fun (s : NNReal) => b s ω) {Cb : ℝ} (hb_bdd : ∀ (s : NNReal) (ω : Ω), |b s ω| ≤ Cb) (x₀ : ℝ) {f f' f'' : ℝ → ℝ} (hf : ∀ (x : ℝ), HasDerivAt f (f' x) x) (hf' : ∀ (x : ℝ), HasDerivAt f' (f'' x) x) (hf'' : Continuous f'') {C₁ C₂ : ℝ} (hf1 : ∀ (x : ℝ), |f' x| ≤ C₁) (hf2 : ∀ (x : ℝ), |f'' x| ≤ C₂) :
    (fun (ω : Ω) => f (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b T ω) - f x₀) =ᵐ[μ] fun (ω : Ω) => ↑↑((ItoIntegralCLM.itoIntegralCLM_T hB T hBmeas) (processToLpPredictable T hBmeas ⋯ ⋯)) ω + ∫ (s : NNReal) in Set.Ioc 0 T, f' (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b s ω) * b s ω + 1 / 2 * (f'' (adaptedItoProcess T hBmeas (processToLp T hBmeas hadap hcont hbdd) x₀ b s ω) * σ s ω ^ 2) ∂ItoIntegralL2.timeMeasure

    Itô's formula for an Itô process with adapted coefficients. Let B be a Brownian motion with every path continuous, σ and b bounded, adapted to the natural filtration of B and with every path continuous, and X = x₀ + ∫ b ds + ∫ σ dB (adaptedItoProcess). For f ∈ C² with f' and f'' bounded, almost surely

    f(X_T) − f(x₀) = ∫₀ᵀ f'(X_s) σ_s dB_s + ∫₀ᵀ (f'(X_s) b_s + ½ f''(X_s) σ_s²) ds.

    The stochastic integral is the Itô integral at horizon T of the class of the bounded predictable process f'(X)·σ.