From 5ef5bff7e2f9044fb5d4f5fea22be3b4351ed49c Mon Sep 17 00:00:00 2001 From: Remy Degenne Date: Sun, 1 Nov 2026 08:28:10 +0100 Subject: [PATCH] Bandits: online linear optimization on normed spaces, losses in the dual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Layer 6 now works in a finite-dimensional real normed space paired with its dual (the pairing Tau Ceti's fenchelConjugate takes), so that strong convexity and the dual norm refer to any norm: the exponential weights bound [LS, Proposition 28.7] is the case of PiLp 1. The unit-ball instance stays on inner product spaces, and the simplex is LMLExplore's `simplex α` instead of the deprecated `stdSimplex`. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0196ftMTTvboLE9rrbLUFss1 --- LMLRoadmaps/Bandits/README.md | 26 +++++++++++++++++++------- LMLRoadmaps/Bandits/Suggested.lean | 24 +++++++++++++----------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/LMLRoadmaps/Bandits/README.md b/LMLRoadmaps/Bandits/README.md index 5051a17..90b9718 100644 --- a/LMLRoadmaps/Bandits/README.md +++ b/LMLRoadmaps/Bandits/README.md @@ -126,7 +126,7 @@ dependency versions used to check the interfaces (LML `53be244`, Mathlib `2e318f | KL divergence | Mathlib `InformationTheory.klDiv`, `klDiv_compProd_eq_add`, `klDiv_map_le`; LML [`ChainRule.lean`][lml-chain] (`klDiv_compProd_right_eq_lintegral`); Tau Ceti [`Pinsker.lean`][tc-pinsker] (`two_mul_sq_measureReal_sub_le_klDiv`) and [`Variational.lean`][tc-dv] | | Sub-Gaussian concentration and martingales | Mathlib [`SubGaussian.lean`][ml-subg] (`HasSubgaussianMGF`, `HasCondSubgaussianMGF`, `hasSubgaussianMGF_of_mem_Icc`, `measure_sum_ge_le_of_iIndepFun`, `measure_sum_ge_le_of_hasCondSubgaussianMGF`), [`OptionalStopping.lean`][ml-os] (`maximal_ineq`), `Supermartingale` | | Laws | Mathlib `gaussianReal`, `bernoulliMeasure`, `multivariateGaussian`; Tau Ceti [`Gaussian/Cdf.lean`][tc-gauss] (`measureReal_Ioi_gaussianReal`) | -| Convex analysis | LML [`Bregman/Basic.lean`][lml-breg] (`bregDiv`, notation `D_[f](x, y, J)`, `bregDiv_three_point`), [`Subgradient/`][lml-subgrad]; Tau Ceti [`Conjugate.lean`][tc-conj] (`fenchelConjugate`), [`Strong.lean`][tc-strong] (`StrongConvexOn.add_add_le_of_hasFDerivWithinAt`); Mathlib `stdSimplex`, `StrongConvexOn` | +| Convex analysis | LML [`Bregman/Basic.lean`][lml-breg] (`bregDiv`, notation `D_[f](x, y, J)`, `bregDiv_three_point`), [`Subgradient/`][lml-subgrad]; Tau Ceti [`Conjugate.lean`][tc-conj] (`fenchelConjugate`, for a bilinear pairing), [`Strong.lean`][tc-strong] (`StrongConvexOn.add_add_le_of_hasFDerivWithinAt`); Mathlib `StrongConvexOn`, `PiLp`; LMLExplore `simplex` (`Analysis/Convex/Simplex.lean`) | | Linear algebra | Mathlib `ContinuousLinearMap.IsPositive` and its Loewner order, `LinearMap.det`, `Matrix.det_one_add_replicateCol_mul_replicateRow`, `Matrix.add_mul_mul_inv_eq_sub`; Tau Ceti [`Frame.lean`][tc-frame] (`frameOperator`) and [`AffineNormalization.lean`][tc-affine] (`IsCompact.exists_affineBasis_abs_coord_le_one`) | The [Kiefer–Wolfowitz formalization in `colt-2026-83`][kw] (Apache-2.0, no `sorry`) proves the @@ -328,7 +328,14 @@ a prior over environments); do not restate its results. ## Layer 6: Convex analysis and online linear optimization -Work in a finite-dimensional real inner product space `E`. Losses are minimized. +Work in a finite-dimensional real normed space `E`, paired with its dual `E →L[ℝ] ℝ` by +`(x, y) ↦ y x`; this is the bilinear pairing that Tau Ceti's `fenchelConjugate` takes. Losses and +gradients live in the dual: the loss of a play `a` under the loss `y` is `y a`, and the regret +against `u` after `n` rounds is $\sum_{t