Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Finite-Range Optional Stopping Identity

Proved
LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped_readable

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

functional-inequalitieskls-conjecturekls-modularkls-readablelog-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.

Original Lean declaration header

Within namespace LevyStochCalc.Brownian.Ito. Shown in its original module context. Proof omitted.

theorem stochasticIntegralBrownian_stopped
    (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 ω)

Module navigation

Module: LevyStochCalc/Brownian/ItoOptionalStopping.

Definition modules: LevyStochCalc/Brownian/ItoL2CompletionMaster, LevyStochCalc/Brownian/Filtered, LevyStochCalc/Probability/StoppedProgressive, LevyStochCalc/Brownian/Construction, LevyStochCalc/Probability/Progressive.

Selected supporting theorems: exists_stochasticIntegralBrownian_finsetSum, lintegral_energy_lt_top_of_bound, mul_stochasticIntegralBrownian_indIoc, progressivelyMeasurable_mul_indIoc, stochasticIntegralBrownian_indicator_Ioc.

Previous: stopped_eq_sub_sum.

Source excerpt, lines 240–255 · Frozen source 408915f.

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)
open MeasureTheory ProbabilityTheory
open scoped NNReal ENNReal
universe u
variable {Ω : Type u} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P]
variable (τ : Ω → WithTop ℝ)
variable (W : LevyStochCalc.Brownian.BrownianMotion P)
  (ℱ : MeasureTheory.Filtration ℝ ‹MeasurableSpace Ω›) (hℱ : LevyStochCalc.Brownian.IsBrownianFiltration W ℱ)
include hℱ
Formal statement

theorem LevyStochCalc.Brownian.Ito.stochasticIntegralBrownian_stopped_readable
    (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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me