BanditAlgorithm.linear_bandit_phased_elimination_regret
Proved(Phased elimination with G-optimal design — Theorem 22.1) There is a universal constant such that for every fixed action set of arms in , horizon and there is a policy (Algorithm 12: phased elimination with G-optimal exploration) such that on every linear bandit instance with gaps : with probability at least , the random regret satisfies
and if , the expected regret satisfies
import Definitions.Def_StochasticLinearBandit import Definitions.Def_banditRegret open Matrix MeasureTheory ProbabilityTheory
theorem BanditAlgorithm.linear_bandit_phased_elimination_regret :
∃ C : ℝ, 0 < C ∧
∀ (k d n : ℕ), 0 < k → 0 < d → 2 ≤ n →
∀ (arms : Fin k → Fin d → ℝ) (δ : ℝ), δ ∈ Set.Ioo (0 : ℝ) 1 →
∃ π : BanditPolicy k,
∀ (θstar : Fin d → ℝ) (ν : StochasticBandit k),
IsLinearBandit arms θstar ν →
(∀ i, banditGap ν i ≤ 1) →
1 - δ ≤ (banditMeasure ν π n).real
{h | ∑ i, (armPullCount i h : ℝ) * banditGap ν i ≤
C * Real.sqrt (n * d * Real.log (k * Real.log n / δ))} ∧
(δ = 1 / n →
banditRegret ν π n ≤
C * Real.sqrt (n * d * Real.log (k * n))) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Setup and notation. This is an existence statement about -armed stochastic bandits with linear structure. A -armed bandit is a -tuple of probability measures on with means , optimal mean , and gaps . A policy is a family of Markov kernels from histories to arms; is the induced law on length- histories (arm from the policy kernel, then reward from that arm's distribution); for a history , denotes the number of rounds in which arm was played; and the expected regret is . For features and , " realizes " means for every and is -sub-Gaussian (each integrable and for all real , with the corresponding integrability).
Assertion. There exists such that for all and , all feature maps , and every (open), there exists a policy such that for every pair with realizing and all gaps bounded, for every arm , both of the following hold:
(the probability expressed as a real number), and
Hypotheses (in quantifier order).
- One constant uniform over everything.
- , , ; features arbitrary (no norm bound on is assumed); .
- is chosen after but before : one policy serves all realizing pairs.
- realizes : linear means plus -sub-Gaussian noise (variance proxy ).
- Gap bound: for every arm ; no bound on is assumed.
Edge cases.
- The second clause is conditional on the supplied being exactly ; for any other it holds vacuously, and only the high-probability clause has content.
- The nested-logarithm argument can be less than (e.g. small and with near ), making the inner logarithm negative; the real square root of the then-negative product is by convention, and the event degenerates to .
- Gaps satisfy automatically (the optimal mean is a maximum over the nonempty finite arm set), so the pull-count-weighted sum is a nonnegative "pseudo-regret of the realized history".
- Expected regret is defined through a Bochner integral ( by convention if non-integrable); the two clauses must hold jointly for the same policy.
Confirmed by the mission captain (proposal self-audit).