Lemma 2.5 — Random-:
ProvedAvgCompletionSched.BestAlpha.random_alpha_boundLet be any preemptive one-machine schedule of an instance with processing times and release dates . Let be a probability density on : on , integrable on , and . Let be any real number with
Draw with density and let be the completion time of in the -schedule (ties broken by job index). Then for every job the map is integrable on and
and consequently .
Choosing different densities in this bound gives the three parts of Theorem 2.6.
Formalization Note The paper's is replaced by an arbitrary upper bound of these integrals; the statement for every such is equivalent to the paper's statement with the supremum, and it avoids assuming that the maximum is attained. Integrability of the expectation is part of the conclusion.
import Mathlib import Definitions.Def_AvgCompletionSched_BestAlpha_Model
namespace AvgCompletionSched.BestAlpha
theorem random_alpha_bound {n : ℕ} {I : Instance n} (P : PreemptiveSchedule I)
(f : ℝ → ℝ) (hf_nonneg : ∀ α ∈ Set.Ioc (0 : ℝ) 1, 0 ≤ f α)
(hf_int : IntervalIntegrable f MeasureTheory.volume 0 1)
(hf_one : ∫ α in (0 : ℝ)..1, f α = 1)
(δ : ℝ) (hδ : ∀ β ∈ Set.Ioc (0 : ℝ) 1, ∫ α in (0 : ℝ)..β, (1 + α - β) / β * f α ≤ δ) :
(∀ i, IntervalIntegrable (fun α => f α * P.Calpha α i) MeasureTheory.volume 0 1 ∧
∫ α in (0 : ℝ)..1, f α * P.Calpha α i ≤ (1 + δ) * P.CP i) ∧
∫ α in (0 : ℝ)..1, f α * ∑ i, P.Calpha α i ≤ (1 + δ) * ∑ i, P.CP i := by sorry
end AvgCompletionSched.BestAlpha
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Take any instance with jobs (processing times , release dates ) and any preemptive schedule of ; need not be optimal. Take a real function satisfying:
- for ;
- is integrable on ;
- .
Take a real such that for every :
Let be the completion time of job under nonpreemptive list scheduling, with jobs listed in the canonical -order of . In that order jobs are sorted by -point , with ties broken by smaller job index. Each job starts at the later of its release date and the previous job's finish.
The statement asserts two things.
- For every job , the function is integrable on , and
- For the total:
Degenerate cases.
- is unconstrained at and outside .
- At every -point is by the infimum convention, so the canonical order is the index order. This is a single point of measure zero.
- Part 2 does not separately assert integrability. An integral of a non-integrable function would be taken as .
- When , all quantities are .
- If is taken larger than necessary, the hypothesis becomes easier to satisfy and the bound weaker.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.