Eq. (2) — along any schedule
ProvedDeterioratingJobs.Makespan.eq2_completion_closed_formIn the linear deterioration model (initial requirements , growth rates , completion times defined by and ), for every schedule , every and every outcome ,
where an empty product is (and the empty sum, at , is ).
The paper writes this for the policy "for notational convenience"; for a general it is the same formula with job indices relabelled along . It exhibits the makespan 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 and for every real ; no sign or measurability condition is needed.
import Mathlib import Definitions.Def_DeterioratingJobs_Makespan_Model
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.