Modern SAT solvers are the "Swiss Army knives" of computer science, powering everything from software verification to AI planning. However, most of these solvers are built on a foundation called Conflict-Driven Clause-Learning (CDCL), which is theoretically bound by the limits of the "Resolution" proof system. For certain types of problems—like the infamous Pigeonhole Principle or complex grid-based formulas—Resolution-based solvers are doomed to take exponential time.
A new paper by Sam Buss, Jonathan Chung, Vijay Ganesh, and Albert Oliveras introduces xMapleLCM, a solver that breaks this barrier by using Extended Resolution (ER). By dynamically "inventing" new variables during the search process, the solver can find much shorter proofs for problems that previously brought state-of-the-art systems to their knees.
TL;DR
The authors present a new algorithm that identifies Dual Implication Points (DIPs)—pairs of variables that together dominate a conflict—to dynamically introduce new definitions into a SAT solver. This implementation of Extended Resolution allows their solver, xMapleLCM, to solve hard combinatorial problems that are exponentially difficult for standard solvers, including the winner of the 2023 SAT Competition.
What Problem Does This Paper Address?
Most SAT solvers use Resolution, a rule that combines two known facts (clauses) to derive a new one. While powerful, Resolution is "weak." There are classes of mathematical problems where any Resolution proof is guaranteed to be massive.
Extended Resolution (ER) is a much stronger system because it allows the solver to define new variables (e.g., $z \leftrightarrow a \land b$). Theoretically, ER can turn an exponential-sized proof into a polynomial-sized one. The million-dollar question in the SAT community has been: How do we choose which variables to define automatically and efficiently during a search? Previous attempts were often too slow or only worked on very specific types of problems.
Methods
The core innovation is the use of Dual Implication Points (DIPs).
In a standard solver, we look for a Unique Implication Point (UIP)—a single variable that "bottlenecks" the path to a conflict in the solver's logic graph. The authors generalize this: a DIP is a pair of variables $\{x, y\}$ that together block all paths from the decision variable to the conflict.
The ERCL (Extended Resolution Clause Learning) Workflow: 1. Detection: When a conflict occurs, the solver analyzes the implication graph to find DIPs in linear time. 2. Definition: It introduces a new variable $z$ representing the conjunction of the DIP pair. 3. Learning: It learns "pre-DIP" and "post-DIP" clauses that involve this new variable $z$, effectively shortening the logic required for future steps. 4. Heuristics: The authors developed several strategies to pick the "best" DIP (e.g., the "middle" heuristic, which splits the conflict graph into two balanced regions) and filters to avoid overwhelming the solver with too many new variables.
Datasets
The authors evaluated xMapleLCM against leading solvers (Kissat, CryptoMiniSat, SBVA-CaDiCaL) using:
- Tseitin Formulas: Specifically grid-based and regular graph versions, which are classic "hard" problems for Resolution.
- XORified Random k-XOR Formulas: Problems where variables are replaced by XOR chains, hiding the underlying structure.
- Interval Matching Problems: Hard combinatorial instances from the 2023 SAT Competition.
- SAT Competition 2023 Main Track: To ensure the solver still performs well on "general" real-world problems.
Key Insights and Ideas
- DIPs as "Concept Creators": By defining a variable for a DIP, the solver is essentially "learning" a higher-level concept that explains why a conflict happened, rather than just recording a long list of raw variables.
- The Power of the Middle: Surprisingly, picking the DIP that splits the conflict graph in the "middle" (balanced regions) often outperformed picking the DIP closest to the conflict.
- Self-Correction: The solver includes a heuristic to detect if the new variables are actually being used in decisions. If the "extended" variables aren't helping, the solver reverts to standard CDCL. This prevents the overhead of ER from slowing down the solver on easier problems.
- Hidden XORs: The method is particularly effective at uncovering and exploiting XOR-like structures that are otherwise "hidden" in CNF formulas.
Key Results
- Tseitin Grids:
xMapleLCMwas the only solver capable of processing large Tseitin grid formulas within the time limit. Other state-of-the-art solvers failed as the problem size grew linearly. - XORified Formulas: On XORified instances,
xMapleLCMsignificantly outperformed the 2023 SAT Competition winner (SBVA-CaDiCaL), which relies on static preprocessing rather than dynamic variable addition. - Efficiency: Despite the complexity of finding DIPs, the authors showed that the computational overhead was negligible (usually less than 2.5% of total runtime).
- General Performance: On the 2023 Main Track benchmarks,
xMapleLCMperformed similarly to its base solver (MapleLCM), proving that the ER mechanism doesn't "break" the solver's performance on standard problems.
Limitations and Future Work
While the proof size might be polynomial with ER, the search time for xMapleLCM still appears exponential on some very hard instances. This suggests that while the "shortcuts" exist, the solver's branching heuristics (how it chooses what to guess next) aren't yet fully optimized to take advantage of the new ER variables.
Future directions include: * Using Machine Learning to improve branching on newly introduced variables. * Exploring k-IPs (triplets or larger sets of variables) instead of just pairs (DIPs). * Applying these techniques to approximate counting and other complex SAT-related tasks.
Summary updated