TL;DR
Symmetry breaking drastically speeds up combinatorial solving but is notoriously difficult to implement without bugs. This paper introduces a novel method to mathematically certify symmetry breaking using auxiliary variables instead of large integers, achieving linear scaling and orders-of-magnitude speedups in both proof generation and verification.
What Problem Does This Paper Address?
In Boolean satisfiability (SAT) and constraint solving, symmetry breaking is a powerful technique that prunes the search space by eliminating symmetric, redundant states. However, writing bug-free symmetry breakers is incredibly difficult. To ensure correctness, the automated reasoning community relies on certifying solvers—solvers that output both a solution and a machine-verifiable mathematical proof of correctness.
A recent breakthrough by Bogaerts et al. (2023) allowed fully general symmetry breaking proofs using pseudo-Boolean inequalities and dominance reasoning. However, their approach had a major bottleneck: it encoded lexicographic ordering using exponentially large integer coefficients (e.g., $2^{n-1}$). This required at least $n^2$ bits to represent the coefficients for $n$ variables, forcing proof checkers to rely on expensive arbitrary-precision arithmetic. For large-scale problems, this overhead made proof logging and checking practically infeasible.
Methods
The authors eliminate these massive integers by redesigning the proof system to use auxiliary variables to encode lexicographic orders, effectively mimicking a hardware circuit encoding.
However, introducing auxiliary variables breaks a core invariant of the original proof system: low-level proofs must be implicational (meaning the conclusions are logically implied by the premises). Because auxiliary variables aren't present in the original formula, they cannot be directly implied.
To solve this, the authors introduce Specifications—pseudo-Boolean formulas that functionally define the auxiliary variables in terms of the original variables. They then split the order encoding into two parts:
- A specification premise that defines how the auxiliary variables behave.
- The strict order relation itself.
They successfully update the core proof rules—dominance-based strengthening and redundance-based strengthening—to safely accept these specifications. The method was implemented in the state-of-the-art symmetry breaker SATSUMA and integrated into the VeriPB and formally verified CakePB proof-checking toolchain.
Datasets
The authors evaluated their approach on two distinct sets of benchmarks:
- Crafted Benchmarks: Five families of highly symmetric problems generated via
CNFGEN, including the Pigeonhole Principle (PHP), Relativized PHP (RPHP), Clique-Coloring (ClqCl), Counting formulas, and Tseitin formulas on a grid. - Real-World Benchmarks: A selection of 982 instances from the main tracks of the 2020–2024 SAT Competitions where
SATSUMAsuccessfully identified at least one symmetry.
Key Insights and Ideas
- Circuits over Big Integers: Representing a lexicographic leader constraint as a circuit (via auxiliary variables) scales linearly, whereas the big-integer representation scales quadratically in bit complexity.
- Preserving Implication via Separation: By separating the definition of the auxiliary variables from the proof of dominance, the proof checker can verify complex global properties without needing explicit existential quantification capabilities.
- Verified Performance Boost: Formally verified checkers like
CakePBbenefit the most from this approach because their verified arbitrary-precision arithmetic libraries are typically slow. Eliminating large integers bypasses this bottleneck entirely.
Key Results
The theoretical gains translated directly into massive practical performance improvements:
- Proof Logging: For the crafted benchmarks, generating proofs with the new method added only a small, constant overhead compared to solving without proofs, whereas the old method scaled poorly or timed out entirely.
- Proof Checking: The new method achieved orders-of-magnitude speedups during verification.
On the SAT Competition benchmarks, the new method successfully generated proofs for all 982 instances (compared to 930 for the old method) and verified significantly more instances within the time limits.
Limitations and Future Work
Despite the linear scaling of the new format, proof checking can still be asymptotically slower than the symmetry-breaking process itself. This occurs because the proof checker must reason about all variables in the order for every single symmetry broken, whereas the symmetry breaker operates at a higher, abstract level.
The authors suggest that future work should focus on optimizing the checker's internal reasoning and extending this auxiliary-variable framework to support conditional and dynamic symmetry breaking during the search process.
Summary updated