Theorem 7: Regret_T(EWOO) ≤ (1/α) n (1 + log(T + 1)) on α-exp-concave costs
ProvedLogRegretOCO.EWOO.ewoo_regret_boundLet be a nonempty, closed, bounded, convex set of positive Lebesgue volume, and let . Let be cost functions that are continuous on and -exp-concave on , i.e. is concave on for every . Let be the points played by Exponentially Weighted Online Optimization,
Then for every horizon and every comparator ,
Since the bound holds for every , it bounds the regret , uniformly over all cost sequences, including those chosen adaptively. The bound is logarithmic in and, unlike the bounds for the Online Newton Step and Follow the Approximate Leader, involves neither a gradient bound nor the diameter of .
Formalization Note The regret is stated against every comparator rather than through a real-valued minimum, which is the same statement because the minimum is attained on the compact set . Positive volume of is presupposed by the algorithm (it divides by ). Continuity of each on is the paper's standing assumption (§2.2: costs twice differentiable and convex) weakened to what is needed for the integrals to be meaningful. The paper's "" is a typo for real-valued costs. The paper's proof gives the sharper bound ; the printed constant is stated.
Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.
import Mathlib import Definitions.Def_LogRegretOCO_EWOO_IsExpConcave import Definitions.Def_LogRegretOCO_EWOO_ewooPoint open MeasureTheory
namespace LogRegretOCO.EWOO
/-- Theorem 7 (Hazan–Agarwal–Kale 2007, p. 186): on a nonempty, closed, bounded, convex
`P ⊆ ℝⁿ` of positive volume, with `α > 0` and every `f_t` α-exp-concave and continuous on `P`,
the points `x_t` of EXPONENTIALLY WEIGHTED ONLINE OPTIMIZATION satisfy, for every `T ≥ 1` and
every comparator `u ∈ P`,
`∑_{t=1}^T (f_t(x_t) − f_t(u)) ≤ (1/α) n (1 + log(T + 1))`. -/
theorem ewoo_regret_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) (u : EuclideanSpace ℝ (Fin n)) (hu : u ∈ P) :
∑ t ∈ Finset.Icc 1 T, (f t (ewooPoint P α f t) - f t u)
≤ 1 / α * n * (1 + Real.log ((T : ℝ) + 1)) := by sorry
end LogRegretOCO.EWOO
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a natural number and work in -dimensional Euclidean space with its standard Euclidean structure and Lebesgue measure . The statement quantifies over the following data and hypotheses:
- a set that is convex, topologically closed, bounded, nonempty, and has nonzero Lebesgue measure: (closed and bounded, so is compact);
- a real number with ;
- a sequence of real-valued functions , indexed by all natural numbers and defined on the whole space;
- for every (including ), the predicate holds;
- for every , is continuous on (continuity of the restriction to only; nothing is assumed about off );
- a natural number with ;
- a point .
Opaque definitions. Two notions come from definition files that were not supplied with this declaration, so their content cannot be unfolded here:
- is a proposition about the real , the set and a function . Its name suggests "-exp-concave on ", but what it actually requires is not visible.
- is a point of computed from , , the entire sequence and the index .
- Nothing in the signature restricts to depend only on . The signature alone permits dependence on or on later functions.
- Nothing visible guarantees that .
Conclusion. Under all of the above,
where:
- the sum runs over the integers , so never appears in the sum, although it may enter through ;
- is read as a real number;
- is the natural logarithm.
The inequality is non-strict. It is asserted for each separately and for each separately.
Degenerate cases.
- and the logarithm. Because , the index range is never empty. Also , so the logarithm is taken of a positive number and no junk value arises; the right-hand side is at least .
- Division. Because , the factor is an ordinary positive real, not the division-by-zero default.
- .
- is a single point, and its Lebesgue measure gives that point measure . So satisfies every hypothesis on , and and every equal that one point.
- Each summand is then , and the right-hand side is .
- The statement therefore reduces to , whatever the opaque predicates say.
- . The hypothesis excludes lower-dimensional sets such as single points or segments in .
- Vacuity. Whether the hypotheses can all be met at once depends on the unseen definition of . If that predicate cannot be satisfied for some and , the statement is vacuous for them.
- Behaviour off . If can return a point outside , then the values in the sum are unconstrained by the continuity hypothesis and possibly by the exp-concavity hypothesis. Whether this can happen is not determined by the code shown.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.