Fact 1 — Beta–Binomial duality of cdfs
ProvedAgrawalGoyalTS.TwoArmed.beta_cdf_eq_one_sub_binom_cdfbeta-distributionbinomial-distributionp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be positive integers and . Write for the cdf of the distribution and for the cdf of . Then
This identity converts tail probabilities of the Thompson Sampling posterior samples into binomial tail probabilities, which can then be bounded by Chernoff–Hoeffding inequalities.
Formalization Note The restriction is implicit in the paper (the binomial parameter must be a probability; the paper's proof uses for uniforms on ).
Preamble
import Mathlib import Definitions.Def_AgrawalGoyalTS_TwoArmed_BetaBinomial
Formal statement
namespace AgrawalGoyalTS.TwoArmed
/-- Fact 1 (p. 12): for positive integers `α, β` and `y ∈ [0,1]`,
`F^beta_{α,β}(y) = 1 - F^B_{α+β-1,y}(α - 1)`. -/
theorem beta_cdf_eq_one_sub_binom_cdf (α β : ℕ) (hα : 0 < α) (hβ : 0 < β)
(y : ℝ) (hy0 : 0 ≤ y) (hy1 : y ≤ 1) :
betaCDF (α : ℝ) (β : ℝ) y = 1 - binomCDF (α + β - 1) y ((α : ℝ) - 1) := by sorry
end AgrawalGoyalTS.TwoArmed
Source
Agrawal and Goyal, Analysis of Thompson Sampling for the Multi-armed Bandit Problem, arXiv:1111.1797v3, p. 12, Fact 1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.