Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 25 — as T → ∞ the action laws of IRS.FH and IRS.V-Zero converge to that of Thompson sampling

Proved
InfoRelaxTS.Asymptotic.proposition_1

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

asymptoticsinformation-relaxationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1thompson-sampling

Consider the Bayesian bandit model with K≥1K \ge 1K≥1 arms, a conjugate prior family {Pa(ya)}\{\mathcal P_a(y_a)\}{Pa​(ya​)} with a measurable Bayesian update, and rewards satisfying the standing integrability assumption (3). Fix a belief vector yyy and assume that the conditional mean rewards of distinct arms differ almost surely under the prior:

μi(θi)≠μj(θj)P(y)-almost surely, for all i≠j.\mu_i(\theta_i) \ne \mu_j(\theta_j) \quad \mathcal P(y)\text{-almost surely, for all } i \ne j.μi​(θi​)=μj​(θj​)P(y)-almost surely, for all i=j.

The three actions are random variables, each policy using a randomly sampled outcome of its own:

  1. ATS(y)A^{TS}(y)ATS(y), the action of Thompson sampling, samples θ~∼P(y)\tilde\theta \sim \mathcal P(y)θ~∼P(y) and plays argmax⁡aμa(θ~a)\operatorname{argmax}_a \mu_a(\tilde\theta_a)argmaxa​μa​(θ~a​);
  2. AIRS.FH(T,y)A^{IRS.FH}(T, y)AIRS.FH(T,y), the action of IRS.FH at remaining horizon TTT, samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y) and plays argmax⁡aμ^a,T−1(ω~)\operatorname{argmax}_a \hat\mu_{a,T-1}(\tilde\omega)argmaxa​μ^​a,T−1​(ω~);
  3. AIRS.V-Zero(T,y)A^{IRS.V\text{-}Zero}(T, y)AIRS.V-Zero(T,y), the action of IRS.V-Zero, samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y), computes an optimal allocation n~∗∈NT\tilde n^* \in \mathcal N_Tn~∗∈NT​ of the inner problem max⁡n∈NT∑a∑i=1naμ^a,i−1(ω~)\max_{n \in \mathcal N_T} \sum_a \sum_{i=1}^{n_a} \hat\mu_{a,i-1}(\tilde\omega)maxn∈NT​​∑a​∑i=1na​​μ^​a,i−1​(ω~) (37), and plays argmax⁡an~a∗\operatorname{argmax}_a \tilde n^*_aargmaxa​n~a∗​.

The ties in every argmax and in the inner problem are broken by arbitrary measurable rules. Then, for every arm a∈Aa \in \mathcal Aa∈A,

lim⁡T→∞P[AIRS.FH(T,y)=a]=P[ATS(y)=a](55),lim⁡T→∞P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a](56).\lim_{T\to\infty} \mathbb P\big[A^{IRS.FH}(T, y) = a\big] = \mathbb P\big[A^{TS}(y) = a\big] \quad (55), \qquad \lim_{T\to\infty} \mathbb P\big[A^{IRS.V\text{-}Zero}(T, y) = a\big] = \mathbb P\big[A^{TS}(y) = a\big] \quad (56).T→∞lim​P[AIRS.FH(T,y)=a]=P[ATS(y)=a](55),T→∞lim​P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a](56).

So both IRS policies start a long horizon by randomizing exactly as Thompson sampling does. They become myopic only as the remaining horizon shrinks (Remark 5 of the paper).

Formalization Note. P[A=a]\mathbb P[A = a]P[A=a] is the mass of {a}\{a\}{a} under the pushforward of the policy's sampling law by its arm-selection map, converted to a real number. The conclusion holds for every choice of the four tie-breaking rules: one each for the argmaxes of TS, IRS.FH and IRS.V-Zero, and one for the optimal allocation, which may depend on the horizon and on the payoff table. All four are required to be measurable so that the pushforwards are probability measures. Footnote 8's selection rule argmax⁡an~a∗\operatorname{argmax}_a \tilde n^*_aargmaxa​n~a∗​ is built in. The posterior means are the conjugate (pathwise) version of (10), see the Setting definition. Conjugacy, the measurability of the update and (3) are the standing assumptions of §2.1. K≥1K \ge 1K≥1 is needed for the argmax to exist.

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Asymptotic_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace InfoRelaxTS.Asymptotic

/-- Proposition 1 (p. 25): as `T → ∞`, the laws of the actions of IRS.FH (55) and of IRS.V-Zero
(56) converge to the law of the action of Thompson sampling, for every tie-breaking rule. -/
theorem proposition_1 {K : ℕ} [NeZero K] {Θ Y : Type*} [MeasurableSpace Θ] [MeasurableSpace Y]
    (R : Fin K → Kernel Θ ℝ) [∀ a, IsMarkovKernel (R a)]
    (P : Fin K → Kernel Y Θ) [∀ a, IsMarkovKernel (P a)]
    (U : Fin K → Y → ℝ → Y) (hU : ∀ a, Measurable (Function.uncurry (U a)))
    (hconj : IsConjugate R P U) (hint : RewardsIntegrable R P) (y : Fin K → Y)
    (hdistinct : ∀ i j : Fin K, i ≠ j → ∀ᵐ θ ∂(priorLaw P y), Monotone.mu R i (θ i) ≠ Monotone.mu R j (θ j))
    (selTS : (Fin K → ℝ) → Fin K) (hselTS : Gap.IsArgmaxSel selTS) (hselTSm : Measurable selTS)
    (selFH : (Fin K → ℝ) → Fin K) (hselFH : Gap.IsArgmaxSel selFH) (hselFHm : Measurable selFH)
    (selVZ : (Fin K → ℝ) → Fin K) (hselVZ : Gap.IsArgmaxSel selVZ) (hselVZm : Measurable selVZ)
    (asel : ℕ → (Fin K → ℕ → ℝ) → (Fin K → ℕ)) (hasel : Gap.IsOptAllocSel asel)
    (haselm : ∀ T, Measurable (asel T)) :
    ∀ a : Fin K,
      Tendsto (fun T : ℕ => (fhLaw R P U selFH T y {a}).toReal) atTop
          (𝓝 (tsLaw R P selTS y {a}).toReal) ∧
        Tendsto (fun T : ℕ => (vzLaw R P U asel selVZ T y {a}).toReal) atTop
          (𝓝 (tsLaw R P selTS y {a}).toReal) := by sorry

end InfoRelaxTS.Asymptotic
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 25, Proposition 1, (55)–(56) and footnote 8
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