BanditAlgorithm.bandit_moss_minimax_regret_bound
Proved(MOSS minimax optimality) Consider any 1-subgaussian -armed bandit and any policy that is an instance of MOSS at horizon (Algorithm 7: play each arm once, then
with ). If (implicit in the book: the algorithm plays each arm once before using the index) then
import Definitions.Def_banditRegret import Definitions.Def_mossPolicy open MeasureTheory ProbabilityTheory
theorem BanditAlgorithm.bandit_moss_minimax_regret_bound {k : ℕ}
{ν : StochasticBandit k} (hν : IsSubgaussianBandit 1 ν)
{n : ℕ} {π : BanditPolicy k} (hπ : IsMOSSPolicy n π) (hkn : k ≤ n) :
banditRegret ν π n ≤
39 * Real.sqrt ((k : ℝ) * n) + ∑ i, banditGap ν i := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Setup and notation. A -armed bandit is a family of Borel probability measures on , with means (Bochner integral, if not integrable), ( for ), gaps . is the canonical measure on length- histories generated by a policy (arm from the policy kernel given the history, reward from that arm's distribution, appended step by step from the empty history), and the expected regret is (integral by convention if the total reward is not integrable). With , the pull count and empirical mean at a history (both for unpulled arms via ), , and horizon parameter , the index is (conventions: makes both fractions and the index ). The policy property with parameter : at every history of every length there is an arm selected with probability one (the kernel equals ), which is unpulled whenever some arm is unpulled, and which non-strictly maximizes over all arms whenever every arm has been pulled.
Assertion.
where the last sum runs over all arms.
Hypotheses.
- is -sub-Gaussian: each arm's identity is integrable, and each centered variable satisfies the MGF bound (with integrability) for all real .
- satisfies the index-policy property with horizon parameter equal to this same .
- .
Edge cases.
- The additive term sums the gaps of all arms, including arms of maximal mean, not only suboptimal arms.
- For the policy property is unsatisfiable, so the statement holds vacuously.
- carries the stated conventions (supremum ; total-reward integral defaulting to ).
- The bound is non-strict, with explicit constant .
Confirmed by the mission captain (proposal self-audit).