Lemma 7 — the 3-PARTITION job shop meets 2tB, preemptively or not, iff a 3-partition exists
ProvedFlowJobShop.ThreePartJob.lemma_7Let be a valid 3-PARTITION instance: , the numbers sum to , and for every . Build the two-machine job shop of Lemma 7. The following two equivalences hold:
The preemptive equivalence is Lemma 7's stated reduction. Its proof also constructs a non-preemptive schedule when the partition exists and excludes every preemptive schedule when it does not, giving the second equivalence.
Formalization Note The paper phrases the result as “3-Partition preemptive JOFT with ” and says this strengthens NP-completeness for both schedule types under the sum-of-task-lengths complexity measure. This theorem formalizes the proof's decision equivalences, not the reduction's computational complexity or the separate NP-membership result of Lemma 6. The empty-group case is included.
import Mathlib import Definitions.Def_ResourceScheduling_Chain_ThreePartition import Definitions.Def_JobShopLTAS_Core_Instance import Definitions.Def_FlowJobShop_ThreePartJob_Instance import Definitions.Def_FlowJobShop_ThreePartJob_Schedules
namespace FlowJobShop.ThreePartJob
open ResourceScheduling.Chain
/-- Lemma 7, p. 44, with the nonpreemptive form established by its
part (a) and the inclusion of nonpreemptive schedules among preemptive
ones. The mathematical content is the reduction equivalence. -/
theorem lemma_7 (C : ThreePartition) (hvalid : C.Valid) :
((∃ S : PreemptiveSchedule (reductionInstance C),
S.FinishesBy (threshold C)) ↔ C.HasSolution) ∧
((∃ s : (reductionInstance C).Op → ℝ,
NonpreemptiveFinishesBy (reductionInstance C) s (threshold C)) ↔
C.HasSolution) := by sorry
end FlowJobShop.ThreePartJob
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.