Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 15 — per-round Bayesian regret ≥116(ε2+∣bt+1−bt∣2/ε2) 1{∣bt∣≤1/2}\ge\frac1{16}(\varepsilon^2+|b_{t+1}-b_t|^2/\varepsilon^2)\,\mathbf 1\{|b_t|\le1/2\}≥161​(ε2+∣bt+1​−bt​∣2/ε2)1{∣bt​∣≤1/2}

Proved
StochLinOpt.LowerBound.round_regret_ge

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

banditsbayesianlower-boundsp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let μ1,μ2∈R2\mu_1,\mu_2\in\mathbb R^2μ1​,μ2​∈R2 with ∥μ1∥=∥μ2∥=1/2\|\mu_1\|=\|\mu_2\|=1/2∥μ1​∥=∥μ2​∥=1/2 and ∥μ1−μ2∥=ε>0\|\mu_1-\mu_2\|=\varepsilon>0∥μ1​−μ2​∥=ε>0. Suppose that, given the history Ht\mathcal H_tHt​ before round ttt, the mean is μ1\mu_1μ1​ with probability p∈[0,1]p\in[0,1]p∈[0,1] and μ2\mu_2μ2​ with probability 1−p1-p1−p, so the bias is bt=2p−1b_t=2p-1bt​=2p−1. Let the decision on round ttt be a point xxx of the unit circle, let ℓ∈{−1,+1}\ell\in\{-1,+1\}ℓ∈{−1,+1} be the cost observed on round ttt, and let bt+1b_{t+1}bt+1​ be the Bayes-updated bias (as in Eq. (3)). The expected regret of round ttt given Ht\mathcal H_tHt​ is

Eμ(rt∣Ht)=p (μ1⋅x−μ1⋅x1∗)+(1−p) (μ2⋅x−μ2⋅x2∗),\mathbb E_\mu(r_t\mid\mathcal H_t)=p\,(\mu_1\cdot x-\mu_1\cdot x^*_1)+(1-p)\,(\mu_2\cdot x-\mu_2\cdot x^*_2),Eμ​(rt​∣Ht​)=p(μ1​⋅x−μ1​⋅x1∗​)+(1−p)(μ2​⋅x−μ2​⋅x2∗​),

where μi⋅xi∗=min⁡y∈S1μi⋅y\mu_i\cdot x^*_i=\min_{y\in S^1}\mu_i\cdot yμi​⋅xi∗​=miny∈S1​μi​⋅y. Then, for either value of ℓ\ellℓ,

Eμ(rt∣Ht) ≥ 116(ε2+∣bt+1−bt∣2ε2) 1{∣bt∣≤1/2}.\mathbb E_\mu(r_t\mid\mathcal H_t)\ \ge\ \frac1{16}\Big(\varepsilon^2+\frac{|b_{t+1}-b_t|^2}{\varepsilon^2}\Big)\,\mathbf 1\{|b_t|\le1/2\}.Eμ​(rt​∣Ht​) ≥ 161​(ε2+ε2∣bt+1​−bt​∣2​)1{∣bt​∣≤1/2}.

This is the per-round trade-off behind the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound: while the posterior is undecided, every round either costs regret of order ε2\varepsilon^2ε2 or, through a large movement of the bias, costs regret of order ∣bt+1−bt∣2/ε2|b_{t+1}-b_t|^2/\varepsilon^2∣bt+1​−bt​∣2/ε2.

Formalization Note The history Ht\mathcal H_tHt​ enters only through the posterior probability ppp and the decision xxx, so the lemma is stated for arbitrary p∈[0,1]p\in[0,1]p∈[0,1] and arbitrary xxx on the circle; a genuine posterior lies in (0,1)(0,1)(0,1). The right side depends on ℓt\ell_tℓt​, which is not part of Ht\mathcal H_tHt​; the paper's "for any sequence of decisions x1,…,xtx_1,\dots,x_tx1​,…,xt​ and outcomes ℓ1,…,ℓt−1\ell_1,\dots,\ell_{t-1}ℓ1​,…,ℓt−1​" is read as "for either value of ℓt\ell_tℓt​", which is what the paper's proof establishes (via Eq. (3)). The distance ε\varepsilonε is pinned by ε>0\varepsilon>0ε>0 and (μ1−μ2)⋅(μ1−μ2)=ε2(\mu_1-\mu_2)\cdot(\mu_1-\mu_2)=\varepsilon^2(μ1​−μ2​)⋅(μ1​−μ2​)=ε2 (the Euclidean norm, not Lean's sup norm on Fin 2 → ℝ). The indicator is written as an if.

Preamble
import Mathlib
import Definitions.Def_StochLinOpt_LowerBound_circleBandit

open Matrix
Formal statement
namespace StochLinOpt.LowerBound

theorem round_regret_ge (μ₁ μ₂ x : Fin 2 → ℝ) (ε p ℓ : ℝ)
    (hμ₁ : μ₁ ⬝ᵥ μ₁ = 1 / 4) (hμ₂ : μ₂ ⬝ᵥ μ₂ = 1 / 4)
    (hε : 0 < ε) (hdist : (μ₁ - μ₂) ⬝ᵥ (μ₁ - μ₂) = ε ^ 2) (hx : x ∈ unitCircle)
    (hp₀ : 0 ≤ p) (hp₁ : p ≤ 1) (hℓ : ℓ = 1 ∨ ℓ = -1) :
    1 / 16 * (ε ^ 2 + (biasUpdate μ₁ μ₂ x p ℓ - (2 * p - 1)) ^ 2 / ε ^ 2) *
        (if |2 * p - 1| ≤ 1 / 2 then 1 else 0) ≤
      p * (μ₁ ⬝ᵥ x - optCost μ₁) + (1 - p) * (μ₂ ⬝ᵥ x - optCost μ₂) := by sorry

end StochLinOpt.LowerBound
Source
Dani, Hayes, Kakade, Stochastic Linear Optimization under Bandit Feedback, COLT 2008, PDF p. 11, Lemma 15
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Inputs.

  • μ1,μ2,x∈R2\mu_1,\mu_2,x\in\mathbb{R}^2μ1​,μ2​,x∈R2 and ε,p,ℓ∈R\varepsilon,p,\ell\in\mathbb{R}ε,p,ℓ∈R.
  • μ1⋅μ1=μ2⋅μ2=14\mu_1\cdot\mu_1=\mu_2\cdot\mu_2=\tfrac14μ1​⋅μ1​=μ2​⋅μ2​=41​.
  • ε>0\varepsilon>0ε>0 and (μ1−μ2)⋅(μ1−μ2)=ε2(\mu_1-\mu_2)\cdot(\mu_1-\mu_2)=\varepsilon^2(μ1​−μ2​)⋅(μ1​−μ2​)=ε2, i.e. ∥μ1−μ2∥=ε\|\mu_1-\mu_2\| = \varepsilon∥μ1​−μ2​∥=ε.
  • x⋅x=1x\cdot x=1x⋅x=1.
  • 0≤p≤10\le p\le10≤p≤1.
  • ℓ∈{+1,−1}\ell\in\{+1,-1\}ℓ∈{+1,−1}.

Definitions used.

  • β\betaβ is the bias update above:
β=p(1+ℓ μ1⋅x)−(1−p)(1+ℓ μ2⋅x)p(1+ℓ μ1⋅x)+(1−p)(1+ℓ μ2⋅x),\beta = \frac{p(1+\ell\,\mu_1\cdot x) - (1-p)(1+\ell\,\mu_2\cdot x)}{p(1+\ell\,\mu_1\cdot x) + (1-p)(1+\ell\,\mu_2\cdot x)},β=p(1+ℓμ1​⋅x)+(1−p)(1+ℓμ2​⋅x)p(1+ℓμ1​⋅x)−(1−p)(1+ℓμ2​⋅x)​,

defined as 000 if the denominator is 000.

  • opt⁡(μ)=inf⁡{μ⋅y:y⋅y=1}\operatorname{opt}(\mu) = \inf\{\mu\cdot y : y\cdot y = 1\}opt(μ)=inf{μ⋅y:y⋅y=1}, which equals −μ⋅μ-\sqrt{\mu\cdot\mu}−μ⋅μ​. Here that is −12-\tfrac12−21​ for both μ1\mu_1μ1​ and μ2\mu_2μ2​.

Claim.

116(ε2+(β−(2p−1))2ε2)⋅1[ ∣2p−1∣≤12 ]  ≤  p(μ1⋅x−opt⁡(μ1))+(1−p)(μ2⋅x−opt⁡(μ2)).\frac{1}{16}\left(\varepsilon^2 + \frac{\big(\beta - (2p-1)\big)^2}{\varepsilon^2}\right)\cdot \mathbf{1}\big[\,|2p-1|\le\tfrac12\,\big] \;\le\; p\big(\mu_1\cdot x - \operatorname{opt}(\mu_1)\big) + (1-p)\big(\mu_2\cdot x - \operatorname{opt}(\mu_2)\big).161​(ε2+ε2(β−(2p−1))2​)⋅1[∣2p−1∣≤21​]≤p(μ1​⋅x−opt(μ1​))+(1−p)(μ2​⋅x−opt(μ2​)).

The indicator equals 111 exactly when 14≤p≤34\tfrac14\le p\le\tfrac3441​≤p≤43​, and 000 otherwise.

Degenerate cases.

  • Division by zero. The denominator of β\betaβ is at least 12\tfrac1221​ under these hypotheses, and ε>0\varepsilon>0ε>0 excludes division by zero in ε2\varepsilon^2ε2. No default-value conventions apply.
  • Range of ε\varepsilonε. The hypotheses force μ1≠μ2\mu_1\ne\mu_2μ1​=μ2​, and 0<ε≤10<\varepsilon\le10<ε≤1 because both points lie on the circle of radius 12\tfrac1221​.
  • ppp outside [14,34][\tfrac14,\tfrac34][41​,43​]. This includes p=0p=0p=0 and p=1p=1p=1. The left side is 000, and the claim reduces to the right side being ≥0\ge 0≥0.
  • Satisfiable. All hypotheses can hold together, so the statement is not vacuous.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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