Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, pp. 63–64 — instantaneous suboptimality of the first action for z^TS, z^IRS.FH and z^IRS.V-Zero

Proved
InfoRelaxTS.Gap.lemma_3

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

bandit-algorithmsinformation-relaxationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1thompson-sampling

Fix a horizon T≥1T\ge1T≥1, numbers μa\mu_aμa​ (a∈Aa\in\mathcal Aa∈A) and an array μ^a,n\hat\mu_{a,n}μ^​a,n​ (a∈Aa\in\mathcal Aa∈A, n≥0n\ge0n≥0). For a payoff rule on action sequences a1:T∈ATa_{1:T}\in\mathcal A^Ta1:T​∈AT, let Q1(a)Q_1(a)Q1​(a) be the largest total payoff of a sequence with a1=aa_1=aa1​=a, and let a1∗a_1^*a1∗​ be any maximizer of Q1Q_1Q1​. Consider the three payoff rules of the penalties zTSz^{\rm TS}zTS, zIRS.FHz^{\rm IRS.FH}zIRS.FH and zIRS.V-Zeroz^{\rm IRS.V\text{-}Zero}zIRS.V-Zero: at time ttt the action ata_tat​ earns μat\mu_{a_t}μat​​, μ^at,T−1\hat\mu_{a_t,T-1}μ^​at​,T−1​, or μ^at,nt−1(at)\hat\mu_{a_t,n_{t-1}(a_t)}μ^​at​,nt−1​(at​)​ respectively, where nt−1(a)n_{t-1}(a)nt−1​(a) is the number of pulls of aaa before time ttt. Then for every arm aaa:

  1. for zTSz^{\rm TS}zTS,
Q1(a1∗)−Q1(a)=μa1∗−μa;Q_1(a_1^*)-Q_1(a)=\mu_{a_1^*}-\mu_a;Q1​(a1∗​)−Q1​(a)=μa1∗​​−μa​;
  1. for zIRS.FHz^{\rm IRS.FH}zIRS.FH,
Q1(a1∗)−Q1(a)=μ^a1∗,T−1−μ^a,T−1;Q_1(a_1^*)-Q_1(a)=\hat\mu_{a_1^*,T-1}-\hat\mu_{a,T-1};Q1​(a1∗​)−Q1​(a)=μ^​a1∗​,T−1​−μ^​a,T−1​;
  1. for zIRS.V-Zeroz^{\rm IRS.V\text{-}Zero}zIRS.V-Zero, if Q1(a)<Q1(a1∗)Q_1(a)<Q_1(a_1^*)Q1​(a)<Q1​(a1∗​), then
Q1(a1∗)−Q1(a)≤max⁡0≤n≤T−1μ^a1∗,n−μ^a,0.Q_1(a_1^*)-Q_1(a)\le\max_{0\le n\le T-1}\hat\mu_{a_1^*,n}-\hat\mu_{a,0}.Q1​(a1∗​)−Q1​(a)≤0≤n≤T−1max​μ^​a1∗​,n​−μ^​a,0​.

The lemma expresses the loss of a first action in terms of mean-reward metrics; it is the time-1 case of the per-step bounds that drive the proof of Theorem 3.

Formalization Note The statement is deterministic: the true outcome only supplies the numbers μa\mu_aμa​ and μ^a,n\hat\mu_{a,n}μ^​a,n​, so they are arbitrary reals here. The page fixes TTT without a bound; T≥1T\ge1T≥1 is needed for a first action. Part 3 carries the hypothesis Q1(a)<Q1(a1∗)Q_1(a)<Q_1(a_1^*)Q1​(a)<Q1​(a1∗​): as printed, (190) is false when aaa is itself an optimal first action (for K=T=2K=T=2K=T=2, μ^1,0=μ^1,1=0.5\hat\mu_{1,0}=\hat\mu_{1,1}=0.5μ^​1,0​=μ^​1,1​=0.5, μ^2,0=1\hat\mu_{2,0}=1μ^​2,0​=1, μ^2,1=0.4\hat\mu_{2,1}=0.4μ^​2,1​=0.4, both arms are optimal first actions and (190) would claim 0≤−0.50\le-0.50≤−0.5). The hypothesis is the proof's own remark that "the suboptimality is incurred only when na∗=0n^*_a=0na∗​=0". Q1(a)Q_1(a)Q1​(a) is the maximum over all sequences starting with aaa of the unrolled sum (181)–(182).

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Gap_Setting
Formal statement
namespace InfoRelaxTS.Gap

theorem lemma_3 {K : ℕ} (T : ℕ) (hT : 1 ≤ T) (μv : Fin K → ℝ) (m : Fin K → ℕ → ℝ) :
    (∀ aStar : Fin K, (∀ a', Q1 (payTS (T := T) μv) a' ≤ Q1 (payTS (T := T) μv) aStar) →
      ∀ a, Q1 (payTS (T := T) μv) aStar - Q1 (payTS (T := T) μv) a = μv aStar - μv a) ∧
    (∀ aStar : Fin K, (∀ a', Q1 (payFH (T := T) m) a' ≤ Q1 (payFH (T := T) m) aStar) →
      ∀ a, Q1 (payFH (T := T) m) aStar - Q1 (payFH (T := T) m) a = m aStar (T - 1) - m a (T - 1)) ∧
    (∀ aStar : Fin K, (∀ a', Q1 (payVZ (T := T) m) a' ≤ Q1 (payVZ (T := T) m) aStar) →
      ∀ a, Q1 (payVZ (T := T) m) a < Q1 (payVZ (T := T) m) aStar →
        Q1 (payVZ (T := T) m) aStar - Q1 (payVZ (T := T) m) a ≤
          (Finset.range T).sup' (Finset.nonempty_range_iff.mpr (by omega)) (fun n => m aStar n)
            - m a 0) := by sorry

end InfoRelaxTS.Gap
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, pp. 63–64, Lemma 3, (188)–(190)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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