Computing & AIPreprintTheory3 min read

4.2668: A PROVEN CEILING FOR RANDOM LOGIC PUZZLES

Take N variables, each either true or false, and a list of clauses. A clause ties together k of the variables, some of them negated, with “or”: for k = 3, a clause might say “x₄ is true, or x₁₇ is false, or x₈₂ is true”. A formula, the list of all clauses, is satisfiable if at least one assignment of true and false makes every clause hold at once. This is the k-SAT problem.

Now choose the clauses at random, M of them, and call r = M/N, the number of clauses per variable, the density. With few clauses, a random formula is almost always satisfiable. With many, it almost never is. For every k from 3 up, there is a critical density r_k at which the switch happens as N grows: below it, random formulas are satisfiable with a probability that tends to 1; above it, they are not. That this sharp threshold exists was recently proved by Carenini. Where it lies is another question.

A prediction without a proof

More than twenty years ago, Mertens, Mézard and Zecchina attacked the question with the cavity method, a calculation that is not a rigorous proof. It runs a recursion called Survey Propagation on the tree-like network that links variables to clauses; a “survey” there is the probability that the other clauses force a given variable’s value. Once the recursion settles, its result gives a number called the complexity, and the predicted threshold is the density at which that number falls to zero. For k = 3, the prediction is about 4.2668 clauses per variable.

Turning this prediction into a theorem has been a long effort. In a major breakthrough, Ding, Sly and Sun proved that the prediction is exactly right, but only for k larger than some unspecified constant; their argument for the upper side alone needed k of at least 3,269 as written, and they could not extend it to every k from 3 up. Very recently, Vorobyev obtained an upper bound of 4.268 for k = 3 with a construction tailored to that case.

Every k, one ceiling

Dimitris Achlioptas, of the University of Athens, and Fedor Vorobyev, an independent researcher, now prove that for every k from 3 up, the threshold is at most the Survey Propagation prediction. For k = 3, that gives:

r₃ ≤ 4.26678429403

Above that density, the result is stronger than “unsatisfiable”: with a probability exponentially close to 1, every possible assignment violates a fixed fraction of the clauses.

The proof has two parts. The first states precisely what the established upper-bound method, called interpolation (it gradually replaces the clauses by random terms that each depend on a single variable), needs from the Survey Propagation recursion, and checks that it is enough, including in the delicate case where the complexity is exactly zero. The second, the main contribution, proves that the recursion started from the value 1/2 meets these requirements for every k from 3 up. For large k, from 10 on, the authors do this with general estimates. For k from 3 to 9, they do it case by case, with certified calculations: exact rational arithmetic, interval arithmetic that rounds every result outward on a grid as fine as 2⁻³⁸⁴, and forty separate density windows for k = 3 alone.

Certified digits, and a fast recipe

Along the way, the authors pin down the prediction itself with certified precision for k from 3 to 10: between 4.2667842934986 and 4.2667842940288 for k = 3, between 9.932385170 and 9.932389462 for k = 4, up to about 708.91528819 for k = 10. They also give an algorithm that encloses the prediction for any k in an interval as narrow as one wants, in a number of operations that grows only like a power of the number of digits. An ancillary proof filed with the paper details the error budget of this algorithm.

What is still open

The result is a ceiling, not the exact value. To prove that the threshold for k = 3 equals the prediction, one would also need a matching lower bound, the part that Ding, Sly and Sun describe as the main technical effort of their work for large k. For k = 3, the numerical gain over the recent 4.268 is small; the new step is that the Survey Propagation number is now a proven upper limit for every k from 3 up, computed to as many digits as anyone may want.