Theorem 4, p. 19 — procedures satisfying (17)–(18) with c make Multi-price Balance c-competitive
ProvedMultiPriceOnline.Balance.theorem_4Consider any setup with a finite set of items: item has inventory and prices , . In Line 1 of Algorithm 1 (Multi-price Balance), the borders and the value function of each item are drawn, independently across items, from a randomized procedure. The procedure satisfies, for a constant ,
for every initialization of positive probability, and
Then Algorithm 1 achieves a competitive ratio of . Take any number of customers , any purchase probabilities , any tie-breaking rule that offers a maximizer of (16), and any feasible solution of the LP (5). Then
This is the paper's reduction of the competitive analysis to a single-item design problem. It is combined with Theorem 5 and the procedure (45) in the proof of Theorem 1.
Formalization Note The competitive ratio (6), , is stated multiplied out for every feasible , so that causes no division by zero. The procedures are fixed before the arrival sequence. No positivity of is assumed, because (17)–(18) already force . Take a configuration of positive probability and . If , (17) at would make a nonnegative quantity negative. If , Lean reads as , so (17) forces the value function to vanish, contradicting (18).
import Mathlib import Definitions.Def_MultiPriceOnline_Balance_PriceSet import Definitions.Def_MultiPriceOnline_Balance_LP import Definitions.Def_MultiPriceOnline_Balance_Procedure import Definitions.Def_MultiPriceOnline_Balance_Algorithm
namespace MultiPriceOnline.Balance
/-- Theorem 4 (Ma–Simchi-Levi, arXiv:1905.04770v1, p. 19). Suppose that in Line 1 of Algorithm 1
every item `i` is initialized by a randomized procedure `P i` satisfying (17) with constant `c` for
every potential initialization and (18) in expectation. Then Algorithm 1 achieves a competitive
ratio of `c`: for every arrival sequence, every tie-breaking rule maximizing (16) and every feasible
solution `x` of the LP (5), `c · (5a)(x) ≤ 𝔼[ALG]`. -/
theorem theorem_4 {ι : Type*} [Fintype ι] [DecidableEq ι] (k m : ι → ℕ)
(hk : ∀ i, 1 ≤ k i) (hm : ∀ i, 1 ≤ m i) (r : ι → ℕ → ℝ) (hr : ∀ i, IsPriceSet (m i) (r i))
(P : ∀ i, Procedure (k i) (m i)) (hP : ∀ i, IsProcedure (P i)) (c : ℝ)
(h17 : ∀ i, Cond17 (r i) (P i) c) (h18 : ∀ i, Cond18 (r i) (P i))
{T : ℕ} (p : Fin T → ι → ℕ → ℝ)
(hp : ∀ t i j, 1 ≤ j → j ≤ m i → 0 ≤ p t i j ∧ p t i j ≤ 1)
(sel : Selector m) (hsel : IsArgmaxSelector sel)
(x : Fin T → ι → ℕ → ℝ) (hx : LPFeasible k m p x) :
c * lpObj m r p x ≤ expRevenue k m r P sel p := by sorry
end MultiPriceOnline.Balance
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.