§5, p. 566 — the minimising are monotone probabilities and make every phase constraint tight
ProvedNonuniformCompetitive.Isosceles.lp_attainedcompetitive-analysislinear-programmingp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be an integer, let
and define
Then
- ;
- every phase constraint of the LP holds with equality at this :
Item 1 says the are valid, nondecreasing covering probabilities, so a lazy phase-based algorithm with these probabilities exists; item 2 says its expected cost on every phase is exactly times the off-line cost of the phase. Together with the LP lower bound, it shows that is the minimum of the phase LP.
Formalization Note is any function agreeing with the closed form on and equal to at ; its other values are unused.
Preamble
import Mathlib import Definitions.Def_NonuniformCompetitive_Isosceles_isoscelesRatio
Formal statement
namespace NonuniformCompetitive.Isosceles
/-- §5, p. 566 (Karlin–Manasse–McGeoch–Owicki 1994): the minimiser of the phase LP is a valid
probability schedule. Let `1 ≤ d` and `α = isoscelesRatio d`. If
`π_k = (α - 1) ((2d/(2d-1))^k - 1)` for `1 ≤ k ≤ 2d - 1` and `π_{2d} = 1`, then
`0 ≤ π_1 ≤ π_2 ≤ ⋯ ≤ π_{2d} = 1`, and every constraint of the phase LP holds with equality:
`2d · π_k + ∑_{i=1}^{k} (1 - π_i) = α k` for `1 ≤ k < 2d`, and
`2d + ∑_{i=1}^{2d-1} (1 - π_i) + 1/2 = α · 2d`. -/
theorem lp_attained (d : ℕ) (hd : 1 ≤ d) (π : ℕ → ℝ)
(hπ : ∀ k : ℕ, 1 ≤ k → k ≤ 2 * d - 1 →
π k = (isoscelesRatio d - 1) * (((2 * d : ℝ) / (2 * d - 1)) ^ k - 1))
(hπ2d : π (2 * d) = 1) :
0 ≤ π 1 ∧
(∀ k : ℕ, 1 ≤ k → k < 2 * d → π k ≤ π (k + 1)) ∧
(∀ k : ℕ, 1 ≤ k → k < 2 * d →
π k * (2 * d : ℝ) + ∑ i ∈ Finset.Icc 1 k, (1 - π i) = isoscelesRatio d * (k : ℝ)) ∧
(2 * d : ℝ) + ∑ i ∈ Finset.Icc 1 (2 * d - 1), (1 - π i) + 1 / 2
= isoscelesRatio d * (2 * d : ℝ) := by sorry
end NonuniformCompetitive.Isosceles
Source
Karlin, Manasse, McGeoch, Owicki, Competitive Randomized Algorithms for Nonuniform Problems, Algorithmica 11 (1994), DOI 10.1007/BF01189993, p. 566, §5, proof of Theorem 12: closed form of and the claim ; equalities (*) on p. 565 and "By setting this to an equality" on p. 566
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.