§3, p. 165 — a least costly schedule exists for every feasible completion time
ProvedCriticalPath.CostCurve.exists_least_costLet a project network with jobs and job data , , be given. For every feasible completion time the linear program
attains its minimum: the set of costs of schedules for has a least element.
This is what makes the project cost curve , "the least costly schedule for any given feasible earliest project completion time", well defined on .
import Mathlib import Definitions.Def_CriticalPath_CostCurve_ProjectNetwork import Definitions.Def_CriticalPath_CostCurve_JobData import Definitions.Def_CriticalPath_CostCurve_Schedule
namespace CriticalPath.CostCurve
/-- Kelley–Walker (1959), §3, p. 165: for every feasible completion time `lam` the linear program
"minimize (7) subject to (5), (8), (9)" has a least costly schedule. -/
theorem exists_least_cost {n : ℕ} (N : ProjectNetwork n) (J : JobData N) :
∀ lam ∈ feasibleDurations J, ∃ c : ℝ, IsLeast (costSet J lam) c := by sorry
end CriticalPath.CostCurve
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting has three parts.
- Network. Fix any natural number and a project network on events . It is a finite set of arrows with , with , every event reachable from , and reachable from every event, via chains of zero or more arrows of .
- Job data. Fix job data: real functions on ordered pairs of events with , and for . Values off are arbitrary.
- Schedules and costs. A schedule for is a pair , with a real function on pairs and a real function on events, such that, for all , and , together with and . The cost of is . Let
and let be the set of for which some schedule exists.
The theorem asserts that for every there is a real number that is the least element of . That is, for some schedule for , and for every schedule for . Equivalently, the minimum of the project cost over schedules for is attained.
Degenerate cases:
- Infeasible : nothing is asserted for , where is empty.
- Zero slopes: if all on , every schedule has the same cost , and that value is the minimum.
- Fixed durations: if on , all schedules for a given have the same cost.
- Smallest network: when , and the schedules are with .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.