Lemma 4, p. 24 — online revenue on the counterexample is at most the maximum of (26), up to εnk
ProvedMultiPriceOnline.Hardness.lemma_4Let , let be a price set with booking limits , let solve (24), and set . Fix . For every there is such that for every the following holds. Let be any randomized online algorithm: a measurable random choice of a deterministic online algorithm, on any probability space. Run it on the counterexample of §5 with items, inventory , and a uniformly random permutation . Its expected revenue satisfies
The maximum is over with for , , and .
This is the upper bound on online algorithms that Lemma 5 then evaluates.
Formalization Note The paper states Lemma 4 without the error term. Its proof treats as an integer and replaces harmonic sums by logarithms "since " (pp. 23, 47). It therefore establishes the bound only up to , and the statement is the corresponding -form. The maximum is a real supremum of a set that is nonempty (, since the decrease) and bounded above, so it is attained. Measurability of the revenue in is assumed. The revenue is bounded, so it is then integrable; without measurability the Bochner integral would be and the bound trivially true.
import Mathlib import Definitions.Def_MultiPriceOnline_Hardness_PriceSet import Definitions.Def_MultiPriceOnline_Hardness_Model import Definitions.Def_MultiPriceOnline_Hardness_Instance
namespace MultiPriceOnline.Hardness
open Finset MeasureTheory
theorem lemma_4 {m : ℕ} {r α B : ℕ → ℝ} (hm : 1 ≤ m) (hr : MultiPriceOnline.Balance.IsPriceSet m r)
(hα : MultiPriceOnline.Balance.IsBookingLimits m r α) (hB : IsPhaseB m r α B) (k : ℕ) (hk : 1 ≤ k)
(ε : ℝ) (hε : 0 < ε) :
∃ N₀ : ℕ, ∀ n : ℕ, N₀ ≤ n →
∀ {Ω : Type} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
(alg : Ω → OnlineAlg n),
(∀ π : Equiv.Perm (Fin n),
Measurable (fun ω => revenue k m r (alg ω) (hardInstance n k m B π))) →
((Nat.factorial n : ℝ))⁻¹ * ∑ π : Equiv.Perm (Fin n),
∫ ω, revenue k m r (alg ω) (hardInstance n k m B π) ∂μ
≤ sSup {v : ℝ | ∃ lam : ℕ → ℝ, (∀ j ∈ Icc 1 m, 0 ≤ lam j) ∧
(∀ j ∈ Icc 1 (m - 1), lam j ≤ Real.log (B j / B (j + 1))) ∧
(∑ j ∈ Icc 1 m, lam j) ≤ 1 ∧
v = ∑ j ∈ Icc 1 m, r j * B j * n * (1 - Real.exp (-lam j)) * k}
+ ε * n * k := by sorry
end MultiPriceOnline.Hardness
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.