Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6, p. 61 — for every π ∈ Π_S and every environment µ: Σ_{j∈[q+2]} Σ_{k∈[K]} P^π_µ(E^(1)_{j,k}) ≥ K − ⌈S/(q(S,K)+1)⌉

Proved
BwSC.LowerBound.lemma_6

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, S∈NS\in\mathbb NS∈N, T≥2KT\ge2KT≥2K, and let π∈ΠS\pi\in\Pi_Sπ∈ΠS​ be an SSS-switch policy. For every unit-variance Gaussian environment μ∈RK\mu\in\mathbb R^Kμ∈RK, the first class of risky events Ej,k(1)E^{(1)}_{j,k}Ej,k(1)​ (j∈[q(S,K)+2]j\in[q(S,K)+2]j∈[q(S,K)+2], k∈[K]k\in[K]k∈[K]) satisfies

∑j∈[q(S,K)+2] ∑k∈[K]Pμπ(Ej,k(1)) ≥ K−⌈Sq(S,K)+1⌉.\sum_{j\in[q(S,K)+2]}\ \sum_{k\in[K]}\mathbb P^\pi_\mu\big(E^{(1)}_{j,k}\big)\ \ge\ K-\Big\lceil\frac{S}{q(S,K)+1}\Big\rceil .j∈[q(S,K)+2]∑​ k∈[K]∑​Pμπ​(Ej,k(1)​) ≥ K−⌈q(S,K)+1S​⌉.

The right side is always at least 111. Together with Lemma 7 it gives Corollary 4: under any single environment, risky events are not rare on average.

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. The events are those of BwSC.LowerBound.Proof; the hypotheses K>1K>1K>1 and T≥2KT\ge2KT≥2K are the standing assumptions of Theorem 2.

Preamble
import Mathlib
import Definitions.Def_BwSC_LowerBound_Proof

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

/-- Lemma 6, p. 61: for every `S`-switch policy and every Gaussian environment `μ`,
`Σ_{j ∈ [q+2]} Σ_{k ∈ [K]} P^π_μ(E^{(1)}_{j,k}) ≥ K - ⌈S/(q(S,K) + 1)⌉`. -/
theorem lemma_6 {K S T : ℕ} (hK : 1 < K) (hT : 2 * K ≤ T) (π : BanditPolicy K)
    (hπ : IsSwitchPolicy S T π) (μvec : Fin K → ℝ) :
    (K : ℝ) - (⌈(S : ℝ) / ((qIdx S K : ℝ) + 1)⌉ : ℝ) ≤
      ∑ j ∈ Finset.Icc 1 (qIdx S K + 2), ∑ k : Fin K,
        ((banditMeasure (gaussianBandit μvec) π T) (E1 S K T j k)).toReal := by sorry

end BwSC.LowerBound
Source
Simchi-Levi & Xu, Phase Transitions in Bandits with Switching Constraints, arXiv:1905.10825v4, p. 61, Lemma 6 (proof pp. 62–63); events App. J.1, p. 60
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