Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

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

Proved
BwSC.LowerBound.lemma_12

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)≥1q=q(S,K)\ge1q=q(S,K)≥1, r=r(S,K)r=r(S,K)r=r(S,K). With the reverse KL divergence Dre(P∥Q)=KL(Q∥P)D_{\rm re}(\mathbb P\|\mathbb Q)=\mathrm{KL}(\mathbb Q\|\mathbb P)Dre​(P∥Q)=KL(Q∥P) and the 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),

∑j∈[q+2]∑k∈[K]Dre(Pj,k′ ∥ Qj,k′) ≤ K−r8(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-r}{8(q+2)},j∈[q+2]∑​k∈[K]∑​Dre​(Pj,k′​∥Qj,k′​) ≤ 8(q+2)K−r​,

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

1(q+2)K∑j∈[q+2]∑k∈[K]Dre(Pj,k′ ∥ Qj,k′) ≤ K−r8(q+2)2K ≤ q(1)‾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{K-r}{8(q+2)^2K}\ \le\ \frac{\overline{q^{(1)}}}{4}.(q+2)K1​j∈[q+2]∑​k∈[K]∑​Dre​(Pj,k′​∥Qj,k′​) ≤ 8(q+2)2KK−r​ ≤ 4q(1)​​.

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

Formalization Note Divergences are in [0,∞][0,\infty][0,∞] (Mathlib klDiv), so the first two bounds are stated in [0,∞][0,\infty][0,∞]. Repair: the printed measures (45) hide arm kkk's rewards in the window but keep the actions there; a one-switch policy that keeps arm kkk iff its first reward is positive already has Dre≥0.31D_{\rm re}\ge0.31Dre​≥0.31 for j=1j=1j=1, where the page claims 000. The records here stop at the first pull of kkk in the window, which gives the divergence (Δj(1))22E0[Nk(lo−1)]\frac{(\Delta^{(1)}_j)^2}{2}\mathbb E_{\mathbf 0}[N_k(lo-1)]2(Δj(1)​)2​E0​[Nk​(lo−1)] computed on p. 72 and keeps every constant. q≥1q\ge1q≥1 is assumed because Δq+2(1)\Delta^{(1)}_{q+2}Δq+2(1)​ is undefined at q=0q=0q=0.

Preamble
import Mathlib
import Definitions.Def_BwSC_LowerBound_Proof

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

/-- Lemma 12, p. 73 (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 - r(S,K))/(8(q(S,K)+2))`, where
`D_re(P ∥ Q) = KL(Q ∥ P)`; combined with Corollary 4, the average is at most
`(K - r)/(8(q+2)²K) ≤ q̄^{(1)}/4`. Stated for `q(S,K) ≥ 1`. -/
theorem lemma_12 {K S T : ℕ} (hK : 1 < K) (hT : 2 * K ≤ T) (π : BanditPolicy K)
    (hπ : IsSwitchPolicy S T π) (hq : 1 ≤ qIdx S K) :
    ∑ j ∈ Finset.Icc 1 (qIdx S K + 2), ∑ k : Fin K, klDiv (artQ1 π S T j k) (artP1 π S T j k) ≤
        ENNReal.ofReal (((K : ℝ) - (rIdx S 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 (artQ1 π S T j k) (artP1 π S T j k) ≤
        ENNReal.ofReal (((K : ℝ) - (rIdx S K : ℝ)) / (8 * ((qIdx S K : ℝ) + 2) ^ 2 * K)) ∧
    ((K : ℝ) - (rIdx S K : ℝ)) / (8 * ((qIdx S K : ℝ) + 2) ^ 2 * K) ≤
      qbar1 π S T / 4 := by sorry

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