For random -SAT at clause density , the satisfiability threshold is known to be for large , and the best search algorithms find satisfying assignments up to — the density at which statistical physics predicts the solution space fragments into exponentially many well-separated clusters (the clustering threshold ). Chen, Lonkar, Wang, Yang, and Yin (STOC 2025) gave the first efficient approximate-counting and almost-uniform-sampling algorithms for random -SAT up to densities for an undetermined constant , together with the first rigorous proofs of replica symmetry and non-reconstruction at such densities, and posed the central question of whether counting and sampling are tractable all the way up to the algorithmic threshold for searching. The question remains open in both its algorithmic and structural strands: no algorithm improves the regime toward , no intractability result separates counting or sampling from search below the clustering threshold for any sparse random constraint satisfaction problem, and the clustering and condensation thresholds of random -SAT remain unlocated rigorously.
Background
Random -SAT is the canonical random constraint satisfaction problem (CSP). A random formula has Boolean variables and clauses, each clause consisting of literals chosen independently and uniformly at random; is the clause density. The satisfiability threshold is the critical density below which a satisfying assignment exists with probability tending to 1 as ; the Satisfiability Conjecture, confirmed for sufficiently large by Ding, Sly, and Sun, gives . For the algorithmic problem of finding a solution, the best efficient algorithm (Coja-Oghlan) works up to , and message-passing schemes are proved to fail beyond that density, so is believed to be the algorithmic threshold for search. Statistical physics, via the non-rigorous cavity method of message-passing heuristics (Krzakala, Montanari, Ricci-Tersenghi, Semerjian, and Zdeborová), predicts that this same density marks a geometric transition: below the clustering threshold the set of solutions forms a single giant, well-connected component, while above it the solutions shatter into exponentially many clusters separated by linear Hamming distance, with frozen variables (variables taking a fixed value throughout a cluster) and long-range correlations between distant variables; at the later condensation threshold the uniform distribution over solutions — the Gibbs measure of the associated spin system — becomes dominated by clusters. The resulting overlap gap property — the absence of pairs of solutions at intermediate Hamming distances — is a proven barrier for broad algorithm classes, though currently only at densities above the clustering threshold (Bresler and Huang proved low-degree polynomial algorithms fail only at ). Beyond searching, one may count: output a -multiplicative approximation to the number of satisfying assignments; and sample: output a random assignment within total-variation distance (the maximum disagreement probability on any event) of the uniform measure over solutions. These inference tasks are conjectured to remain tractable throughout the replica-symmetric (unclustered) phase: informally, replica symmetry means two uniformly random variables of a uniform random solution are asymptotically independent, and non-reconstruction means the marginal of a variable cannot be recovered from observations at large hypergraph distance; non-reconstruction is a necessary condition for local Markov chains to mix. Before 2024, counting/sampling algorithms for random -SAT reached only densities exponentially far below the threshold, at best (He, Wu, and Yang), while for worst-case -SAT formulas of maximum degree , solutions are findable when but counting and sampling become intractable already at (Bezáková, Galanis, Goldberg, Guo, and Štefankovič) — so the average-case random model is provably much easier for these tasks. Chen, Lonkar, Wang, Yang, and Yin closed the exponential gap for the random model: via a refined analysis of a recursive coupling of Wang and Yin, replacing the 2-tree witnesses of prior analyses by a denser witness-tree structure, they obtained approximate counting and almost-uniform sampling for random -SAT (and generally for atomic CSPs, where each constraint is violated by exactly one assignment, such as random hypergraph -coloring) up to , and deduced replica symmetry, non-reconstruction, and looseness (each variable's value can be changed within the solution space while modifying only a small number of other variables) at those densities. Their guarantees still lose polynomial factors in against the conjectured algorithmic threshold , and they pose the question of whether counting and sampling are tractable up to the algorithmic threshold for searching.
Problem Statement
Determine whether approximate counting and almost-uniform sampling of solutions of random -SAT are tractable up to the algorithmic threshold for searching — the conjectured clustering threshold — and characterize the solution-space geometry that governs the answer. Concretely, for the random formula as , the algorithmic question asks whether, for every fixed and every accuracy and all sufficiently large , there exist a deterministic algorithm outputting a -multiplicative approximation to the number of satisfying assignments and an algorithm outputting an assignment within total-variation distance of the uniform measure , both running in time polynomial in and (polynomial dependence on and , as in the guarantees of Chen et al. [1], is admissible) and succeeding with high probability over for every density . A negative answer requires a proof that counting or sampling is intractable for polynomial-time algorithms at some density strictly below the search threshold; barriers established only for a restricted algorithm class (such as local Markov chains with single-variable updates, stable algorithms whose output changes little under small perturbations of the input, or low-degree polynomial algorithms) are relevant partial progress but do not by themselves settle the question. Chen et al. [1] obtain the algorithms and the structural properties (replica symmetry, non-reconstruction, looseness) from the same coupling analysis at whichever density it reaches, and the conjectured coincidence of the counting/sampling threshold with the search threshold is exactly the statement that the tractability boundary sits at . Structural results — for instance, a rigorous asymptotic location (or tight matching bounds) of the clustering and condensation thresholds and compared against the physics predictions, or establishing replica symmetry up to and non-reconstruction up to its conjectured endpoint — describe the geometry that governs the answer and constitute partial progress, but do not by themselves establish or refute tractability up to the search threshold. Resolving the random -SAT question above is what the objective requires; the analogous question for the other sparse atomic random CSPs treated in Chen et al. [1], such as counting and sampling random hypergraph -colorings between the current frontier and their conjectured clustering thresholds, is context for the same phenomenon rather than a separate requirement.
References
- Zongchen Chen, Aditya Lonkar, Chunyang Wang, Kuan Yang, Yitong Yin. Counting Random -SAT near the Satisfiability Threshold. Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC 2025). DOI: 10.1145/3717823.3718163; arXiv:2411.02980. https://arxiv.org/abs/2411.02980
- Arnab Chatterjee, Amin Coja-Oghlan, Catherine Greenhill, Vincent Pfenninger, Maurice Rolvien, Pavel Zakharov, Kostas Zampetakis. The random -SAT Gibbs uniqueness threshold revisited. arXiv:2506.01359, 2025. https://arxiv.org/abs/2506.01359
- Jian Ding, Allan Sly, Nike Sun. Proof of the satisfiability conjecture for large . Annals of Mathematics 196(1):1–388, 2022. DOI: 10.4007/annals.2022.196.1.1; arXiv:1411.0650. https://arxiv.org/abs/1411.0650
- Amin Coja-Oghlan. A better algorithm for random -SAT. SIAM Journal on Computing 39(7):2823–2864, 2010. DOI: 10.1137/09076516X; arXiv:0902.3583. https://arxiv.org/abs/0902.3583
- Dimitris Achlioptas, Amin Coja-Oghlan. Algorithmic barriers from phase transitions. Proceedings of FOCS 2008. arXiv:0803.2122. https://arxiv.org/abs/0803.2122
- Florent Krzakala, Andrea Montanari, Federico Ricci-Tersenghi, Guilhem Semerjian, Lenka Zdeborová. Gibbs states and the set of solutions of random constraint satisfaction problems. PNAS 104(25):10318–10323, 2007. DOI: 10.1073/pnas.0703685104. https://doi.org/10.1073/pnas.0703685104
- Guy Bresler, Brice Huang. The Algorithmic Phase Transition of Random -SAT for Low Degree Polynomials. Proceedings of FOCS 2022. arXiv:2106.02129. https://arxiv.org/abs/2106.02129
- Kun He, Kewen Wu, Kuan Yang. Improved Bounds for Sampling Solutions of Random CNF Formulas. Proceedings of SODA 2023, pages 3330–3361. DOI: 10.1137/1.9781611977554.ch128. https://doi.org/10.1137/1.9781611977554.ch128
- Chunyang Wang, Yitong Yin. A Sampling Lovász Local Lemma for Large Domain Sizes. Proceedings of FOCS 2024. arXiv:2307.14872. https://arxiv.org/abs/2307.14872
- Ahmed El Alaoui, David Gamarnik. Hardness of Sampling Solutions from the Symmetric Binary Perceptron. arXiv:2407.16627, 2024. https://arxiv.org/abs/2407.16627
- Victor Bapst, Amin Coja-Oghlan. The condensation phase transition in the regular -SAT model. arXiv:1507.03512, 2015. https://arxiv.org/abs/1507.03512
- Amin Coja-Oghlan, Charilaos Efthymiou, Nor Jaafari, Mihyun Kang, Tobias Kapetanopoulos. Charting the replica symmetric phase. Communications in Mathematical Physics 359(2):603–698, 2018. DOI: 10.1007/s00220-018-3096-x; arXiv:1704.01043. https://arxiv.org/abs/1704.01043
- Amin Coja-Oghlan, Tobias Kapetanopoulos, Noela Müller. The replica symmetric phase of random constraint satisfaction problems. Combinatorics, Probability and Computing 29(3):346–422, 2019. DOI: 10.1017/S0963548319000440; arXiv:1802.09311. https://arxiv.org/abs/1802.09311
- Dingding Dong, Nitya Mani. Random local access for sampling k-SAT solutions. Proceedings of SAT 2024. arXiv:2409.03951. https://arxiv.org/abs/2409.03951
- Hongyang Liu, Chunyang Wang, Yitong Yin, Yiyao Zhang, Can Zhou. A Counting and Sampling Lovász Local Lemma. arXiv:2608.08616, 2026. https://arxiv.org/abs/2608.08616
- Ivona Bezáková, Andreas Galanis, Leslie Ann Goldberg, Heng Guo, Daniel Štefankovič. Approximation via Correlation Decay When Strong Spatial Mixing Fails. SIAM Journal on Computing 48(2):279–349, 2019. DOI: 10.1137/16m1083906. https://doi.org/10.1137/16m1083906
- Jingcheng Liu, Yixiao Yu. Zero-free regions and concentration inequalities for hypergraph colorings in the local lemma regime. arXiv:2601.13796, 2026. https://arxiv.org/abs/2601.13796
- Jingcheng Liu, Chunyang Wang, Yitong Yin, Yixiao Yu. Phase Transitions via Complex Extensions of Markov Chains. Proceedings of STOC 2025. arXiv:2411.06857. https://arxiv.org/abs/2411.06857
- Hongyang Liu, Chunyang Wang, Yitong Yin. Local Gibbs sampling beyond local uniformity. arXiv:2502.10795, 2025. https://arxiv.org/abs/2502.10795
- Alankrita Bhatt, Mukur Gupta, Germain Kolossov, Andrea Montanari. Generating from Discrete Distributions Using Diffusions: Insights from Random Constraint Satisfaction Problems. arXiv:2603.20589, 2026. https://arxiv.org/abs/2603.20589