Hardness of Random Reordered Encodings of Parity for Resolution and CDCL

Authors

  • Leroy Chew TU Wien
  • Alexis de Colnet TU Wien
  • Friedrich Slivovsky University of Liverpool
  • Stefan Szeider TU Wien

DOI:

https://doi.org/10.1609/aaai.v38i8.28635

Keywords:

CSO: Satisfiability, CSO: Other Foundations of Constraint Satisfaction, KRR: Automated Reasoning and Theorem Proving, KRR: Computational Complexity of Reasoning

Abstract

Parity reasoning is challenging for Conflict-Driven Clause Learning (CDCL) SAT solvers. This has been observed even for simple formulas encoding two contradictory parity constraints with different variable orders (Chew and Heule 2020). We provide an analytical explanation for their hardness by showing that they require exponential resolution refutations with high probability when the variable order is chosen at random. We obtain this result by proving that these formulas, which are known to be Tseitin formulas, have Tseitin graphs of linear treewidth with high probability. Since such Tseitin formulas require exponential resolution refutations, our result follows. We generalize this argument to a new class of formulas that capture a basic form of parity reasoning involving a sum of two random parity constraints with random orders. Even when the variable order for the sum is chosen favorably, these formulas remain hard for resolution. In contrast, we prove that they have short DRAT refutations. We show experimentally that the running time of CDCL SAT solvers on both classes of formulas grows exponentially with their treewidth.

Published

2024-03-24

How to Cite

Chew, L., de Colnet, A., Slivovsky, F., & Szeider, S. (2024). Hardness of Random Reordered Encodings of Parity for Resolution and CDCL. Proceedings of the AAAI Conference on Artificial Intelligence, 38(8), 7978-7986. https://doi.org/10.1609/aaai.v38i8.28635

Issue

Section

AAAI Technical Track on Constraint Satisfaction and Optimization