Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6 — no bid-price booking policy, deterministic or randomized, has competitive ratio larger than 1/(1 − ln r)

Proved
RobustBooking.BidPrice.theorem6_upper_bound

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

competitive-ratioonline-algorithmsp2o-batch-rm-cafterp2o-gran-per-chapterp2o-plan-paperp2o-v1revenue-management

Let 0<fmin⁡<fmax⁡0 < f_{\min} < f_{\max}0<fmin​<fmax​, r=fmin⁡/fmax⁡r = f_{\min}/f_{\max}r=fmin​/fmax​, and capacity n>0n > 0n>0. For the bid-price control problem, whose instances have every fare in [fmin⁡,fmax⁡][f_{\min}, f_{\max}][fmin​,fmax​], every deterministic online policy AAA satisfies

CR[fmin⁡,fmax⁡](A)≤11−ln⁡r,\mathrm{CR}_{[f_{\min}, f_{\max}]}(A) \le \frac{1}{1 - \ln r},CR[fmin​,fmax​]​(A)≤1−lnr1​,

and so does every randomized policy, a random choice A(ω)A(\omega)A(ω), ω∼μ\omega \sim \muω∼μ, of deterministic policies whose revenue on each admissible instance is measurable in ω\omegaω.

Together with Theorem 7 this shows that 1/(1−ln⁡r)1/(1 - \ln r)1/(1−lnr) is the best competitive ratio achievable for the continuous bid-price problem.

Formalization Note. Competitive ratios are sInfs over admissible instances with positive offline optimum; the randomized value is the Bochner integral of the revenue, which is bounded by nfmax⁡n f_{\max}nfmax​ and, under the measurability hypothesis, integrable. The randomization is an arbitrary probability space, not a finitely supported distribution.

Preamble
import Mathlib
import Definitions.Def_RobustBooking_BidPrice_Model
import Definitions.Def_RobustBooking_BidPrice_Policy
import Definitions.Def_RobustBooking_BidPrice_Controls
Formal statement
namespace RobustBooking.BidPrice

open MeasureTheory

/-- Theorem 6 (Ball–Queyranne 2009, p. 959). For the bid-price control problem with fare limits
`f_max` and `f_min = r f_max` (`0 < f_min < f_max`, instances with every fare in
`[f_min, f_max]`) and capacity `n > 0`, no booking policy, deterministic or randomized (a random
choice `A ω`, `ω ∼ μ`, of deterministic policies whose revenue on each admissible instance is
measurable), has a competitive ratio larger than `1 / (1 - ln r)`. -/
theorem theorem6_upper_bound (fmin fmax n : ℝ) (hfmin : 0 < fmin) (hf : fmin < fmax)
    (hn : 0 < n) :
    (∀ P : DetPolicy, competitiveRatioOn (Set.Icc fmin fmax) n P ≤
        1 / (1 - Real.log (discountRatio fmin fmax))) ∧
      ∀ {Ω : Type} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
        (A : Ω → DetPolicy),
        (∀ I : List Request, FaresIn (Set.Icc fmin fmax) I →
          Measurable fun ω => revenue n (A ω) I) →
          competitiveRatioRandOn (Set.Icc fmin fmax) n μ A ≤
            1 / (1 - Real.log (discountRatio fmin fmax)) := by sorry

end RobustBooking.BidPrice
Source
Ball, Queyranne, Toward Robust Revenue Management: Competitive Analysis of Online Booking, Oper. Res. 57(4), 2009, p. 959, Theorem 6
Read-back

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

Setting. Let fmin⁡,fmax⁡,nf_{\min}, f_{\max}, nfmin​,fmax​,n be reals with 0<fmin⁡<fmax⁡0 < f_{\min} < f_{\max}0<fmin​<fmax​ and n>0n > 0n>0. Put r=fmin⁡/fmax⁡r = f_{\min}/f_{\max}r=fmin​/fmax​. The bound is

11−ln⁡r,\frac{1}{1 - \ln r},1−lnr1​,

with ln⁡\lnln the natural logarithm.

Requests and offline optimum. A request has a real fare OOO and a real quantity d>0d > 0d>0. An instance III is a finite list of requests. It is admissible if every fare lies in the closed interval [fmin⁡,fmax⁡][f_{\min}, f_{\max}][fmin​,fmax​]. The offline optimum is

v∗(I)=sup⁡{∑iOixi:0≤xi≤di, ∑ixi≤n},v^*(I) = \sup\Big\{\textstyle\sum_i O_i x_i : 0 \le x_i \le d_i,\ \sum_i x_i \le n\Big\},v∗(I)=sup{∑i​Oi​xi​:0≤xi​≤di​, ∑i​xi​≤n},

a real supremum.

Deterministic policies and their revenue. A deterministic policy π\piπ is an arbitrary function from (history of earlier requests with their accepted quantities, current request) to a real number. On I=(q1,…,qL)I = (q_1, \dots, q_L)I=(q1​,…,qL​) it accepts

ak=max⁡(0,min⁡(π(hk−1,qk),dk,n−∑j<kaj)),a_k = \max\Big(0, \min\big(\pi(h_{k-1}, q_k), d_k, n - \textstyle\sum_{j<k} a_j\big)\Big),ak​=max(0,min(π(hk−1​,qk​),dk​,n−∑j<k​aj​)),

where hk−1h_{k-1}hk−1​ lists the earlier requests with their aja_jaj​. Its revenue is

v′(π,I)=∑kOkak.v'(\pi, I) = \sum_k O_k a_k.v′(π,I)=k∑​Ok​ak​.

Competitive ratios. The deterministic competitive ratio is the real infimum

inf⁡{v′(π,I)/v∗(I):I admissible, v∗(I)>0},\inf\{ v'(\pi,I)/v^*(I) : I \text{ admissible},\ v^*(I) > 0\},inf{v′(π,I)/v∗(I):I admissible, v∗(I)>0},

which is 000 if the set is empty or unbounded below. The randomized version replaces v′(π,I)v'(\pi, I)v′(π,I) by the Bochner integral ∫Ωv′(A(ω),I) dμ(ω)\int_\Omega v'(A(\omega), I)\, d\mu(\omega)∫Ω​v′(A(ω),I)dμ(ω), which is 000 if the integrand is not integrable.

Claim. The statement asserts both of the following:

  1. For every deterministic policy π\piπ, its competitive ratio on [fmin⁡,fmax⁡][f_{\min}, f_{\max}][fmin​,fmax​] is ≤11−ln⁡r\le \dfrac{1}{1 - \ln r}≤1−lnr1​.
  2. Let Ω\OmegaΩ be any measurable space (a type in the lowest universe), μ\muμ any probability measure on it, and A:Ω→A : \Omega \toA:Ω→ deterministic policies any function. Assume that for every admissible instance III the map ω↦v′(A(ω),I)\omega \mapsto v'(A(\omega), I)ω↦v′(A(ω),I) is measurable. Then the randomized competitive ratio of (μ,A)(\mu, A)(μ,A) is ≤11−ln⁡r\le \dfrac{1}{1 - \ln r}≤1−lnr1​.

Degenerate cases.

  • Size of the bound. Under the hypotheses, r∈(0,1)r \in (0,1)r∈(0,1) and ln⁡r<0\ln r < 0lnr<0, so the bound lies strictly between 000 and 111 and involves no division by zero.
  • Junk infimum. If a defining set of ratios were empty or unbounded below, the infimum would be 000 and the inequality would hold automatically.
  • Junk integral. A measurable but non-integrable revenue map would have integral 000.
  • Instances excluded. The empty instance, and any instance with v∗(I)=0v^*(I) = 0v∗(I)=0, is excluded from the infimum.
  • Scope of the measurability hypothesis. It is required only for admissible instances.
  • Arbitrary policies. The policies may be arbitrary, including ones that ignore the history.
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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