Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
โ† Formalpedia

Lemma EC.8 (3), p. ec16 โ€” โ„™{|๐’œ|/n < p*/24} โ‰ค 3/(T+1)

Proved
GMCPBandit.Regret.lemma_EC_8_3

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

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

Under the hypotheses of Lemma EC.8, statement 2 (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โˆฃ, 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}, kโˆˆKok\in\mathcal K_okโˆˆKoโ€‹), let nnn be the number of random samples of decision kkk up to time TTT and A\mathcal AA those whose covariate lies in UkU_kUkโ€‹. Then

P{โˆฃAโˆฃn<124pโˆ—}โ‰ค3T+1.\mathbb P\Big\{\frac{|\mathcal A|}{n}<\frac{1}{24}p^*\Big\}\le\frac{3}{T+1}.P{nโˆฃAโˆฃโ€‹<241โ€‹pโˆ—}โ‰คT+13โ€‹.

A constant fraction of the random samples of an optimal decision lies in its region UkU_kUkโ€‹.

Formalization Note The event is written multiplicatively, โˆฃAโˆฃ<pโˆ—24n|\mathcal A|<\frac{p^*}{24}nโˆฃAโˆฃ<24pโˆ—โ€‹n. When n=0n=0n=0 the printed ratio is undefined and the multiplicative event is empty. As in statement 2, A.4 is not needed and is omitted.

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 3** (p. ec16). Under the hypotheses of statement 2, the fraction of the
random samples of `k โˆˆ ๐’ฆ_o` whose covariate lies in `U_k` satisfies `โ„™{|๐’œ|/n < p*/24} โ‰ค 3/(T+1)`,
written multiplicatively as `|๐’œ| < (p*/24) n`. -/
theorem lemma_EC_8_3 {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 / 24 * pstar * ((randomSet t0 (fun s => V s ฯ‰) (fun s => A s ฯ‰) k T).card : โ„)} โ‰ค
      ENNReal.ofReal (3 / ((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 3
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