arXiv:2608.24255cs.LOAug 2026

Manuscript Offprint

arXiv:2608.24255

A Non-CDCL SAT Solver with Early Conflict Detection: The Watched-Literal-Based CSFLOC Solver

Gábor Kusper

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Gábor Kusper

Eszterházy Károly Catholic University

Eger, Hungary

kusper.gabor@uni-eszterhazy.hu

CSFLOC is a non-CDCL SAT decision procedure based on counting subsumed full-length ordered clauses. The classical CSFLOC loop traverses the ordered space of full-length clauses by a monotone counter: if the current full-length clause is not subsumed by the input formula, its negation is a satisfying assignment; otherwise, a subsuming clause determines a counter jump. The main bottleneck is the repeated search for such a subsuming clause. This paper presents CSFLOC-WL, and its current implementation CSFLOC-WL3, in which this search is replaced by watched-literal prefix propagation over the negation of the current full-length clause represented by the counter. The central mechanism is early conflict detection: if propagation under a common prefix derives opposite unit consequences for the same variable, then the two reason clauses are resolved immediately and the resolvent is used as a new counter-jump cause. The resulting solver is not a CDCL solver: it has no CDCL decision tree, no restart policy, and no first-UIP backjumping loop. It remains a counter-guided full-length-clause-counting solver, but it imports the watched-literal data structure and reason clauses as engineering tools for discovering jumps. Experiments on selected UNSAT SATLIB instances compare CSFLOC-WL3 with CSFLOC21TU and CaDiCaL 3.0.0. The results are mixed: CSFLOC-WL3 is strong on several random 3-SAT instances near the random-3-SAT satisfiability threshold, whereas CSFLOC21TU remains faster on several structured cases, apparently because it contains a more mature cache mechanism that is not yet present in CSFLOC-WL3.

1 Introduction

Propositional satisfiability (SAT) is a central decision problem of computer science. Most high performance complete SAT solvers today follow the conflict-driven clause learning (CDCL) paradigm. CDCL solvers combine Boolean constraint propagation, conflict analysis, learned clauses, restarts, variable-activity heuristics, and highly optimized data structures. The two-watched-literal technique introduced in Chaff [13] became a standard implementation tool, and compact solvers such as MiniSat [3] made CDCL solver engineering accessible to a broad research community. CaDiCaL is a recent representative of this line: it is a CDCL solver with a clean library interface and a documented architecture [1], and release 3.0.0 provides a modern reference implementation for experimental comparison [4].

This paper follows a different line of SAT solving. CSFLOC is a non-CDCL solver based on counting subsumed full-length ordered clauses [10, 11, 7, 8]. For a fixed order of nn variables, an ordered full-length clause contains exactly one literal over every variable. A clause DD subsumes a clause CC when D⊆CD \subseteq C, and a CNF formula subsumes CC when one of its clauses does. If a CNF formula fails to subsume some full-length clause CC, then the negation of CC is a satisfying assignment; conversely, if all 2n2^n full-length clauses are subsumed, then the formula is unsatisfiable. CSFLOC therefore decides satisfiability by traversing the ordered space of full-length clauses in a fixed variable order and by skipping intervals that are already known to be subsumed.

M. Hospodár et al. (Eds.): 17th International Conference on Automata and Formal Languages (AFL 2026) EPTCS 451, 2026, pp. 217–229, doi:10.4204/EPTCS.451.15

© G. Kusper This work is licensed under the Creative Commons Attribution License.

The Watched-Literal-Based CSFLOC Solver

The original CCC algorithm traversed this space naively. Optimized CCC used the observation that a clause whose last literal has variable index i subsumes a consecutive block of 2n−i2^{n-i} full-length clauses. CSFLOC added the last-positive-bit observation and organized clauses by the index and sign of their last literal [11]. Recent engineering work added affected clauses and length-sensitive learned-cause caches [8, 9]. These improvements reduce scanning, but the central operation is still a subsumption test: for the current full-length clause, the solver has to find a clause that is a subset of it.

The solver studied here changes this operation. At each iteration, the current nn-bit counter value bb encodes a full-length clause C=FLC(b)C = \text{FLC}(b), and α=C‾\alpha = \overline{C} is the assignment that makes every literal of CC false. Instead of directly searching for a clause D⊆CD \subseteq C, CSFLOC-WL assigns the variables according to α\alpha in the fixed order and uses watched-literal propagation. If the largest-index variable occurring in DD is xix_i, then every other literal of DD is false after α\alpha has been restricted to x1,…,xi−1x_1, \ldots, x_{i-1}. Hence DD is unit when variable xix_i is reached. Thus the subsumption information used by CSFLOC can be recovered as a unit reason produced by prefix propagation.

The main new mechanism is early conflict detection. Suppose that, under a common prefix before level i, propagation has produced both unit consequences xix_i and xˉi\bar{x}_i with reason clauses P and N. CSFLOC-WL resolves P and N on xix_i and uses the resolvent as a new CSFLOC counter-jump cause. If the resolvent is empty, it is represented as the final counter movement to 2n2^n; the abstract algorithm still reports UNSAT only when the counter has reached the end of the full-length-clause space. If the resolvent is non-empty and its last variable is smaller than i, the counter may jump earlier than it would have jumped by waiting until level i.

The contribution of the paper is threefold. First, it formulates CSFLOC subsumption search as watched-literal prefix propagation over the negation of the current full-length clause. Second, it states and proves the Early Conflict Detection theorem, which turns opposite unit consequences under a common prefix into a sound CSFLOC jump cause. Third, it reports an experimental comparison between CSFLOC-WL3, the cache-oriented CSFLOC21TU implementation, and CaDiCaL 3.0.0 on selected UNSAT SATLIB benchmarks. The experiments show that watched-literal propagation and early conflict detection can be effective, but also that CSFLOC21TU's mature cache mechanism is still important on several benchmark families. The paper also documents two new CSFLOC21TU renaming strategies, T and U: T prepares two-SAT-like prefixes, while U tries to create early unit consequences.

It is important to delimit the claim. CSFLOC-WL3 is not presented as a replacement for CDCL solvers. It is a step in the development of an alternative solver family whose search space is the ordered space of full-length clauses. It is not a classical lookahead solver either: although it assigns a prefix and observes propagation consequences, it does not branch on both values of a selected decision variable. The prefix is fixed by the current counter value. The purpose of propagation is not to choose a DPLL branch, but to find the next sound jump in the counter traversal.