Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property 1, p. 72 — each risky event is decided by the stopped record: P′_{j,k}(E^(1)_{j,k}) = P^(1)_{j,k}(E^(1)_{j,k}), Q′_{j,k}(E^(1)_{j,k}) = ℚ(E^(1)_{j,k}), same for P″, Q″

Proved
BwSC.LowerBound.property_1

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

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

For every policy π\piπ, every j∈[q(S,K)+2]j\in[q(S,K)+2]j∈[q(S,K)+2] and k∈[K]k\in[K]k∈[K], let σ\sigmaσ be the stopped-record map of the window of jjj and arm kkk (it keeps the rounds before the window and the rounds of the window before the first pull of kkk there, and replaces the first pull of kkk in the window and everything after it by (k,0)(k,0)(k,0)). Then the risky event is decided by the record:

σ−1(Ej,k(1))=Ej,k(1),\sigma^{-1}\big(E^{(1)}_{j,k}\big)=E^{(1)}_{j,k},σ−1(Ej,k(1)​)=Ej,k(1)​,

and consequently

Pj,k′(Ej,k(1))=Pj,k(1)(Ej,k(1)),Qj,k′(Ej,k(1))=Q(Ej,k(1)),\mathbb P'_{j,k}\big(E^{(1)}_{j,k}\big)=\mathbb P^{(1)}_{j,k}\big(E^{(1)}_{j,k}\big),\qquad \mathbb Q'_{j,k}\big(E^{(1)}_{j,k}\big)=\mathbb Q\big(E^{(1)}_{j,k}\big),Pj,k′​(Ej,k(1)​)=Pj,k(1)​(Ej,k(1)​),Qj,k′​(Ej,k(1)​)=Q(Ej,k(1)​),

and the same three statements hold for the second class with Ej,k(2)E^{(2)}_{j,k}Ej,k(2)​, Pj,k′′\mathbb P''_{j,k}Pj,k′′​, Qj,k′′\mathbb Q''_{j,k}Qj,k′′​ and the second-class windows.

This lets (46)–(47) represent p(c)‾\overline{p^{(c)}}p(c)​ and q(c)‾\overline{q^{(c)}}q(c)​ through the artificial measures, whose divergences are small.

Formalization Note The artificial measures are the repaired (stopped) form of (45) described in BwSC.LowerBound.Proof. For Eq+2,k(1)E^{(1)}_{q+2,k}Eq+2,k(1)​, which involves the stopping time τ\tauτ, the identity holds because the record shows every action up to the first pull of kkk in the window and no switch afterwards.

Preamble
import Mathlib
import Definitions.Def_BwSC_LowerBound_Proof

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

/-- Property 1, p. 72 (for the stopped records): every risky event is decided by the stopped
record of its window, `stopCensor⁻¹(E) = E`, hence `P'_{j,k}(E^{(1)}_{j,k}) = P^{(1)}_{j,k}(E^{(1)}_{j,k})`
and `Q'_{j,k}(E^{(1)}_{j,k}) = ℚ(E^{(1)}_{j,k})`, and likewise for the second class with
`P''_{j,k}`, `Q''_{j,k}`. -/
theorem property_1 {K S T : ℕ} (π : BanditPolicy K) (j : ℕ)
    (hj : j ∈ Finset.Icc 1 (qIdx S K + 2)) (k : Fin K) :
    stopCensor (lo1 S K T j) (hi1 S K T j) k ⁻¹' E1 S K T j k = E1 S K T j k ∧
    artP1 π S T j k (E1 S K T j k) =
      (banditMeasure (gaussianBandit (envAlt1 S K T j k)) π T) (E1 S K T j k) ∧
    artQ1 π S T j k (E1 S K T j k) =
      (banditMeasure (gaussianBandit (0 : Fin K → ℝ)) π T) (E1 S K T j k) ∧
    stopCensor (lo2 S K T j) (hi2 S K T j) k ⁻¹' E2 S K T j k = E2 S K T j k ∧
    artP2 π S T j k (E2 S K T j k) =
      (banditMeasure (gaussianBandit (envAlt2 S K T j k)) π T) (E2 S K T j k) ∧
    artQ2 π S T j k (E2 S K T j k) =
      (banditMeasure (gaussianBandit (0 : Fin K → ℝ)) π T) (E2 S K T j k) := by sorry

end BwSC.LowerBound
Source
Simchi-Levi & Xu, Phase Transitions in Bandits with Switching Constraints, arXiv:1905.10825v4, p. 72, property 1 of the artificial measures (used in J.5, p. 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