Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.1, p. 16 — µ ∈ 𝒫₀(ℤ) on [−T, T] is the law of S_τ for some τ ∈ 𝒯_T iff (8); then a randomized Root time embeds µ

Proved
CasinoCPT.Embedding.theorem_3_1

by mikedeng1 · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1random-walkroot-stopping-timeskorokhod-embeddingstopping-time

Let SSS be a standard symmetric random walk on a filtered probability space (Ω,F,P;(Ft))(\Omega,\mathcal F,P;(\mathcal F_t))(Ω,F,P;(Ft​)) whose F0\mathcal F_0F0​ carries a uniform random variable on [0,1][0,1][0,1]. Let T≥1T\ge1T≥1 and let μ∈P0(Z)\mu\in\mathcal P_0(\mathbb Z)μ∈P0​(Z) be a centred law with μ([−T,T])=1\mu([-T,T])=1μ([−T,T])=1. Then there exists a stopping time τ∈TT\tau\in\mathcal T_Tτ∈TT​ such that Sτ∼μS_\tau\sim\muSτ​∼μ if and only if

Uμ(x)≤UT−1μ(x+1)+UT−1μ(x−1)2,x=−(T−2),−(T−4),…,T−4,T−2.(8)U_\mu(x)\le\frac{U^\mu_{T-1}(x+1)+U^\mu_{T-1}(x-1)}{2},\qquad x=-(T-2),-(T-4),\dots,T-4,T-2.\tag{8}Uμ​(x)≤2UT−1μ​(x+1)+UT−1μ​(x−1)​,x=−(T−2),−(T−4),…,T−4,T−2.(8)

Moreover, in this case there exists a randomized Root stopping time τR(b,r)∈TT\tau_R(b,r)\in\mathcal T_TτR​(b,r)∈TT​ such that SτR(b,r)∼μS_{\tau_R(b,r)}\sim\muSτR​(b,r)​∼μ.

Here UμU_\muUμ​ is the potential of μ\muμ, UtμU^\mu_tUtμ​ are the evolutional functions (6), and TT\mathcal T_TTT​ is the set of all stopping times bounded by TTT, path-dependent and randomized ones included. The theorem identifies the set of laws a gambler can realise by leaving the casino before time TTT. This turns the gambler's optimal stopping problem into an optimisation over laws subject to the explicit constraints (8), and it shows that randomized Root stopping times suffice.

Formalization Note. The statement quantifies over every casino space and every stopping time on it. The "moreover" clause asserts a barrier bbb, boundary probabilities rrr and a family of independent F0\mathcal F_0F0​-measurable coins with the laws of (7), whose Root time lies in TT\mathcal T_TTT​ (an (Ft)(\mathcal F_t)(Ft​)-stopping time with τR≤T\tau_R\le TτR​≤T everywhere) and embeds μ\muμ. It does not assert that every such coin family gives τR≤T\tau_R\le TτR​≤T at every sample point: a coin of probability one may be altered on a null set, which can only change τR\tau_RτR​ on a null set. The index set of (8) is the set of integers xxx with ∣x∣≤T−2|x|\le T-2∣x∣≤T−2 and x+Tx+Tx+T even; it is empty for T=1T=1T=1.

Preamble
import Mathlib
import Definitions.Def_CasinoCPT_Embedding_Model
Formal statement
namespace CasinoCPT.Embedding

open MeasureTheory ProbabilityTheory

/-- Theorem 3.1, p. 16: let `T ≥ 1` and `μ ∈ 𝒫₀(ℤ)` with `μ([-T, T]) = 1`. There is a stopping
time `τ ∈ 𝒯_T` with `S_τ ∼ μ` if and only if condition (8) holds. Moreover, in this case there
is a randomized Root stopping time `τ_R(b, r) ∈ 𝒯_T` with `S_{τ_R(b, r)} ∼ μ`. -/
theorem theorem_3_1 {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
    (F : Filtration ℕ mΩ) (S : ℕ → Ω → ℤ) (ξ : Ω → ℝ) (hS : IsCasinoSpace P F S ξ)
    (T : ℕ) (hT : 1 ≤ T) (μ : Measure ℤ) (hμ : InP0Z μ)
    (hsupp : μ (Set.Icc (-(T : ℤ)) T) = 1) :
    ((∃ τ : Ω → ℕ∞, IsAdmissible F T τ ∧ P.map (stoppedValue S τ) = μ) ↔ Cond8 μ T) ∧
      (Cond8 μ T → ∃ (b : ℤ → ℕ) (r : ℤ → ℝ) (coin : ℕ → ℤ → Ω → Bool),
        IsRootBarrier b r ∧ IsRootCoins P F b r coin ∧
          IsAdmissible F T (rootTime S b coin) ∧
          P.map (stoppedValue S (rootTime S b coin)) = μ) := by sorry

end CasinoCPT.Embedding
Source
Hu, Obłój & Zhou, When to Quit Gambling, if You Must!, arXiv:2102.03157v1, p. 16, Theorem 3.1
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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