Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 15 — EllipsoidPricing explores in at most 2d² ln(20R(d+1)/ε) periods

Proved
FeaturePricing.Ellipsoid.lemma1_explore_count

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

dynamic-pricingellipsoid-methodp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1regret

Run EllipsoidPricing in dimension d≥2d\ge2d≥2 from E1=B(0,R)E_1=B(0,R)E1​=B(0,R), R>0R>0R>0, with parameter 0<ϵ≤20R(d+1)0<\epsilon\le20R(d+1)0<ϵ≤20R(d+1), on a feature sequence with ∥xt∥≤1\|x_t\|\le1∥xt​∥≤1 for all ttt, and true parameter ∥θ∥≤R\|\theta\|\le R∥θ∥≤R (Euclidean norms). Then for every horizon TTT, the number of periods t≤Tt\le Tt≤T in which the algorithm chooses the explore price satisfies

#{t≤T: bˉt−b‾t>ϵ} ≤ 2d2ln⁡ ⁣(20R(d+1)ϵ).\#\{t\le T:\ \bar b_t-\underline b_t>\epsilon\}\ \le\ 2d^2\ln\!\Big(\frac{20R(d+1)}{\epsilon}\Big).#{t≤T: bˉt​−b​t​>ϵ} ≤ 2d2ln(ϵ20R(d+1)​).

Lemma 1 is the core of the regret analysis: exploitation periods cost at most ϵ\epsilonϵ each, so bounding the number of exploration periods bounds the regret.

Formalization Note The hypothesis ϵ≤20R(d+1)\epsilon\le20R(d+1)ϵ≤20R(d+1) is not printed. Without it the right-hand side is negative while the count is nonnegative, so the printed lemma is false for larger ϵ\epsilonϵ (with T≥1T\ge1T≥1 and xt=0x_t=0xt​=0 there are no explorations but the bound is <0<0<0); it is the initial eigenvalue floor used in the proof (p. 20). The count is cast to R\mathbb RR and taken over Lean periods t<Tt<Tt<T (paper periods 1,…,T1,\dots,T1,…,T). The bound on θ\thetaθ is the standing normalization of §3; the count does not depend on it in the paper's argument.

Preamble
import Mathlib
import Definitions.Def_FeaturePricing_Ellipsoid_EllipsoidPricing
Formal statement
namespace FeaturePricing.Ellipsoid

open Matrix LinearOptimization

/-- **Lemma 1, p. 15.** EllipsoidPricing from `E₁ = B(0, R)` with `0 < ε ≤ 20R(d+1)` and features
`‖x_t‖ ≤ 1` (Euclidean) chooses the explore price in at most `2d² ln(20R(d+1)/ε)` periods: for
every horizon `T`, the number of exploration periods among the first `T` is at most that bound. -/
theorem lemma1_explore_count {d : ℕ} (hd : 2 ≤ d) {R ε : ℝ} (hR : 0 < R) (hε : 0 < ε)
    (hεR : ε ≤ 20 * R * ((d : ℝ) + 1))
    (θ : Fin d → ℝ) (hθ : θ ⬝ᵥ θ ≤ R ^ 2) (x : ℕ → Fin d → ℝ) (hx : ∀ t, x t ⬝ᵥ x t ≤ 1)
    (T : ℕ) :
    open Classical in
    (((Finset.range T).filter (fun t => isExplore R ε θ x t)).card : ℝ) ≤
      2 * (d : ℝ) ^ 2 * Real.log (20 * R * ((d : ℝ) + 1) / ε) := by sorry

end FeaturePricing.Ellipsoid
Source
Cohen, Lobel, Paes Leme, Feature-Based Dynamic Pricing, Management Science (2020), DOI 10.1287/mnsc.2019.3485 (authors' copy, SSRN 2737045), p. 15, Lemma 1 (proof pp. 19–20)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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