Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4 — no booking policy, deterministic or randomized, has competitive ratio larger than 1/Δ

Proved
RobustBooking.MultiFare.theorem4_no_policy_exceeds

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

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

Consider the continuous mmm-fare booking problem with m≥2m \ge 2m≥2, fares f1>f2>⋯>fm>0f_1 > f_2 > \dots > f_m > 0f1​>f2​>⋯>fm​>0 and capacity n>0n > 0n>0, and let Δ=m−∑i=2mfi/fi−1\Delta = m - \sum_{i=2}^m f_i/f_{i-1}Δ=m−∑i=2m​fi​/fi−1​ (Eq. (6)). Then every deterministic online policy BBB satisfies

c(B)≤1Δ,c(B) \le \frac{1}{\Delta},c(B)≤Δ1​,

and every randomized policy — a random choice A(ω)A(\omega)A(ω) of a deterministic policy, ω∼μ\omega \sim \muω∼μ for a probability measure μ\muμ on any measurable space Ω\OmegaΩ, such that for each instance the revenue ω↦R(A(ω),I)\omega \mapsto R(A(\omega), I)ω↦R(A(ω),I) is measurable — satisfies

c(μ,A)=inf⁡I: v∗(I)>0Eμ[R(A(ω),I)]v∗(I)≤1Δ.c(\mu, A) = \inf_{I:\, v^*(I) > 0} \frac{\mathbb{E}_\mu[R(A(\omega), I)]}{v^*(I)} \le \frac{1}{\Delta}.c(μ,A)=I:v∗(I)>0inf​v∗(I)Eμ​[R(A(ω),I)]​≤Δ1​.

This is the negative half of the paper's main multi-fare result: no online policy, even with randomization, can guarantee more than a 1/Δ1/\Delta1/Δ fraction of the offline optimum.

Formalization Note. Competitive ratios are those of the booking model (infimum over instances with positive offline optimum). The paper's §2.1 assumes m≥3m \ge 3m≥3; the statement is made for m≥2m \ge 2m≥2. Measurability of the revenue in ω\omegaω is the standing requirement for the expectation to be defined; the revenue is bounded for each instance, so it is then integrable.

Preamble
import Mathlib
import Definitions.Def_RobustBooking_MultiFare_BookingModel
import Definitions.Def_RobustBooking_MultiFare_ProtectionLevels

open MeasureTheory
Formal statement
namespace RobustBooking.MultiFare

/-- Theorem 4 (p. 957): for the continuous `m`-fare problem (fares `f 1 > ⋯ > f m > 0`,
`m ≥ 2`, capacity `n > 0`), no booking policy, deterministic or randomized, has a
competitive ratio larger than `1/Δ`. A randomized policy is a random choice `A ω` of a
deterministic policy, `ω ∼ μ` on an arbitrary probability space, with the revenue on
each instance measurable in `ω`. -/
theorem theorem4_no_policy_exceeds (m : ℕ) (f : ℕ → ℝ) (n : ℝ) (hm : 2 ≤ m)
    (hf : StrictAntiOn f (Set.Icc 1 m)) (hfm : 0 < f m) (hn : 0 < n)
    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
    (A : Ω → DetPolicy) (hA : ∀ I : List Request, IsInstance m I →
      Measurable fun ω => revenue f n (A ω) I) :
    (∀ B : DetPolicy, competitiveRatio m f n B ≤ 1 / Delta m f) ∧
    randCompetitiveRatio m f n μ A ≤ 1 / Delta m f := by sorry

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

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

The statement is universally quantified over:

  • a natural number m≥2m \ge 2m≥2;
  • a function f:N→Rf : \mathbb{N} \to \mathbb{R}f:N→R with f(1)>f(2)>⋯>f(m)f(1) > f(2) > \cdots > f(m)f(1)>f(2)>⋯>f(m) (strictly decreasing on the naturals 1,…,m1,\dots,m1,…,m) and f(m)>0f(m) > 0f(m)>0;
  • a real n>0n > 0n>0;
  • a type Ω\OmegaΩ with a σ\sigmaσ-algebra and a probability measure μ\muμ on it;
  • a family A=(Aω)ω∈ΩA = (A_\omega)_{\omega \in \Omega}A=(Aω​)ω∈Ω​ of deterministic policies, such that for every instance III the map ω↦rev⁡(Aω,I)\omega \mapsto \operatorname{rev}(A_\omega, I)ω↦rev(Aω​,I) is measurable.

No measurability or integrability of AAA itself, beyond this, is assumed.

The terms are defined as follows.

  • Requests and instances. A request is (c,d)(c, d)(c,d) with c∈Nc \in \mathbb{N}c∈N, d∈Rd \in \mathbb{R}d∈R. An instance is a finite list I=((c1,d1),…,(cK,dK))I = ((c_1,d_1),\dots,(c_K,d_K))I=((c1​,d1​),…,(cK​,dK​)) with 1≤ck≤m1 \le c_k \le m1≤ck​≤m and dk>0d_k > 0dk​>0 for all kkk.
  • Policies and runs. A deterministic policy BBB is any function from (record of past (request, accepted quantity) pairs, current request) to R\mathbb{R}R. Running BBB on III produces accepted quantities
xk=max⁡{0,min⁡{B(hk−1,rk), dk, n−∑l<kxl}},x_k = \max\Big\{0, \min\big\{B(h_{k-1}, r_k),\ d_k,\ n - \textstyle\sum_{l<k} x_l\big\}\Big\},xk​=max{0,min{B(hk−1​,rk​), dk​, n−∑l<k​xl​}},

where hk−1=((r1,x1),…,(rk−1,xk−1))h_{k-1} = ((r_1,x_1),\dots,(r_{k-1},x_{k-1}))hk−1​=((r1​,x1​),…,(rk−1​,xk−1​)).

  • Revenue. rev⁡(B,I)=∑kf(ck) xk\operatorname{rev}(B,I) = \sum_k f(c_k)\, x_krev(B,I)=∑k​f(ck​)xk​.
  • Offline optimum. v∗(I)v^*(I)v∗(I) is the real supremum of {∑kf(ck)yk:0≤yk≤dk, ∑kyk≤n}\{\sum_k f(c_k) y_k : 0 \le y_k \le d_k,\ \sum_k y_k \le n\}{∑k​f(ck​)yk​:0≤yk​≤dk​, ∑k​yk​≤n} (with sup⁡∅=0\sup\varnothing = 0sup∅=0).
  • Deterministic competitive ratio. CR⁡(B)\operatorname{CR}(B)CR(B) is the infimum of rev⁡(B,I)/v∗(I)\operatorname{rev}(B,I)/v^*(I)rev(B,I)/v∗(I) over instances III with v∗(I)>0v^*(I) > 0v∗(I)>0.
  • Randomized competitive ratio. CR⁡rand(μ,A)\operatorname{CR}^{\mathrm{rand}}(\mu, A)CRrand(μ,A) is the infimum of
(∫Ωrev⁡(Aω,I) dμ(ω))/v∗(I)\Big(\int_\Omega \operatorname{rev}(A_\omega, I)\, d\mu(\omega)\Big) \Big/ v^*(I)(∫Ω​rev(Aω​,I)dμ(ω))/v∗(I)

over the same instances. The integral is the Bochner integral, which is 000 if the integrand is not μ\muμ-integrable.

Both infima use the real convention that the infimum of an empty set, or of a set unbounded below, is 000. Finally, Δ=m−∑i=2mf(i)/f(i−1)\Delta = m - \sum_{i=2}^{m} f(i)/f(i-1)Δ=m−∑i=2m​f(i)/f(i−1).

The theorem asserts both of the following:

  1. For every deterministic policy BBB,
CR⁡(B)≤1Δ.\operatorname{CR}(B) \le \frac{1}{\Delta}.CR(B)≤Δ1​.
  1. For the given randomized family,
CR⁡rand(μ,A)≤1Δ.\operatorname{CR}^{\mathrm{rand}}(\mu, A) \le \frac{1}{\Delta}.CRrand(μ,A)≤Δ1​.

Degenerate cases:

  • Δ\DeltaΔ and 1/Δ1/\Delta1/Δ: under the hypotheses, f(1),…,f(m)>0f(1),\dots,f(m) > 0f(1),…,f(m)>0 and every ratio f(i)/f(i−1)f(i)/f(i-1)f(i)/f(i−1) lies in (0,1)(0,1)(0,1). Hence Δ>1\Delta > 1Δ>1 and 0<1/Δ<10 < 1/\Delta < 10<1/Δ<1, with no division by zero.
  • Nonempty ratio sets: any nonempty instance has v∗(I)>0v^*(I) > 0v∗(I)>0, since fares on classes 1,…,m1,\dots,m1,…,m are positive, n>0n > 0n>0 and each dk>0d_k > 0dk​>0. So the ratio sets are nonempty. The empty instance is excluded, since its v∗v^*v∗ is 000.
  • Junk values: if a ratio set were unbounded below, its infimum would be the junk value 000, which would satisfy the inequality automatically. Likewise, a non-integrable revenue map would contribute a ratio of 000. Measurability, not integrability, is what is assumed.
  • Nonempty Ω\OmegaΩ: a probability measure forces Ω\OmegaΩ to be nonempty.
  • Unused values of fff: f(0)f(0)f(0) and f(i)f(i)f(i) for i>mi > mi>m are unconstrained and play no role.
  • Continuous quantities: nnn and the quantities dkd_kdk​ are arbitrary positive reals, not necessarily integers.
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