BanditAlgorithm.bandit_ucb_index_count_bound
Provedbanditsconcentration
(Core counting lemma) Let be independent 1-subgaussian random variables (Mathlib's HasSubgaussianMGF with variance proxy 1) on a probability space, and let be the sample mean of the first of them. For , and the real-valued sum of indicators
the expectation satisfies
Preamble
import Mathlib.Probability.Moments.SubGaussian import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic open MeasureTheory ProbabilityTheory Real
Formal statement
theorem BanditAlgorithm.bandit_ucb_index_count_bound
{Ω : Type} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P]
{X : ℕ → Ω → ℝ}
(h_indep : iIndepFun X P)
(h_subG : ∀ i, HasSubgaussianMGF (X i) 1 P)
{n : ℕ} {ε a : ℝ} (hε : 0 < ε) (ha : 0 < a) :
∫ ω, (∑ t ∈ Finset.Icc 1 n,
if ε ≤ (∑ s ∈ Finset.range t, X s ω) / t + Real.sqrt (2 * a / t)
then (1 : ℝ) else 0) ∂P ≤
1 + 2 / ε ^ 2 * (a + Real.sqrt (Real.pi * a) + 1) := by
sorry
Source
L&S Lemma 8.2, p.118