Skip to main content

Algorithms for SAT Based on Search in Hamming Balls

  • Conference paper
STACS 2004 (STACS 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2996))

Included in the following conference series:

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Baumer, S., Schuler, R.: Improving a probabilistic 3-SAT algorithm by dynamic search and independent clause pairs. Electronic Colloquium on Computational Complexity, Report No. 10 (February 2003)

    Google Scholar 

  2. Cohen, G., Honkala, I., Litsyn, S., Lobstein, A.: Covering Codes. Mathematical Library, vol. 54. Elsevier, Amsterdam (1997)

    MATH  Google Scholar 

  3. Dantsin, E., Goerdt, A., Hirsch, E.A., Kannan, R., Kleinberg, J., Papadimitriou, C., Raghavan, P., Schöning, U.: A deterministic (2 – \(\frac{2}{k+1}\))n algorithm for k-SAT based on local search. Theoretical Computer Science 289(1), 69–83 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  4. Dantsin, E., Goerdt, A., Hirsch, E.A., Schöning, U.: Deterministic algorithms for k-SAT based on covering codes and local search. In: Montanari, Rolim, Welzl (eds.) ICALP 2000. LNCS, vol. 1853, pp. 236–247 (2000)

    Google Scholar 

  5. Hirsch, E.A.: New worst-case upper bounds for SAT. Journal of Automated Reasoning 24(4), 397–420 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  6. Hofmeister, T., Schöning, U., Schuler, R., Watanabe, O.: A probabilistic 3- SAT algorithm further improved. In: Alt, H., Ferreira, A. (eds.) STACS 2002. LNCS, vol. 2285, pp. 192–202. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  7. Iwama, K., Tamaki, S.: Improved upper bounds for 3-SAT. Electronic Colloquium on Computational Complexity, Report No. 53 (July 2003)

    Google Scholar 

  8. Paturi, R., Pudlák, P., Saks, M.E., Zane, F.: An improved exponential-time algorithm for k-SAT. In: Proceedings of the 39th Annual IEEE Symposium on Foundations of Computer Science, FOCS 1998, pp. 628–637 (1998)

    Google Scholar 

  9. Paturi, R., Pudlák, P., Zane, F.: Satisfiability coding lemma. In: Proceedings of the 38th Annual IEEE Symposium on Foundations of Computer Science, FOCS 1997, pp. 566–574 (1997)

    Google Scholar 

  10. Pudlák, P.: Satisfiability — algorithms and logic. In: Brim, L., Gruska, J., Zlatuska, J. (eds.) MFCS 1998. LNCS, vol. 1450, pp. 129–141. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  11. Rolf, D.: 3-SAT in RTIME(O(1.32793n)) — improving randomized local search by initializing strings of 3-clauses. Electronic Colloquium on Computational Complexity, Report No. 54 (July 2003)

    Google Scholar 

  12. Schöning, U.: A probabilistic algorithm for k-SAT and constraint satisfaction problems. In: Proceedings of the 40th Annual IEEE Symposium on Foundations of Computer Science, FOCS 1999, pp. 410–414 (1999)

    Google Scholar 

  13. Schöning, U.: A probabilistic algorithm for k-SAT based on limited local search and restart. Algorithmica 32(4), 615–623 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  14. Schuler, R.: An algorithm for the satisfiability problem of formulas in conjunctive normal form (2003) (manuscript)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dantsin, E., Hirsch, E.A., Wolpert, A. (2004). Algorithms for SAT Based on Search in Hamming Balls. In: Diekert, V., Habib, M. (eds) STACS 2004. STACS 2004. Lecture Notes in Computer Science, vol 2996. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24749-4_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24749-4_13

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21236-2

  • Online ISBN: 978-3-540-24749-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics