Ito's formula for a GENERAL C^2 function f (partials f_t,f_x,f_xx given as HasDerivAt witnesses, with f, f_t, f_x, f_xx jointly continuous -- NO growth or boundedness hypothesis), via stopping-time localization (Summit C). The compensated residual M_t = f(t,B_t) - f(0,B_0) - integral_0^t (f_t + (1/2) f_xx)(s,B_s) ds is everywhere-continuous, satisfies the Ito identity by construction, and is a CONTINUOUS LOCAL MARTINGALE in explicit form: there is a localizing sequence sigma_N for the null-augmented Brownian filtration and, for each N, a continuous TRUE martingale M_N for that filtration with M = M_N a.s. on {t <= sigma_N}. The statement asserts only that such a sequence exists; the proof builds it as sigma_N = min(tau_N, N) with tau_N the Brownian exit times from [-N, N], and takes M_N to be M stopped at sigma_N. That process is bounded (|B| <= N and t <= N up to sigma_N, where the continuous f, f_t, f_xx are bounded on a compact square) and a local martingale, because it is indistinguishable from the stopped continuous local martingale of Ito's formula for B regarded as an Ito process (sigma = 1, b = 0, horizon N); a bounded local martingale is a martingale. No derivative of order above two is assumed.
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun s => B s ω) → ∀ {f_t f_xx : ℝ → ℝ → ℝ}, (Continuous fun p => f_t p.1 p.2) → (Continuous fun p => f_xx p.1 p.2) → ∀ (t : NNReal), StronglyMeasurable fun ω => ∫ (s : NNReal) in Set.Ioc 0 t, f_t (↑s) (B s ω) + 1 / 2 * f_xx (↑s) (B s ω) ∂timeMeasureThe drift primitive is adapted. D_t = ∫₀ᵗ (f_t + ½f_xx)(s, B_s) ds is 𝓕_t-measurable: clamping the integrand's time to [0,t] makes every slice 𝓕_t-measurable (B_{min s t} with min s t ≤ t), so the clamped integrand is jointly strongly measurable (Carathéodory) and the integral over s is 𝓕_t-measurable.