Algorithms for SAT Based on Search in Hamming Balls

We present two simple algorithms for SAT and prove upper bounds on their running time. Given a Boolean formula F in conjunctive normal form, the first algorithm finds a satisfying assignment for F (if any) by repeating the following: Choose an assignment A at random and search for a satisfying assignment inside a Hamming ball around A (the radius of the ball depends on F). We show that this algorithm solves SAT with a small probability of error in at most 2\(^{n - 0.712\sqrt{n}}\) steps, where n is the number of variables in F. To derandomize this algorithm, we use covering codes instead of random assignments. The deterministic algorithm solves SAT in at most 2\(^{n - 2\sqrt{n/log_2n}}\) steps. To the best of our knowledge, this is the first non-trivial bound for a deterministic SAT algorithm with no restriction on clause length.

[1]  Pavel Pudlák,et al.  Satisfiability - Algorithms and Logic , 1998, MFCS.

[2]  Edward A. Hirsch,et al.  New Worst-Case Upper Bounds for SAT , 2000, Journal of Automated Reasoning.

[3]  Pavel Pudlák,et al.  Satisfiability Coding Lemma , 1997, Proceedings 38th Annual Symposium on Foundations of Computer Science.

[4]  Michael E. Saks,et al.  An improved exponential-time algorithm for k-SAT , 2005, JACM.

[5]  Jon M. Kleinberg,et al.  A deterministic (2-2/(k+1))n algorithm for k-SAT based on local search , 2002, Theor. Comput. Sci..

[6]  Osamu Watanabe,et al.  A Probabilistic 3-SAT Algorithm Further Improved , 2002, STACS.

[7]  PaturiRamamohan,et al.  An improved exponential-time algorithm for k-SAT , 2005 .

[8]  Rainer Schuler,et al.  An algorithm for the satisfiability problem of formulas in conjunctive normal form , 2005, J. Algorithms.

[9]  Kazuo Iwama,et al.  Improved upper bounds for 3-SAT , 2004, SODA '04.

[10]  Uwe Schöning A Probabilistic Algorithm for k-SAT and Constraint Satisfaction Problems , 1999, FOCS.

[11]  Rainer Schuler,et al.  Improving a Probabilistic 3-SAT Algorithm by Dynamic Search and Independent Clause Pairs , 2003, SAT.

[12]  Evgeny Dantsin,et al.  Deterministic Algorithms for k-SAT Based on Covering Codes and Local Search , 2000, ICALP.

[13]  Daniel Rolf,et al.  3-SAT in RTIME(O(1.32793n)) - Improving Randomized Local Search by Initializing Strings of 3-Clauses , 2003, Electron. Colloquium Comput. Complex..

[14]  Uwe Schöning,et al.  A Probabilistic Algorithm for k -SAT Based on Limited Local Search and Restart , 2002, Algorithmica.