Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.8 (2), p. ec16 β€” β„™{|π’œ| < ΒΌp*Cβ‚€log(T+1)} ≀ 1/(T+1) for the random samples in U_k

Proved
GMCPBandit.Regret.lemma_EC_8_2

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

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

Work in the model of Β§3 with Px(Uk)β‰₯pβˆ—\mathcal P_x(U_k)\ge p^*Px​(Uk​)β‰₯pβˆ— for every optimal decision k∈Kok\in\mathcal K_ok∈Ko​ (Assumption A.3). Let C0=max⁑{10,16/pβˆ—}C_0=\max\{10,16/p^*\}C0​=max{10,16/pβˆ—}, t0=2C0∣K∣t_0=2C_0|\mathcal K|t0​=2C0β€‹βˆ£K∣ and Tβ‰₯max⁑{(t0+1)2/e2βˆ’1, e}T\ge\max\{(t_0+1)^2/e^2-1,\,e\}Tβ‰₯max{(t0​+1)2/e2βˆ’1,e}. For k∈Kok\in\mathcal K_ok∈Ko​ let A\mathcal AA be the set of random samples of decision kkk up to time TTT (times s≀Ts\le Ts≀T with Ds=1\mathcal D_s=1Ds​=1 and decision kkk drawn) whose covariate lies in UkU_kUk​. Then

P{∣A∣<14pβˆ—C0log⁑(T+1)}≀1T+1.\mathbb P\Big\{|\mathcal A|<\tfrac14p^*C_0\log(T+1)\Big\}\le\frac{1}{T+1}.P{∣A∣<41​pβˆ—C0​log(T+1)}≀T+11​.

The random samples of an optimal decision that fall in its region UkU_kUk​ are i.i.d. draws from the conditional law on UkU_kUk​, on which the restricted eigenvalue condition holds; this lemma guarantees there are logarithmically many of them.

Formalization Note The page lists Assumptions A.3 and A.4; the statement uses only A.3 (and the measurability of UkU_kUk​ provided by the reward family), so A.4 is omitted, which makes the statement stronger. The claim is made for k∈Kok\in\mathcal K_ok∈Ko​, where UkU_kUk​ has probability at least pβˆ—p^*pβˆ—.

Preamble
import Mathlib
import Definitions.Def_GMCPBandit_Regret_Model
import Definitions.Def_GMCPBandit_Regret_Algorithm

open MeasureTheory ProbabilityTheory
Formal statement
namespace GMCPBandit.Regret

/-- **Lemma EC.8, statement 2** (p. ec16). Let `Cβ‚€ = max{10, 16/p*}`, `tβ‚€ = 2Cβ‚€|𝒦|` and
`T β‰₯ max{(tβ‚€+1)Β²/eΒ² βˆ’ 1, e}`. For a decision `k ∈ 𝒦_o`, the number `|π’œ|` of random samples of `k`
up to time `T` whose covariate lies in `U_k` satisfies `β„™{|π’œ| < ΒΌ p* Cβ‚€ log(T+1)} ≀ 1/(T+1)`. -/
theorem lemma_EC_8_2 {d K : β„•} (hd : 1 ≀ d) (hK : 2 ≀ K)
    (𝒳 : Set (Fin d β†’ ℝ)) (PX : Measure (Fin d β†’ ℝ)) (Ξ½ : Measure ℝ) (g : ℝ β†’ ℝ β†’ ℝ)
    (Ξ² : Fin K β†’ Fin d β†’ ℝ) (Rmax h pstar : ℝ) (Ko Ks : Finset (Fin K))
    (hglm : IsGLMFamily Ξ½ g Rmax) (hA3 : A3 𝒳 PX Ξ½ g Ξ² Ko Ks h pstar)
    (C0 t0 : ℝ) (hC0 : C0 = max 10 (16 / pstar)) (ht0 : t0 = 2 * C0 * K)
    {Ξ© : Type*} [MeasurableSpace Ξ©] (P : Measure Ξ©) [IsProbabilityMeasure P]
    (X : β„• β†’ Ξ© β†’ Fin d β†’ ℝ) (R : β„• β†’ Ξ© β†’ Fin K β†’ ℝ) (V : β„• β†’ Ξ© β†’ ℝ) (A : β„• β†’ Ξ© β†’ Fin K)
    (hprim : IsPrimitives P 𝒳 PX Ξ½ g Ξ² Rmax X R V A)
    (T : β„•) (hT : max ((t0 + 1) ^ 2 / Real.exp 1 ^ 2 - 1) (Real.exp 1) ≀ (T : ℝ))
    (k : Fin K) (hk : k ∈ Ko) :
    P {Ο‰ | ((randomSamplesIn t0 (fun s => V s Ο‰) (fun s => A s Ο‰) (fun s => X s Ο‰)
              (optRegion 𝒳 Ξ½ g Ξ² h k) k T).card : ℝ) <
            1 / 4 * pstar * C0 * Real.log ((T : ℝ) + 1)} ≀
      ENNReal.ofReal (1 / ((T : ℝ) + 1)) := 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. ec16, Lemma EC.8, statement 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