Theorem 4.4 — regret of the Exponentially Weighted Online Optimizer
DisprovedOnlineConvexOpt.SecondOrder.ewoo_regretLet be a bounded, measurable, convex set of positive volume, and let be -exp-concave cost functions on (for a fixed ). If is the play sequence of the Exponentially Weighted Online Optimizer (Algorithm 11) run with parameter , then for every horizon ,
where is the usual online-convex-optimization regret. This bound is logarithmic in — a qualitative improvement over the regret of first-order methods on general convex losses — and, unlike the online Newton step bound of Theorem 4.5, involves no Lipschitz constant or diameter bound on at all; its cost is instead computational, since a literal implementation of EWOO's defining integral takes exponential time in .
Retired. Retired because its Lean statement was unfaithful to Hazan (see the replacement's Formalization Note); replaced by OnlineConvexOpt.SecondOrder.ewoo_regret_v2.
import Mathlib import Definitions.Def_OnlineConvexOpt_SecondOrder_ExpConcave import Definitions.Def_OnlineConvexOpt_SecondOrder_EWOO import Definitions.Def_OnlineConvexOpt_FirstOrder_Protocol open MeasureTheory OnlineConvexOpt.SecondOrder OnlineConvexOpt.FirstOrder
namespace OnlineConvexOpt.SecondOrder
/-- Theorem 4.4 (Hazan, *Introduction to Online Convex Optimization*, 2nd ed.,
arXiv:1909.05207v3, p. 61, PDF p. 83). The Exponentially Weighted Online Optimizer (Algorithm
11) run with parameter `α > 0` on `α`-exp-concave cost functions `f` over a bounded, measurable,
convex, `d`-dimensional (`d = n`) decision set `K` of positive volume guarantees, for every
`T ≥ 1`, `Regret_T(EWOO) ≤ (d/α) log T + 2/α`, using
`OnlineConvexOpt.FirstOrder.RegretT` (Eq. (1.2)) for the regret against the same cost functions.
-/
theorem ewoo_regret (n : ℕ) (hn : 0 < n) (K : Set (EuclideanSpace ℝ (Fin n)))
(hKconv : Convex ℝ K) (hKne : K.Nonempty) (hKbdd : Bornology.IsBounded K)
(hKmeas : MeasurableSet K) (hKvol : 0 < volume K)
(α : ℝ) (hα : 0 < α) (f : ℕ → EuclideanSpace ℝ (Fin n) → ℝ)
(hf : ∀ t, IsExpConcaveOn α K (f t))
(x : ℕ → EuclideanSpace ℝ (Fin n)) (hEWOO : IsEWOO K α f x)
(T : ℕ) (hT : 1 ≤ T) :
RegretT K f x T ≤ (n / α) * Real.log T + 2 / α := by sorry
end OnlineConvexOpt.SecondOrder
Read-back
What the Lean code literally says, in plain math · claude-opus-5
Fix a natural number with , and work in (Lean's EuclideanSpace ℝ (Fin n)) with its Lebesgue measure. The statement takes:
- a set that is convex (over ), nonempty, bounded in the metric/bornological sense, Lebesgue measurable, and of strictly positive Lebesgue measure, ;
- a real number with ;
- a family of cost functions such that every , for every natural number (including beyond the horizon), satisfies the predicate — a notion defined elsewhere in this bundle and not unfolded here, so the read-back can say only that each bears this - and -dependent property, whatever its definition;
- a sequence of points satisfying , again a predicate defined elsewhere in this bundle and not unfolded here;
- a natural number with .
Under exactly these hypotheses the conclusion is the single inequality
where is a quantity defined elsewhere in this bundle from the decision set , the cost family , the played sequence and the horizon — its definition is not visible here, so nothing in this read-back can describe what it computes. The dimension enters the bound as the natural number coerced to a real number, is Lean's real natural logarithm applied to coerced to a real number, and the two fractions are ordinary real division. The inequality is non-strict.
What is not asserted: nothing about beyond the six listed properties (no closedness, no compactness, no interior, no requirement that have full -dimensional affine span beyond what positive volume entails), nothing about the beyond (no continuity, no measurability, no boundedness, no gradient bound, no uniform bound on ), no existence claim for — the sequence is given and merely assumed to satisfy — and no claim that the bound is tight or that any comparator is attained.
On degenerate cases, as the hypotheses permit them: is excluded by , so the coefficient is at least ; is excluded by , so is never by Lean's convention, but is permitted, and there and the bound reads . Since , no division by zero occurs in either or . The hypothesis set could in principle be unsatisfiable for some parameter choices — if no sequence meets for the given data, or if no family is -exp-concave on in the sense of — in which case the theorem holds vacuously for those parameters; because the definitions of those two predicates are not visible here, nothing can be said about whether that happens. Note in particular that is assumed at all rounds , not merely , and is assumed of all , so both hypotheses constrain infinitely many rounds while the conclusion concerns only the finite horizon . Whether the right-hand side can be negative, or whether can be, depends on the unseen definition of ; the bound as written is simply an inequality between two real numbers, the right-hand side being whenever .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.