The Itô formula f(X_T) − f(X₀) = ∫₀ᵀ f'(X_s) dX_s + ½∫₀ᵀ f''(X_s)σ² ds for X_t = X₀ + b·t + σ B_t and general C³ exponential-growth f, the diffusion ∫f'(X)σ dB the genuine continuous Itô integral. Generalizes ito_formula_gbm (f = S₀ exp) to arbitrary f.
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun s => B s ω) → ∀ (T : NNReal) (X₀ b σ : ℝ) {f f' f'' f''' : ℝ → ℝ}, (∀ (x : ℝ), HasDerivAt f (f' x) x) → (∀ (x : ℝ), HasDerivAt f' (f'' x) x) → (∀ (x : ℝ), HasDerivAt f'' (f''' x) x) → ∀ {C lam : ℝ}, 0 ≤ lam → (∀ (x : ℝ), |f' x| ≤ C * Real.exp (lam * |x|)) → (∀ (x : ℝ), |f'' x| ≤ C * Real.exp (lam * |x|)) → (∀ (x : ℝ), |f''' x| ≤ C * Real.exp (lam * |x|)) → ∃ gfx, (↑↑gfx =ᵐ[trimMeasure T hBmeas] fun z => σ * f' (X₀ + b * ↑z.1 + σ * B z.1 z.2)) ∧ (fun ω => f (X₀ + b * ↑T + σ * B T ω) - f (X₀ + b * 0 + σ * B 0 ω)) =ᵐ[μ] fun ω => ↑↑((itoIntegralCLM hB T hBmeas) gfx) ω + ∫ (s : NNReal) in Set.Ioc 0 T, f' (X₀ + b * ↑s + σ * B s ω) * b + 1 / 2 * (f'' (X₀ + b * ↑s + σ * B s ω) * σ ^ 2) ∂timeMeasureItô formula for a constant-coefficient Itô process X_t = X₀ + b·t + σ B_t. For a C³ function f whose derivatives are of at-most-exponential growth (|f^{(k)} x| ≤ C·exp(λ|x|), k = 1,2,3),
f(X_T) − f(X₀) =ᵐ itoIntegralCLM gfx + ∫₀ᵀ (f'(X_s)·b + ½·f''(X_s)·σ²) ds,
with the trim-L² integrand gfx named: gfx =ᵐ [σ·f'(X_·)], the diffusion coefficient of X, carried by the genuine continuous Itô integral itoIntegralCLM. Together with the drift's f'(X_s)·b term this is f(X_T) − f(X₀) = ∫₀ᵀ f'(X_s) dX_s + ½∫₀ᵀ f''(X_s)·σ² ds. The instantiation of ito_formula_td_localized at the time-localized inner map (t, x) ↦ X₀ + b·φₙ(t) + σx; the time cutoff φₙ erases itself from the naming conjunct because the trim measure charges only (0, T] × Ω, where φₙ is the identity.