Implementing the Davis–Putnam Method

  • Authors:
  • Hantao Zhang;Mark Stickel

  • Affiliations:
  • Dept. of Computer Science, The University of Iowa, Iowa City, IA 52242, U.S.A. e-mail: hzhang@cs.uiowa.edu;Artificial Intelligence Center, SRI International, Menlo Park, CA 94025, U.S.A. e-mail: stickel@ai.sri.com

  • Venue:
  • Journal of Automated Reasoning
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The method proposed by Davis, Putnam, Logemann, and Loveland for propositional reasoning, often referred to as the Davis–Putnam method, is one of the major practical methods for the satisfiability (SAT) problem of propositional logic. We show how to implement the Davis–Putnam method efficiently using the trie data structure for propositional clauses. A new technique of indexing only the first and last literals of clauses yields a unit propagation procedure whose complexity is sublinear to the number of occurrences of the variable in the input. We also show that the Davis–Putnam method can work better when unit subsumption is not used. We illustrate the performance of our programs on some quasigroup problems. The efficiency of our programs has enabled us to solve some open quasigroup problems.