Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.10 (1), p. ec20 — |𝔼(R_i|x,β^true) − 𝔼(R_i|x,β^MCP)| ≤ R_max e^{σ₂x_max‖Δ‖₁}σ₂x_max‖Δ‖₁

Proved
GMCPBandit.Regret.lemma_EC_10_1

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

banditgeneralized-linear-modellipschitzp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Work in the model of §3 under Assumptions A.1 and A.5, and suppose moreover that ∣f′(r∣η)∣≤σ2|f'(r\mid\eta)|\le\sigma_2∣f′(r∣η)∣≤σ2​ for r∈[−Rmax⁡,Rmax⁡]r\in[-R_{\max},R_{\max}]r∈[−Rmax​,Rmax​] and ∣η∣≤bxmax⁡|\eta|\le bx_{\max}∣η∣≤bxmax​. Let x∈Xx\in\mathcal Xx∈X be a covariate, i∈Ki\in\mathcal Ki∈K a decision and βiMCP\beta^{MCP}_iβiMCP​ any feasible estimate, ∥βiMCP∥1≤b\|\beta^{MCP}_i\|_1\le b∥βiMCP​∥1​≤b. Then, with Δ=βiMCP−βitrue\Delta=\beta^{MCP}_i-\beta^{true}_iΔ=βiMCP​−βitrue​,

∣E(Ri∣x,βitrue)−E(Ri∣x,βiMCP)∣≤Rmax⁡ eσ2xmax⁡∥Δ∥1 σ2xmax⁡∥Δ∥1,\big|\mathbb E(R_i\mid x,\beta^{true}_i)-\mathbb E(R_i\mid x,\beta^{MCP}_i)\big|\le R_{\max}\,e^{\sigma_2x_{\max}\|\Delta\|_1}\,\sigma_2x_{\max}\|\Delta\|_1,​E(Ri​∣x,βitrue​)−E(Ri​∣x,βiMCP​)​≤Rmax​eσ2​xmax​∥Δ∥1​σ2​xmax​∥Δ∥1​,

where E(R∣x,β)=μ(x⊤β)\mathbb E(R\mid x,\beta)=\mu(x^\top\beta)E(R∣x,β)=μ(x⊤β).

This is the Lipschitz bound that converts parameter estimation error into expected-reward error.

Formalization Note The proof (p. ec20) uses "∣f′∣|f'|∣f′∣ bounded by σ2\sigma_2σ2​ in assumption A.5", while A.5 bounds ∣f′∣|f'|∣f′∣ by σ\sigmaσ; the printed constant σ2\sigma_2σ2​ is kept and the bound ∣f′∣≤σ2|f'|\le\sigma_2∣f′∣≤σ2​ is added as a hypothesis. The page assumes x∈Ukx\in U_kx∈Uk​; the statement holds for every x∈X⊇Ukx\in\mathcal X\supseteq U_kx∈X⊇Uk​, a harmless strengthening, and A.3 is not needed for it.

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.10, statement 1** (p. ec20). Under A.1 and A.5, with the derivative bound
`|f'(r | η)| ≤ σ₂` used by the proof, for every covariate `x`, decision `i` and feasible estimate
`β̂` (`‖β̂‖₁ ≤ b`):
`|𝔼(R_i | x, β_i) − 𝔼(R_i | x, β̂)| ≤ R_max e^{σ₂x_max‖β̂ − β_i‖₁} σ₂ x_max ‖β̂ − β_i‖₁`. -/
theorem lemma_EC_10_1 {d K : ℕ} (𝒳 : Set (Fin d → ℝ)) (ν : Measure ℝ) (g : ℝ → ℝ → ℝ)
    (β : Fin K → Fin d → ℝ) (xmax s Rmax βmin b σ σ2 σ3 : ℝ)
    (hglm : IsGLMFamily ν g Rmax)
    (hA1 : A1 𝒳 β xmax s Rmax βmin b)
    (hA5 : A5 g Rmax b xmax σ σ2 σ3)
    (hf' : ∀ r ∈ Set.Icc (-Rmax) Rmax, ∀ η : ℝ, |η| ≤ b * xmax →
      |deriv (fun η => negLogDens g r η) η| ≤ σ2)
    (x : Fin d → ℝ) (hx : x ∈ 𝒳) (i : Fin K) (βhat : Fin d → ℝ) (hβhat : l1 βhat ≤ b) :
    |meanFn ν g (x ⬝ᵥ β i) - meanFn ν g (x ⬝ᵥ βhat)| ≤
      Rmax * Real.exp (σ2 * xmax * l1 (βhat - β i)) * σ2 * xmax * l1 (βhat - β i) := 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. ec20, Lemma EC.10, statement 1
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