Lemma 4(a) — a 3-partition gives a non-preemptive schedule of FS with finish time ≤ 2tB
ProvedFlowJobShop.ThreePartFlow.lemma_4a3-partitionflow-shopnp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1reductionscheduling
Let , , , be an instance of 3-Partition (so , and ), and let be the three-processor flow shop built from in the proof of Lemma 4. If has a 3-partition, that is, splits into disjoint sets with and , then has a non-preemptive schedule with
This is the "if" half of the reduction from 3-Partition; the paper exhibits the schedule in its Figure 2.
Formalization Note A non-preemptive schedule is a preemptive schedule in which every task is processed in at most one piece; in particular it is itself a preemptive schedule.
Preamble
import Mathlib import Definitions.Def_FlowJobShop_ThreePartFlow_FlowShop import Definitions.Def_ResourceScheduling_Chain_ThreePartition import Definitions.Def_FlowJobShop_ThreePartFlow_Instance open ResourceScheduling.Chain open FlowJobShop.ThreePartFlow.FlowShop
Formal statement
namespace FlowJobShop.ThreePartFlow
/-- Lemma 4(a) (Gonzalez–Sahni 1978, proof of Lemma 4, p. 41): if the 3-Partition instance
`C = (a_1, …, a_s, B)`, `s = 3t`, `t ≥ 2`, has a solution, then the flow shop `FS` built from
it has a non-preemptive schedule with finish time `≤ 2tB`. -/
theorem lemma_4a (C : ThreePartition) (hC : C.Valid) (ht : 2 ≤ C.t) (hsol : C.HasSolution) :
∃ S : PreemptiveSchedule (FS C), S.IsNonPreemptive ∧ S.finishTime ≤ tau C := by sorry
end FlowJobShop.ThreePartFlow
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 41, proof of Lemma 4, part (a), and Figure 2 (p. 42)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.