Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9, p. 22 — for the oracle, P(E)≥1−δSP(\mathcal E)\ge1-\delta SP(E)≥1−δS

Proved
PeriodicMAB.Upper.lemma_9

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

concentrationconfidence-boundsmulti-armed-banditp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let the noise satisfy Assumption 2 with parameter σ>0\sigma>0σ>0, let every arm have a mean sequence of minimum period TkT_kTk​, assume Assumption 3 and nK≤TnK\le TnK≤T, and let δ∈(0,1)\delta\in(0,1)δ∈(0,1). For the weak oracle (Algorithm 2 run with the true periods), the event

E={∣m~k,t(s)−μk,t∣≤w~k,t(s)  ∀k∈K, t∈{nK+1,…,T}, s∈S}\mathcal E=\Big\{\big|\tilde m^{(s)}_{k,t}-\mu_{k,t}\big|\le\tilde w^{(s)}_{k,t}\ \ \forall k\in\mathcal K,\ t\in\{nK+1,\dots,T\},\ s\in\mathcal S\Big\}E={​m~k,t(s)​−μk,t​​≤w~k,t(s)​  ∀k∈K, t∈{nK+1,…,T}, s∈S}

satisfies P(E)≥1−δS\mathbb P(\mathcal E)\ge1-\delta SP(E)≥1−δS, where S={1,…,S}\mathcal S=\{1,\dots,S\}S={1,…,S} and S=⌊log⁡2T⌋S=\lfloor\log_2T\rfloorS=⌊log2​T⌋.

On E\mathcal EE every estimated mean of the oracle's tournament is within its confidence width of the true mean, which is what the screening analysis of Lemma 10 needs.

Formalization Note Stated as P(Ec)≤δS\mathbb P(\mathcal E^c)\le\delta SP(Ec)≤δS (outer measure). Assumption 3 and nK≤TnK\le TnK≤T are standing assumptions of §4 (stage two exists and every phase is sampled in stage one); they are recorded as hypotheses. The oracle uses arbitrary exploration length nnn here, not necessarily (7).

Preamble
import Mathlib
import Definitions.Def_PeriodicMAB_Upper_Model
import Definitions.Def_PeriodicMAB_Upper_Spectral
import Definitions.Def_PeriodicMAB_Upper_Policy

open MeasureTheory ProbabilityTheory Finset
open scoped NNReal
Formal statement
namespace PeriodicMAB.Upper

/-- Lemma 9 (p. 22): for the oracle policy with any `δ ∈ (0,1)`, the event `ℰ` that
`|m̃^(s)_{k,t} − µ_{k,t}| ≤ w̃^(s)_{k,t}` for all arms, all stage-two epochs `t ≤ T` and all
rounds `s ∈ 𝒮` has `P(ℰ) ≥ 1 − δS`, `S = ⌊log₂ T⌋`. -/
theorem lemma_9 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (ε : ℕ → Ω → ℝ) (σ : ℝ≥0) (hσ : 0 < σ) (hε : IsSubGaussianNoise P ε σ)
    {K : ℕ} [NeZero K] (μ : Fin K → ℕ → ℝ) (Tper : Fin K → ℕ) (T n g : ℕ) (δ : ℝ)
    (hper : ∀ k, IsMinPeriod (μ k) (Tper k)) (hA3 : Assumption3 T n g Tper) (hnK : n * K ≤ T)
    (hδ : 0 < δ) (hδ1 : δ < 1) :
    P (eventE μ ε σ δ T n Tper)ᶜ ≤ ENNReal.ofReal (δ * Nat.log 2 T) := by sorry

end PeriodicMAB.Upper
Source
Chen, Wang and Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, p. 22, Lemma 9
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 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