A Novel Algorithm for #SAT
ISEF · 2015 First Award
Overview
An exact algorithm for counting the models of Boolean formulas in CNF (the #SAT problem) was developed. Unlike conventional backtracking-based approaches which measure the effect of incrementally setting the literals of the formula true or false, the algorithm instead counts the number of unique models that falsify each clause of the formula and removes duplicates by recursively solving smaller and smaller instances. Additionally, the algorithm can be memoized so that, for many instances, its runtime depends mainly on how the formula is ordered instead of the number of variables or clauses. This makes possible an interesting backdoor approach to #SAT focusing on preprocessing and clustering instead of counting. Since #SAT is a #P-complete problem, all the problems in NP reduce to it, as well as all the problems in #P and search problems that can be reduced to NP decision problems. This means that an efficient algorithm, even one that takes exponential time in the worst case, would have profound theoretical repercussions as well as immense practical applications, most realistically in cryptography and formal verification. The algorithm developed shows promise for future development and extension, both as an independent approach and a complement to traditional techniques.
Awards (2)
- First Award of $5,000 $5,000
- National Security Agency Research Directorate : Second Life Science Award of $1,000 $1,000
Competition history
- ISEF 2015
Resources
Related projects
ISEF · 2017
Efficient Point-Counting Algorithms for Superelliptic Curves via the Cartier Operator and the Hasse-Weil Bound
ISEF · 2023
Optimizing Quantum Annealing to Advance Graph Coloring Algorithms
ISEF · 2026
Universal Matrices for Counting Fibo-Multinomial and C-Multinomial Coefficients With a Cryptographic Application
ISEF · 2018
Deconstructing Complexity of Large Topological Models
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair