Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.1, p. 245 — the center of gravity method satisfies f(x_t) − min_X f ≤ 2B(1 − 1/e)^{t/n}

Proved
ConvexOptAlg.CenterGravity.theorem_2_1

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

center-of-gravityconvergence-rateconvex-optimizationcutting-planep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn, n≥1n\ge1n≥1, be a convex body (a compact convex set with non-empty interior) and f:X→[−B,B]f:\mathcal X\to[-B,B]f:X→[−B,B] a continuous convex function, with minimizer x∗∈Xx^*\in\mathcal Xx∗∈X. Run the center of gravity method: S1=X\mathcal S_1=\mathcal XS1​=X and, for t≥1t\ge1t≥1, ctc_tct​ is the center of gravity of St\mathcal S_tSt​, wtw_twt​ is a subgradient of fff at ctc_tct​, and St+1=St∩{x:(x−ct)⊤wt≤0}\mathcal S_{t+1}=\mathcal S_t\cap\{x:(x-c_t)^\top w_t\le0\}St+1​=St​∩{x:(x−ct​)⊤wt​≤0}. After t≥1t\ge1t≥1 queries the method outputs xt∈argmin⁡1≤r≤tf(cr)x_t\in\operatorname{argmin}_{1\le r\le t}f(c_r)xt​∈argmin1≤r≤t​f(cr​). Then

f(xt)−min⁡x∈Xf(x) ≤ 2B(1−1e)t/n.f(x_t)-\min_{x\in\mathcal X}f(x)\ \le\ 2B\Big(1-\frac1e\Big)^{t/n}.f(xt​)−x∈Xmin​f(x) ≤ 2B(1−e1​)t/n.

The error decreases geometrically in t/nt/nt/n: an ε\varepsilonε-optimal point is reached after O(nlog⁡(2B/ε))O(n\log(2B/\varepsilon))O(nlog(2B/ε)) queries to the first and zeroth order oracles, which the book notes is optimal up to constants for small ε\varepsilonε.

Formalization Note The bound is stated for the minimum value min⁡1≤r≤tf(cr)\min_{1\le r\le t}f(c_r)min1≤r≤t​f(cr​), hence for every choice of the output xtx_txt​ in the argmin. The minimizer x∗x^*x∗ is a hypothesis (the book's standing notation, p. 242; it exists here because X\mathcal XX is compact and fff continuous). n≥1n\ge1n≥1 is added because the exponent t/nt/nt/n is undefined for n=0n=0n=0. The exponent is real, (1−e−1)t/n(1-e^{-1})^{t/n}(1−e−1)t/n with real powers. Subgradients are relative to X\mathcal XX (Definition 1.2), the oracle's choice of subgradient is free, and ∣f∣≤B|f|\le B∣f∣≤B is required on X\mathcal XX only.

Preamble
import Mathlib
import Definitions.Def_ConvexOptAlg_CenterGravity_Defs

open MeasureTheory
open scoped InnerProductSpace
Formal statement
namespace ConvexOptAlg.CenterGravity

/-- Bubeck, arXiv:1405.4980v2, Theorem 2.1, p. 245: the center of gravity method satisfies
`f(x_t) - min_{x∈X} f(x) ≤ 2B (1 - 1/e)^{t/n}`, where `x_t ∈ argmin_{1≤r≤t} f(c_r)` is the output after
`t ≥ 1` queries; the bound is stated for the minimum value `min_{1≤r≤t} f(c_r)`, hence for every choice
of `x_t`. Standing assumptions of Ch. 2 (p. 244): `X ⊂ ℝⁿ` a convex body, `f : X → [-B, B]` continuous
and convex; `x*` a minimizer of `f` on `X` (the book's standing notation, p. 242). `1 ≤ n` is added
because `t/n` is undefined for `n = 0`. -/
theorem theorem_2_1 {n : ℕ} (hn : 1 ≤ n) {X : Set (EuclideanSpace ℝ (Fin n))} (hX : IsConvexBody X)
    {f : EuclideanSpace ℝ (Fin n) → ℝ} {B : ℝ} (hfB : ∀ x ∈ X, |f x| ≤ B)
    (hfc : ContinuousOn f X) (hfconv : ConvexOn ℝ X f)
    {xstar : EuclideanSpace ℝ (Fin n)} (hxstar : xstar ∈ X) (hmin : ∀ y ∈ X, f xstar ≤ f y)
    {S : ℕ → Set (EuclideanSpace ℝ (Fin n))} {c w : ℕ → EuclideanSpace ℝ (Fin n)}
    (hrun : IsCenterOfGravityRun X f S c w) (t : ℕ) (ht : 1 ≤ t) :
    (Finset.Icc 1 t).inf' (Finset.nonempty_Icc.mpr ht) (fun r => f (c r)) - f xstar
      ≤ 2 * B * (1 - Real.exp (-1)) ^ ((t : ℝ) / n) := by sorry

end ConvexOptAlg.CenterGravity
Source
Bubeck, arXiv:1405.4980v2, Theorem 2.1, p. 245 (proof pp. 246–247)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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