Lemma 11 — the potential bound
ProvedLogRegretOCO.FTAL.elliptical_potentialLet satisfy for some , let , and define
Then
Each includes the current vector . The bound controls the sum of squared lengths of the vectors measured in the metric of the accumulated matrix, and grows only logarithmically in ; in the analysis of Follow the Leader it bounds the second term of the regret decomposition (Claim 2 of the paper).
Formalization Note The paper prints , a typo for (its proof uses ); the Lean uses . The hypothesis , implicit in the paper, is stated (at the matrix can be singular and is in Lean). Vectors are in EuclideanSpace ℝ (Fin n) so that is the Euclidean norm; matrices act on their coordinate vectors (WithLp.ofLp), and is Matrix.vecMulVec.
import Mathlib
namespace LogRegretOCO.FTAL
theorem elliptical_potential {n : ℕ} (u : ℕ → EuclideanSpace ℝ (Fin n)) (r ε : ℝ) (T : ℕ)
(hr : 0 < r) (hε : 0 < ε) (hu : ∀ t ∈ Finset.Icc 1 T, ‖u t‖ ≤ r) :
let V : ℕ → Matrix (Fin n) (Fin n) ℝ := fun t =>
∑ τ ∈ Finset.Icc 1 t, Matrix.vecMulVec (WithLp.ofLp (u τ)) (WithLp.ofLp (u τ))
+ ε • (1 : Matrix (Fin n) (Fin n) ℝ)
∑ t ∈ Finset.Icc 1 T, dotProduct (WithLp.ofLp (u t)) (Matrix.mulVec (V t)⁻¹ (WithLp.ofLp (u t)))
≤ n * Real.log (r ^ 2 * T / ε + 1) := by sorry
end LogRegretOCO.FTAL
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let , let for (with the Euclidean norm), let be real numbers, and let .
Hypotheses.
- and .
- for every .
Matrices. For each , define the matrix
Note that includes the current term . Since , every is symmetric positive definite, so is the genuine inverse.
Conclusion.
where is the natural logarithm and and are treated as real numbers.
Degenerate cases.
- . The left side is an empty sum, and the right side is , so the statement is .
- . Both sides are .
- Zero vectors. Some or all of the may be ; those terms contribute to the left side.
- Indices beyond . Values of for are unconstrained and do not enter the statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.