Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 13, p. 74 — Σ_{j∈[q+2]} Σ_k D_re(P″_{j,k}‖Q″_{j,k}) ≤ K/(8(q+2)); average ≤ 1/(8(q+2)²) ≤ q̄^(2)/4 (stopped records)

Proved
BwSC.LowerBound.lemma_13

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

kl-divergencelower-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​, q=q(S,K)q=q(S,K)q=q(S,K). With the reverse KL divergence and the second-class artificial measures Pj,k′′,Qj,k′′\mathbb P''_{j,k},\mathbb Q''_{j,k}Pj,k′′​,Qj,k′′​ (stopped at the first pull of arm kkk in the window [tj−1(2):tj(2)][t^{(2)}_{j-1}:t^{(2)}_j][tj−1(2)​:tj(2)​]),

∑j∈[q+2]∑k∈[K]Dre(Pj,k′′ ∥ Qj,k′′) ≤ K8(q+2),\sum_{j\in[q+2]}\sum_{k\in[K]}D_{\rm re}\big(\mathbb P''_{j,k}\,\|\,\mathbb Q''_{j,k}\big)\ \le\ \frac{K}{8(q+2)},j∈[q+2]∑​k∈[K]∑​Dre​(Pj,k′′​∥Qj,k′′​) ≤ 8(q+2)K​,

and, combined with Corollary 4 under Q\mathbb QQ,

1(q+2)K∑j∈[q+2]∑k∈[K]Dre(Pj,k′′ ∥ Qj,k′′) ≤ 18(q+2)2 ≤ q(2)‾4.\frac1{(q+2)K}\sum_{j\in[q+2]}\sum_{k\in[K]}D_{\rm re}\big(\mathbb P''_{j,k}\,\|\,\mathbb Q''_{j,k}\big)\ \le\ \frac{1}{8(q+2)^2}\ \le\ \frac{\overline{q^{(2)}}}{4}.(q+2)K1​j∈[q+2]∑​k∈[K]∑​Dre​(Pj,k′′​∥Qj,k′′​) ≤ 8(q+2)21​ ≤ 4q(2)​​.

This is the divergence bound fed into the reverse Fano inequality in (47).

Formalization Note The page's first display writes Qj,k′\mathbb Q'_{j,k}Qj,k′​, a typo for Qj,k′′\mathbb Q''_{j,k}Qj,k′′​, and its definition of Pj,k′′\mathbb P''_{j,k}Pj,k′′​ (p. 73) writes μj,k(1)\mu^{(1)}_{j,k}μj,k(1)​ in the first block, a typo for μj,k(2)\mu^{(2)}_{j,k}μj,k(2)​. The measures are the stopped repair described in Lemma 12 and in BwSC.LowerBound.Proof.

Preamble
import Mathlib
import Definitions.Def_BwSC_LowerBound_Proof

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

/-- Lemma 13, p. 74 (for the artificial measures stopped at the first pull of arm `k` in the
window): `Σ_{j ∈ [q+2]} Σ_{k ∈ [K]} D_re(P''_{j,k} ∥ Q''_{j,k}) ≤ K/(8(q(S,K)+2))`; combined with
Corollary 4, the average is at most `1/(8(q+2)²) ≤ q̄^{(2)}/4`. -/
theorem lemma_13 {K S T : ℕ} (hK : 1 < K) (hT : 2 * K ≤ T) (π : BanditPolicy K)
    (hπ : IsSwitchPolicy S T π) :
    ∑ j ∈ Finset.Icc 1 (qIdx S K + 2), ∑ k : Fin K, klDiv (artQ2 π S T j k) (artP2 π S T j k) ≤
        ENNReal.ofReal ((K : ℝ) / (8 * ((qIdx S K : ℝ) + 2))) ∧
    ENNReal.ofReal (1 / (((qIdx S K : ℝ) + 2) * K)) *
        ∑ j ∈ Finset.Icc 1 (qIdx S K + 2), ∑ k : Fin K,
          klDiv (artQ2 π S T j k) (artP2 π S T j k) ≤
        ENNReal.ofReal (1 / (8 * ((qIdx S K : ℝ) + 2) ^ 2)) ∧
    1 / (8 * ((qIdx S K : ℝ) + 2) ^ 2) ≤ qbar2 π S T / 4 := by sorry

end BwSC.LowerBound
Source
Simchi-Levi & Xu, Phase Transitions in Bandits with Switching Constraints, arXiv:1905.10825v4, p. 74, Lemma 13; artificial measures pp. 73–74
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