New Algorithms for #2-SAT and #3-SAT
Abstract
The #2-SAT and #3-SAT problems involve counting the number of satisfying assignments (also called models) for instances of 2-SAT and 3-SAT, respectively. In 2010, Zhou et al. (https://doi.org/10.1609/aaai.v24i1.7537) proposed an O*(1.1892^m)-time algorithm for #2-SAT and an efficient approach for #3-SAT, where m denotes the number of clauses. In this paper, we show that the weighted versions of #2-SAT and #3-SAT can be solved in O*(1.1082^m) and O*(1.4423^m) time, respectively. These results directly apply to the unweighted cases and achieve substantial improvements over the previous results. These advancements are enabled by the introduction of novel reduction rules, a refined analysis of branching operations, and the application of path decompositions on the primal and dual graphs of the formula.
Cite
Text
Peng et al. "New Algorithms for #2-SAT and #3-SAT." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/297Markdown
[Peng et al. "New Algorithms for #2-SAT and #3-SAT." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/peng2025ijcai-new/) doi:10.24963/IJCAI.2025/297BibTeX
@inproceedings{peng2025ijcai-new,
title = {{New Algorithms for #2-SAT and #3-SAT}},
author = {Peng, Junqiang and Sheng, Zimo and Xiao, Mingyu},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2025},
pages = {2666-2674},
doi = {10.24963/IJCAI.2025/297},
url = {https://mlanthology.org/ijcai/2025/peng2025ijcai-new/}
}