Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(109), §D.2, p. 54 — the argmax of the limit is the limit of the argmax

Proved
InfoRelaxTS.Asymptotic.display_109

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

argmaxconvergencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let mn∈RKm_n \in \mathbb R^Kmn​∈RK, n∈Nn \in \mathbb Nn∈N, be a sequence of vectors that converges coordinatewise to a vector v∈RKv \in \mathbb R^Kv∈RK whose entries are pairwise distinct: mn(a)→v(a)m_n(a) \to v(a)mn​(a)→v(a) for every arm aaa, and v(i)≠v(j)v(i) \ne v(j)v(i)=v(j) for i≠ji \ne ji=j. Let sel⁡\operatorname{sel}sel be any tie-breaking rule for argmax⁡\operatorname{argmax}argmax, i.e. any map sending a vector fff to an arm sel⁡(f)\operatorname{sel}(f)sel(f) with f(a)≤f(sel⁡(f))f(a) \le f(\operatorname{sel}(f))f(a)≤f(sel(f)) for all aaa. Then there is n0n_0n0​ such that

sel⁡(mn)=sel⁡(v)=argmax⁡av(a)for all n≥n0.\operatorname{sel}(m_n) = \operatorname{sel}(v) = \operatorname*{argmax}_a v(a) \qquad \text{for all } n \ge n_0.sel(mn​)=sel(v)=aargmax​v(a)for all n≥n0​.

In the words of (109), argmax⁡alim⁡nmn(a)=lim⁡nargmax⁡amn(a)\operatorname{argmax}_a \lim_n m_n(a) = \lim_n \operatorname{argmax}_a m_n(a)argmaxa​limn​mn​(a)=limn​argmaxa​mn​(a), where the limit of a sequence of arms means that it is eventually constant.

Applied with mn(a)=μ^a,n(ω~)m_n(a) = \hat\mu_{a,n}(\tilde\omega)mn​(a)=μ^​a,n​(ω~) and v(a)=μa(θ~a)v(a) = \mu_a(\tilde\theta_a)v(a)=μa​(θ~a​), together with Proposition 5 and the assumption of Proposition 1, this gives (109). It is the deterministic step that turns almost-sure convergence of the posterior means into almost-sure convergence of the IRS.FH action.

Formalization Note. This is the deterministic core of (109): the almost-sure statement follows from it pointwise. Arms are Fin K with K≥1K \ge 1K≥1.

Preamble
import Mathlib
import Definitions.Def_InfoRelaxTS_Asymptotic_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace InfoRelaxTS.Asymptotic

/-- Display (109), §D.2, p. 54, deterministic core: if `m n a → v a` for every arm and the limit
`v` has pairwise distinct entries, then every argmax tie-breaking rule eventually picks the
(unique) argmax of `v`. -/
theorem display_109 {K : ℕ} [NeZero K] (sel : (Fin K → ℝ) → Fin K) (hsel : Gap.IsArgmaxSel sel)
    (m : ℕ → Fin K → ℝ) (v : Fin K → ℝ) (hv : Function.Injective v)
    (hm : ∀ a, Tendsto (fun n => m n a) atTop (𝓝 (v a))) :
    ∀ᶠ n in atTop, sel (m n) = sel v := by sorry

end InfoRelaxTS.Asymptotic
Source
Min, Maglaras, Moallemi, Thompson Sampling with Information Relaxation Penalties, arXiv:1902.04251v2, p. 54, §D.2, (109)
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