Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6, Appendix D, p. 46 (corrected: D_inf(P_i, µ*(ν), M) < ∞) — sub-optimal arms are played infinitely often in probability

Proved
FragileBandit.CauchyTail.lemma_6

by mikedeng1 · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

burnetas-katehakislai-robbinsmulti-armed-banditp2o-batch-pfp2ap2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Sub-optimal arms are sampled infinitely often. Let M\mathcal MM be a model: a set of probability laws on R\mathbb RR with finite means. For a law QQQ and y∈Ry \in \mathbb Ry∈R let

Dinf⁡(Q,y,M)=inf⁡{D(Q ∥ Q′):Q′∈M, μ(Q′)>y},inf⁡∅=+∞(29).D_{\inf}(Q,y,\mathcal M) = \inf\{D(Q\,\|\,Q') : Q' \in \mathcal M,\ \mu(Q') > y\},\qquad \inf\emptyset = +\infty \quad (29).Dinf​(Q,y,M)=inf{D(Q∥Q′):Q′∈M, μ(Q′)>y},inf∅=+∞(29).

Let f:(1,∞)→(0,∞)f : (1,\infty)\to(0,\infty)f:(1,∞)→(0,∞) be non-decreasing with lim inf⁡t→∞f(t)/log⁡t≥1\liminf_{t\to\infty} f(t)/\log t \ge 1liminft→∞​f(t)/logt≥1 and f(t)=o(t)f(t) = o(t)f(t)=o(t). Let E\mathcal EE be a class of environments of MK\mathcal M^KMK on which the algorithm π\piπ satisfies, for every sub-optimal arm iii,

lim sup⁡T→∞log⁡Pνπ(Ni(T)>T/K)f(T)≤−1(31).\limsup_{T\to\infty}\frac{\log\mathbb P_{\nu\pi}(N_i(T) > T/K)}{f(T)} \le -1 \quad (31).T→∞limsup​f(T)logPνπ​(Ni​(T)>T/K)​≤−1(31).

Let ν∈E\nu \in \mathcal Eν∈E and let iii be a sub-optimal arm of ν\nuν such that replacing the law of arm iii by any Q∈MQ \in \mathcal MQ∈M with mean above μ∗(ν)\mu_*(\nu)μ∗​(ν) gives an environment of E\mathcal EE (automatic for E=MK\mathcal E = \mathcal M^KE=MK). If Dinf⁡(Pi,μ∗(ν),M)<∞D_{\inf}(P_i,\mu_*(\nu),\mathcal M) < \inftyDinf​(Pi​,μ∗​(ν),M)<∞, then Ni(T)→∞N_i(T) \to \inftyNi​(T)→∞ in Pνπ\mathbb P_{\nu\pi}Pνπ​-probability:

lim⁡T→∞Pνπ(Ni(T)≤m)=0for every m∈N.\lim_{T\to\infty}\mathbb P_{\nu\pi}\big(N_i(T) \le m\big) = 0\quad\text{for every } m \in \mathbb N.T→∞lim​Pνπ​(Ni​(T)≤m)=0for every m∈N.

Lemma 6 feeds the weak law of large numbers used in the proof of Theorem 4: the change of measure there needs the log-likelihood average over the plays of arm iii, which requires many plays.

Formalization Note (31) is posed in power form: for every a<1a < 1a<1, eventually Pνπ(Ni(T)>T/K)≤e−af(T)\mathbb P_{\nu\pi}(N_i(T) > T/K) \le e^{-a f(T)}Pνπ​(Ni​(T)>T/K)≤e−af(T). Dinf⁡D_{\inf}Dinf​ is the published banditDInf, valued in [0,∞][0,\infty][0,∞].

Differences from the source:

  • correction: no condition on D_inf(P_i, µ*(ν), M) → hypothesis D_inf(P_i, µ*(ν), M) < ∞; reason: the printed lemma is false: M = {δ_0, δ_1}, K = 2, f = log, ν = (δ_0, δ_1), and π plays each arm once, then forever the arm that paid 1; (31) holds on every environment of M² (a sub-optimal arm is played once) but N_1(T) = 1 for all T ≥ 2; the proof's step (85) needs P_i ≪ P_1 for some P_1 ∈ M with larger mean, which finite D_inf provides
  • generalization: (31) assumed for every environment of M^K; conclusions for every environment of M^K → (31) assumed only on a class 𝓔 ⊆ M^K; conclusion for every ν ∈ 𝓔 such that replacing arm i by any Q ∈ M with mean above µ_*(ν) stays in 𝓔; reason: with 𝓔 = M^K the closure holds automatically and the statement is the printed one; with 𝓔 = the distinct-means environments of M_P^K it is what Theorem 1's proof needs (the replaced arm becomes the unique best arm)
  • reading: f : (1, ∞) → (0, ∞) 'increasing' → f : ℝ → ℝ, positive and non-decreasing (MonotoneOn) on (1, ∞); reason: 'increasing' may mean strict or non-strict; the non-strict reading is the weaker hypothesis, hence the stronger theorem, and the proof (pp. 45–47) does not use monotonicity
  • encoding: liminf_{t→∞} f(t)/log t ≥ 1 and f(t) = o(t); (31) limsup_T log P_νπ(N_i(T) > T/K)/f(T) ≤ −1 → ∀ a < 1, eventually a·log t ≤ f(t); f(t)/t → 0; (31) as ∀ a < 1, eventually P_νπ(N_i(T) > T/K) ≤ e^{−a f(T)}; reason: equivalent since f > 0 and log t > 0 for t > 1; the power form of (31) handles P = 0 (log 0 = −∞)
  • encoding: a general model M of distributions on ℝ with finite means (p. 27); environments of M^K, ties allowed → M : Set (Measure ℝ) with every Q ∈ M a probability measure with ∫|x| dQ < ∞; environments are StochasticBandit K with every arm law in M; reason: the paper's model; the finite-mean condition makes banditDInf's Bochner mean the true mean
  • encoding: P_νπ on ([K] × ℝ)^∞ (p. 7), events about N_i(T) → banditMeasure ν π T on the histories of the first T rounds (published BanditPolicy), N_i(T) = armPullCount i h; reason: the infinite-horizon law restricted to the first T rounds is exactly banditMeasure ν π T, and N_i(T) depends only on those rounds
Preamble
import Mathlib
import Definitions.Def_FragileBandit_CauchyTail_Setting
Formal statement
namespace FragileBandit.CauchyTail

open MeasureTheory ProbabilityTheory Filter BanditAlgorithm
open scoped ENNReal Topology

/-- Lemma 6 (Appendix D, p. 46), corrected: under the assumptions of Theorem 4 (posed for a class `𝓔`
of environments of `M^K` on which (31) holds, closed under replacing arm `i` by a law of `M` whose mean
exceeds `µ_*(ν)`), for every `ν ∈ 𝓔` and every sub-optimal arm `i` with
`D_inf(P_i, µ_*(ν), M) < ∞`, `N_i(T) → ∞` in `P_νπ`-probability. -/
theorem lemma_6 {K : ℕ} (M : Set (Measure ℝ))
    (hM : ∀ Q ∈ M, IsProbabilityMeasure Q ∧ Integrable id Q)
    (f : ℝ → ℝ) (hf_pos : ∀ t : ℝ, 1 < t → 0 < f t) (hf_mono : MonotoneOn f (Set.Ioi 1))
    (hf_log : ∀ a : ℝ, a < 1 → ∀ᶠ t : ℝ in atTop, a * Real.log t ≤ f t)
    (hf_o : Tendsto (fun t : ℝ => f t / t) atTop (𝓝 0))
    (π : BanditPolicy K) (𝓔 : Set (StochasticBandit K))
    (h𝓔M : ∀ ν ∈ 𝓔, ∀ j, ν.P j ∈ M)
    (h31 : ∀ ν ∈ 𝓔, ∀ i, 0 < banditGap ν i → ∀ a : ℝ, a < 1 → ∀ᶠ T : ℕ in atTop,
      banditMeasure ν π T {h | (T : ℝ) / K < (armPullCount i h : ℝ)} ≤
        ENNReal.ofReal (Real.exp (-(a * f T))))
    (ν : StochasticBandit K) (hν : ν ∈ 𝓔) (i : Fin K) (hi : 0 < banditGap ν i)
    (hclosed : ∀ (Q : Measure ℝ) (hQ : IsProbabilityMeasure Q), Q ∈ M →
      banditOptimalMean ν < ∫ x, x ∂Q → replaceArm ν i Q hQ ∈ 𝓔)
    (hfin : banditDInf M (ν.P i) (banditOptimalMean ν) < ⊤) :
    ∀ m : ℕ, Tendsto (fun T : ℕ => banditMeasure ν π T {h | armPullCount i h ≤ m})
      atTop (𝓝 0) := by sorry

end FragileBandit.CauchyTail
Source
Fan, Glynn, The Fragility of Optimized Bandit Algorithms, arXiv:2109.13595v8, p. 46, Appendix D, Lemma 6 (assumptions of Theorem 4, p. 28, (31))
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me