Skip to main content
QUICK REVIEW

[Paper Review] Reducing SAT to Max2XOR

Carlos Ansótegui, Jordi Levy|arXiv (Cornell University)|Apr 4, 2022
Constraint Satisfaction and OptimizationComputer Science1 citations
TL;DR

This paper presents a polynomial-time gadget to reduce any SAT formula to a Max2XOR problem, enabling the application of efficient XOR-based reasoning techniques. It introduces a novel, incomplete proof system for Max2XOR that uses resolution rules with auxiliary variables, proving that derived unsatisfiability weights are preserved, thus enabling practical SAT solving via Max2XOR translation and inference.

ABSTRACT

Representing some problems with XOR clauses (parity constraints) can allow to apply more efficient reasoning techniques. In this paper, we present a gadget for translating SAT clauses into Max2XOR constraints, i.e., XOR clauses of at most 2 variables equal to zero or to one. Additionally, we present new resolution rules for the Max2XOR problem which asks for which is the maximum number of constraints that can be satisfied from a set of 2XOR equations.

Motivation & Objective

  • To develop a polynomial-time reduction from SAT to Max2XOR, avoiding exponential blowup in clause translation.
  • To design a proof system for Max2XOR inspired by MaxSAT resolution, supporting inference rules that preserve unsatisfiability weight.
  • To enable practical SAT solving by translating CNF formulas into Max2XOR constraints and applying resolution-based reasoning.
  • To explore the feasibility of using Max2XOR as a target formalism for efficient SAT solving via XOR reasoning.

Proposed method

  • Introduces a gadget that translates each binary or ternary clause in CNF into a set of weighted Max2XOR constraints using auxiliary variables.
  • Applies a weighted translation where each OR clause x1 ∨⋯∨xk is mapped to 2k−1 weighted XOR constraints with weights 1/2k−1.
  • Develops a Max2XOR resolution system with inference rules that preserve the minimal unsatisfiable weight, ensuring correctness of derived contradictions.
  • Uses auxiliary variables to represent derived SAT constraints during resolution, maintaining consistency with Max2XOR semantics.
  • Modifies standard resolution rules to output equivalent Max2XOR constraints instead of CNF clauses, enabling integration with Max2XOR solvers.
  • Employs a strategy of iterative resolution and translation: if no rule applies, translate remaining SAT constraints into Max2XOR and repeat.

Experimental results

Research questions

  • RQ1Can a polynomial reduction from SAT to Max2XOR be constructed that avoids exponential blowup in constraint count?
  • RQ2How can Max2XOR resolution rules be designed to preserve the minimal unsatisfiable weight, ensuring correctness of derived contradictions?
  • RQ3Is it possible to build a proof system for Max2XOR that mimics MaxSAT resolution while maintaining weight consistency?
  • RQ4What role do auxiliary variables play in representing derived SAT constraints within Max2XOR, and why are they necessary?
  • RQ5How can the incomplete Max2XOR proof system be used iteratively to solve SAT instances in practice?

Key findings

  • The proposed gadget reduces any CNF clause to a polynomial number of Max2XOR constraints, avoiding the exponential 2k−1 blowup of naive translation.
  • The Max2XOR proof system is polynomial-time sound: if P ⊢{(m) ⊥} ∪ P′, then Cost(P) = m + Cost(P′), preserving minimal unsatisfiable weight.
  • The system is incomplete, as it cannot derive a contradiction for all unsatisfiable Max2XOR formulas unless P = NP.
  • The length of any derivation is linearly bounded, as each rule application removes at least one XOR constraint.
  • Auxiliary variables are necessary to represent derived SAT constraints in Max2XOR, due to the unique representation of functions via XOR constraints.
  • Practical SAT solving can be achieved by iteratively applying Max2XOR resolution and translating unresolved SAT constraints back into Max2XOR using the gadget.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.