Lemma 9, p. 21 — expected completion time from processing-slot probabilities
ProvedGreedWorks.OnlineList.lemma_9online-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-schedulingtime-indexed-lpunrelated-machines
Consider one job with integer start time and strictly positive integer processing time . Assume and are measurable and independent, has finite mean, and has finite second moment. Write , , and , the probability of occupying slot . Then the series has sum
This supplies the completion-time formula (4) of the stochastic LP. Formalization Note Independence is the single-job content of the paper's nonanticipation explanation: the start decision cannot depend on the job's own processing time.
Preamble
import Mathlib
Formal statement
namespace GreedWorks.OnlineList
open MeasureTheory ProbabilityTheory
/-- Gupta et al., Lemma 9, p. 21: formula (4) for the expected completion
time of one nonanticipatorily started job. Independence states that the start
decision does not depend on this job's own processing time. -/
theorem lemma_9 {Ω : Type*} [MeasurableSpace Ω]
(Pr : Measure Ω) [IsProbabilityMeasure Pr]
(T P : Ω → ℕ) (hT : Measurable T) (hP : Measurable P)
(hPpos : ∀ ω, 1 ≤ P ω)
(hP2 : MemLp (fun ω => (P ω : ℝ)) 2 Pr)
(hTint : Integrable (fun ω => (T ω : ℝ)) Pr)
(hIndep : IndepFun T P Pr) :
let μ : ℝ := ∫ ω, (P ω : ℝ) ∂Pr
let cv2 : ℝ := variance (fun ω => (P ω : ℝ)) Pr / μ ^ 2
let y : ℕ → ℝ := fun s => (Pr {ω | T ω ≤ s ∧ s < T ω + P ω}).toReal
HasSum (fun s : ℕ =>
y s / μ * ((s : ℝ) + 1 / 2) + (1 - cv2) / 2 * y s)
(∫ ω, ((T ω + P ω : ℕ) : ℝ) ∂Pr) := by sorry
end GreedWorks.OnlineList
Source
Gupta, Moseley, Uetz & Xie, Greed Works – Online Algorithms For Unrelated Machine Stochastic Scheduling, arXiv:1703.01634v4, p. 21, Appendix A, Lemma 9
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.