NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Where Does Solver Time Go? Splitting SAT Runtime into Proof Size and Search Waste

Proof complexity, the study of how long a formal proof must be, gives exact lower bounds on the shortest refutation of certain unsatisfiable formulas. Examples are the pigeonhole principle and parity constraints on grids. Practitioners mostly ignore these bounds, and they have a reason: a modern SAT solver's running time is not the length of the shortest proof. Solvers with clause learning (CDCL, "conflict-driven clause learning", solvers that learn a new clause each time a partial assignment fails) are theoretically equivalent to resolution, the simplest proof system. In practice they solve industrial instances with millions of variables and stall on small crafted puzzles. They also do large amounts of work that never enters the final proof. This proposal measures that split directly. On every unsatisfiable instance, we record how many clauses the solver learned, and we record how many of those clauses survive in the verified proof after a proof checker trims away everything unused. Solver effort then factors into two parts. The first is the size of the proof actually found, which is what lower bounds constrain. The second is the ratio of wasted search to useful proof, which no current theory predicts.

The claim is that this decomposition turns the vague complaint that "worst-case bounds don't predict practice" into two measurable gaps. One is between the theoretical lower bound and the proof the solver found. The other is between that proof and the search it took to find it. We further claim that the unexplained hardness of crafted instances lives mainly in the second gap. The tooling already exists. SAT competitions have required DRAT proofs (a standard, mechanically checkable certificate of unsatisfiability) for every unsatisfiable answer since 2016 (SAT Competition 2016), and the checker drat-trim already outputs a trimmed core of the lemmas it needed.

Core Claim

For an unsatisfiable formula $F$ of size $n$, let $L(n)$ be a proven lower bound on resolution refutation size. Let $P$ be the number of learned clauses in the drat-trim-trimmed proof, and let $T$ be the total number of clauses the solver learned, which equals its conflict count. Since any trimmed proof is a valid refutation, we have $L(n) \le P \le T$, and we write

$$\log T = \log P + \log \omega, \qquad \omega = T/P \ge 1,$$

where $\omega$ is the search-waste factor. Lower-bound theory speaks only to $P$. We claim three things. First, on formula families where resolution is provably exponential, $\log P$ tracks the predicted growth rate and $\omega$ stays roughly constant. Second, on families with short resolution proofs that are hard for tree-like search, $\omega$ carries the growth. The Extended Pigeonhole Principle is the example: Hardness measures and resolution lower bounds shows polynomial resolution size but tree-hardness exactly $n$. Third, across the Crafted competition category, $\log \omega$ explains much of the runtime variance that structural features leave unexplained.

This extends a result known only in theory. Runtime vs. Extracted Proof Size proves that for quantified Boolean formula solvers on the $SRE_n$ family, the search trail is $2^{\Omega(n)}$ while the extracted proof is $O(n^2)$. The cause is cubes that the solver learns and then discards. That paper contains no experiments and states that the practical relevance of the gap is open. Our work measures the propositional analogue of that gap on real benchmarks and also tests $SRE_n$ empirically.

Relation to Prior Work

The closest work is Relating Complexity-theoretic Parameters with SAT Solver Performance. That paper regresses MapleCOMSPS runtime on modularity, treewidth, backbones and backdoor sizes across 7,085 competition instances, and it introduces backdoors that account for restarts. It motivates our proposal because its models fit Agile instances well but fail on Crafted instances. It also constrains our design, because its best features are NP-hard to compute and sometimes cost more than solving the instance. Our quantities $T$ and $P$ come essentially free from a single proof-logging run followed by a proof check. They are also not features of the static formula but measurements of the solve itself, so they separate "no short proof exists" from "the solver searched badly."

Two further papers supply theoretical predictions we can test. The hardness hierarchy in Hardness measures and resolution lower bounds runs from width through space and tree-hardness to depth, and the paper has no experiments. Similarly, SAT Backdoors: Depth Beats Size is purely theoretical. We treat tree-hardness in particular as a candidate predictor of $\omega$ rather than of $P$.

On the Expressive Power of GNNs for Boolean Satisfiability shows that graph-based features based on Weisfeiler-Leman refinement cannot distinguish 214 of 448 competition instances. We use it as evidence that cheap structural descriptions have a hard ceiling on regular crafted families.

DRAT Proofs for SAT Modulo Monotonic Theories shows that proof logging can be cheap, with a 7.41% geometric-mean overhead. This supports our assumption that logging does not distort the solver behaviour we are measuring. We verify that assumption rather than relying on it.

Research Program

We run two DRAT-emitting CDCL solvers, MapleCOMSPS and Kissat, with proof logging. We then trim each proof with drat-trim and record $T$, $P$, wall-clock time, and the depth of the trimmed proof's dependency graph.

The data come from two sources. The first is a set of scaled theory families: pigeonhole, Extended Pigeonhole, and Tseitin grid formulas as studied in Tradeoffs for small-depth Frege proofs, plus RegularSAT, each generated at increasing $n$. The second is the unsatisfiable instances of the 2009–2016 competition categories: Application, Crafted, Agile and Random.

On the theory families, we fit growth exponents separately to $T$, $P$ and $\omega$ and compare them with $L(n)$. On the competition data, we ask how much of the variance in log runtime each factor explains, within each category and on families held out from training.

A third arm repeats the procedure for quantified formulas on $SRE_n$. We compare a QCDCL solver's learned constraint count with the size of its certificate after trimming, which directly tests the prediction of Beyersdorff et al..

Finally, to test whether $\omega$ reflects solver design or formula structure, we sweep restart and branching policies, comparing "Always Restart" with the default and LRB (learning-rate branching, which chooses variables by how often they appear in recent conflicts) with the older activity-based VSIDS heuristic. A formula property should keep $\omega$ stable across policies. A heuristic property should make $\omega$ move with the policy while $P$ stays put.

Baselines

The naive reference is lower-bound-only prediction. It assumes runtime grows like the resolution lower bound $L(n)$, which amounts to treating the solver as an ideal resolution prover. On theory families we report how far observed exponents deviate from $L(n)$. The decomposition beats this baseline if the deviation is concentrated in $\omega$ and not scattered unpredictably.

The strongest existing method is the structural ridge regression of Zulkoski et al., which reports an adjusted $R^2$ of 0.93 on Agile instances with the combined feature model. No reported per-category number for Crafted was found on Lacuna. We rerun their feature set with LaSeR backdoor bounds and treewidth estimates, capped at the same per-instance compute budget as our measurement run. We use the same instances, the same solver, the same regression family, and leave-family-out splits. Beating this baseline means a significantly higher held-out adjusted $R^2$ on Crafted while staying roughly equal on Agile. A gain restricted to Crafted would be sufficient and is the expected outcome.

The third baseline is a cheap syntactic feature regressor using clause-to-variable ratio and degree statistics fed to gradient boosting, tuned with the same budget as the other models.

The key ablation replaces the trimmed size $P$ with the raw conflict count $T$ alone. If $T$ predicts as well as the pair $(P, \omega)$, then trimming adds nothing and the decomposition is only relabelling.

Why not just…?

Why not just train a runtime predictor on cheap features? For prediction alone, this is a real threat, and it may match us on Application and Agile instances. The Weisfeiler-Leman failures reported in On the Expressive Power of GNNs for Boolean Satisfiability suggest it will plateau on regular crafted families, where graph features are identical across instances. More importantly, a feature regressor cannot say whether an instance is hard because no short proof exists or because the solver wasted effort. The leave-family-out comparison on Crafted settles the predictive question. The decomposition's explanatory value holds even if predictive accuracy ties.

Why not just treat CDCL as resolution and use proof-size lower bounds? Extended Pigeonhole has short resolution proofs yet tree-hardness $n$ (Beyersdorff & Kullmann), and restarts change backdoor size exponentially (Zulkoski et al.). Both results indicate that proof size misses search dynamics. Our Extended Pigeonhole scaling experiment tests this directly. If $\omega$ stays flat there, the objection wins, and we will report that result.

Why not just count conflicts, which solvers already report? The conflict count is $T$, so it is half of our measurement. The trimming ablation above determines whether the other half, $P$, is worth having.

Decisive Checks

The proposal fails in any of three cases: $\omega$ is roughly constant across all categories and families; $\omega$ fails to improve held-out Crafted prediction over the structural baseline; or the policy sweep shows $\omega$ is entirely set by the heuristic and uncorrelated with tree-hardness. It succeeds in the opposite cases. Success means exponent fits separate $P$-driven families such as pigeonhole and Tseitin from $\omega$-driven families such as Extended Pigeonhole, and $SRE_n$ shows the predicted exponential learned-to-certificate ratio in an actual solver. It also means Crafted runtime variance becomes measurably attributable to search waste. As a sanity check on everything above, proof-logging overhead must be shown not to change conflict counts materially.