Proof of Theorem 6, first display — on the m-fare grid (13) no policy has competitive ratio above 1/(m − (m − 1) r^(1/(m−1)))
ProvedRobustBooking.BidPrice.theorem6_grid_boundLet , , and , and let be the fares of Eq. (13). On the instances whose fares all lie in , every deterministic online policy , and every randomized policy (a random choice of deterministic policies whose revenue on each such instance is measurable in ), has competitive ratio
This is Theorem 4 of §2.1 (no policy for the continuous -fare problem beats , ) for the geometric fares of Eq. (13), for which . It is the first step of the proof of Theorem 6.
Formalization Note. Theorem 4 belongs to a concurrent draft mission of this series; it is restated here for the grid only. The competitive ratios are the sInfs over admissible instances with positive offline optimum, and the powers are Real.rpow.
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
/-- First display of the proof of Theorem 6 (Ball–Queyranne 2009, §2.2, p. 959): Theorem 4 applied
to the `m`-fare problem with the fares `f_i^(m) = f_max r^((i - 1)/(m - 1))` of Eq. (13),
`r = f_min / f_max`. For `m ≥ 2`, on the instances whose fares are all among the `f_i^(m)`, 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
`c^(m) = 1 / (m - (m - 1) r^(1/(m - 1)))`. -/
theorem theorem6_grid_bound (fmin fmax n : ℝ) (hfmin : 0 < fmin) (hf : fmin < fmax)
(hn : 0 < n) (m : ℕ) (hm : 2 ≤ m) :
(∀ P : DetPolicy, competitiveRatioOn (gridFares fmin fmax m) n P ≤
1 / ((m : ℝ) - ((m : ℝ) - 1) * discountRatio fmin fmax ^ (1 / ((m : ℝ) - 1)))) ∧
∀ {Ω : Type} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
(A : Ω → DetPolicy),
(∀ I : List Request, FaresIn (gridFares fmin fmax m) I →
Measurable fun ω => revenue n (A ω) I) →
competitiveRatioRandOn (gridFares fmin fmax m) n μ A ≤
1 / ((m : ℝ) - ((m : ℝ) - 1) * discountRatio fmin fmax ^ (1 / ((m : ℝ) - 1))) := 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 , and let be a natural number with . Put . The grid fare set is
The bound is
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 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 . 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 on is .
Degenerate cases.
- Smallest grid. Here , and excludes the grid exponents. For , and the bound is .
- Size of the bound. For every allowed , , so is positive.
- 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. If some revenue map were non-integrable despite being measurable, its integral would count as .
- 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.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.