Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8, p. 66 — under µ^(1)_{j,k}, E[(Tµ* − Σ_t µ_{a_t})·1{E^(1)_{j,k}}] ≥ R_bad(S,K,T)·P(E^(1)_{j,k}) (q ≥ 1, regret integrand)

Proved
BwSC.LowerBound.lemma_8

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

lower-boundmulti-armed-banditsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1switching-constraints

Let K>1K>1K>1, T≥2KT\ge2KT≥2K, π∈ΠS\pi\in\Pi_Sπ∈ΠS​, write q=q(S,K)q=q(S,K)q=q(S,K), r=r(S,K)r=r(S,K)r=r(S,K), and assume q≥1q\ge1q≥1 and the standing assumption q(S,K)+2≤log⁡2log⁡2(T/K)q(S,K)+2\le\log_2\log_2(T/K)q(S,K)+2≤log2​log2​(T/K) of p. 59 ("we focus on this case in the rest of our proof"). For every j∈[q+2]j\in[q+2]j∈[q+2] and k∈[K]k\in[K]k∈[K], under the alternative environment μj,k(1)\mu^{(1)}_{j,k}μj,k(1)​ (mean Δj(1)\Delta^{(1)}_jΔj(1)​ on arm kkk, 000 elsewhere), with P=Pμj,k(1)π\mathbb P=\mathbb P^\pi_{\mu^{(1)}_{j,k}}P=Pμj,k(1)​π​ and μ∗=max⁡iμj,k;i(1)\mu^*=\max_i\mu^{(1)}_{j,k;i}μ∗=maxi​μj,k;i(1)​,

E[(Tμ∗−∑t=1Tμj,k;at(1))1{Ej,k(1)}] ≥ Rbad(S,K,T)⋅P(Ej,k(1)),Rbad(S,K,T)=K−r8(q+2)(TK−r)12−2−q.\mathbb E\Big[\Big(T\mu^*-\sum_{t=1}^T\mu^{(1)}_{j,k;a_t}\Big)\mathbb 1\big\{E^{(1)}_{j,k}\big\}\Big]\ \ge\ R_{\rm bad}(S,K,T)\cdot\mathbb P\big(E^{(1)}_{j,k}\big),\qquad R_{\rm bad}(S,K,T)=\frac{K-r}{8(q+2)}\Big(\frac{T}{K-r}\Big)^{\frac1{2-2^{-q}}}.E[(Tμ∗−t=1∑T​μj,k;at​(1)​)1{Ej,k(1)​}] ≥ Rbad​(S,K,T)⋅P(Ej,k(1)​),Rbad​(S,K,T)=8(q+2)K−r​(K−rT​)2−2−q1​.

When P(Ej,k(1))>0\mathbb P(E^{(1)}_{j,k})>0P(Ej,k(1)​)>0 this says that the regret conditional on the risky event is at least Rbad(S,K,T)R_{\rm bad}(S,K,T)Rbad​(S,K,T): under μj,k(1)\mu^{(1)}_{j,k}μj,k(1)​ the risky event is a bad event.

Formalization Note Rounds are 1-based as on the page: entry sss of a history h∈({1,…,K}×R)Th\in(\{1,\dots,K\}\times\mathbb R)^Th∈({1,…,K}×R)T is round s+1s+1s+1, and a period [n1:n2][n_1:n_2][n1​:n2​] is the set of rounds ttt with n1≤t≤n2n_1\le t\le n_2n1​≤t≤n2​ and 1≤t≤T1\le t\le T1≤t≤T. (i) The page's integrand is Tμj,k;k(1)−∑tμj,k;at(1)T\mu^{(1)}_{j,k;k}-\sum_t\mu^{(1)}_{j,k;a_t}Tμj,k;k(1)​−∑t​μj,k;at​(1)​. For j=q+2j=q+2j=q+2, μj,k;k(1)=Δq+2(1)<0\mu^{(1)}_{j,k;k}=\Delta^{(1)}_{q+2}<0μj,k;k(1)​=Δq+2(1)​<0 is not the optimal mean and that integrand is ≤0\le0≤0, so the printed statement fails there; the proof (pp. 66–67) bounds the regret Tμ∗−∑tμatT\mu^*-\sum_t\mu_{a_t}Tμ∗−∑t​μat​​, which is stated here. For j≤q+1j\le q+1j≤q+1 the two integrands coincide. (ii) The conditional expectation is stated in product form, which is what Lemma 9 uses. (iii) q≥1q\ge1q≥1 is assumed because for q=0q=0q=0 the gap Δq+2(1)\Delta^{(1)}_{q+2}Δq+2(1)​ divides by t0(1)=0t^{(1)}_0=0t0(1)​=0 and the page's construction is undefined.

Preamble
import Mathlib
import Definitions.Def_BwSC_LowerBound_Proof

open MeasureTheory ProbabilityTheory InformationTheory BanditAlgorithm
open scoped ENNReal
Formal statement
namespace BwSC.LowerBound

/-- Lemma 8, p. 66 (integrand = the regret `Tμ* - Σ_t μ_{a_t}`; product form of the conditional
expectation): under the alternative environment `μ^{(1)}_{j,k}`,
`E[(Tμ* - Σ_t μ_{a_t}) · 1{E^{(1)}_{j,k}}] ≥ R_bad(S,K,T) · P(E^{(1)}_{j,k})`. Stated for
`q(S,K) ≥ 1` under the standing assumption `q(S,K) + 2 ≤ log₂ log₂ (T/K)` of p. 59. -/
theorem lemma_8 {K S T : ℕ} (hK : 1 < K) (hT : 2 * K ≤ T) (π : BanditPolicy K)
    (hπ : IsSwitchPolicy S T π) (hq : 1 ≤ qIdx S K)
    (hstand : (qIdx S K : ℝ) + 2 ≤ Real.logb 2 (Real.logb 2 ((T : ℝ) / K)))
    (j : ℕ) (hj : j ∈ Finset.Icc 1 (qIdx S K + 2)) (k : Fin K) :
    Rbad S K T *
        ((banditMeasure (gaussianBandit (envAlt1 S K T j k)) π T) (E1 S K T j k)).toReal ≤
      ∫ h in E1 S K T j k, regretOf (envAlt1 S K T j k) h
        ∂(banditMeasure (gaussianBandit (envAlt1 S K T j k)) π T) := by sorry

end BwSC.LowerBound
Source
Simchi-Levi & Xu, Phase Transitions in Bandits with Switching Constraints, arXiv:1905.10825v4, p. 66, Lemma 8 (From risky events to bad events), proof pp. 66–67; gaps and environments p. 65
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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