Corollary 2 — JS has a non-preemptive schedule with finish time iff has a partition
ProvedFlowJobShop.PartitionJob.corollary_2job-shopnp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1reductionscheduling
Let be nonnegative integers, , and let be the two-processor job shop with jobs built from them in the proof of Lemma 5. Then
The paper states Corollary 2 as "Partition nonpreemptive JOFT", with proof "Same as above"; that proof establishes the equivalence above for the same instance, which is what is formalized.
Formalization Note A non-preemptive schedule is a preemptive one in which every task is processed in at most one piece. The complexity-theoretic wording is not formalized.
Preamble
import Mathlib import Definitions.Def_JobShopLTAS_Core_Instance import Definitions.Def_FlowJobShop_PartitionFlow_Partition import Definitions.Def_FlowJobShop_PartitionJob_Schedule import Definitions.Def_FlowJobShop_PartitionJob_JS
Formal statement
namespace FlowJobShop.PartitionJob
open JobShopLTAS.Core
/-- Corollary 2 (Gonzalez–Sahni 1978, p. 44), in the form its proof establishes: the job shop
`JS(a)` has a non-preemptive schedule with finish time `≤ 5T` iff `a` has a partition. -/
theorem corollary_2 {n : ℕ} (a : Fin n → ℕ) :
(∃ S : Schedule (JS a), S.IsNonPreemptive ∧ S.FinishedBy (5 * FlowJobShop.PartitionFlow.T a)) ↔ FlowJobShop.PartitionFlow.HasPartition a := by sorry
end FlowJobShop.PartitionJob
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 44, Corollary 2
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.