arXiv:2611.09335cs.DSNov 2026

Manuscript Offprint

arXiv:2611.09335

Tight Variable-Occurrence Bounds and Exponential Separations for Moser--Tardos and WalkSAT on 3-CNF

Minbo Gao, Kun He, Tao Jiang

Abstract

We establish a sharp variable-occurrence threshold for polynomial expected-time convergence for the Moser-Tardos algorithm and the pure random-walk WalkSAT on 3-CNF formulas. For every formula with mm clauses and at most two occurrences per variable, both algorithms terminate in O(m)O(m) expected updates. This occurrence bound is sharp: we construct an infinite family with at most three occurrences per variable on which both algorithms require 2Θ(m)2^{\Theta(\sqrt{m})} expected updates. Surprisingly, this dynamical transition occurs strictly below the classical NP-completeness threshold at variable-occurrence degree four.

We further establish exponential separations between the two algorithms on satisfiable 3-CNF formulas. On one family, WalkSAT terminates in O(m4)O(m^4) expected flips, whereas MT requires 2Ω(m)2^{\Omega(m)} expected resampling steps. On another, MT terminates in O(m)O(m) expected resampling steps, whereas WalkSAT requires 2Ω(m)2^{\Omega(m)} expected flips. These constructions exploit the different ways in which single-variable flips and simultaneous resampling propagate local violations. Our results show that the algorithms' expected running times are incomparable even up to polynomial overhead on the same inputs.

Contents

1 Introduction 3 1.1 Our results 5 1.2 Technique overview 7 1.3 Organization 8

2 Preliminary 9 2.1 Formula representation and occurrence counts 9 2.2 The two algorithms and clause-selection rules 9 2.3 Satisfiability at maximum variable occurrence three 10 2.4 Two drift lemmas 10

3 At most two occurrences per variable 11 3.1 Moser-Tardos via the cluster-expansion criterion 11 3.2 WalkSAT via a global potential 12

4 A Hard Family of Bounded-Occurrence 3-CNF Formulas 17 4.1 A Hard Family of 3-CNF Formulas 17 4.2 The potential and its local changes 19 4.3 The expected time of WalkSAT 22 4.4 The expected time of MT 23 4.5 Completing the occurrence counts 24 4.6 A matching upper bound 25

5 A 3-CNF Family with Polynomial WalkSAT and Exponential MT Time 27 5.1 Tseitin encoding and the WalkSAT dynamics 27 5.2 MT dynamics and threshold-voter duality 29 5.3 Exponential survival on locally sparse 3-regular graphs 31 5.4 Completing the MT lower bound 33

6 A 3-CNF Family with Exponential WalkSAT and Polynomial MT Time 35 6.1 Constructing Formulas from Expander Graphs 35 6.2 Linear time for uniform-clause Moser-Tardos 37 6.3 WalkSAT: an exponential barrier 40

7 Conclusion 44

AI methodology 44

References (23)