Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 14 — the valuation tracking procedure (Algorithm 1) is c∗(P)c^*(\mathcal P)c∗(P)-competitive: E[ALG]≥OPT/q\mathbb E[\mathsf{ALG}]\ge \mathrm{OPT}/qE[ALG]≥OPT/q on every valuation sequence

Proved
ValTrackRM.Public.theorem_1

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

competitive-ratiodynamic-pricingonline-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

Let m≥1m\ge1m≥1 and 0<r(1)<⋯<r(m)0<r^{(1)}<\dots<r^{(m)}0<r(1)<⋯<r(m) be the price set P\mathcal PP, with r(0)=0r^{(0)}=0r(0)=0, and let k≥1k\ge1k≥1 be the starting inventory. Let q(j)=1−r(j−1)/r(j)q^{(j)}=1-r^{(j-1)}/r^{(j)}q(j)=1−r(j−1)/r(j), q=∑j=1mq(j)q=\sum_{j=1}^m q^{(j)}q=∑j=1m​q(j) and c∗(P)=1/qc^*(\mathcal P)=1/qc∗(P)=1/q (Definition 1). Run Algorithm 1, the valuation tracking procedure, with any rule for breaking ties in the arg min of line 4. Then for every valuation sequence (V1,…,VT)∈(P∪{0})T(V_1,\dots,V_T)\in(\mathcal P\cup\{0\})^T(V1​,…,VT​)∈(P∪{0})T,

E[ALG(V1,…,VT)] ≥ c∗(P)⋅OPT(V1,…,VT),\mathbb E[\mathsf{ALG}(V_1,\dots,V_T)]\ \ge\ c^*(\mathcal P)\cdot\mathrm{OPT}(V_1,\dots,V_T),E[ALG(V1​,…,VT​)] ≥ c∗(P)⋅OPT(V1​,…,VT​),

where ALG=∑t=1TPtXt\mathsf{ALG}=\sum_{t=1}^T P_tX_tALG=∑t=1T​Pt​Xt​ is the revenue of the algorithm and OPT\mathrm{OPT}OPT the offline optimum, the sum of the min⁡{k,T}\min\{k,T\}min{k,T} largest valuations. That is, Algorithm 1 is c∗(P)c^*(\mathcal P)c∗(P)-competitive in the sense of Equation (1).

Since c∗(P)c^*(\mathcal P)c∗(P) is also an upper bound on the competitiveness of any online algorithm (Ball and Queyranne 2009; Eren and Maglaras 2010), Theorem 1 shows that the competitive ratio of public dynamic pricing with deterministic valuations equals c∗(P)c^*(\mathcal P)c∗(P).

Formalization Note. E[ALG]\mathbb E[\mathsf{ALG}]E[ALG] is computed from the law of Algorithm 1's random prices and purchases (the law of the sold vector, pushed forward step by step), and OPT is the offline maximum over sets of at most kkk customers; neither is defined through the algorithm's levels. The price at step ttt depends only on V1,…,Vt−1V_1,\dots,V_{t-1}V1​,…,Vt−1​. The statement holds for every list of valuations, including the empty one (where both sides are 000), and for every minimal-level tie-break; both are strengthenings of the paper's "for all T≥1T\ge1T≥1" with one fixed arg min. The printed line 8 of Algorithm 1 has a typo in its last probability (ℓt+1/q_tot); the definition uses q(m)/qtotq^{(m)}/q_{\mathrm{tot}}q(m)/qtot​.

Preamble
import Mathlib
import Definitions.Def_ValTrackRM_Public_Model
Formal statement
namespace ValTrackRM.Public

theorem theorem_1 {m k : ℕ} (hm : 1 ≤ m) (hk : 1 ≤ k) (r : ℕ → ℝ) (hr0 : r 0 = 0)
    (hr : ∀ j, j < m → r j < r (j + 1))
    (sel : (Fin k → Fin (m + 1)) → Fin k) (hsel : ∀ (L : Fin k → Fin (m + 1)) (i : Fin k), L (sel L) ≤ L i)
    (V : List (Fin (m + 1))) :
    cStar r m * opt r k V ≤ expRevenue r sel V := by sorry

end ValTrackRM.Public
Source
Ma, Simchi-Levi & Teo, On Policies for Single-Leg Revenue Management with Limited Demand Information, arXiv:1810.10900v2, p. 14, Theorem 1 (with Equation (1), p. 8, and Definition 1, pp. 8–9)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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