Theorem 6 — no bid-price booking policy, deterministic or randomized, has competitive ratio larger than 1/(1 − ln r)
ProvedRobustBooking.BidPrice.theorem6_upper_boundLet , , and capacity . For the bid-price control problem, whose instances have every fare in , every deterministic online policy satisfies
and so does every randomized policy, a random choice , , of deterministic policies whose revenue on each admissible instance is measurable in .
Together with Theorem 7 this shows that 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 and, under the measurability hypothesis, integrable. The randomization is an arbitrary probability space, not a finitely supported distribution.
import Mathlib import Definitions.Def_RobustBooking_BidPrice_Model import Definitions.Def_RobustBooking_BidPrice_Policy import Definitions.Def_RobustBooking_BidPrice_Controls
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be reals with and . Put . The bound is
with the natural logarithm.
Requests and offline optimum. A request has a real fare and a real quantity . An instance is a finite list of requests. It is admissible if every fare lies in the closed interval . The offline optimum is
a real supremum.
Deterministic policies and their revenue. A deterministic policy is an arbitrary function from (history of earlier requests with their accepted quantities, current request) to a real number. On it accepts
where lists the earlier requests with their . Its revenue is
Competitive ratios. The deterministic competitive ratio is the real infimum
which is if the set is empty or unbounded below. The randomized version replaces by the Bochner integral , which is if the integrand is not integrable.
Claim. The statement asserts both of the following:
- For every deterministic policy , its competitive ratio on is .
- Let be any measurable space (a type in the lowest universe), any probability measure on it, and deterministic policies any function. Assume that for every admissible instance the map is measurable. Then the randomized competitive ratio of is .
Degenerate cases.
- Size of the bound. Under the hypotheses, and , so the bound lies strictly between and and involves no division by zero.
- Junk infimum. If a defining set of ratios were empty or unbounded below, the infimum would be and the inequality would hold automatically.
- Junk integral. A measurable but non-integrable revenue map would have integral .
- Instances excluded. The empty instance, and any instance with , 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.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.