Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 6.2, p. 145 — one-step inequality for the stochastic projection method

Proved
NumStochOpt.QuasiFejer.proof_6_2_one_step_inequality

by mikedeng1 · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1projection-methodstochastic-optimizationstochastic-quasigradient

Let X⊆RnX\subseteq\mathbb R^nX⊆Rn be nonempty, closed and convex. Let x0,x1,…x^0,x^1,\dotsx0,x1,… and ξ0(s)\xi^0(s)ξ0(s) be random vectors on a probability space, with xkx^kxk measurable, xsx^sxs square integrable and ξ0(s)\xi^0(s)ξ0(s) integrable, and let ρs\rho_sρs​ be a random step size that is measurable with respect to σ(x0,…,xs)\sigma(x^0,\dots,x^s)σ(x0,…,xs) and satisfies E{ρs2∥ξ0(s)∥2}<∞E\{\rho_s^2\|\xi^0(s)\|^2\}<\inftyE{ρs2​∥ξ0(s)∥2}<∞. Suppose one step of (6.11) is taken:

xs+1=πX[xs−ρsξ0(s)].x^{s+1}=\pi_X\big[x^s-\rho_s\xi^0(s)\big].xs+1=πX​[xs−ρs​ξ0(s)].

Then for every x∗∈Xx^*\in Xx∗∈X, almost surely,

E{∥x∗−xs+1∥2∣x0,…,xs}≤∥x∗−xs∥2+2ρs⟨E{ξ0(s)∣x0,…,xs},x∗−xs⟩+E{ρs2∥ξ0(s)∥2∣x0,…,xs}.E\{\|x^*-x^{s+1}\|^2\mid x^0,\dots,x^s\}\le\|x^*-x^s\|^2+2\rho_s\big\langle E\{\xi^0(s)\mid x^0,\dots,x^s\},x^*-x^s\big\rangle+E\{\rho_s^2\|\xi^0(s)\|^2\mid x^0,\dots,x^s\}.E{∥x∗−xs+1∥2∣x0,…,xs}≤∥x∗−xs∥2+2ρs​⟨E{ξ0(s)∣x0,…,xs},x∗−xs⟩+E{ρs2​∥ξ0(s)∥2∣x0,…,xs}.

This is the first step of the proof of Theorem 6.2: combined with (6.12) it shows that the iterates form a stochastic quasi-Féjer sequence for X∗X^*X∗, and summed in expectation it gives the efficiency estimate for the weighted average.

Formalization Note The page prints the last term as ρsE{∥ξ0(s)∥2∣… }\rho_s E\{\|\xi^0(s)\|^2\mid\dots\}ρs​E{∥ξ0(s)∥2∣…}; the exponent 222 on ρs\rho_sρs​ is restored (the next display on the same page and (6.15) have ρs2\rho_s^2ρs2​). Since ρs\rho_sρs​ is known at time sss, ρs2\rho_s^2ρs2​ is written inside the conditional expectation, which keeps the statement meaningful when only ρs2∥ξ0(s)∥2\rho_s^2\|\xi^0(s)\|^2ρs2​∥ξ0(s)∥2, not ∥ξ0(s)∥2\|\xi^0(s)\|^2∥ξ0(s)∥2, is integrable. The integrability hypotheses make all conditional expectations genuine (Lean returns 000 for a non-integrable function).

Preamble
import Mathlib
import Definitions.Def_NumStochOpt_QuasiFejer_ProjectionMethod
import Definitions.Def_NumStochOpt_QuasiFejer_StochQuasiFejer

open MeasureTheory Filter Topology
open scoped InnerProductSpace ENNReal
Formal statement
namespace NumStochOpt.QuasiFejer

/-- **One-step inequality of the projection method** (Ermoliev, Ch. 6 of Ermoliev & Wets (1988),
proof of Theorem 6.2, p. 145, first display). Let `X` be a nonempty closed convex set and
`x^{s+1} = π_X(x^s - ρ_s ξ⁰(s))` with `ρ_s` measurable with respect to `σ(x⁰, …, x^s)`. Then for
every `x* ∈ X`, almost surely,
`E{‖x* - x^{s+1}‖² | x⁰, …, x^s} ≤ ‖x* - x^s‖² + 2ρ_s⟨E{ξ⁰(s) | x⁰, …, x^s}, x* - x^s⟩
  + E{ρ_s² ‖ξ⁰(s)‖² | x⁰, …, x^s}`.
The page prints the last term as `ρ_s E{‖ξ⁰(s)‖² | …}`; the square on `ρ_s` is restored here
(it is `ρ_s²` in the next display and in (6.15)). -/
theorem proof_6_2_one_step_inequality {Ω : Type*} [MeasurableSpace Ω] {n : ℕ}
    (μ : Measure Ω) [IsProbabilityMeasure μ]
    (X : Set (EuclideanSpace ℝ (Fin n)))
    (x ξ : ℕ → Ω → EuclideanSpace ℝ (Fin n)) (ρ : ℕ → Ω → ℝ) (s : ℕ)
    (hXconv : Convex ℝ X) (hXclosed : IsClosed X) (hXne : X.Nonempty)
    (hx_meas : ∀ k, Measurable (x k)) (hx_L2 : MemLp (x s) 2 μ)
    (hξ_int : Integrable (ξ s) μ)
    (hρξ_int : Integrable (fun ω => ρ s ω ^ 2 * ‖ξ s ω‖ ^ 2) μ)
    (hρ_adapt : StronglyMeasurable[historySigma x s] (ρ s))
    (hrec : ∀ ω, x (s + 1) ω = projX X (x s ω - ρ s ω • ξ s ω))
    (xstar : EuclideanSpace ℝ (Fin n)) (hxstar : xstar ∈ X) :
    condExp (historySigma x s) μ (fun ω => ‖xstar - x (s + 1) ω‖ ^ 2)
      ≤ᵐ[μ] fun ω => ‖xstar - x s ω‖ ^ 2
          + 2 * ρ s ω * ⟪(condExp (historySigma x s) μ (ξ s)) ω, xstar - x s ω⟫_ℝ
          + (condExp (historySigma x s) μ (fun ω' => ρ s ω' ^ 2 * ‖ξ s ω'‖ ^ 2)) ω := by sorry

end NumStochOpt.QuasiFejer
Source
Yu. Ermoliev, "Stochastic Quasigradient Methods", in Ermoliev & Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer 1988, Ch. 6, p. 145, Proof of Theorem 6.2, display 1
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 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