Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, p. 24 — every policy that knows the periods has regret ≥ √(T·max_k T_k)/(32e) on some instance of ℰ₃(T₁,…,T_K)

Proved
PeriodicMAB.Lower.theorem_3

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

gaussian-banditmulti-armed-banditnon-stationary-banditp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1periodicityregret-lower-bound

Consider the periodic multi-armed bandit with K≥2K \ge 2K≥2 arms and unit-variance Gaussian rewards: if arm kkk is pulled at epoch ttt, the reward is drawn from N(μk,t,1)\mathcal N(\mu_{k,t}, 1)N(μk,t​,1). Let TTT be the horizon and T1,…,TK≥1T_1, \dots, T_K \ge 1T1​,…,TK​≥1 integer periods satisfying Assumption 3 with the parameters (7): T>4KT > 4KT>4K, and with n=⌊T/K⌋n = \lfloor\sqrt{T/K}\rfloorn=⌊T/K​⌋ and g=⌈n⌉g = \lceil\sqrt n\rceilg=⌈n​⌉, g≥2g \ge 2g≥2 and Tk<n/(2g)T_k < n/(2g)Tk​<n/(2g) for every kkk.

Let E3(T1,…,TK)\mathcal E_3(T_1, \dots, T_K)E3​(T1​,…,TK​) be the class of instances whose arm kkk has mean sequence of minimum period exactly TkT_kTk​, with all means in [0,1][0,1][0,1] on epochs 1,…,T1, \dots, T1,…,T. Then for every policy π\piπ there is an instance ν∈E3(T1,…,TK)\nu \in \mathcal E_3(T_1,\dots,T_K)ν∈E3​(T1​,…,TK​) such that

Eν[RTπ]≥132eTmax⁡kTk,\mathbb E_\nu[R^\pi_T] \ge \frac{1}{32e}\sqrt{T \max_{k} T_k},Eν​[RTπ​]≥32e1​Tkmax​Tk​​,

where Eν[RTπ]=∑t=1T(max⁡kμk,t−E[μπt,t])\mathbb E_\nu[R^\pi_T] = \sum_{t=1}^T(\max_k \mu_{k,t} - \mathbb E[\mu_{\pi_t,t}])Eν​[RTπ​]=∑t=1T​(maxk​μk,t​−E[μπt​,t​]) is the expected regret (1).

Hence sup⁡ν∈E3(T1,…,TK)Eν[RTπ]≥Tmax⁡kTk/(32e)\sup_{\nu \in \mathcal E_3(T_1,\dots,T_K)} \mathbb E_\nu[R^\pi_T] \ge \sqrt{T\max_k T_k}/(32e)supν∈E3​(T1​,…,TK​)​Eν​[RTπ​]≥Tmaxk​Tk​​/(32e), the paper's Theorem 3. Since Tmax⁡kTk≥T∑kTk/K\sqrt{T\max_k T_k} \ge \sqrt{T\sum_k T_k}/\sqrt KTmaxk​Tk​​≥T∑k​Tk​​/K​, it shows that the O~(T∑kTk)\tilde O(\sqrt{T\sum_k T_k})O~(T∑k​Tk​​) regret of the paper's two-stage policy is optimal up to logarithmic factors when KKK is fixed.

Formalization Note The policy is an arbitrary randomized policy (one Markov kernel per round, the platform's BanditAlgorithm.BanditPolicy), fixed before the instance; it may therefore depend on KKK, TTT and the periods, which is the paper's "policy that knows TkT_kTk​". The hypothesis K≥2K \ge 2K≥2 is added (with one arm the regret is 000). Assumption 3 with (7) is the standing assumption of Appendix B.4 (p. 46). Arms are 0-based; no arm is assumed to carry the largest period.

Preamble
import Mathlib
import Definitions.Def_BanditPolicy
import Definitions.Def_GaussianBandit
import Definitions.Def_PeriodicMAB_Lower_Model
Formal statement
namespace PeriodicMAB.Lower

open BanditAlgorithm

theorem theorem_3 (K T : ℕ) [NeZero K] (Tper : Fin K → ℕ) (hK : 2 ≤ K)
    (hTper : ∀ k, 1 ≤ Tper k) (hA3 : Assumption3 K T Tper) (π : BanditPolicy K) :
    ∃ μ : Fin K → ℕ → ℝ, InE3 T Tper μ ∧
      Real.sqrt ((T : ℝ) * ((Finset.univ.sup Tper : ℕ) : ℝ)) / (32 * Real.exp 1) ≤
        periodicRegret μ π T := by sorry

end PeriodicMAB.Lower
Source
Chen, Wang and Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, p. 24, Theorem 3 (proof pp. 47–49, (B-47)–(B-49)); Assumption 3 and (7), p. 12; standing assumptions of B.4, p. 46
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