Lemma 1, p. 15 — EllipsoidPricing explores in at most 2d² ln(20R(d+1)/ε) periods
ProvedFeaturePricing.Ellipsoid.lemma1_explore_countRun EllipsoidPricing in dimension from , , with parameter , on a feature sequence with for all , and true parameter (Euclidean norms). Then for every horizon , the number of periods in which the algorithm chooses the explore price satisfies
Lemma 1 is the core of the regret analysis: exploitation periods cost at most each, so bounding the number of exploration periods bounds the regret.
Formalization Note The hypothesis is not printed. Without it the right-hand side is negative while the count is nonnegative, so the printed lemma is false for larger (with and there are no explorations but the bound is ); it is the initial eigenvalue floor used in the proof (p. 20). The count is cast to and taken over Lean periods (paper periods ). The bound on is the standing normalization of §3; the count does not depend on it in the paper's argument.
import Mathlib import Definitions.Def_FeaturePricing_Ellipsoid_EllipsoidPricing
namespace FeaturePricing.Ellipsoid
open Matrix LinearOptimization
/-- **Lemma 1, p. 15.** EllipsoidPricing from `E₁ = B(0, R)` with `0 < ε ≤ 20R(d+1)` and features
`‖x_t‖ ≤ 1` (Euclidean) chooses the explore price in at most `2d² ln(20R(d+1)/ε)` periods: for
every horizon `T`, the number of exploration periods among the first `T` is at most that bound. -/
theorem lemma1_explore_count {d : ℕ} (hd : 2 ≤ d) {R ε : ℝ} (hR : 0 < R) (hε : 0 < ε)
(hεR : ε ≤ 20 * R * ((d : ℝ) + 1))
(θ : Fin d → ℝ) (hθ : θ ⬝ᵥ θ ≤ R ^ 2) (x : ℕ → Fin d → ℝ) (hx : ∀ t, x t ⬝ᵥ x t ≤ 1)
(T : ℕ) :
open Classical in
(((Finset.range T).filter (fun t => isExplore R ε θ x t)).card : ℝ) ≤
2 * (d : ℝ) ^ 2 * Real.log (20 * R * ((d : ℝ) + 1) / ε) := by sorry
end FeaturePricing.Ellipsoid
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.