Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.6 — a Lyapounov function with the Kushner–Yin moment conditions makes a Robbins–Monro algorithm almost surely bounded

Open
StochApproxDyn.WeakAPT.Supplement.robbinsMonro_bounded_of_lyapunov

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

lyapunov-functionp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1robbins-monrostabilitystochastic-approximation

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space with a filtration (Fn)(\mathcal F_n)(Fn​), and let

xn+1−xn=γn+1(F(xn)+Un+1)x_{n+1}-x_n=\gamma_{n+1}\big(F(x_n)+U_{n+1}\big)xn+1​−xn​=γn+1​(F(xn​)+Un+1​)

be a Robbins–Monro algorithm in Rm\mathbb R^mRm (§4.2): FFF is continuous, (γn)(\gamma_n)(γn​) is a deterministic step sequence (γn≥0\gamma_n\ge0γn​≥0, ∑γn=∞\sum\gamma_n=\infty∑γn​=∞, γn→0\gamma_n\to0γn​→0), UnU_nUn​ is Fn\mathcal F_nFn​-measurable and integrable with E(Un+1∣Fn)=0E(U_{n+1}\mid\mathcal F_n)=0E(Un+1​∣Fn​)=0, and x0x_0x0​ is F0\mathcal F_0F0​-measurable. Suppose there are a C2C^2C2 function V:Rm→R+V:\mathbb R^m\to\mathbb R_+V:Rm→R+​ with bounded second derivatives and a nonnegative function k:Rm→R+k:\mathbb R^m\to\mathbb R_+k:Rm→R+​ such that:

  1. ⟨∇V(x),F(x)⟩≤−k(x)\langle\nabla V(x),F(x)\rangle\le-k(x)⟨∇V(x),F(x)⟩≤−k(x) for all xxx;
  2. V(x)→+∞V(x)\to+\inftyV(x)→+∞ as ∥x∥→∞\|x\|\to\infty∥x∥→∞;
  3. there are constants K,R>0K,R>0K,R>0 such that E(∥Un+1∥2+∥F(xn)∥2∣Fn)≤K k(xn)E(\|U_{n+1}\|^2+\|F(x_n)\|^2\mid\mathcal F_n)\le K\,k(x_n)E(∥Un+1​∥2+∥F(xn​)∥2∣Fn​)≤Kk(xn​) on {∥xn∥≥R}\{\|x_n\|\ge R\}{∥xn​∥≥R} for every nnn, and
E(∑nγn+12(∥Un+1∥2+∥F(xn)∥2)1{∥xn∥≤R})<∞;E\Big(\sum_n\gamma_{n+1}^2\big(\|U_{n+1}\|^2+\|F(x_n)\|^2\big)\mathbf 1_{\{\|x_n\|\le R\}}\Big)<\infty;E(n∑​γn+12​(∥Un+1​∥2+∥F(xn​)∥2)1{∥xn​∥≤R}​)<∞;
  1. E(k(xn))<∞E(k(x_n))<\inftyE(k(xn​))<∞ for every nnn, and E(V(x0))<∞E(V(x_0))<\inftyE(V(x0​))<∞.

Then, with probability one,

lim sup⁡n→∞∥xn∥<∞.\limsup_{n\to\infty}\|x_n\|<\infty.n→∞limsup​∥xn​∥<∞.

This stability theorem (Kushner and Yin 1997, Theorem 4.3) supplies the almost sure boundedness of the iterates that the convergence results of §§4–7 assume.

Formalization Note Expectations of nonnegative quantities are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. For each nnn the conditional energy in 3 is an Fn\mathcal F_nFn​-measurable function qn:Ω→[0,∞]q_n:\Omega\to[0,\infty]qn​:Ω→[0,∞] characterized by equality of its integrals with those of ∥Un+1∥2+∥F(xn)∥2\|U_{n+1}\|^2+\|F(x_n)\|^2∥Un+1​∥2+∥F(xn​)∥2 over every Fn\mathcal F_nFn​-measurable set. The bound qn≤Kk(xn)q_n\le Kk(x_n)qn​≤Kk(xn​) is imposed almost surely on the printed outside event. Only the compositions k(xn)k(x_n)k(xn​) are required to be measurable up to null sets for their expectations; no global measurability of kkk or Fn\mathcal F_nFn​-measurability of k(xn)k(x_n)k(xn​) is imposed. This preserves the literal pointwise conditional bound even for such state functions. The conclusion is that (∥xn(ω)∥)(\|x_n(\omega)\|)(∥xn​(ω)∥) is bounded for almost every ω\omegaω.

Differences from the source:

  • reading: the standing adapted-process convention of §7 → x_0 is F_0-measurable (so every x_n is F_n-measurable); reason: §7 explicitly supposes adapted paths on printed p.30 / PDF 31; the recursion propagates initial adaptedness. The conditions of §4.2 alone do not imply it.
  • reading: a nonnegative function k → k(x_n) is measurable up to P-null sets for every n; no global measurability of k; reason: The source takes E(k(x_n)), which needs only measurability of these random variables. The literal conditional bound is retained without treating k(x_n) as F_n-measurable.
  • reading: (iv) E(k(x_n)) < ∞ if V(x_n) < ∞ → E(k(x_n)) < ∞ for every n; reason: V is real valued, so V(x_n) < ∞ always holds.
  • encoding: E(·|F_n) ≤ K k(x_n) on {‖x_n‖ ≥ R} → an F_n-measurable ENNReal conditional energy characterized by its integrals over every A ∈ F_n, bounded pointwise a.s. on the outside event; reason: This is the generalized nonnegative conditional expectation, with no finite-moment default and no extra measurability restriction on k.
  • encoding: limsup ‖x_n‖ < ∞ → ∃ B, ∀ n, ‖x_n‖ ≤ B; reason: equivalent for a real sequence.
Preamble
import Mathlib
import Definitions.Def_StochApproxDyn_MartingaleNoise_RobbinsMonro

open MeasureTheory Filter
open scoped ENNReal InnerProductSpace
Formal statement
namespace StochApproxDyn.WeakAPT.Supplement

/-- Theorem 7.6 (Benaïm 1999, p. 34; Kushner and Yin 1997, Theorem 4.3). Let
`x_{n+1} − x_n = γ_{n+1}(F(x_n) + U_{n+1})` be a Robbins–Monro algorithm (§4.2) in `ℝ^m`, with
`x_n` adapted to `ℱ_n`. Suppose there are a `C²` function `V : ℝ^m → ℝ₊` with bounded second
derivatives and a nonnegative function `k : ℝ^m → ℝ₊` such that
(i) `⟨∇V(x), F(x)⟩ ≤ −k(x)`;
(ii) `V(x) → +∞` as `‖x‖ → ∞`;
(iii) there are positive constants `K, R` with
`E(‖U_{n+1}‖² + ‖F(x_n)‖² | ℱ_n) ≤ K k(x_n)` on `{‖x_n‖ ≥ R}` and
`E(∑_n γ_{n+1}² (‖U_{n+1}‖² + ‖F(x_n)‖²) 1_{‖x_n‖ ≤ R}) < ∞`;
(iv) `E(k(x_n)) < ∞` for every `n` (`V(x_n) < ∞` always holds, `V` being real valued) and
`E(V(x_0)) < ∞`.
Then `limsup_{n → ∞} ‖x_n‖ < ∞` with probability one.

The nonnegative conditional expectation in (iii) is represented by an `ℱ_n`-measurable
function `q : Ω → ℝ≥0∞`, characterized by equality of its integrals with those of the energy
over every `ℱ_n`-measurable set. Its bound is imposed pointwise almost surely on the printed
outside event. Only the random variables `k(x_n)` must be measurable up to null sets;
no global measurability of `k` or `ℱ_n`-measurability of `k(x_n)` is added. Expectations of
nonnegative quantities are lower Lebesgue integrals in `[0, ∞]`.  -/
theorem robbinsMonro_bounded_of_lyapunov {m : ℕ} {Ω : Type*} {m0 : MeasurableSpace Ω}
    (P : Measure Ω) [IsProbabilityMeasure P] (ℱ : Filtration ℕ m0)
    (F : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m)) (γ : ℕ → ℝ)
    (x U : ℕ → Ω → EuclideanSpace ℝ (Fin m))
    (hRM : StochApproxDyn.MartingaleNoise.IsRobbinsMonro P ℱ F γ x U)
    (hx0 : StronglyMeasurable[ℱ 0] (x 0))
    (V : EuclideanSpace ℝ (Fin m) → ℝ) (hV0 : ∀ y, 0 ≤ V y) (hVC2 : ContDiff ℝ 2 V)
    (hVhess : ∃ B : ℝ, ∀ y, ‖iteratedFDeriv ℝ 2 V y‖ ≤ B)
    (k : EuclideanSpace ℝ (Fin m) → ℝ) (hk0 : ∀ y, 0 ≤ k y) (hkmeas : ∀ n : ℕ, AEMeasurable (fun ω => k (x n ω)) P)
    (h_i : ∀ y, ⟪gradient V y, F y⟫_ℝ ≤ -k y)
    (h_ii : Tendsto V (cocompact _) atTop)
    (h_iii : ∃ K R : ℝ, 0 < K ∧ 0 < R ∧
      (∀ n : ℕ, ∃ q : Ω → ℝ≥0∞, Measurable[ℱ n] q ∧
        (∀ A : Set Ω, MeasurableSet[ℱ n] A →
          ∫⁻ ω in A, q ω ∂P =
            ∫⁻ ω in A, ENNReal.ofReal (‖U (n + 1) ω‖ ^ 2 + ‖F (x n ω)‖ ^ 2) ∂P) ∧
        ∀ᵐ ω ∂P, R ≤ ‖x n ω‖ → q ω ≤ ENNReal.ofReal K * ENNReal.ofReal (k (x n ω))) ∧
      ∫⁻ ω, ∑' n : ℕ, {ω | ‖x n ω‖ ≤ R}.indicator
        (fun ω => ENNReal.ofReal (γ (n + 1) ^ 2 * (‖U (n + 1) ω‖ ^ 2 + ‖F (x n ω)‖ ^ 2))) ω ∂P
        < ∞)
    (h_iv : (∀ n : ℕ, ∫⁻ ω, ENNReal.ofReal (k (x n ω)) ∂P < ∞) ∧
      ∫⁻ ω, ENNReal.ofReal (V (x 0 ω)) ∂P < ∞) :
    ∀ᵐ ω ∂P, ∃ B : ℝ, ∀ n : ℕ, ‖x n ω‖ ≤ B := by sorry

end StochApproxDyn.WeakAPT.Supplement
Source
Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, LNM 1709 (1999), p. 34, Theorem 7.6 (Robbins–Monro algorithm, §4.2, p. 14; scheme (7) and step-size assumptions, p. 11)

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