BanditAlgorithm.bandit_high_probability_lower_bound
Proved(High-probability lower bound, stochastic) Suppose a policy satisfies
for all (Gaussian bandits with suboptimality gaps at most 1). Then for every there exists a bandit in the class with
— expected-regret optimality forces heavy tails on the random regret.
import Definitions.Def_banditRegret import Definitions.Def_GaussianBandit open MeasureTheory ProbabilityTheory
theorem BanditAlgorithm.bandit_high_probability_lower_bound {k n : ℕ} (hk : 2 ≤ k) (hn : 1 ≤ n)
{B : ℝ} (hB : 0 < B) (π : BanditPolicy k)
(hbound : ∀ μvec : Fin k → ℝ, (∀ i, μvec i ∈ Set.Icc (0 : ℝ) 1) →
banditRegret (gaussianBandit μvec) π n ≤ B * Real.sqrt (((k : ℝ) - 1) * n))
{δ : ℝ} (hδ : δ ∈ Set.Ioo (0 : ℝ) 1) :
∃ μvec : Fin k → ℝ, (∀ i, μvec i ∈ Set.Icc (0 : ℝ) 1) ∧
δ ≤ (banditMeasure (gaussianBandit μvec) π n).real
{h | (1 / 4 : ℝ) * min (n : ℝ)
(Real.sqrt (((k : ℝ) - 1) * n) * Real.log (1 / (4 * δ)) / B) ≤
∑ i, (armPullCount i h : ℝ) * banditGap (gaussianBandit μvec) i} := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Setup and notation. For a real vector , let be the Gaussian bandit whose arm- distribution is (variance ). Write for the Bochner-integral mean of arm 's distribution, , and for the gaps of . For a policy , is the canonical probability measure on length- histories of under (empty-history point mass, then repeatedly: arm from the policy kernel given the history, reward from that arm, pair appended); is the number of rounds of the history playing arm ; is the expected regret (defaulting-integral convention). applied to a set below denotes the real number obtained from the measure of that set.
Assertion. There exists a mean vector such that
i.e. under the witness instance, with probability at least the realized history's pull-count-weighted sum of gaps reaches the displayed threshold.
Hypotheses.
- and .
- is real.
- Uniform regret bound on the cube: for every vector (componentwise), , at this same horizon .
- (open interval, both inequalities strict).
Edge cases.
- If then and the threshold inside the event is nonpositive.
- The uniform regret hypothesis constrains only on mean vectors inside ; the witness is also only guaranteed inside the cube.
- Both the threshold comparison in the event and the probability bound are non-strict; the sum in the event runs over all arms.
- In the display, , and the pull counts are cast to reals ( is real subtraction); the measure of the event set is taken as-is and converted to a real number.
- and the gaps carry the stated conventions (supremum optimal mean; Bochner integrals defaulting to ).
Confirmed by the mission captain (proposal self-audit).