[Paper Review] Exploring the Use of Shatter for AllSAT Through Ramsey-Type Problems
This paper investigates the use of Shatter—a symmetry-breaking tool for CNF formulas—in the context of AllSAT problems, particularly for generating complete sets of edge colorings in Ramsey-type graph problems. It identifies two critical issues: Shatter can increase the number of models due to relaxed variable assignments, and it may produce incomplete sets of colorings when certain edges are not involved in monochromatic subgraphs. The study proposes strategies to mitigate these issues, ensuring completeness and efficiency in AllSAT workflows for symmetric Boolean formulas.
In the context of SAT solvers, Shatter is a popular tool for symmetry breaking on CNF formulas. Nevertheless, little has been said about its use in the context of AllSAT problems: problems where we are interested in listing all the models of a Boolean formula. AllSAT has gained much popularity in recent years due to its many applications in domains like model checking, data mining, etc. One example of a particularly transparent application of AllSAT to other fields of computer science is computational Ramsey theory. In this paper we study the effect of incorporating Shatter to the workflow of using Boolean formulas to generate all possible edge colorings of a graph avoiding prescribed monochromatic subgraphs. Generating complete sets of colorings is an important building block in computational Ramsey theory. We identify two drawbacks in the na\"ive use of Shatter to break the symmetries of Boolean formulas encoding Ramsey-type problems for graphs: a "blow-up" in the number of models and the generation of incomplete sets of colorings. The issues presented in this work are not intended to discourage the use of Shatter as a preprocessing tool for AllSAT problems in combinatorial computing but to help researchers properly use this tool by avoiding these potential pitfalls. To this end, we provide strategies and additional tools to cope with the negative effects of using Shatter for AllSAT. While the specific application addressed in this paper is that of Ramsey-type problems, the analysis we carry out applies to many other areas in which highly-symmetrical Boolean formulas arise and we wish to find all of their models.
Motivation & Objective
- To analyze the effects of using Shatter as a preprocessing tool for AllSAT solvers in symmetry-rich combinatorial problems.
- To identify and explain two key drawbacks: increased model count and incomplete coloring sets when applying Shatter to Ramsey-type formulas.
- To provide strategies and tools to preserve completeness and reduce redundancy in AllSAT output when using symmetry-breaking preprocessing.
- To demonstrate that Shatter’s default behavior is unsuitable for generating complete, non-reduundant sets of colorings in graph Ramsey problems.
- To guide researchers in properly applying symmetry-breaking tools like Shatter to AllSAT workloads in highly symmetric domains.
Proposed method
- Applying Shatter to CNF formulas encoding the non-arrowing property F ↛ (G, H), where F is a graph and G, H are target subgraphs.
- Analyzing the impact of Shatter’s variable relaxation—fixing free variables to ⊥—on the number and completeness of models in AllSAT output.
- Introducing a sufficient condition for incompleteness: edges not involved in any subgraph isomorphism from G or H to F become free variables, leading to lost colorings.
- Proposing a modified formula that restricts variables only to edges involved in relevant subgraph isomorphisms to improve completeness.
- Using the graph Kex (K8 with one vertex reduced to degree 2) as a counterexample to show incompleteness can occur even without free variables.
- Evaluating the effectiveness of clasp’s projective enumeration feature to reduce redundant models in the presence of symmetry.
Experimental results
Research questions
- RQ1How does Shatter’s symmetry-breaking preprocessing affect the number of satisfying assignments in AllSAT problems?
- RQ2Under what conditions does Shatter lead to an incomplete set of edge colorings in Ramsey-type problems?
- RQ3Can the incompleteness issue be avoided by restricting variable sets to only those edges involved in monochromatic subgraph isomorphisms?
- RQ4Why does incompleteness persist even when no variables are free in the original formula?
- RQ5What alternative strategies can preserve completeness while leveraging symmetry-breaking tools in AllSAT workflows?
Key findings
- Shatter can increase the number of models in AllSAT output due to its relaxation of free variables to ⊥, which introduces new, redundant solutions.
- When edges are not involved in any subgraph isomorphism from G or H to F, they become free variables in the original formula, and Shatter fixes them to ⊥, causing loss of valid colorings.
- A sufficient condition for incompleteness is identified: if an edge e is not in the image of any subgraph isomorphism from G or H to F, then colorings assigning e to ⊤ may be lost after Shatter preprocessing.
- Even with no free variables, incompleteness can occur—demonstrated using the graph Kex, where Shatter misses 26 out of 90 isomorphism classes of valid colorings.
- The use of clasp’s projective enumeration feature is shown to help reduce redundant models, offering a partial remedy to the blow-up problem.
- The paper concludes that Shatter is not suitable for AllSAT without careful post-processing, and alternative tools like BreakID—offering non-relaxing symmetry breaking—may be better suited.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.