Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 147 — efficiency estimate E F⁰(x̄^s) − F⁰(x*) ≤ (2Σρ_k)⁻¹[E‖x*−x⁰‖² + Σ E(2ρ_k|γ₀(k)| + ρ_k²‖ξ⁰(k)‖²)]

Proved
NumStochOpt.QuasiFejer.efficiency_estimate_weighted_average

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

convergence-ratep2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1stochastic-optimizationstochastic-quasigradient

Let X⊆RnX\subseteq\mathbb R^nX⊆Rn be a nonempty convex compact set and FFF convex and continuous on XXX, with optimal set X∗X^*X∗ and a point x∗∈X∗x^*\in X^*x∗∈X∗. On a probability space let x0,x1,…x^0,x^1,\dotsx0,x1,… be measurable random vectors with x0∈Xx^0\in Xx0∈X, ξ0(k)\xi^0(k)ξ0(k) integrable random directions, γ0(k)\gamma_0(k)γ0​(k) random variables measurable with respect to σ(x0,…,xk)\sigma(x^0,\dots,x^k)σ(x0,…,xk), and ρ0,ρ1,⋯≥0\rho_0,\rho_1,\dots\ge0ρ0​,ρ1​,⋯≥0 deterministic step sizes. Assume (6.11), xk+1=πX[xk−ρkξ0(k)]x^{k+1}=\pi_X[x^k-\rho_k\xi^0(k)]xk+1=πX​[xk−ρk​ξ0(k)], and (6.12) at x∗x^*x∗ for every kkk, and that ρk∣γ0(k)∣\rho_k|\gamma_0(k)|ρk​∣γ0​(k)∣ and ρk2∥ξ0(k)∥2\rho_k^2\|\xi^0(k)\|^2ρk2​∥ξ0(k)∥2 are integrable. Fix sss with ∑k=0sρk>0\sum_{k=0}^s\rho_k>0∑k=0s​ρk​>0 and let xˉs=(∑k=0sρkxk)(∑k=0sρk)−1\bar x^s=(\sum_{k=0}^s\rho_kx^k)(\sum_{k=0}^s\rho_k)^{-1}xˉs=(∑k=0s​ρk​xk)(∑k=0s​ρk​)−1. Then

EF(xˉs)−F(x∗)≤(2∑k=0sρk)−1[E∥x∗−x0∥2+∑k=0sE(2ρk∣γ0(k)∣+ρk2∥ξ0(k)∥2)].E F(\bar x^s)-F(x^*)\le\Big(2\sum_{k=0}^s\rho_k\Big)^{-1}\Big[E\|x^*-x^0\|^2+\sum_{k=0}^sE\big(2\rho_k|\gamma_0(k)|+\rho_k^2\|\xi^0(k)\|^2\big)\Big].EF(xˉs)−F(x∗)≤(2k=0∑s​ρk​)−1[E∥x∗−x0∥2+k=0∑s​E(2ρk​∣γ0​(k)∣+ρk2​∥ξ0(k)∥2)].

This is a non-asymptotic accuracy bound for the averaged iterate of the stochastic quasigradient projection method; with ρk\rho_kρk​ of order k−1/2k^{-1/2}k−1/2 and bounded second moments it gives the familiar O(log⁡s/s)O(\log s/\sqrt s)O(logs/s​) rate.

Formalization Note The book writes an unspecified constant CCC in front of the last sum; its own derivation (pp. 145–147) gives the constant 222 on the ρk∣γ0(k)∣\rho_k|\gamma_0(k)|ρk​∣γ0​(k)∣ term and 111 on the ρk2∥ξ0(k)∥2\rho_k^2\|\xi^0(k)\|^2ρk2​∥ξ0(k)∥2 term, which are stated here. The book's hypothesis "the ρk\rho_kρk​ are independent of (x0,…,xk)(x^0,\dots,x^k)(x0,…,xk)" is read as deterministic step sizes. The page omits the expectation in front of the last sum; since the left side is an expectation it is restored. Only (6.12) at the single point x∗x^*x∗ is used.

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

/-- **Efficiency estimate for the weighted average** (Ermoliev, Ch. 6 of Ermoliev & Wets (1988),
p. 147, final display of §6.2.1). For the projection method (6.11) with deterministic step sizes
`ρ_k ≥ 0` (the book's "ρ_k independent of (x⁰, …, x^k)") and directions satisfying (6.12) at an
optimal point `x*`, the weighted average `x̄^s = (∑_{k≤s} ρ_k x^k)/(∑_{k≤s} ρ_k)` satisfies
`E F(x̄^s) - F(x*) ≤ (2∑_{k≤s} ρ_k)⁻¹ [E‖x* - x⁰‖² + ∑_{k≤s} E(2ρ_k|γ₀(k)| + ρ_k²‖ξ⁰(k)‖²)]`.
The book writes an unspecified constant `C` in front of the last sum; its proof gives the
constant `2` on the `ρ_k|γ₀(k)|` term and `1` on the `ρ_k²‖ξ⁰(k)‖²` term. -/
theorem efficiency_estimate_weighted_average {Ω : Type*} [MeasurableSpace Ω] {n : ℕ}
    (μ : Measure Ω) [IsProbabilityMeasure μ]
    (F : EuclideanSpace ℝ (Fin n) → ℝ) (X : Set (EuclideanSpace ℝ (Fin n)))
    (x ξ : ℕ → Ω → EuclideanSpace ℝ (Fin n)) (ρ : ℕ → ℝ) (γ₀ : ℕ → Ω → ℝ) (s : ℕ)
    (hFconv : ConvexOn ℝ X F) (hFcont : ContinuousOn F X)
    (hXconv : Convex ℝ X) (hXcpt : IsCompact X) (hXne : X.Nonempty)
    (hx_meas : ∀ k, Measurable (x k)) (hx0 : ∀ ω, x 0 ω ∈ X)
    (hξ_int : ∀ k, Integrable (ξ k) μ)
    (hγ_adapt : ∀ k, StronglyMeasurable[historySigma x k] (γ₀ k))
    (hrec : ∀ k ω, x (k + 1) ω = projX X (x k ω - ρ k • ξ k ω))
    (xstar : EuclideanSpace ℝ (Fin n)) (hxstar : xstar ∈ optimalSet F X)
    (hqg : ∀ k, ∀ᵐ ω ∂μ,
      F xstar - F (x k ω) ≥ ⟪(condExp (historySigma x k) μ (ξ k)) ω, xstar - x k ω⟫_ℝ + γ₀ k ω)
    (hρ_nonneg : ∀ k, 0 ≤ ρ k) (hρ_pos : 0 < ∑ k ∈ Finset.range (s + 1), ρ k)
    (hγ_int : ∀ k, Integrable (fun ω => ρ k * |γ₀ k ω|) μ)
    (hξ_sq : ∀ k, Integrable (fun ω => ρ k ^ 2 * ‖ξ k ω‖ ^ 2) μ) :
    (∫ ω, F (weightedAvg ρ x s ω) ∂μ) - F xstar ≤
      (2 * ∑ k ∈ Finset.range (s + 1), ρ k)⁻¹ *
        ((∫ ω, ‖xstar - x 0 ω‖ ^ 2 ∂μ) +
          ∑ k ∈ Finset.range (s + 1),
            ∫ ω, (2 * ρ k * |γ₀ k ω| + ρ k ^ 2 * ‖ξ k ω‖ ^ 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. 147, final display of §6.2.1 (weighted average x̄^s defined on p. 146)
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