Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 3, p. 28 — the one-sided WLLN (32) plus convergence of E[N_i(T)]/log T gives the two-sided WLLN

Proved
FragileBandit.CauchyTail.remark_3

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

law-of-large-numbersmulti-armed-banditp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

From a one-sided to a two-sided law of large numbers. Let ν\nuν be any environment, π\piπ any algorithm, iii an arm and c≥0c \ge 0c≥0. Suppose

lim⁡T→∞Eνπ[Ni(T)]log⁡T=c\lim_{T\to\infty}\frac{\mathbb E_{\nu\pi}[N_i(T)]}{\log T} = cT→∞lim​logTEνπ​[Ni​(T)]​=c

and the one-sided weak law of (32) with f=log⁡f = \logf=log holds: for every ϵ∈(0,1)\epsilon \in (0,1)ϵ∈(0,1), Pνπ(Ni(T)/log⁡T≥(1−ϵ)c)→1\mathbb P_{\nu\pi}\big(N_i(T)/\log T \ge (1-\epsilon)c\big) \to 1Pνπ​(Ni​(T)/logT≥(1−ϵ)c)→1. Then Ni(T)/log⁡T→cN_i(T)/\log T \to cNi​(T)/logT→c in Pνπ\mathbb P_{\nu\pi}Pνπ​-probability: for every δ>0\delta > 0δ>0,

lim⁡T→∞Pνπ(∣Ni(T)log⁡T−c∣>δ)=0.\lim_{T\to\infty}\mathbb P_{\nu\pi}\Big(\Big|\frac{N_i(T)}{\log T} - c\Big| > \delta\Big) = 0.T→∞lim​Pνπ​(​logTNi​(T)​−c​>δ)=0.

This is the last sentence of Remark 3: for an optimized algorithm, Definition 2 gives the convergence of expectations with c=1/Dinf⁡c = 1/D_{\inf}c=1/Dinf​, Theorem 4 gives the one-sided law, and together they give the two-sided law (Lemma 4, and Lemma 2 in the exponential family), which the proof of Theorem 1 uses at the auxiliary environment ν~\tilde\nuν~.

Differences from the source:

  • generalization: an M-optimized algorithm (Definition 5) with c = 1/D_inf(P_i, µ*(ν), M), where (32) comes from Theorem 4 with f = log → any environment, algorithm, arm and c ≥ 0, with the convergence of E_νπ[N_i(T)]/log T to c and the one-sided law (32) as hypotheses; reason: Definition 5 is exactly the convergence of expectations with c = 1/D_inf, and Theorem 4 supplies (32), so Remark 3's implication is the special case
  • 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

/-- Remark 3 (p. 28): the "one-sided" WLLN (32) for `f = log`, together with the convergence
`E_νπ[N_i(T)] / log T → c`, implies the "two-sided" WLLN `N_i(T) / log T → c` in `P_νπ`-probability. -/
theorem remark_3 {K : ℕ} (ν : StochasticBandit K) (π : BanditPolicy K) (i : Fin K)
    (c : ℝ) (hc : 0 ≤ c)
    (hE : Tendsto (fun T : ℕ => expPulls ν π T i / Real.log T) atTop (𝓝 c))
    (h32 : ∀ ε : ℝ, ε ∈ Set.Ioo (0 : ℝ) 1 →
      Tendsto (fun T : ℕ => banditMeasure ν π T
        {h | (1 - ε) * c ≤ (armPullCount i h : ℝ) / Real.log T}) atTop (𝓝 1)) :
    ∀ δ : ℝ, 0 < δ → Tendsto (fun T : ℕ => banditMeasure ν π T
      {h | δ < |(armPullCount i h : ℝ) / Real.log T - c|}) atTop (𝓝 0) := by sorry

end FragileBandit.CauchyTail
Source
Fan, Glynn, The Fragility of Optimized Bandit Algorithms, arXiv:2109.13595v8, p. 28, Remark 3 (last two sentences)
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