Connecting \textsc{$k$-Dimensional Matching} and \textsc{Exact Cover by $k$-Sets}: A complete complexity classification of \textsc{$k$-Partitioned 1-in-3-SAT} for planar, linear and $3$-connected instances
Abstract
In \textsc{$k$-Partitioned 1-in-3-Sat}, the clauses of a positive \textsc{1-in-3-Sat} formula are partitioned into~$k$ classes such that every variable occurs exactly once in each class. This problem corresponds to \textsc{$k$-Dimensional Matching} restricted to instances in which every element lies in exactly three tuples. For every~$k$, we provide a complete complexity classification with respect to all combinations of three structural restrictions on the incidence graph: planarity, linearity (no two clauses share more than one variable) and 3-connectivity. We show \textsc{NP}-completeness of \textsc{$3$-Partitioned 1-in-3-Sat} and \#\textsc{P}-completeness of its counting version, which also serve as a starting point for the further reductions, and then enforce the desired properties by repeatedly inserting gadgets into the incidence graph. As a consequence, we obtain that \textsc{$k$-Dimensional Matching} and \textsc{Exact Cover by $k$-Sets} remain \textsc{NP}-hard under the same restrictions, even if every element occurs in exactly three tuples or sets, respectively. In particular, \textsc{Planar $4$-Dimensional Matching} is \textsc{NP}-complete and we complement the \textsc{NP}-hardness result with an \textsc{FPT} algorithm with respect to the number of so-called quadrilateral components of a given plane embedding of the incidence graph.