Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (2) — completion time as a sum of deteriorated initial requirements

Proved
DeterioratingJobs.Weighted.eq2_completion_closed_form

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

deteriorating-jobsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let π\piπ be any ordering of NNN jobs, with initial processing requirements XiX_iXi​ and linear deterioration rates αi\alpha_iαi​. The time Sk(π)S_k(\pi)Sk​(π) after its first kkk jobs satisfies, for 0≤k≤N0\le k\le N0≤k≤N and every outcome,

Sk(π)=∑i=1kXπ(i)∏r=i+1k(1+απ(r)).S_k(\pi)=\sum_{i=1}^{k}X_{\pi(i)}\prod_{r=i+1}^{k}(1+\alpha_{\pi(r)}).Sk​(π)=i=1∑k​Xπ(i)​r=i+1∏k​(1+απ(r)​).

An empty product equals one. This identifies how each initial requirement contributes to later completion times.

Formalization Note The paper writes the formula for the identity order π0=(1,…,N)\pi_0=(1,\ldots,N)π0​=(1,…,N); the statement relabels the same recursion along any permutation. It is pathwise, so it requires no probability or positivity hypothesis. The k=0k=0k=0 case is the empty sum.

Preamble
import Mathlib
import Definitions.Def_DeterioratingJobs_Weighted_Model
Formal statement
namespace DeterioratingJobs.Weighted

/-- Equation (2), p. 496, relabelled along an arbitrary schedule. -/
theorem eq2_completion_closed_form {Ω : Type*} {N : ℕ}
    (X : Fin N → Ω → ℝ) (α : Fin N → ℝ) (π : Equiv.Perm (Fin N))
    (k : ℕ) (hk : k ≤ N) (ω : Ω) :
    DeterioratingJobs.Makespan.completionTime X α π k ω =
      ∑ i : Fin N with i.val < k,
        X (π i) ω * ∏ r : Fin N with i < r ∧ r.val < k, (1 + α (π r)) := by sorry

end DeterioratingJobs.Weighted
Source
Browne, Yechiali, Scheduling Deteriorating Jobs on a Single Processor, Oper. Res. 38 (1990), p. 496, Section 1, Eq. (2); https://doi.org/10.1287/opre.38.3.495
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