Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 16, p. 43 — ∑t∈Ψ(s)(T)w~π~t,t(s)≤4σ∣Ψ(s)(T)∣ dlog⁡(8T/δ)log⁡(T/d)\sum_{t\in\Psi^{(s)}(T)}\tilde w^{(s)}_{\tilde\pi_t,t}\le4\sigma\sqrt{|\Psi^{(s)}(T)|\,d\log(8T/\delta)\log(T/d)}∑t∈Ψ(s)(T)​w~π~t​,t(s)​≤4σ∣Ψ(s)(T)∣dlog(8T/δ)log(T/d)​

Proved
PeriodicMAB.Upper.lemma_16

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

confidence-boundsmulti-armed-banditp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1regret

Assume Assumption 3, nK≤TnK\le TnK≤T, positive periods T1,…,TKT_1,\dots,T_KT1​,…,TK​ with d=∑kTkd=\sum_kT_kd=∑k​Tk​, and δ∈(0,1)\delta\in(0,1)δ∈(0,1). For the weak oracle and every round s∈S={1,…,⌊log⁡2T⌋}s\in\mathcal S=\{1,\dots,\lfloor\log_2T\rfloor\}s∈S={1,…,⌊log2​T⌋},

∑t∈Ψ(s)(T)w~π~t,t(s)≤4σ∣Ψ(s)(T)∣ d log⁡(8Tδ)log⁡(Td),\sum_{t\in\Psi^{(s)}(T)}\tilde w^{(s)}_{\tilde\pi_t,t}\le4\sigma\sqrt{|\Psi^{(s)}(T)|\,d\,\log\Big(\frac{8T}{\delta}\Big)\log\Big(\frac Td\Big)} ,t∈Ψ(s)(T)∑​w~π~t​,t(s)​≤4σ∣Ψ(s)(T)∣dlog(δ8T​)log(dT​)​,

where Ψ(s)(T)\Psi^{(s)}(T)Ψ(s)(T) is the set of stage-two epochs before TTT at which the oracle pulled an arm in Step 9 of round sss, and w~π~t,t(s)\tilde w^{(s)}_{\tilde\pi_t,t}w~π~t​,t(s)​ is the width (17) of the arm pulled at ttt.

This bounds the total exploration cost of round sss, which the proof of Lemma 11 converts into regret.

Formalization Note The statement is pathwise and holds for every reward table (the oracle's run depends on the rewards only through which arms it pulls). Assumption 3 enters through Tk<n/2T_k<n/2Tk​<n/2, which makes every stage-one phase count at least 222, and through d<Td<Td<T.

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 16 (p. 43): for the oracle policy (any reward table `Y`) and every round `s ∈ 𝒮`,
`∑_{t ∈ Ψ^(s)(T)} w̃^(s)_{π̃_t,t} ≤ 4σ √(|Ψ^(s)(T)| d log(8T/δ) log(T/d))`, `d = ∑_k T_k`. -/
theorem lemma_16 (σ : ℝ≥0) (hσ : 0 < σ) {K : ℕ} [NeZero K] (Tper : Fin K → ℕ) (T n g : ℕ)
    (δ : ℝ) (hTper : ∀ k, 0 < Tper k) (hA3 : Assumption3 T n g Tper) (hnK : n * K ≤ T)
    (hδ : 0 < δ) (hδ1 : δ < 1) (Y : Fin K → ℕ → ℝ) :
    ∀ s ∈ Icc 1 (Nat.log 2 T),
      ∑ t ∈ psiAt σ δ T n Tper Y s T, wAt σ δ T n Tper Y s (policy σ δ T n Tper Y t) t ≤
        4 * σ * Real.sqrt ((psiAt σ δ T n Tper Y s T).card * effArms Tper *
          Real.log (8 * T / δ) * Real.log (T / effArms Tper)) := by sorry

end PeriodicMAB.Upper
Source
Chen, Wang and Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, p. 43, Lemma 16
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