Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite-Range Optional Stopping Identity

Proved
LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped_modular

by Lazyfill · Oct 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularlog-concavevendored-levystochcalc

This proves optional stopping for a stopping time whose values below the horizon form a finite set.

Let (Ω,A,P)(\Omega,\mathcal A,P)(Ω,A,P) be a probability space, let τ:Ω→WithTop⁡(R)\tau:\Omega\to\operatorname{WithTop}(\mathbb R)τ:Ω→WithTop(R) be an F\mathcal FF-stopping time, and let WWW and F\mathcal FF form a Brownian motion and Brownian filtration. Let HHH be jointly measurable and progressively measurable, with

∫Ω∫[0,T]∥H(ω,s)∥+2 ds dP<⊤\int_\Omega\int_{[0,T]}\|H(\omega,s)\|_+^2\,ds\,dP<\top∫Ω​∫[0,T]​∥H(ω,s)∥+2​dsdP<⊤

for every T>0T>0T>0. Fix t>0t>0t>0 and a finite set J⊂RJ\subset\mathbb RJ⊂R such that every c∈Jc\in Jc∈J satisfies 0≤c0\le c0≤c and c<tc<tc<t, and assume that for every ω\omegaω either τ(ω)=c\tau(\omega)=cτ(ω)=c for some c∈Jc\in Jc∈J or t≤τ(ω)t\le\tau(\omega)t≤τ(ω).

Then, PPP-almost everywhere,

It[stopped⁡(τ,H)](ω)=It[H](ω)−∑c∈JhitInd⁡(τ,c,ω)(It[H](ω)−Ic[H](ω)).I_t[\operatorname{stopped}(\tau,H)](\omega) = I_t[H](\omega) -\sum_{c\in J}\operatorname{hitInd}(\tau,c,\omega)\bigl(I_t[H](\omega)-I_c[H](\omega)\bigr).It​[stopped(τ,H)](ω)=It​[H](ω)−c∈J∑​hitInd(τ,c,ω)(It​[H](ω)−Ic​[H](ω)).

The stopped integrand is equipped with the measurability, progressive-measurability, and finite-energy witnesses generated from the hypotheses.

This is the finite-range identity from which the general local property is obtained by approximation.

Superseded upload. This snapshot was replaced by LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped_readable: open the readable replacement. The replacement preserves the frozen source and mathematical statement, with a compact declaration context. This historical node remains available for existing imports.

Preamble
import Definitions.Def_KLSModular_LevyStochCalc_Brownian_ItoOptionalStopping

/-
Copyright (c) 2026 Christian Garry. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Christian Garry
-/
-- Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (upstream path LevyStochCalc/Brownian/ItoOptionalStopping.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
section
namespace LevyStochCalc
end LevyStochCalc
open LevyStochCalc
section
namespace LevyStochCalc.Brownian
end LevyStochCalc.Brownian
open LevyStochCalc LevyStochCalc.Brownian
section
namespace LevyStochCalc.Brownian.Ito
end LevyStochCalc.Brownian.Ito
open LevyStochCalc LevyStochCalc.Brownian LevyStochCalc.Brownian.Ito
open MeasureTheory ProbabilityTheory
open scoped NNReal ENNReal
universe u
variable {Ω : Type u} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
section Stopped
variable (τ : Ω → WithTop ℝ)
section Identity
variable (W : LevyStochCalc.Brownian.BrownianMotion P)
  (ℱ : Filtration ℝ ‹MeasurableSpace Ω›) (hℱ : IsBrownianFiltration W ℱ)
include hℱ
Formal statement

theorem LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped_modular
    (hτ : MeasureTheory.IsStoppingTime ℱ τ)
    {H : Ω → ℝ → ℝ} (hm : Measurable (Function.uncurry H))
    (hp : Probability.ProgressivelyMeasurable ℱ H)
    (hq : ∀ T, 0 < T → ∫⁻ ω, ∫⁻ s in Set.Icc (0 : ℝ) T,
      (‖H ω s‖₊ : ℝ≥0∞) ^ 2 ∂volume ∂P < ⊤)
    {t : ℝ} (ht : 0 < t) (J : Finset ℝ)
    (hJ0 : ∀ c ∈ J, 0 ≤ c) (hJt : ∀ c ∈ J, c < t)
    (hτJ : ∀ ω, (∃ c ∈ J, τ ω = ((c : ℝ) : WithTop ℝ)) ∨ ((t : ℝ) : WithTop ℝ) ≤ τ ω) :
    stochasticIntegralBrownian W ℱ hℱ (Probability.stopped τ H)
        (Probability.measurable_uncurry_stopped hτ hm)
        (Probability.ProgressivelyMeasurable.stopped hτ hp)
        (energy_lt_top_of_abs_le (fun ω s => Probability.abs_stopped_le τ H ω s) hq) t
      =ᵐ[P] fun ω => stochasticIntegralBrownian W ℱ hℱ H hm hp hq t ω
        - ∑ c ∈ J, hitInd τ c ω * (stochasticIntegralBrownian W ℱ hℱ H hm hp hq t ω
            - stochasticIntegralBrownian W ℱ hℱ H hm hp hq c ω) := by sorry
Source
Lean source: https://github.com/cgarryZA/LevyStochCalc/blob/984dbf0b790031eac05d56fe5a84b65e15e1e932/LevyStochCalc/Brownian/ItoOptionalStopping.lean#L238-L334 (repository human-ai-mathematics/kls-lean, commit 408915f, module `LevyStochCalc.Brownian.ItoOptionalStopping`, declaration `LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped`; the repository is private at upload time). Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (Apache-2.0; upstream copyright notice retained in the Lean text).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me