Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.4 (p. 187): ∏ h_τ(x_τ) ≥ vol(S)/vol(P)·(1/e)∏ h_τ(x*) ≥ ∏ h_τ(x*)/(e(T+1)^n)

Proved
LogRegretOCO.EWOO.product_lower_bound

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

exp-concavityonline-convex-optimizationp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let P⊆RnP \subseteq \mathbb{R}^nP⊆Rn be nonempty, closed, bounded and convex with positive Lebesgue volume, let α>0\alpha > 0α>0, and let f1,f2,⋯:Rn→Rf_1, f_2, \dots : \mathbb{R}^n \to \mathbb{R}f1​,f2​,⋯:Rn→R be continuous on PPP and α\alphaα-exp-concave on PPP. Write hτ(x)=e−αfτ(x)h_\tau(x) = e^{-\alpha f_\tau(x)}hτ​(x)=e−αfτ​(x), let xτx_\tauxτ​ be the points played by Exponentially Weighted Online Optimization, fix T≥1T \ge 1T≥1 and a comparator x∗∈Px^* \in Px∗∈P, and let S={TT+1x∗+1T+1y:y∈P}S = \{\frac{T}{T+1}x^* + \frac{1}{T+1}y : y \in P\}S={T+1T​x∗+T+11​y:y∈P}. Then

∏τ=1Thτ(xτ)  ≥  vol(S)vol(P)⋅1e∏τ=1Thτ(x∗)  ≥  1e (T+1)n∏τ=1Thτ(x∗).\prod_{\tau=1}^{T} h_\tau(x_\tau) \;\ge\; \frac{\mathrm{vol}(S)}{\mathrm{vol}(P)} \cdot \frac{1}{e} \prod_{\tau=1}^{T} h_\tau(x^*) \;\ge\; \frac{1}{e\,(T+1)^n} \prod_{\tau=1}^{T} h_\tau(x^*).τ=1∏T​hτ​(xτ​)≥vol(P)vol(S)​⋅e1​τ=1∏T​hτ​(x∗)≥e(T+1)n1​τ=1∏T​hτ​(x∗).

This is the multiplicative form of the EWOO regret bound: taking logarithms turns it into ∑τ=1T(fτ(xτ)−fτ(x∗))≤1α(1+nlog⁡(T+1))\sum_{\tau=1}^T (f_\tau(x_\tau) - f_\tau(x^*)) \le \frac{1}{\alpha}(1 + n\log(T+1))∑τ=1T​(fτ​(xτ​)−fτ​(x∗))≤α1​(1+nlog(T+1)), from which Theorem 7 follows.

Formalization Note The paper takes x∗x^*x∗ to be a minimizer of ∑t=1Tft\sum_{t=1}^T f_t∑t=1T​ft​ over PPP; the inequality is stated for every x∗∈Px^* \in Px∗∈P, which is equivalent for the regret and avoids naming a minimizer. Volumes are converted to real numbers (both are finite and vol(P)>0\mathrm{vol}(P) > 0vol(P)>0). Continuity of each ftf_tft​ on PPP is the standing assumption of §2.2 weakened to what the argument uses.

Preamble
import Mathlib
import Definitions.Def_LogRegretOCO_EWOO_IsExpConcave
import Definitions.Def_LogRegretOCO_EWOO_ewooPoint
import Definitions.Def_LogRegretOCO_EWOO_shrunkSet

open MeasureTheory
Formal statement
namespace LogRegretOCO.EWOO

/-- §3.4, last display on p. 187 (Hazan–Agarwal–Kale 2007): for every comparator `x* ∈ P`,
`∏_{τ=1}^T h_τ(x_τ) ≥ vol(S)/vol(P) · (1/e) ∏_{τ=1}^T h_τ(x*) ≥ 1/(e(T+1)^n) ∏_{τ=1}^T h_τ(x*)`,
where `h_τ = exp(-α f_τ)`, `x_τ` is the EWOO point and `S` the shrunken set around `x*`. -/
theorem product_lower_bound (n : ℕ) (P : Set (EuclideanSpace ℝ (Fin n)))
    (hPconv : Convex ℝ P) (hPclosed : IsClosed P) (hPbdd : Bornology.IsBounded P)
    (hPne : P.Nonempty) (hPvol : volume P ≠ 0)
    (α : ℝ) (hα : 0 < α) (f : ℕ → EuclideanSpace ℝ (Fin n) → ℝ)
    (hexp : ∀ t, IsExpConcave α P (f t)) (hcont : ∀ t, ContinuousOn (f t) P)
    (T : ℕ) (hT : 1 ≤ T) (xstar : EuclideanSpace ℝ (Fin n)) (hxstar : xstar ∈ P) :
    (volume (shrunkSet P xstar T)).toReal / (volume P).toReal * (1 / Real.exp 1) *
          ∏ τ ∈ Finset.Icc 1 T, Real.exp (-α * f τ xstar)
        ≤ ∏ τ ∈ Finset.Icc 1 T, Real.exp (-α * f τ (ewooPoint P α f τ)) ∧
      1 / (Real.exp 1 * ((T : ℝ) + 1) ^ n) * ∏ τ ∈ Finset.Icc 1 T, Real.exp (-α * f τ xstar)
        ≤ (volume (shrunkSet P xstar T)).toReal / (volume P).toReal * (1 / Real.exp 1) *
          ∏ τ ∈ Finset.Icc 1 T, Real.exp (-α * f τ xstar) := by sorry

end LogRegretOCO.EWOO
Source
Hazan, Agarwal, Kale, Logarithmic regret algorithms for online convex optimization, Mach Learn 69 (2007), p. 187, §3.4, proof of Theorem 7, last display on p. 187
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Fix n∈Nn \in \mathbb{N}n∈N and a set P⊆RnP \subseteq \mathbb{R}^nP⊆Rn (Euclidean space). Assume that PPP:

  • is convex;
  • is closed;
  • is bounded;
  • is nonempty;
  • has nonzero Lebesgue measure.

Fix a real α>0\alpha > 0α>0 and functions fτ:Rn→Rf_\tau : \mathbb{R}^n \to \mathbb{R}fτ​:Rn→R for every τ∈N\tau \in \mathbb{N}τ∈N, including τ=0\tau = 0τ=0. Assume that for every τ\tauτ:

  • PPP is convex and x↦e−αfτ(x)x \mapsto e^{-\alpha f_\tau(x)}x↦e−αfτ​(x) is concave on PPP;
  • fτf_\taufτ​ is continuous on PPP.

Write hτ(x)=e−αfτ(x)h_\tau(x) = e^{-\alpha f_\tau(x)}hτ​(x)=e−αfτ​(x).

The points xτx_\tauxτ​. For each τ\tauτ, xτ∈Rnx_\tau \in \mathbb{R}^nxτ​∈Rn is

xτ=(∫Pwτ)−1∫Pwτ(x) x dx,wτ(x)=exp⁡ ⁣(−α∑s=1τ−1fs(x)).x_\tau = \Big(\int_P w_\tau\Big)^{-1}\int_P w_\tau(x)\,x\,dx, \qquad w_\tau(x) = \exp\!\Big(-\alpha\sum_{s=1}^{\tau-1} f_s(x)\Big).xτ​=(∫P​wτ​)−1∫P​wτ​(x)xdx,wτ​(x)=exp(−αs=1∑τ−1​fs​(x)).

The integrals are Lebesgue integrals over PPP. A non-integrable integral is taken as 000, and 0−10^{-1}0−1 is taken as 000.

The set SSS. Fix a natural number T≥1T \ge 1T≥1 and a point x⋆∈Px^\star \in Px⋆∈P. Let

S={TT+1 x⋆+1T+1 y:y∈P}.S = \Big\{ \tfrac{T}{T+1}\, x^\star + \tfrac{1}{T+1}\, y : y \in P \Big\}.S={T+1T​x⋆+T+11​y:y∈P}.

The Lebesgue measures vol⁡(S)\operatorname{vol}(S)vol(S) and vol⁡(P)\operatorname{vol}(P)vol(P) are converted from extended non-negative numbers to real numbers. An infinite measure would become 000 under this conversion.

Claim. The theorem asserts both of the following.

  1. The lower bound on the played product:
vol⁡(S)vol⁡(P)⋅1e⋅∏τ=1Thτ(x⋆)  ≤  ∏τ=1Thτ(xτ).\frac{\operatorname{vol}(S)}{\operatorname{vol}(P)} \cdot \frac1e \cdot \prod_{\tau=1}^{T} h_\tau(x^\star) \;\le\; \prod_{\tau=1}^{T} h_\tau(x_\tau).vol(P)vol(S)​⋅e1​⋅τ=1∏T​hτ​(x⋆)≤τ=1∏T​hτ​(xτ​).
  1. The comparison of constants:
1e (T+1)n∏τ=1Thτ(x⋆)  ≤  vol⁡(S)vol⁡(P)⋅1e⋅∏τ=1Thτ(x⋆).\frac{1}{e\,(T+1)^{n}} \prod_{\tau=1}^{T} h_\tau(x^\star) \;\le\; \frac{\operatorname{vol}(S)}{\operatorname{vol}(P)} \cdot \frac1e \cdot \prod_{\tau=1}^{T} h_\tau(x^\star).e(T+1)n1​τ=1∏T​hτ​(x⋆)≤vol(P)vol(S)​⋅e1​⋅τ=1∏T​hτ​(x⋆).

The statement does not assert that the points xτx_\tauxτ​ lie in PPP.

Degenerate cases.

  • T=0T = 0T=0. Excluded.
  • T=1T = 1T=1. The products have the single factor τ=1\tau = 1τ=1, and x1x_1x1​ is the Lebesgue centroid of PPP.
  • n=0n = 0n=0. PPP must be the single point of the space, with measure 111. Then S=PS = PS=P, the ratio vol⁡(S)/vol⁡(P)\operatorname{vol}(S)/\operatorname{vol}(P)vol(S)/vol(P) equals 111, and (T+1)0=1(T+1)^0 = 1(T+1)0=1.
  • Satisfiability. The hypotheses are jointly satisfiable, for example with constant fτf_\taufτ​.
  • Conversion to reals. PPP is bounded, and SSS is the image of PPP under a map that moves each point toward x⋆x^\starx⋆ by the factor 1T+1\frac{1}{T+1}T+11​, so SSS is also bounded. Both measures are therefore finite and the conversion is exact.
  • Division by zero. vol⁡(P)>0\operatorname{vol}(P) > 0vol(P)>0, so the division is not by zero.
  • Integral defaults. The integrals defining xτx_\tauxτ​ are of functions continuous on the compact set PPP, so their integral defaults are not triggered.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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