paper

The Curse and Blessing of Not-All-Equal in k-Satisfiability

arXiv:1809.04312

Abstract

As a natural variant of the -SAT problem, NAE--SAT additionally requires the literals in each clause to take not-all-equal (NAE) truth values. In this paper, we study the worst-case time complexities of solving NAE--SAT and MAX-NAE--SAT approximation, as functions of , the number of variables , and the performance ratio . The latter problem asks for a solution of at least times the optimal. Our main results include: (1) A deterministic algorithm for NAE--SAT that is faster than the best deterministic algorithm for -SAT on all . Previously, no NAE--SAT algorithm is known to be faster than -SAT algorithms. For , we achieve an upper bound of . The corresponding bound for -SAT is . (2) A randomized algorithm for MAX-NAE--SAT approximation, with upper bound where only depends on and . Previously, no upper bound better than the trivial is known for MAX-NAE--SAT approximation on . For and , we achieve an upper bound of . (3) A deterministic algorithm for MAX-NAE--SAT approximation. For and , we achieve an upper bound of , which is better than the upper bound of the exact algorithm for MAX-NAE--SAT. Our finding sheds new light on the following question: Is NAE--SAT easier than -SAT? The answer might be affirmative at least on solving the problems exactly and deterministically, while approximately solving MAX-NAE--SAT might be harder than MAX--SAT on .

18 pages, 3 figures