Lemma 4.3 — the quadratic lower bound exp-concavity gives
ProvedOnlineConvexOpt.SecondOrder.exp_concave_quadratic_lower_boundLet be an -exp-concave function on a convex set in a real inner-product space, let be the diameter of , and let bound the norm of every (sub)gradient of on . Then for every
and all , writing ,
(The source states the quadratic term as ; since has rank one, this equals .) This inequality is the workhorse of the chapter: it is a quadratic strengthening of the usual first-order convexity lower bound , and it is exactly what lets the online Newton step analysis (Lemma 4.6) replace the linear regret bound of online gradient descent with a bound that telescopes logarithmically.
import Mathlib import Definitions.Def_OnlineConvexOpt_SecondOrder_ExpConcave open OnlineConvexOpt.SecondOrder
namespace OnlineConvexOpt.SecondOrder
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
/-- Lemma 4.3 (Hazan, *Introduction to Online Convex Optimization*, 2nd ed.,
arXiv:1909.05207v3, p. 59, PDF p. 81). Let `f : K → ℝ` be `α`-exp-concave, `D` the diameter of
`K` and `G` a bound on the (sub)gradients of `f` over `K` (`hG`, stated via `HasGradientAt` as
in `OnlineConvexOpt.FirstOrder`). Then for all `γ ≤ (1/2) min{1/(GD), α}` and all `x, y ∈ K`,
`f(x) ≥ f(y) + ∇f(y)^⊤(x - y) + (γ/2)(x - y)^⊤∇f(y)∇f(y)^⊤(x - y)`, where the quadratic term
`(x - y)^⊤∇f(y)∇f(y)^⊤(x - y)` equals `(∇f(y)^⊤(x - y))²` since `∇f(y)∇f(y)^⊤` has rank one. -/
theorem exp_concave_quadratic_lower_bound (α D G γ : ℝ) (K : Set E) (f : E → ℝ)
(hf : IsExpConcaveOn α K f) (hD : ∀ p ∈ K, ∀ q ∈ K, dist p q ≤ D)
(hG : ∀ p ∈ K, ∀ v, HasGradientAt f v p → ‖v‖ ≤ G)
(hγ : γ ≤ (1 / 2) * min (1 / (G * D)) α)
(x y : E) (hx : x ∈ K) (hy : y ∈ K) (g : E) (hg : HasGradientAt f g y) :
f y + inner ℝ g (x - y) + (γ / 2) * (inner ℝ g (x - y)) ^ 2 ≤ f x := by sorry
end OnlineConvexOpt.SecondOrder
Read-back
What the Lean code literally says, in plain math · claude-opus-5
Fix a real inner product space that is complete (a real Hilbert space) — the type is arbitrary and is left implicit, so it may be the zero space or any infinite-dimensional Hilbert space. The statement then universally quantifies over four real numbers , a subset , and a function defined on all of (not merely on ), subject to four hypotheses:
- satisfies the predicate , a definition taken from the accompanying bundle whose content is not visible in this declaration; nothing about its meaning is used or revealed here, so the read-back can only record that some property indexed by the real parameter , the set , and the function is assumed.
- bounds the diameter of in the sense that for all (distance being the norm distance ).
- bounds gradients on : for every and every vector , if has gradient at — the Fréchet-differentiability statement at the point in the whole space , with the derivative represented via the inner product, not a derivative relative to — then .
- satisfies
Under these, for all with and , and for every such that has gradient at , the conclusion asserted is
where is the real inner product of and the squared term is the square of that real number. The inequality is non-strict and oriented so that the displayed quadratic expression lower-bounds . Note that no sign or positivity condition is imposed anywhere: , , , and may each be zero or negative, is not assumed nonempty, convex, open, or closed, is not assumed differentiable anywhere beyond the single point named by the last hypothesis, and no relation is asserted between and the appearing inside the exp-concavity predicate other than that it is the same variable.
In the degenerate cases the hypotheses permit: if , the memberships and cannot be satisfied, so the statement is vacuous, and the diameter and gradient-bound hypotheses are then vacuously true for every and ; likewise, if has no gradient at (for instance if is nowhere differentiable), the hypothesis supplying is unsatisfiable and the statement says nothing about that . If is the zero space, then and forcibly, and the conclusion reduces to . Because Lean's division is total with , whenever — in particular when , when (which happens for a one-element or empty with chosen as ), or when the two have been instantiated so their product vanishes — the bound on becomes rather than an unbounded constraint; when , is negative and the bound forces negative. Taking arbitrarily negative is always permitted by the hypothesis (the bound is an upper bound only), in which case the quadratic term is non-positive and the asserted inequality is weaker than the corresponding first-order inequality; conversely may be positive only when both and are positive. Choosing makes the conclusion for any admissible parameters.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.