Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2, p. 13 — under ε-decay sampling, C₀(1+log(T+1)−log(t₀+1)) ≤ n_k ≤ 3C₀(1+log T−log t₀) w.p. ≥ 1−2/(T+1)

Proved
GMCPBandit.Regret.proposition_2

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

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

Let K≥2K\ge2K≥2 decisions be explored by the ε-decay random sampling method: at each time t≥1t\ge1t≥1 a random sample is drawn with probability min⁡{1,t0/t}\min\{1,t_0/t\}min{1,t0​/t}, independently over time, and then a decision is chosen uniformly from K\mathcal KK. Let nkn_knk​ be the number of random samples of decision kkk up to time TTT.

Let C0≥10C_0\ge10C0​≥10, t0=2C0∣K∣t_0=2C_0|\mathcal K|t0​=2C0​∣K∣ and T>(t0+1)2/e2T>(t_0+1)^2/e^2T>(t0​+1)2/e2. Then

P(C0(1+log⁡(T+1)−log⁡(t0+1))≤nk≤3C0(1+log⁡T−log⁡t0))≥1−2T+1.\mathbb P\Big(C_0\big(1+\log(T+1)-\log(t_0+1)\big)\le n_k\le3C_0\big(1+\log T-\log t_0\big)\Big)\ge1-\frac{2}{T+1}.P(C0​(1+log(T+1)−log(t0​+1))≤nk​≤3C0​(1+logT−logt0​))≥1−T+12​.

The random sample size grows logarithmically in TTT; this is the source of the log⁡T\log TlogT order of the regret.

Formalization Note The coin is Dt=1{Vt≤min⁡{1,t0/t}}\mathcal D_t=\mathbb 1\{V_t\le\min\{1,t_0/t\}\}Dt​=1{Vt​≤min{1,t0​/t}} with Vt∼Unif[0,1]V_t\sim\mathrm{Unif}[0,1]Vt​∼Unif[0,1] and the uniform draw is AtA_tAt​; the pairs (Vt,At)(V_t,A_t)(Vt​,At​) are independent over ttt. C0C_0C0​ is real, so t0t_0t0​ need not be an integer.

Preamble
import Mathlib
import Definitions.Def_GMCPBandit_Regret_Model
import Definitions.Def_GMCPBandit_Regret_Algorithm

open MeasureTheory ProbabilityTheory
Formal statement
namespace GMCPBandit.Regret

/-- **Proposition 2** (p. 13). Let `C₀ ≥ 10`, `t₀ = 2C₀|𝒦|` and `T > (t₀+1)²/e²`. Under the
ε-decay random sampling method, the random sample size `n_k = |ℛ_k(T)|` of decision `k` up to time
`T` satisfies `C₀(1 + log(T+1) − log(t₀+1)) ≤ n_k ≤ 3C₀(1 + log T − log t₀)` with probability at
least `1 − 2/(T+1)`. -/
theorem proposition_2 {K : ℕ} (hK : 2 ≤ K) (C0 t0 : ℝ) (hC0 : 10 ≤ C0) (ht0 : t0 = 2 * C0 * K)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (V : ℕ → Ω → ℝ) (A : ℕ → Ω → Fin K) (hVA : IsExplorationCoins P V A)
    (T : ℕ) (hT : (t0 + 1) ^ 2 / Real.exp 1 ^ 2 < (T : ℝ)) (k : Fin K) :
    ENNReal.ofReal (1 - 2 / ((T : ℝ) + 1)) ≤
      P {ω | C0 * (1 + Real.log ((T : ℝ) + 1) - Real.log (t0 + 1)) ≤
              ((randomSet t0 (fun s => V s ω) (fun s => A s ω) k T).card : ℝ) ∧
            ((randomSet t0 (fun s => V s ω) (fun s => A s ω) k T).card : ℝ) ≤
              3 * C0 * (1 + Real.log (T : ℝ) - Real.log t0)} := by sorry

end GMCPBandit.Regret
Source
Wang, Wei and Yao, Online Learning and Decision-Making under Generalized Linear Model with High-Dimensional Data, arXiv:1812.02962v1, p. 13, Proposition 2
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