Faster Certified Symmetry Breaking Using Orders With Auxiliary Variables

Markus Anders, Bart Bogaerts, Benjamin Bogø, Arthur Gontier, Wietze Koops, Ciaran McCreesh, Magnus O. Myreen, Jakob Nordström, Andy Oertel, Adrian Rebola-Pardo, Yong Kiam TanarXiv 2025

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:

  1. A specification premise that defines how the auxiliary variables behave.
  2. 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 SATSUMA successfully 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 CakePB benefit 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.
Figure 1: On top, the cost of running SATSUMA with or without proof logging, on crafted benchmark instances, as the instance size grows. In each case logging with the new method scales similarly to not doing logging, whilst the old method exhibits worse scaling for several families. On the bottom, the cost of checking these proofs: the new method exhibits better scaling.

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.

Figure 2: On the left, the cumulative number of “interesting” SAT competition instances broken, logged, and checked over time. The centre plot compares the added cost of writing proofs with the old and new methods, compared to not writing proofs; 52 instances reached time or memory limits with the old method. The right-hand plot compares the cost of checking proofs using the old and new methods, with points below the diagonal line showing where both methods succeeded but the new method was faster; additionally, 8 and 30 instances reach limits with VERIPB and CAKEPB respectively with the new method where the old method succeeded, compared to 95 and 97 respectively with the old method where the new method succeeded.

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

BibTeX
@misc{anders2025faster,
  author = {Markus Anders and Bart Bogaerts and Benjamin Bogø and Arthur Gontier and Wietze Koops and Ciaran McCreesh and Magnus O. Myreen and Jakob Nordström and Andy Oertel and Adrian Rebola-Pardo and Yong Kiam Tan},
  title = {{Faster Certified Symmetry Breaking Using Orders With Auxiliary Variables}},
  year = {2025},
  eprint = {2511.16637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.16637},
}
Figure