LEMMA 1, p. 333 — even-odd partition is NP-complete (given that Partition is)
ProvedGTWSched.NPC.lemma_1complexitynp-completenessp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1partition
LEMMA 1. The even-odd partition problem is NP-complete.
Precisely: if the language of Partition is NP-complete, then the language of even-odd partition (codes of positive, strictly increasing integers admitting an equal-sum partition with exactly one of in each part) is NP-complete:
The NP-completeness of Partition is the one fact the paper takes from Garey and Johnson (1979); even-odd partition is the source problem of the reduction proving THEOREM 1.
Formalization Note NP-completeness is the published CookPvsNP.NPComplete. positivePartitionLang restricts the imported binary encoding and equal-sum predicate to nonempty lists of positive integers, as stated on p. 333.
Preamble
import Mathlib import Definitions.Def_CookPvsNP_defs import Definitions.Def_ProjSchedTW_Complexity_Encoding import Definitions.Def_GTWSched_NPC_Schedules import Definitions.Def_GTWSched_NPC_Problems
Formal statement
namespace GTWSched.NPC open CookPvsNP ProjSchedTW.Complexity /-- LEMMA 1, p. 333, relative to the NP-completeness of PARTITION: the even-odd partition problem is NP-complete. -/ theorem lemma_1 (hP : NPComplete positivePartitionLang) : NPComplete evenOddLang := by sorry end GTWSched.NPC
Source
Garey, Tarjan & Wilfong, One-Processor Scheduling with Symmetric Earliness and Tardiness Penalties, Math. Oper. Res. 13 (1988), p. 333, LEMMA 1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.