Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2) — Sj=∑i≤jXi∏r=i+1j(1+αr)S_j=\sum_{i\le j} X_i\prod_{r=i+1}^{j}(1+\alpha_r)Sj​=∑i≤j​Xi​∏r=i+1j​(1+αr​) along any schedule

Proved
DeterioratingJobs.Makespan.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

In the linear deterioration model (initial requirements XiX_iXi​, growth rates αi\alpha_iαi​, completion times Sk(π)S_k(\pi)Sk​(π) defined by S0(π)=0S_0(\pi)=0S0​(π)=0 and Sk(π)=Sk−1(π)+Xπ(k)+απ(k)Sk−1(π)S_k(\pi)=S_{k-1}(\pi)+X_{\pi(k)}+\alpha_{\pi(k)}S_{k-1}(\pi)Sk​(π)=Sk−1​(π)+Xπ(k)​+απ(k)​Sk−1​(π)), for every schedule π\piπ, every j∈{0,1,…,N}j\in\{0,1,\dots,N\}j∈{0,1,…,N} and every outcome ω\omegaω,

Sj(π)=∑i=1jXπ(i)∏r=i+1j(1+απ(r)),S_j(\pi) = \sum_{i=1}^{j} X_{\pi(i)} \prod_{r=i+1}^{j} \bigl(1+\alpha_{\pi(r)}\bigr),Sj​(π)=i=1∑j​Xπ(i)​r=i+1∏j​(1+απ(r)​),

where an empty product is 111 (and the empty sum, at j=0j=0j=0, is 000).

The paper writes this for the policy π0=(1,2,…,N)\pi_0=(1,2,\dots,N)π0​=(1,2,…,N) "for notational convenience"; for a general π\piπ it is the same formula with job indices relabelled along π\piπ. It exhibits the makespan SNS_NSN​ as the sum of the delays that each initial requirement causes to all later jobs.

Formalization Note Positions are 0-based in Lean: the sum is over positions i with i < j and the product over positions r with i < r < j. The identity holds pointwise in ω\omegaω and for every real α\alphaα; no sign or measurability condition is needed.

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

/-- Eq. (2) (Browne–Yechiali 1990, p. 496), along an arbitrary schedule `π`: for every `k ≤ N`,
`S_k(π) = ∑_{i < k} X_{π(i)} ∏_{i < r < k} (1 + α_{π(r)})` (positions 0-based; empty product `= 1`). -/
theorem eq2_completion_closed_form {Ω : Type*} {N : ℕ} (X : Fin N → Ω → ℝ) (α : Fin N → ℝ)
    (π : Equiv.Perm (Fin N)) (k : ℕ) (hk : k ≤ N) (ω : Ω) :
    completionTime X α π k ω =
      ∑ i ∈ Finset.univ.filter (fun i : Fin N => i.val < k),
        X (π i) ω * ∏ r ∈ Finset.univ.filter (fun r : Fin N => i < r ∧ r.val < k),
          (1 + α (π r)) := by sorry

end DeterioratingJobs.Makespan
Source
Browne, Yechiali, Scheduling Deteriorating Jobs on a Single Processor, Oper. Res. 38 (1990), p. 496, Section 1, 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