Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, p. 16 β€” in the deterministic case, Multi-price Ranking is minα΅’ F(𝒫ᡒ)-competitive

Proved
MultiPriceOnline.Ranking.theorem_2

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

competitive-ratiomulti-priceonline-matchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rankingrevenue-management

A firm sells nβ‰₯1n\ge1nβ‰₯1 items, one unit each (ki=1k_i=1ki​=1). Item iii has a price set Pi={ri(1)<β‹―<ri(mi)}\mathcal P_i=\{r_i^{(1)}<\dots<r_i^{(m_i)}\}Pi​={ri(1)​<β‹―<ri(mi​)​} with ri(1)>0r_i^{(1)}>0ri(1)​>0, booking limits Ξ±i(1),…,Ξ±i(mi)\alpha_i^{(1)},\dots,\alpha_i^{(m_i)}Ξ±i(1)​,…,Ξ±i(mi​)​ (Proposition 1) and F(Pi)=1βˆ’eβˆ’Ξ±i(1)F(\mathcal P_i)=1-e^{-\alpha_i^{(1)}}F(Pi​)=1βˆ’eβˆ’Ξ±i(1)​. Customers t=1,…,Tt=1,\dots,Tt=1,…,T arrive in the deterministic case: every purchase probability pt,i(j)p^{(j)}_{t,i}pt,i(j)​ is 000 or 111. Multi-price Ranking draws independent uniform seeds Wi∈[0,1]W_i\in[0,1]Wiβ€‹βˆˆ[0,1] and offers each customer an available item maximizing ri(jt,i)βˆ’Ξ¦Pi(Wi)r_i^{(j_{t,i})}-\Phi_{\mathcal P_i}(W_i)ri(jt,i​)β€‹βˆ’Ξ¦Pi​​(Wi​) at price jt,ij_{t,i}jt,i​, when that maximum is positive, ties broken by any rule that returns a maximizer. Then for every arrival sequence and every feasible solution xxx of the LP (5),

min⁑i∈[n]F(Pi)β‹…βˆ‘t,i,jpt,i(j) ri(j) xt,i(j) ≀ E[ALG(S,A)].\min_{i\in[n]}F(\mathcal P_i)\cdot\sum_{t,i,j}p^{(j)}_{t,i}\,r_i^{(j)}\,x^{(j)}_{t,i}\ \le\ \mathbb E\bigl[\mathrm{ALG}(\mathcal S,\mathcal A)\bigr].i∈[n]min​F(Pi​)β‹…t,i,jβˆ‘β€‹pt,i(j)​ri(j)​xt,i(j)​ ≀ E[ALG(S,A)].

Equivalently, E[ALG(S,A)]β‰₯min⁑iF(Pi)β‹…OPT(S,A)\mathbb E[\mathrm{ALG}(\mathcal S,\mathcal A)]\ge\min_iF(\mathcal P_i)\cdot\mathrm{OPT}(\mathcal S,\mathcal A)E[ALG(S,A)]β‰₯mini​F(Pi​)β‹…OPT(S,A): Multi-price Ranking achieves a competitive ratio of min⁑iF(Pi)\min_iF(\mathcal P_i)mini​F(Pi​).

The ratio depends on the price sets only. Theorem 3 of the paper shows that, for setups in which every item has the same price set P\mathcal PP, no online algorithm can guarantee more than F(P)F(\mathcal P)F(P).

Formalization Note The competitive ratio (6) is stated multiplied out, for every feasible xxx of (5), so that OPT=0\mathrm{OPT}=0OPT=0 causes no division and no supremum is needed. The paper assumes ki=1k_i=1ki​=1 "without loss of generality" for Algorithm 2; the statement is for setups with ki=1k_i=1ki​=1, and an item with kik_iki​ units corresponds to kik_iki​ unit items with the same price set. nβ‰₯1n\ge1nβ‰₯1 is assumed so that the minimum exists; with no items both sides are 000. The expectation is the integral over [0,1]n[0,1]^n[0,1]n with the product of uniform laws.

Preamble
import Mathlib
import Definitions.Def_MultiPriceOnline_Ranking_LP
import Definitions.Def_MultiPriceOnline_Ranking_Setting
Formal statement
namespace MultiPriceOnline.Ranking

open MeasureTheory

/-- Theorem 2 (p. 16): for any setup in the deterministic case (with every `k_i = 1`),
Multi-price Ranking achieves a competitive ratio of `min_i F(𝒫_i)`: for every arrival sequence,
every tie-breaking rule and every feasible solution `x` of the LP (5),
`min_i F(𝒫_i) Β· obj(x) ≀ E[ALG]`, the expectation over the seeds `W_i` i.i.d. uniform on
`[0, 1]`. -/
theorem theorem_2 {n T : β„•} (hn : 0 < n) (m : Fin n β†’ β„•) (r Ξ± : Fin n β†’ β„• β†’ ℝ)
    (hr : βˆ€ i, IsPriceSet (m i) (r i)) (hΞ± : βˆ€ i, MultiPriceOnline.Balance.IsBookingLimits (m i) (r i) (Ξ± i))
    (p : Fin T β†’ Fin n β†’ β„• β†’ ℝ) (hp : IsDeterministic m p)
    (sel : Selector n T) (hsel : IsArgmaxSelector sel)
    (x : Fin T β†’ Fin n β†’ β„• β†’ ℝ) (hx : LPFeasible (fun _ => 1) m p x) :
    (Finset.univ.inf' ⟨⟨0, hn⟩, Finset.mem_univ _⟩ fun i => F (Ξ± i)) * lpObj m r p x ≀
      ∫ W, rev2 m r Ξ± p sel Finset.univ W βˆ‚(seedMeasure n) := by sorry

end MultiPriceOnline.Ranking
Source
Ma, Simchi-Levi, Algorithms for Online Matching, Assortment, and Pricing with Tight Weight-dependent Competitive Ratios, arXiv:1905.04770v1, p. 16, Theorem 2 (Algorithm 2, p. 22; proof p. 23)
Human review
  • Endorsed by Shuze Chen Β· Oct 10, 2026

    Confirmed by the moderator at approval.

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