Theorem 5 — DIRECTED HAMILTON PATH ∝ n|m|F,no wait|C_max and ∝ n|m|F,no wait,w_j=1|Σw_jC_j
ProvedSchedComplexity.NoWait.theorem_5_hamilton_path_reducibleTheorem 5 (Brucker, Lenstra & Rinnooy Kan). DIRECTED HAMILTON PATH is reducible to the following problems:
- ;
- .
Here reducible (, Section 2) is polynomial-time many-one reducibility between the recognition languages: there is a function computable in polynomial time by a Turing machine that maps the code of every directed graph to the code of a pair (instance, threshold ) such that the graph has a Hamilton path iff the instance has a feasible no-wait schedule with value ; and inputs that are not codes of yes-instances go to codes of no-instances. The languages are the binary codes of directed graphs with a Hamilton path, and of pairs (no-wait flow shop instance, ) admitting a feasible schedule with , respectively .
Together with the NP-completeness of DIRECTED HAMILTON PATH (Theorem 2(d)) this shows that both no-wait flow shop problems, with the number of machines part of the input, are NP-complete.
Formalization Note Polynomial time is CookPvsNP.PolyTimeComputable (published CookPvsNP_defs). The paper's construction (pp. 24–25) needs an admissible ordering , which exists for every but not for ; a reduction realizing the theorem has to decide graphs on at most two vertices directly (a Hamilton path there is checkable at once) and map them to a fixed yes- or no-instance. NP-membership is not part of the statement.
import Mathlib import Definitions.Def_CookPvsNP_defs import Definitions.Def_SchedComplexity_NoWait_DirectedGraphs import Definitions.Def_SchedComplexity_NoWait_NoWaitFlowShop
namespace SchedComplexity.NoWait
/-- Theorem 5 (p. 24): DIRECTED HAMILTON PATH is polynomial-time many-one reducible to
(a) `n|m|F,no wait|C_max` and to (b) `n|m|F,no wait,w_j=1|Σw_jC_j`. -/
theorem theorem_5_hamilton_path_reducible :
CookPvsNP.PolyReducible dhpLang cmaxLang ∧
CookPvsNP.PolyReducible dhpLang sumCLang := by sorry
end SchedComplexity.NoWait
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.