Proposition 3, p. 21 — Definition 3's comonotone rounding: E[L̃⁽ʲ⁾] = L⁽ʲ⁾ and |(L̃⁽ʲ⁾ − L̃⁽ʲ′⁾) − (L⁽ʲ⁾ − L⁽ʲ′⁾)| ≤ 1/k
ProvedMultiPriceOnline.Balance.proposition_3Let be an integer and let be a price set with . Let be its booking limits (7), with borders . Draw uniformly from and round every with the same seed (Definition 3): up if , down otherwise. Write for the result divided by . Then
and for every seed
Each border may move by up to , but because all borders are rounded with one seed, the length of any union of consecutive segments moves by at most . This is the property the proof of Theorem 5 relies on.
Formalization Note The expectation in (21) is the integral over of as a function of the seed, not an expectation under the induced distribution on configurations. (22) is stated for every seed in , which is what the paper's proof shows.
import Mathlib import Definitions.Def_MultiPriceOnline_Balance_PriceSet import Definitions.Def_MultiPriceOnline_Balance_Procedure
namespace MultiPriceOnline.Balance
/-- Proposition 3 (Ma–Simchi-Levi, arXiv:1905.04770v1, p. 21). For an item with inventory `k ≥ 1`
and booking limits `α` of a price set with `m ≥ 1` prices, the random borders `L̃⁽ʲ⁾` of
Definition 3 (seed `W` uniform on `[0, 1]`) satisfy
(21) `𝔼[L̃⁽ʲ⁾] = L⁽ʲ⁾` for `j = 0, …, m`, and
(22) `|(L̃⁽ʲ⁾ − L̃⁽ʲ'⁾) − (L⁽ʲ⁾ − L⁽ʲ'⁾)| ≤ 1/k` for `1 ≤ j' < j ≤ m`, for every seed `W ∈ [0, 1]`.
In unit indices `L̃⁽ʲ⁾ = cv (def3Config k m α W) j / k`. -/
theorem proposition_3 (k m : ℕ) (hk : 1 ≤ k) (hm : 1 ≤ m) (r α : ℕ → ℝ)
(hr : IsPriceSet m r) (hα : IsBookingLimits m r α) :
(∀ j, j ≤ m →
∫ W in (0 : ℝ)..1, (cv (def3Config k m α W) j : ℝ) / k = Lsum α j) ∧
(∀ W ∈ Set.Icc (0 : ℝ) 1, ∀ j j' : ℕ, 1 ≤ j' → j' < j → j ≤ m →
|((cv (def3Config k m α W) j : ℝ) / k - (cv (def3Config k m α W) j' : ℝ) / k) -
(Lsum α j - Lsum α j')| ≤ 1 / k) := by sorry
end MultiPriceOnline.Balance
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.