Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9.6 — a nonnegative process with nonnegative drift above ε_n and excited squares does not converge to 0 (Pemantle)

Open
StochApproxDyn.WeakAPT.Supplement.nonneg_process_not_tendsto_zero

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

martingalesp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1probabilitystochastic-approximation

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space with a filtration (Fn)(\mathcal F_n)(Fn​). Let (Sn)(S_n)(Sn​) be a nonnegative stochastic process, Sn=S0+∑i=1nXiS_n=S_0+\sum_{i=1}^nX_iSn​=S0​+∑i=1n​Xi​, where S0S_0S0​ is F0\mathcal F_0F0​-measurable and XnX_nXn​ is Fn\mathcal F_nFn​-measurable. Let (γn)(\gamma_n)(γn​) be positive numbers with ∑nγn2<∞\sum_n\gamma_n^2<\infty∑n​γn2​<∞ and let αn=∑i=n+1∞γi2\alpha_n=\sum_{i=n+1}^\infty\gamma_i^2αn​=∑i=n+1∞​γi2​. Assume there exist a sequence 0≤εn=o(αn)0\le\varepsilon_n=o(\sqrt{\alpha_n})0≤εn​=o(αn​​), constants a1>0a_1>0a1​>0, a2>0a_2>0a2​>0 and an integer N0N_0N0​ such that for all n≥N0n\ge N_0n≥N0​:

  1. ∣Xn∣=o(αn)|X_n|=o(\sqrt{\alpha_n})∣Xn​∣=o(αn​​);
  2. 1{Sn>εn}E(Xn+1∣Fn)≥0\mathbf 1_{\{S_n>\varepsilon_n\}}E(X_{n+1}\mid\mathcal F_n)\ge01{Sn​>εn​}​E(Xn+1​∣Fn​)≥0;
  3. E(Sn+12−Sn2∣Fn)≥a1γn+12E(S_{n+1}^2-S_n^2\mid\mathcal F_n)\ge a_1\gamma_{n+1}^2E(Sn+12​−Sn2​∣Fn​)≥a1​γn+12​;
  4. E(Xn+12∣Fn)≤a2γn+12E(X_{n+1}^2\mid\mathcal F_n)\le a_2\gamma_{n+1}^2E(Xn+12​∣Fn​)≤a2​γn+12​.

Then

P(lim⁡n→∞Sn=0)=0.P\Big(\lim_{n\to\infty}S_n=0\Big)=0.P(n→∞lim​Sn​=0)=0.

This is the probabilistic core of Theorem 9.1 in the case ∑γn2<∞\sum\gamma_n^2<\infty∑γn2​<∞, adapted from Pemantle (1992, Lemma 5.5).

Formalization Note The o(⋅)o(\cdot)o(⋅) conditions are genuine limits: for every c>0c>0c>0, eventually εn≤cαn\varepsilon_n\le c\sqrt{\alpha_n}εn​≤cαn​​ and ∣Xn(ω)∣≤cαn|X_n(\omega)|\le c\sqrt{\alpha_n}∣Xn​(ω)∣≤cαn​​ for every ω\omegaω. Since SnS_nSn​ is Fn\mathcal F_nFn​-measurable, E(Sn+12−Sn2∣Fn)=2SnE(Xn+1∣Fn)+E(Xn+12∣Fn)E(S_{n+1}^2-S_n^2\mid\mathcal F_n)=2S_nE(X_{n+1}\mid\mathcal F_n)+E(X_{n+1}^2\mid\mathcal F_n)E(Sn+12​−Sn2​∣Fn​)=2Sn​E(Xn+1​∣Fn​)+E(Xn+12​∣Fn​), and condition 3 is written in that form, which needs no integrability of SnS_nSn​.

Differences from the source:

  • reading: "{Sn}\{S_n\}{Sn​} a stochastic process … XnX_nXn​ is Fn\mathcal F_nFn​ measurable" → S0S_0S0​ is also F0\mathcal F_0F0​-measurable; reason: the conditions given Fn\mathcal F_nFn​ treat SnS_nSn​ as known.
  • reading: "(i) ∣Xn∣=o(αn)|X_n|=o(\sqrt{\alpha_n})∣Xn​∣=o(αn​​)" → uniformly in ω\omegaω; reason: the proof uses the deterministic bound ∣Xn∣≤b1αn|X_n|\le\sqrt{b_1\alpha_n}∣Xn​∣≤b1​αn​​ for all nnn beyond a fixed N0N_0N0​.
  • encoding: E(Sn+12−Sn2∣Fn)E(S_{n+1}^2-S_n^2\mid\mathcal F_n)E(Sn+12​−Sn2​∣Fn​) → 2SnE(Xn+1∣Fn)+E(Xn+12∣Fn)2S_nE(X_{n+1}\mid\mathcal F_n)+E(X_{n+1}^2\mid\mathcal F_n)2Sn​E(Xn+1​∣Fn​)+E(Xn+12​∣Fn​); reason: equal for Fn\mathcal F_nFn​-measurable SnS_nSn​, and avoids Lean's value 000 for the conditional expectation of a non-integrable variable.
Preamble
import Mathlib

open MeasureTheory Filter
Formal statement
namespace StochApproxDyn.WeakAPT.Supplement

/-- Lemma 9.6 (Benaïm 1999, pp. 55–56; adapted from Pemantle 1992, Lemma 5.5). Let `{S_n}` be a
nonnegative stochastic process, `S_n = S_0 + ∑_{i=1}^n X_i`, where `X_n` is `ℱ_n`-measurable (and
`S_0` is `ℱ_0`-measurable). Let `{γ_n}` be a sequence of positive numbers with
`∑_n γ_n² < ∞` and let `α_n = ∑_{i=n+1}^∞ γ_i²`. Assume there exist a sequence
`0 ≤ ε_n = o(√α_n)`, constants `a₁ > 0`, `a₂ > 0` and an integer `N₀` such that for all
`n ≥ N₀`:
(i) `|X_n| = o(√α_n)`;
(ii) `1_{S_n > ε_n} E(X_{n+1} | ℱ_n) ≥ 0`;
(iii) `E(S_{n+1}² − S_n² | ℱ_n) ≥ a₁ γ_{n+1}²`;
(iv) `E(X_{n+1}² | ℱ_n) ≤ a₂ γ_{n+1}²`.
Then `P(lim_{n → ∞} S_n = 0) = 0`.

Clause (i) is read uniformly in `ω` (the deterministic bound `|X_n| ≤ c_n` with `c_n = o(√α_n)`
used in the proof). In (iii) the conditional expectation of `S_{n+1}² − S_n² = 2 S_n X_{n+1} +
X_{n+1}²` is written as `2 S_n E(X_{n+1} | ℱ_n) + E(X_{n+1}² | ℱ_n)`, its value for the
`ℱ_n`-measurable `S_n` (this needs no integrability of `S_n`). -/
theorem nonneg_process_not_tendsto_zero {Ω : Type*} {m0 : MeasurableSpace Ω}
    (P : Measure Ω) [IsProbabilityMeasure P] (ℱ : Filtration ℕ m0)
    (S X : ℕ → Ω → ℝ) (hS0 : StronglyMeasurable[ℱ 0] (S 0))
    (hX : ∀ n : ℕ, StronglyMeasurable[ℱ (n + 1)] (X (n + 1)))
    (hSX : ∀ n ω, S (n + 1) ω = S n ω + X (n + 1) ω) (hSnn : ∀ n ω, 0 ≤ S n ω)
    (γ : ℕ → ℝ) (hγ : ∀ n : ℕ, 0 < γ (n + 1)) (hγsum : Summable (fun n : ℕ => γ (n + 1) ^ 2))
    (ε : ℕ → ℝ) (hε0 : ∀ n, 0 ≤ ε n)
    (hεo : ∀ c : ℝ, 0 < c → ∀ᶠ n in atTop, ε n ≤ c * Real.sqrt (∑' i : ℕ, γ (n + 1 + i) ^ 2))
    (a₁ a₂ : ℝ) (ha₁ : 0 < a₁) (ha₂ : 0 < a₂) (N₀ : ℕ)
    (h_i : ∀ c : ℝ, 0 < c → ∀ᶠ n in atTop, ∀ ω,
      |X n ω| ≤ c * Real.sqrt (∑' i : ℕ, γ (n + 1 + i) ^ 2))
    (h_ii : ∀ n, N₀ ≤ n → ∀ᵐ ω ∂P, ε n < S n ω → 0 ≤ (P[X (n + 1) | ℱ n]) ω)
    (h_iii : ∀ n, N₀ ≤ n → ∀ᵐ ω ∂P,
      a₁ * γ (n + 1) ^ 2 ≤ 2 * S n ω * (P[X (n + 1) | ℱ n]) ω +
        (P[fun ω => X (n + 1) ω ^ 2 | ℱ n]) ω)
    (h_iv : ∀ n, N₀ ≤ n → ∀ᵐ ω ∂P,
      (P[fun ω => X (n + 1) ω ^ 2 | ℱ n]) ω ≤ a₂ * γ (n + 1) ^ 2) :
    P {ω | Tendsto (fun n => S n ω) atTop (nhds 0)} = 0 := by sorry

end StochApproxDyn.WeakAPT.Supplement
Source
Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, LNM 1709 (1999), pp. 55–56, Lemma 9.6

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