3
XOR関係を持つ2-SATはNP完全ですか?
「2-SAT with XOR-relations」の多項式アルゴリズムがあるかどうか疑問に思っています。2-SATとXOR-SATは両方ともPにありますが、その組み合わせですか? 入力例: 2-SATパート: (a or !b) and (b or c) and (b or d) XOR部分: (a xor b xor c xor 1) and (b xor c xor d) つまり、入力は次のブール式です。 (a∨¬b)∧(b∨c)∧(b∨d)∧(a⊕b⊕¬c)∧(b⊕c⊕d).(a∨¬b)∧(b∨c)∧(b∨d)∧(a⊕b⊕¬c)∧(b⊕c⊕d).(a \lor \neg b) \land (b \lor c) \land (b \lor d) \land (a \oplus b \oplus \neg c) …