Source
NAESatisfiability
Target
Satisfiability
Motivation
This direct clause-doubling construction connects NAE-SAT back to ordinary SAT, completing the reverse direction of the existing SAT to NAE-SAT rule without crossing into an optimization problem.
Reference
Gurumukhani, Paturi, Saks, and Talebanfard, “Local Enumeration: The Not-All-Equal Case,” STACS 2025, Section 2. They define the negation-closure of a k-CNF formula by adding the literalwise negation of every clause and state that its SAT solutions are exactly the NAE solutions of the original formula. Schaefer, “The Complexity of Satisfiability Problems,” STOC 1978, gives the same clause-and-complement identity for the classical ternary NAE relation.
Reduction Algorithm
Let the source have variables x_1,...,x_n and clauses C_1,...,C_m, each containing at least two literals.
- Keep the same
n Boolean variables.
- For each source clause
C=(l_1,...,l_r), add two CNF clauses:
(l_1 OR ... OR l_r), excluding the all-false assignment;
(not l_1 OR ... OR not l_r), excluding the all-true assignment.
- Extract the source configuration unchanged.
For every r >= 2, let v_i be the truth value of l_i. The first target clause holds iff some v_i is true, and the second holds iff some v_i is false. Their conjunction therefore holds iff the tuple (v_1,...,v_r) contains both truth values, exactly the NAE condition. This argument is independent of clause arity and remains valid for tautological clauses, repeated literals, and repeated variables.
If m=0, the construction emits the empty conjunction. It is true under every assignment in both models (including the unique empty assignment when n=0), and identity extraction remains valid.
Size Overhead
| Target metric |
Formula |
num_vars |
num_vars |
num_clauses |
2 * num_clauses |
num_literals |
2 * num_literals |
Validation Method
- Compare source NAE evaluation with target CNF evaluation for every assignment.
- Include the empty conjunction, positive and negated literals, repeated literals, tautological clauses, and arbitrary clause lengths
r >= 2.
- Check both a satisfiable source instance and an unsatisfiable source instance.
- The canonical three-variable instance was checked over all eight assignments.
Example
- Source instance: clauses
(x_1,x_2,x_3), (not x_1,x_2), and (x_1,not x_2,not x_3).
- Construction: produce six SAT clauses: each source clause and its literalwise complement.
- Target witness:
x=[0,0,1]. The source literal values are [0,0,1], [1,0], and [0,1,0], so every clause contains both truth values; the same assignment satisfies all six target clauses.
- Round trip: extraction returns
[0,0,1]. As a rejecting near-witness, [0,1,0] satisfies each original clause as an ordinary OR clause but makes (not x_1,x_2) all true, so both the source NAE instance and the doubled CNF reject it. The script checked all eight assignments.
- NO instance: the one-variable source clause
(x_1,x_1) is monochromatic for both assignments. Its target is (x_1 OR x_1) AND (not x_1 OR not x_1), which is likewise unsatisfiable.
BibTeX
@inproceedings{Gurumukhani2025,
author = {Gurumukhani, Mohit and Paturi, Ramamohan and Saks, Michael and Talebanfard, Navid},
title = {Local Enumeration: The Not-All-Equal Case},
booktitle = {42nd International Symposium on Theoretical Aspects of Computer Science (STACS 2025)},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
volume = {327},
pages = {42:1--42:19},
year = {2025},
doi = {10.4230/LIPIcs.STACS.2025.42}
}
@inproceedings{Schaefer1978,
author = {Schaefer, Thomas J.},
title = {The Complexity of Satisfiability Problems},
booktitle = {Proceedings of the Tenth Annual ACM Symposium on Theory of Computing},
pages = {216--226},
year = {1978},
doi = {10.1145/800133.804350}
}
Source
NAESatisfiability
Target
Satisfiability
Motivation
This direct clause-doubling construction connects NAE-SAT back to ordinary SAT, completing the reverse direction of the existing SAT to NAE-SAT rule without crossing into an optimization problem.
Reference
Gurumukhani, Paturi, Saks, and Talebanfard, “Local Enumeration: The Not-All-Equal Case,” STACS 2025, Section 2. They define the negation-closure of a k-CNF formula by adding the literalwise negation of every clause and state that its SAT solutions are exactly the NAE solutions of the original formula. Schaefer, “The Complexity of Satisfiability Problems,” STOC 1978, gives the same clause-and-complement identity for the classical ternary NAE relation.
Reduction Algorithm
Let the source have variables
x_1,...,x_nand clausesC_1,...,C_m, each containing at least two literals.nBoolean variables.C=(l_1,...,l_r), add two CNF clauses:(l_1 OR ... OR l_r), excluding the all-false assignment;(not l_1 OR ... OR not l_r), excluding the all-true assignment.For every
r >= 2, letv_ibe the truth value ofl_i. The first target clause holds iff somev_iis true, and the second holds iff somev_iis false. Their conjunction therefore holds iff the tuple(v_1,...,v_r)contains both truth values, exactly the NAE condition. This argument is independent of clause arity and remains valid for tautological clauses, repeated literals, and repeated variables.If
m=0, the construction emits the empty conjunction. It is true under every assignment in both models (including the unique empty assignment whenn=0), and identity extraction remains valid.Size Overhead
num_varsnum_varsnum_clauses2 * num_clausesnum_literals2 * num_literalsValidation Method
r >= 2.Example
(x_1,x_2,x_3),(not x_1,x_2), and(x_1,not x_2,not x_3).x=[0,0,1]. The source literal values are[0,0,1],[1,0], and[0,1,0], so every clause contains both truth values; the same assignment satisfies all six target clauses.[0,0,1]. As a rejecting near-witness,[0,1,0]satisfies each original clause as an ordinary OR clause but makes(not x_1,x_2)all true, so both the source NAE instance and the doubled CNF reject it. The script checked all eight assignments.(x_1,x_1)is monochromatic for both assignments. Its target is(x_1 OR x_1) AND (not x_1 OR not x_1), which is likewise unsatisfiable.BibTeX