Lemma 2 — max-regret online-to-batch
ProvedNondualOpt.lemma_2convex-optimizationonline-learningoracle-complexityp2o-gran-per-chapterp2o-plan-paperp2o-v1sequential-complexity
Let be convex and , let , let be the queries of a max-regret game and let and be real functions with
Then the query with the smallest value among satisfies
In particular, if has a minimizer and , one may take . This reduces first-order optimization to the max-regret game: the linearizations returned by the oracle satisfy both hypotheses.
Differences from the source:
- encoding: f : X → ℝ and ℓ_t : X → ℝ → functions on E; reason: only their values on X enter
- encoding: "we can compute x̂_T from (x_t){t∈[T]}" → x̂_T = x{t₀} for some t₀ minimizing f(x_t), with the bound; reason: this is the proof's choice x̂_T ∈ arg min f(x_t), computed from the queries and their observed values
- encoding: f(x̂_T) − f(u) ≤ R^max_{X,T}/T → T·(f(x̂_T) − f(u)) ≤ R^max_{X,T} in the extended reals; reason: avoids extended-real division; equivalent for T ≥ 1
- encoding: rounds t ∈ [T] → T ≥ 1, rounds Fin T (0-based); reason: [T] is nonempty and the bound divides by T
Preamble
import Mathlib import Definitions.Def_NondualOpt_maxRegret
Formal statement
namespace NondualOpt
/-- **Lemma 2 (Max-regret online-to-batch).** For a convex set `X` and `U ⊆ X`, let `f` be a
function and `x_1, …, x_T ∈ X` queries of a max-regret game with losses `ℓ_t` satisfying
`ℓ_t(u) ≤ f(u)` for all `u ∈ U` and `ℓ_t(x_t) = f(x_t)`. Then the query `x̂_T = x_{t₀}` with the
smallest value `f(x_{t₀})` satisfies `f(x̂_T) − f(u) ≤ R^max_{X,T}/T` for every `u ∈ U`.
Bullins–Guzmán–Martínez-Rubio–Molina, arXiv:2609.20687, Lemma 2, p.8.
**Formalization Note.** `x̂_T` is the arg-min query of the proof ("We use
`x̂_T ∈ arg min_{x_t} f(x_t)`"), computed from the queries and their observed values; the bound is
multiplied by `T` (no `EReal` division). `f` and `ℓ_t` are functions on `E`; only their values on
`X` enter. `T ≥ 1` (the rounds `[T]` are nonempty). -/
theorem lemma_2 {E : Type*} [AddCommGroup E] [Module ℝ E] (X U : Set E) (hX : Convex ℝ X)
(hU : U ⊆ X) (T : ℕ) (hT : 1 ≤ T) (x : Fin T → E) (hx : ∀ t, x t ∈ X) (f : E → ℝ)
(ℓ : Fin T → E → ℝ) (hℓU : ∀ t, ∀ u ∈ U, ℓ t u ≤ f u) (hℓx : ∀ t, ℓ t (x t) = f (x t)) :
∃ t₀ : Fin T, (∀ t, f (x t₀) ≤ f (x t)) ∧
∀ u ∈ U, (((T : ℝ) * (f (x t₀) - f u) : ℝ) : EReal) ≤ maxRegret X x ℓ := by sorry
end NondualOpt
Source
Bullins–Guzmán–Martínez-Rubio–Molina, The First-Order Oracle Complexity of Lipschitz Convex Optimization in Nondual Settings, arXiv:2609.20687, Lemma 2, p.8
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.