Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 1 — under linear deterioration, sequencing by increasing E(Xi)/αi\mathrm E(X_i)/\alpha_iE(Xi​)/αi​ minimizes the expected makespan

Proved
DeterioratingJobs.Makespan.expected_makespan_index_rule

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

deteriorating-jobsindex-policyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingstochastic-scheduling

Consider NNN jobs on a single processor, all available at time 000. Job iii has a random initial processing requirement XiX_iXi​ on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P), assumed integrable, and a growth rate αi>0\alpha_i>0αi​>0: if it is started at time ttt, its actual processing time is Xi+αitX_i+\alpha_i tXi​+αi​t. A schedule is a permutation π\piπ (π(i)=j\pi(i)=jπ(i)=j: job jjj is processed iii-th), processed without preemption or idling, with makespan SN(π)S_N(\pi)SN​(π).

If π\piπ schedules the jobs by increasing values of the index E(Xi)/αi\mathrm E(X_i)/\alpha_iE(Xi​)/αi​, the ratio of expected initial processing requirement to growth rate, i.e.

E(Xπ(1))απ(1)≤E(Xπ(2))απ(2)≤⋯≤E(Xπ(N))απ(N),\frac{\mathrm E(X_{\pi(1)})}{\alpha_{\pi(1)}} \le \frac{\mathrm E(X_{\pi(2)})}{\alpha_{\pi(2)}} \le \dots \le \frac{\mathrm E(X_{\pi(N)})}{\alpha_{\pi(N)}},απ(1)​E(Xπ(1)​)​≤απ(2)​E(Xπ(2)​)​≤⋯≤απ(N)​E(Xπ(N)​)​,

then π\piπ minimizes the expected makespan:

E SN(π)≤E SN(σ)for every permutation σ.\mathrm E\, S_N(\pi) \le \mathrm E\, S_N(\sigma) \quad\text{for every permutation } \sigma.ESN​(π)≤ESN​(σ)for every permutation σ.

Without deterioration the expected makespan is the same for every non-idling schedule; with job-specific linear deterioration it depends on the order, and this index rule identifies an optimal order.

Formalization Note "Minimized when the jobs are scheduled by increasing values" is read as: every permutation along which the index is non-strictly increasing (any tie-break) achieves the minimum over all permutations. The paper's αi>0\alpha_i>0αi​>0 is implicit (it divides by αi\alpha_iαi​) and is a hypothesis here. Integrability of each XiX_iXi​ is assumed so that the expectations are meaningful. The paper's positivity of XiX_iXi​ and the usual independence of the XiX_iXi​ are not assumed; the statement holds without them, which makes it slightly more general than the paper's. Jobs and positions are 0-based.

Preamble
import Mathlib
import Definitions.Def_DeterioratingJobs_Makespan_Model
Formal statement
namespace DeterioratingJobs.Makespan

open MeasureTheory

/-- Browne–Yechiali 1990, p. 496, Section 1, the sentence after Eq. (2): with growth rates
`α_i > 0`, any schedule `π` that processes the jobs by increasing `E(X_i)/α_i` minimizes the
expected makespan `E S_N` over all schedules. -/
theorem expected_makespan_index_rule {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] {N : ℕ} (X : Fin N → Ω → ℝ) (hX : ∀ i, Integrable (X i) P)
    (α : Fin N → ℝ) (hα : ∀ i, 0 < α i) (π : Equiv.Perm (Fin N))
    (hπ : Monotone (fun k : Fin N => (∫ ω, X (π k) ω ∂P) / α (π k))) :
    ∀ σ : Equiv.Perm (Fin N), expectedMakespan P X α π ≤ expectedMakespan P X α σ := by sorry

end DeterioratingJobs.Makespan
Source
Browne, Yechiali, Scheduling Deteriorating Jobs on a Single Processor, Oper. Res. 38 (1990), p. 496, Section 1, the sentence after Eq. (2)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me