Theorem 5 — the nested policies A_θ and A′_θ with protection levels (7) have competitive ratio exactly 1/Δ
ProvedRobustBooking.MultiFare.theorem5_competitive_ratioConsider the continuous -fare booking problem with , fares and capacity . Let (Eq. (6)), let be the protection levels of Eq. (7) and , the associated controls (Eqs. (8), (9)). Then the protection-level control policy and the order quantity control policy both have competitive ratio exactly
Together with Theorem 4 this says that nested booking with these protection levels is the best possible online policy for fare classes, deterministic or randomized. For , it recovers the two-fare ratio .
Formalization Note. "Has competitive ratio " is stated as an equality of the competitive ratio (an infimum over all instances with positive offline optimum, with requests of any classes in any order and of any positive real size) with ; both directions are part of the claim. The paper's §2.1 assumes ; the statement is made for .
import Mathlib import Definitions.Def_RobustBooking_MultiFare_NestedPolicies
namespace RobustBooking.MultiFare
/-- Theorem 5 (p. 958): for the continuous `m`-fare problem (fares `f 1 > ⋯ > f m > 0`,
`m ≥ 2`, capacity `n > 0`), the booking policies `A_θ` and `A′_θ` with protection levels
defined by Eq. (7) have competitive ratio exactly `1/Δ`. -/
theorem theorem5_competitive_ratio (m : ℕ) (f : ℕ → ℝ) (n : ℝ) (hm : 2 ≤ m)
(hf : StrictAntiOn f (Set.Icc 1 m)) (hfm : 0 < f m) (hn : 0 < n) :
competitiveRatio m f n (protectionPolicy m f n) = 1 / Delta m f ∧
competitiveRatio m f n (orderQuantityPolicy m f n) = 1 / Delta m f := by sorry
end RobustBooking.MultiFare
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every natural number , every sequence of reals (with values ), and every real number , the statement assumes three hypotheses:
- ;
- is strictly decreasing on the index set , meaning that for all ,
- , and together with the previous hypothesis this gives ;
- , where is a real number, not necessarily an integer.
No condition is placed on or on for . These values are arbitrary reals, and whether any of them matter depends on the imported definitions.
Under these hypotheses the statement asserts both of the following equalities:
The symbols are the four imported names, whose definitions are not shown:
- is
competitiveRatio, applied to , , and a policy. - is
protectionPolicy, built from , , . - is
orderQuantityPolicy, built from , , . - is
Delta. It depends only on and , not on .
These are all declared in the imported module Definitions.Def_RobustBooking_MultiFare_NestedPolicies, in the namespace RobustBooking.MultiFare. Their bodies are not part of the code shown, so this read-back cannot unfold them. What they compute, including whether "competitive ratio" is an infimum, a supremum or a worst-case quotient, and over which demand scenarios, is not established by this statement. The only parameters the policies and the ratio receive are , and ; no further parameter appears anywhere in the statement.
Degenerate cases:
- Excluded values. The hypotheses rule out and . The smallest admissible case is with . The capacity may be any positive real, however small, including non-integers.
- Division by zero. The right-hand side uses real division, under which is defined to be . If for some admissible , the statement asserts that both competitive ratios equal . If , it asserts that they equal a negative number. Nothing in the hypotheses forces or ; that depends on the imported definition.
- Unseen defaults. If
competitiveRatiois defined through an infimum or supremum, a quotient, or an integral, then default values may apply: the infimum of an empty set, the supremum of an unbounded set, division by zero, or the integral of a non-integrable function. The statement's equalities then refer to those default values. Whether this happens cannot be determined from the code shown. - Unconstrained values of . The values and for are unconstrained. If any imported definition reads them, the statement holds for every choice of those values.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.