Lemma 11 — Σₜ uₜᵀVₜ⁻¹uₜ ≤ n log(r²T/ε + 1)
ProvedLogRegretOCO.ONS.elliptical_potentialLet satisfy for some , let , and define
Then
Applied with , and , this bounds the potential in the regret bound of the Online Newton Step by .
Formalization Note The paper prints ; the summation index is a typo and the statement uses , as the proof does. The hypothesis is added: the page leaves it implicit, and without it need not be invertible. Norms are Euclidean and is the natural logarithm.
import Mathlib import Definitions.Def_LogRegretOCO_ONS_Basic
namespace LogRegretOCO.ONS
/-- Lemma 11 (Hazan–Agarwal–Kale 2007, p. 190). Let `u_1, …, u_T ∈ ℝⁿ` with `‖u_t‖ ≤ r` for some
`r > 0`, let `ε > 0`, and let `V_t = Σ_{τ=1}^t u_τ u_τᵀ + ε Iₙ`. Then
`Σ_{t=1}^T u_tᵀ V_t⁻¹ u_t ≤ n log(r²T/ε + 1)`. -/
theorem elliptical_potential {n : ℕ} (u : ℕ → EuclideanSpace ℝ (Fin n)) (r ε : ℝ)
(hr : 0 < r) (hε : 0 < ε) (T : ℕ) (hu : ∀ t ∈ Finset.Icc 1 T, ‖u t‖ ≤ r) :
∑ t ∈ Finset.Icc 1 T, quadForm (regGram ε u t)⁻¹ (u t) ≤
n * Real.log (r ^ 2 * T / ε + 1) := by sorry
end LogRegretOCO.ONS
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let and let be a sequence of vectors in Euclidean space . Let be real numbers and let .
Hypotheses:
- and .
- for every .
- Nothing is assumed about or about with . None of these enter the statement.
The matrices. For each , let
Since , each is positive definite, so is the genuine inverse.
Conclusion.
Here and are treated as real numbers. The argument of the logarithm is at least .
Degenerate cases:
- : the sum is empty and the right side is , so the claim is .
- : every quadratic form is and the right side is .
- All : the left side is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.