Algorithmic barriers from phase transitions

Dimitris Achlioptas, Amin Coja-Oghlan

Introduction

For many random Constraint Satisfaction Problems (CSP), such as random graph coloring, random kk-SAT, random Max kk-SAT, and hypergraph 2-coloring, by now, we have asymptotically tight estimates for the largest constraint density for which typical instances have solutions (see ). At the same time, all known efficient algorithms for each problem fair very poorly, i.e., they stop finding solutions at constraint densities much lower than those for which we can prove that solutions exist. Adding insult to injury, the best known algorithm for each problem asymptotically fairs no better than certain extremely naive algorithms for the problem.

For example, it has been known for nearly twenty years that the following very simple algorithm will find a satisfying assignment of a random kk-CNF formula with m=rnm=rn clauses for r=O(2k/k)r=O(2^{k}/k): if there is a unit clause satisfy it; otherwise assign a random value to a random unassigned variable. While it is known that random kk-CNF remain satisfiable for r=Θ(2k)r=\Theta(2^{k}), no polynomial-time algorithm is known to find satisfying assignments for r=(2k/k)⋅ω(k)r=(2^{k}/k)\cdot\omega(k) for some function ω(k)→∞\omega(k)\to\infty.

Similarly, for all k≥3k\geq 3, the following algorithm will kk-color a random graph with average degree d≤kln⁡kd\leq k\ln k: select a random vertex with fewest available colors left and assign it a random available color. While it is known that random graphs remains kk-colorable for d∼2 kln⁡kd\sim 2\,k\ln k, no polynomial-time algorithm is known that can kk-color a random graph of average degree (1+ϵ)kln⁡k(1+\epsilon)k\ln k for some fixed ϵ>0\epsilon>0 and arbitrarily large kk. Equivalently, while it is trivial to color a random graph using twice as many colors as its chromatic number, no polynomial-time algorithm is known that can get by with (2−ϵ)χ(2-\epsilon)\chi colors, for some fixed ϵ>0\epsilon>0.

Random kk-SAT and random graph coloring are not alone. In fact, for nearly every random CSP of interest, the known results establish a completely analogous state of the art:

There is a trivial upper bound on the largest constraint density for which solutions exist.

There is a non-constructive proof, usually via the second moment method, that the bound from (1) is essentially tight, i.e., that solutions do exist for densities nearly as high as the trivial upper bound.

Some simple algorithm finds solutions up to a constraint density much below the one from (2).

No polynomial-time algorithm is known to succeed for a density asymptotically greater than that in (3).

In this paper we prove that this is not a coincidence. Namely, for random graph coloring, random kk-SAT, and random hypergraph 2-coloring, we prove that the point where all known algorithms stop is precisely the point where the geometry of the space of solutions undergoes a dramatic change. This is known as a “dynamical” phase transition in statistical physics and our results establish rigorously for random CSPs a large part of the “1-step Replica Symmetry Breaking” hypothesis . Roughly speaking, this hypothesis asserts that while the set of solutions for low densities looks like a giant ball, at some critical point this ball shatters into exponentially many pieces that are far apart from one another and separated by huge “energy barriers”. Algorithms (even extremely simple ones) have no problem finding solutions in the “ball” regime, but no algorithm is known that can find solutions in the “error-correcting code” regime.

We believe that the presence of dynamical phase transitions in random CSPs is a very general phenomenon, whose qualitative characteristics should be problem-independent, i.e., universal. The fact that we can establish the exact same qualitative picture for a problem with binary constraints over kk-ary variables (random graph kk-coloring) and a problem with kk-ary constraints over binary variables (hypergraph 2-colorability) certainly lends support to this notion. That said, we wish to emphasize that determining for each random CSP the location of its dynamical phase transition (as we do in this paper for the three problems mentioned, in order to show that the transition coincides with the demise of all known algorithms) requires non-trivial, problem-specific ideas and computations.

Perhaps the following is an intuitive model of how a dynamical phase transition comes about. In random graph coloring, rather than thinking of the number of available colors as fixed and the constraint density (number of edges) as increasing, imagine that we keep the constraint density fixed, but we keep decreasing the number of available colors. If we start with qq available colors where q≫χq\gg\chi, it is reasonable to imagine that the set of valid qq-colorings, viewed as a subset of {1,2,…,q}n\{1,2,\ldots,q\}^{n}, has a nice “round” shape, the rounder the greater qq is relative to χ\chi. By the same token, when we restrict our attention to the set of those qq-colorings that only use colors {1,2,…,q−1}\{1,2,\ldots,q-1\}, we are taking a “slice’ of the set of qq-colorings. With each slicing the connectivity of the set at hands deteriorates, until at some point the set shatters. For example, slicing the 2-dimensional unit sphere through the origin yields a circle, but slicing the circle, yields a pair of points.

We conclude the introduction with a few words about the technical foundation for our work. To prove the existence (and determine the location) of a dynamical phase transition one needs access to statistical properties of the uniform measure over solutions. A geometric way of thinking about this is as follows. Given a CSP instance, say a kk-CNF formula with mm clauses chosen uniformly at random, consider the function HH on {0,1}n\{0,1\}^{n} that assigns to each truth assignment the number of clauses it violates. In this manner, HH defines a “landscape” in which satisfying assignments correspond to valleys at sea-level. Understanding statistical properties of the uniform measure over solutions amounts to understanding “the view” one enjoys from such a valley, a probabilistically formidable task. As we discuss in Section 4, we can establish the following: the number of solutions of a random CSP is sufficiently concentrated around its exponentially large expectation for the view from a random sea-level valley to be “the same” as the view from an “artificial” valley. That is, from the valley that results by first selecting a random σ∈{0,1}n\sigma\in\{0,1\}^{n} and then forming a random kk-CNF formula, also with mm clauses, but now chosen uniformly among the clauses satisfied by σ\sigma, i.e., the view from the planted satisfying assignment in the planted model. This is a much easier view to understand and we believe that the “transfer” theorems we establish in this paper will significantly aid in the analysis of random CSPs.

Statement of Results

The height of a path σ0,σ1,…,σt∈Dn\sigma_{0},\sigma_{1},\ldots,\sigma_{t}\in D^{n} is max⁡iH(σi)\max_{i}H(\sigma_{i}). We say that σ∈Dn\sigma\in D^{n} is a solution of an instance II, if H(σ)=0H(\sigma)=0. We will denote by S(I)\mathcal{S}(I) the set of all solutions of an instance II. The clusters of an instance II are the connected components of S(I)\mathcal{S}(I). A region is a non-empty union of clusters.

The term cluster comes from physics. Requiring \mboxdist(σ,τ)=1\mbox{dist}(\sigma,\tau)=1 to say that σ,τ\sigma,\tau are adjacent is somewhat arbitrary (but conceptually simplest) and a number of our results hold if one replaces 1 with o(n)o(n).

We will be interested in distributions of CSP instances as the number of variables nn grows. The set C=CnC=C_{n} will typically consist of all possible constraints of a certain type, e.g., the set of all (nk)\binom{n}{k} possible hyperedges in the problem of 2-coloring random kk-uniform hypegraphs. We let In,mI_{n,m} denote the set of all CSP instances with precisely mm distinct constraints from CnC_{n} and we let In,m\mathcal{I}_{n,m} denote the uniform distribution on the set of all instances In,mI_{n,m}. We will say that a sequence of events En\mathcal{E}_{n} holds with high probability (w.h.p.) if lim⁡n→∞Pr⁡[En]=1\lim_{n\to\infty}\Pr[\mathcal{E}_{n}]=1 and with uniformly positive probability (w.u.p.p.) if lim inf⁡n→∞Pr⁡[En]>0\liminf_{n\to\infty}\Pr[\mathcal{E}_{n}]>0. As per standard practice in the study of random structures, we will take the liberty of writing In,m\mathcal{I}_{n,m} to denote the underlying random variable and, thus, write things like “The probability that S(In,m)\mathcal{S}(\mathcal{I}_{n,m})…”

We say that the set of solutions of In,m\mathcal{I}_{n,m} shatters if there exist constants β,γ,ζ,θ>0\beta,\gamma,\zeta,\theta>0 such that w.h.p. S(In,m)\mathcal{S}(\mathcal{I}_{n,m}) can be partitioned into regions so that:

The number of regions is at least eβne^{\beta n}.

Each region contains at most an e−γne^{-\gamma n} fraction of all solutions.

The Hamming distance between any two regions is at least ζn\zeta n.

Every path between vertices in distinct regions has height at least θn\theta n.

Our first main result asserts that the space of solutions for random graph coloring, random kk-SAT, and random hypergraph 2-colorability shatters and that this shattering occurs just above the largest density for which any polynomial-time algorithm is known to find solutions for the corresponding problem. Moreover, we prove that the space remains shattered until, essentially, the CSP’s satisfiability threshold. More precisely:

– A random graph with average degree dd, i.e., m=dn/2m=dn/2, is w.h.p. kk-colorable for d≤(2−γk)kln⁡kd\leq(2-\gamma_{k})k\ln k, where γk→0\gamma_{k}\to 0. The best poly-time kk-coloring algorithm w.h.p. fails for d≥(1+δk)kln⁡kd\geq(1+\delta_{k})k\ln k, where δk→0\delta_{k}\to 0.

There exists a sequence ϵk→0\epsilon_{k}\to 0, such that the space of kk-colorings of a random graph with average degree dd shatters for all

– A random kk-CNF formula with nn variables and rnrn clauses is w.h.p. satisfiable for r≤2kln⁡2−kr\leq 2^{k}\ln 2-k. The best poly-time satisfiability algorithm w.h.p. fails for r>2k+1/kr>2^{k+1}/k. In , non-rigorous, but mathematically sophisticated evidence is given that a different algorithm succeeds for r=Θ((2k/k)ln⁡k)r=\Theta((2^{k}/k)\ln k), but not higher.

There exists a sequence ϵk→0\epsilon_{k}\to 0 such that the space of satisfying assignments of a random kk-CNF formula with rnrn clauses shatters for all

– A random kk-uniform hypergraph with nn variables and rnrn edges is w.h.p. 2-colorable for r≤2k−1ln⁡2−32r\leq 2^{k-1}\ln 2-\frac{3}{2}. The best poly-time 2-coloring algorithm w.h.p. fails for r>2k/kr>2^{k}/k. In , non-rigorous, but mathematically sophisticated evidence is given that a different algorithm succeeds for r=Θ((2k/k)ln⁡k)r=\Theta((2^{k}/k)\ln k), but not higher.

There exists a sequence ϵk→0\epsilon_{k}\to 0 such that the space of 2-colorings of a random kk-uniform hypergraph with rnrn edges shatters for all

As the notation in Theorems 2.1,2.2,2.3 is asymptotic in kk, the stated intervals may be empty for small values of kk. In this extended abstract we have not optimized the proofs to deliver the smallest values of kk for which the intervals are non-empty. Quick calculations suggest k≥6k\geq 6 for hypergraph 2-colorability, k≥8k\geq 8 for kk-SAT, and k≥20k\geq 20 for kk-coloring.

2 Rigidity

The regions mentioned in Theorems 2.1, 2.2 and 2.3 can be thought of as forming an error-correcting code in the solution-space of each problem. To make this precise we need to introduce the following definition and formalize the notion of “a random solution of a random instance”.

Given an instance II, a solution σ∈S(I)\sigma\in\mathcal{S}(I) and a variable v∈Vv\in V, we say that vv in (I,σ)(I,\sigma):

Is f(n)f(n)-rigid, if every τ∈S(I)\tau\in\mathcal{S}(I) such that τ(v)≠σ(v)\tau(v)\neq\sigma(v) has \mboxdist(σ,τ)≥f(n)\mbox{dist}(\sigma,\tau)\geq f(n).

Is f(n)f(n)-loose, if for every j∈Dj\in D, there exists τ∈S(I)\tau\in\mathcal{S}(I) such that τ(v)=j\tau(v)=j and \mboxdist(σ,τ)≤f(n)\mbox{dist}(\sigma,\tau)\leq f(n).

We will prove that while before the phase transition, in a typical solution, every variable is loose, after the phase transition nearly every variable is rigid. To formalize the notion of a random/typical solution, recall that In,mI_{n,m} denotes the set of all instances with mm constraints over nn variables and let Λ=Λn,m\Lambda=\Lambda_{n,m} denote the set of all instance–solution pairs, i.e., Λn,m={(I,σ):I∈In,m, σ∈S(I)}\Lambda_{n,m}=\{(I,\sigma):I\in{I}_{n,m},\,\sigma\in\mathcal{S}(I)\}. We let U=Un,m\mathcal{U}=\mathcal{U}_{n,m} be the probability distribution induced on Λn,m\Lambda_{n,m} by the following:

Choose an instance I∈In,mI\in I_{n,m} uniformly at random.

If S(I)≠∅\mathcal{S}(I)\neq\emptyset, select σ∈S(I)\sigma\in\mathcal{S}(I) uniformly at random.

We will refer to instance-solution pairs generated according to Un,m\mathcal{U}_{n,m} as uniform instance-solution pairs. We note that although the definition of uniform pairs allows for S(I)\mathcal{S}(I) to be typically empty, i.e., to be in the typically unsatisfiable regime, we will only employ the definition for constraint densities such that w.h.p. S(I)\mathcal{S}(I) contains exponentially many solutions. Hence, our liberty in also using the term a “typical” solution.

Let (I,σ)(I,\sigma) be a uniform instance-solution pair where:

II is a graph with dn/2dn/2 edges, where dd is as in (1), and σ\sigma is a kk-coloring of II, or,

II is a kk-CNF formula with rnrn clauses, where rr is as in (2), and σ\sigma is a satisfying assignment of II, or,

II is a kk-uniform hypergraph with rnrn edges, where rr is as in (3), and σ\sigma is a 2-coloring of II.

W.h.p. the number of rigid variables in (I,σ)(I,\sigma) is at least γkn\gamma_{k}n, for some sequence γk→1\gamma_{k}\to 1.

Theorem 2.4 is tight since for every finite constraint density, a random instance w.h.p. has Ω(n)\Omega(n) variables that are not bound by any constraint.

The picture drawn by Theorem 2.4, whereby nearly all variables are rigid in typical solutions above the dynamical phase transition, is in sharp contrast with our results for densities below the transition for graph coloring and hypergraph 2-colorability. While we believe that an analogous picture holds for kk-SAT, see Conjecture 1, for technical reasons we cannot establish this presently. (We discuss the additional difficulties imposed by random kk-SAT in Section 4.)

Let (I,σ)(I,\sigma) be a uniform instance-solution pair where:

II is a graph with dn/2dn/2 edges, where d≤(1−ϵk)kln⁡kd\leq(1-\epsilon_{k})k\ln k, and σ\sigma is a kk-coloring of II, or,

II is a kk-uniform hypergraph with rnrn edges, where r≤(1−ϵk)(2k−1/k)ln⁡kr\leq(1-\epsilon_{k})(2^{k-1}/k)\ln k, and σ\sigma is a 2-coloring of II.

There exists a sequence ϵk→0\epsilon_{k}\rightarrow 0 such that w.h.p. every variable in (I,σ)(I,\sigma) is o(n)o(n)-loose.

We note that in fact, for all dd and rr as in Theorem 2.5, w.u.p.p. (I,σ)(I,\sigma) is such that changing the color of any vertex to any color only requires changing the color of O(log⁡n)O(\log n) other vertices.

Let (I,σ)(I,\sigma) be a uniform instance-solution pair where II is a kk-CNF formula with rnrn clauses, where r≤(1−ϵk)(2k/k)ln⁡kr\leq(1-\epsilon_{k})(2^{k}/k)\ln k, and σ\sigma is a satisfying assignment of II. There exists a sequence ϵk→0\epsilon_{k}\rightarrow 0 such that w.h.p. every variable in (I,σ)(I,\sigma) is o(n)o(n)-loose.

Background and Related Work

Attempts for a “quick improvement” upon either of the naive algorithms mentioned in the introduction for satisfiability/graph coloring, stumble upon the following general fact. Given a CSP instance, consider the bipartite graph in which every variable is adjacent to precisely those constraints in which it appears, known as the factor graph of the instance. For random formulas/graphs, factor graphs are locally tree-like, i.e., for any arbitrarily large constant DD, the depth-DD neighborhood of a random vertex is a tree w.h.p. In other words, locally, random CSPs are trivial, e.g., random graphs of any finite average degree are locally 2-colorable. Moreover, as the constraint density is increased, the factor graphs of random CSPs get closer and closer to being biregular, so that degree information is not useful either. Combined, these two facts render all known algorithms impotent, i.e., as the density is increased, their asymptotic performance matches that of trivial algorithms.

In , Mézard, Parisi, and Zecchina proposed a new satisfiability algorithm called Survey Propagation (SP) which performs extremely well experimentally on instances of random 3-SAT. This was very surprising at the time and allowed for optimism that, perhaps, random kk-SAT instances might not be so hard. Moreover, SP was generalized to other problems, e.g., kk-coloring and Max kk-SAT . An experimental evaluation of SP for values of kk even as small as 5 or 6 is already somewhat problematic, but to the extent it is reliable it strongly suggests that SP does not find solutions for densities as high as those for which solutions are known to exist. Perhaps more importantly, it can be shown that for densities at least as high as 2kln⁡2−k2^{k}\ln 2-k, if SP can succeed at its main task (approximating the marginal probability distribution of the variables with respect to the uniform measure over satisfying assignments), so can a much simpler algorithm, namely Belief Propagation (BP), i.e., dynamic programming on trees.

The trouble is that to use either BP or SP to find satisfying assignments one sets variables iteratively. So, even if it is possible to compute approximately correct marginals at the beginning of the execution (for the entire formula), this can stop being the case after some variables are set. Concretely, in , Montanari et al. showed that (even within the relatively generous assumptions of statistical physics computations) the following Gibbs-sampling algorithm fails above the (2k/k)ln⁡k(2^{k}/k)\ln k barrier, i.e., step 2 below fails to converge after only a small fraction of all variables have been assigned a value:

Compute the marginal distribution of vv using Belief Propagation.

Set vv to {0,1}\{0,1\} according to the computed marginal distribution; simplify the formula; go to step 1.

2 Relating the Uniform and the Planted Model.

The idea of deterministically embedding a property inside a random structure is very old and, in general, the process of doing this is referred to as “planting” the property. In our case, we plant a solution σ\sigma in a random CSP, by only including constraints compatible with σ\sigma. Juels and Peinado were perhaps the first to explore the relationship between the planted and the uniform model and they did so for the clique problem in dense random graphs Gn,1/2G_{n,1/2}, i.e., where each edge appears independently with probability 1/2. They showed the distribution resulting from first choosing G=Gn,1/2G=G_{n,1/2} and then planting a clique of size (1+ε)log⁡2n(1+\varepsilon)\log_{2}n is very close to Gn,1/2G_{n,1/2} and suggested this as a scheme to obtain a one-way-function. Since the planted clique has size only (1+ε)log⁡2n(1+\varepsilon)\log_{2}n, the basic argument in is closely related to subgraph counting. In contrast, the objects under consideration in our work (kk-colorings, satisfying assignments, etc.) have an immediate impact on the global structure of the combinatorial object being considered, rather than just being local features, such as a clique on O(log⁡n)O(\log n) vertices.

Coja-Oghlan, Krivelevich, and Vilenchik proved that for constraint densities well above the threshold for the existence of solutions, the planted model for kk-coloring and kk-SAT is equivalent to the uniform distribution conditional on the (exponentially unlikely) existence of at least one solution. In this conditional distribution as well as in the high-density planted model, the geometry of the solution space is very simple, as there is precisely one cluster of solutions.

3 Solution-space Geometry

In the first steps were made towards understanding the solution-space geometry of random kk-CNF formulas by proving the existence of shattering and the presence of rigid variables for r=Θ(2k)r=\Theta(2^{k}). This was a far cry from the true r∼(2k/k)ln⁡kr\sim(2^{k}/k)\ln k threshold for the onset of both phenomena, as we establish here. Besides the quantitative aspect, there is also a fundamentally important difference in the methods employed in vs. those employed here. In those works, properties were established by taking a union bound over all satisfying assignments. It is not hard to show that the derived results are best possible using those methods and, in fact, there is good reason to believe that the results are genuinely tight, i.e., that for densities o(2k)o(2^{k}) the derived properties simply do not hold for all satisfying assignments. Here, we instead establish a systematic connection between the planted model and the process of sampling a random solution of a random instance. This argument allows us to analyze “typical” solutions while allowing for the possibility that a (relatively small, though exponential) number of “atypical” solutions exist. Therefore, we are for the first time in a position to analyze the extremely complex energy landscape of below-threshold instances of random CSPs, and to estimate quantities that appeared completely out of reach prior to this work.

Our Point of Departure: Symmetry, Randomness and Inversion

As mentioned, the results in this paper are enabled by a set of technical lemmas that allow one to reduce the study of “random solutions of random CSP instances” to the study of “planted CSP solutions”. The conceptual origin of these lemmas can be traced to the following humble observation.

Let MM be an arbitrary -11 matrix with the property that all its rows have the same number of 1s and all its columns have the same the number of 1s. A moment’s reflection makes it clear that for such a matrix, both of the following methods select a uniformly random 1 from the entire matrix:

Select a uniformly random column and then a uniformly random 1 in that column.

Select a uniformly random row and then a uniformly random 1 in that row.

An example of how we employ this fact for random CSPs is as follows. Let F\mathcal{F} be the set of all kk-CNF formulas with nn variables and mm distinct clauses (chosen among all 2k(nk)2^{k}\binom{n}{k} possible kk-clauses). Say that σ∈{0,1}n\sigma\in\{0,1\}^{n} NAE-satisfies a formula F∈FF\in\mathcal{F} if under σ\sigma, every clause of FF has at least one satisfied and at least one falsified literal. Let MM be the 2n×∣F∣2^{n}\times|\mathcal{F}| matrix whereMσ,F=1M_{\sigma,F}=1 iff σ∈{0,1}n\sigma\in\{0,1\}^{n} NAE-satisfies FF. By the symmetry of F\mathcal{F}, it is clear that all rows of MM have the same number of 1s. Imagine, for a moment, that the same was true for all columns. Then, a uniformly random solution of a uniformly random instance would be distributed exactly as a “planted” instance-solution pair: first select σ∈{0,1}n\sigma\in\{0,1\}^{n} uniformly at random; then select mm distinct clauses uniformly at random among all 2k−1(nk)2^{k-1}\binom{n}{k} clauses NAE-satisfied by σ\sigma.

Our contribution begins with the realization that exact row- and column-balance is not necessary. Rather, it is enough for the 1s in MM to be “well-spread”. More precisely, it is enough that the marginal distributions induced on the rows and columns of MM by selecting a uniformly random 1 from the entire matrix are both “reasonably close to” uniform. For example, assume we can prove that Ω(∣F∣)\Omega(|\mathcal{F}|) columns of MM have Θ(f(n))\Theta(f(n)) 1s, where f(n)f(n) is the average number of 1s per column. Indeed, this is precisely the kind of property implied by the success of the second moment method for random NAE-kk-SAT . Under this assumption, proving that a property holds w.u.p.p. for a uniformly random solution of a uniformly random instance, reduces to proving that it holds w.h.p. for the planted solution of a planted instance, a dramatically simpler task.

There is a geometric intuition behind our transfer theorems which is more conveniently described when every constraint is included independently with the same probability pp, i.e., we take p=m/(2k(nk))p=m/\left(2^{k}\binom{n}{k}\right). For all k≥3k\geq 3 and m=rnm=rn, it was shown in that the resulting instances w.u.p.p. have exponentially many solutions for r≤2k−1ln⁡2−3/2r\leq 2^{k-1}\ln 2-3/2. Consider now the following way of generating planted NAE kk-SAT instances. First, select a formula FF by including each clause with probability pp, exactly as above. Then, select σ∈{0,1}n\sigma\in\{0,1\}^{n} uniformly at random and remove from FF all constraints violated by σ\sigma. Call the resulting instance F′F^{\prime}. Our results say that as long as q≡r(1−2−k+1)≤2k−1ln⁡2−3/2q\equiv r(1-2^{-k+1})\leq 2^{k-1}\ln 2-3/2, the instance F′F^{\prime} is “nearly indistinguishable” from a uniform instance created by including each clause with probability qq. (We will make this statement precise shortly.)

To prove our transfer theorems we instantiate this idea for random graph kk-coloring, random kk-uniform hypergraph 22-coloring, and random kk-SAT. For this, a crucial step is deriving a lower bound on the number of solutions of a random instance. For example, in the case of random graph kk-coloring, we prove that the number of kk-colorings, ∣S(In,m)∣|\mathcal{S}(I_{n,m})|, for a random graph with nn vertices and mm edges is “concentrated” around its expectation in the sense that w.h.p.

To prove this, we use the upper bound on the second moment E[∣S(In,m)∣2]\mathbf{E}\left[{|\mathcal{S}(I_{n,m})|^{2}}\right] from to show that w.u.p.p. ∣S(In,m)∣=Ω(E∣S(In,m)∣)|\mathcal{S}(I_{n,m})|=\Omega(\mathbf{E}|\mathcal{S}(I_{n,m})|). Then, we perform a sharp threshold analysis, using theorems of Friedgut , to prove that (4) holds, in fact, with high probability. A similar approach applies to hypegraph 22-coloring.

The situation for random kk-SAT is more involved. Indeed, we can prove that the number of satisfying assignments is not concentrated around its expectation in the sense of (4). This problem is mirrored by the fact that the second moment of the number of satisfying assignments exceeds the square of the first moment by an exponential factor (for any constraint density). Nonetheless, letting Fk(n,m)F_{k}(n,m) denote a uniformly random kk-CNF formula with nn variables and mm clauses, combining techniques from with a sharp threshold analysis, we can derive a lower bound on the number of satisfying assignments that holds w.h.p., namely n−1ln⁡∣S(Fk(n,m))∣≥n−1ln⁡E∣S(Fk(n,m))∣−ϕ(k)n^{-1}\ln|\mathcal{S}(F_{k}(n,m))|\geq n^{-1}\ln\mathbf{E}|\mathcal{S}(F_{k}(n,m))|-\phi(k), where ϕ(k)→0\phi(k)\rightarrow 0 exponentially with kk. This estimates allows us to approximate the uniform model by the planted model sufficiently well in order to establish Theorems 2.2 and 2.4.

Proof sketches

Due to the space constraints, in the remaining pages we give proof sketches of our results for kk-coloring, to offer a feel of the transfer theorems and of the style of the arguments one has to employ given those theorems (actual proofs appear in the Appendix). The proofs for hypergraph 2-coloring are relatively similar, as it is also a “symmetric” CSP and the second moment methods works on its number of solutions. For kk-SAT, though, a significant amount of additional work is needed, as properties must be established with exponentially small error probability to overcome the large deviations in the number of satisfying assignments (proofs appear in the Appendix).

We consider a fixed number ε>0\varepsilon>0 and assume that k≥k0k\geq k_{0} for some sufficiently large k0=k0(ε)k_{0}=k_{0}(\varepsilon). We denote {1,…,k}\{1,\ldots,k\} as [k]\left[{k}\right]. We are interested in the probability distribution Un,m\mathcal{U}_{n,m} on Λn,m\Lambda_{n,m} resulting from first choosing a random graph G=G(n,m)G=G(n,m) and then a random kk-coloring of GG (if one exists). To analyze this distribution, we consider the distribution Pn,m\mathcal{P}_{n,m} on Λn,m\Lambda_{n,m} induced by following expermient.

Generate a uniformly random kk-partition σ∈[k]n\sigma\in\left[{k}\right]^{n}.

Generate a graph GG with mm edges chosen uniformly at random among the edges bicolored under σ\sigma.

The distribution Pn,m\mathcal{P}_{n,m} is known as the planted model.

Suppose that d=2m/n≤(2−ε)kln⁡kd=2m/n\leq(2-\varepsilon)k\ln k. There exists a function f(n)=o(n)f(n)=o(n) such that the following is true. Let D\mathcal{D} be any graph property such that G(n,m)G(n,m) has D\mathcal{D} with probability 1−o(1)1-o(1), and let E\mathcal{E} be any property of pairs (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m}. If for all sufficiently large nn

2 Loose Variables Below the Transition

Suppose that d≤(1−ε)kln⁡kd\leq(1-\varepsilon)k\ln k. Recall that a graph with vertex set VV is said to be ζ\zeta-choosable if for any assignments of color lists of length at least ζ\zeta to the elements of VV, there is a proper coloring in which every vertex receives a color from its list. To prove Theorem 2.5, we consider the property E\mathcal{E} that all vertices are o(n)o(n)-loose and the following condition D\mathcal{D}:

For any set S⊂VS\subset V of size ∣S∣≤g(n)|S|\leq g(n) the subgraph induced on SS is 44-choosable.

Here g(n)g(n) is some function such that f(n)≪g(n)=o(n)f(n)\ll g(n)=o(n), where f(n)f(n) is the function from Theorem 5.1. A standard argument shows that a random graph G(n,m)G(n,m), where m=O(n)m=O(n), satisfies D\mathcal{D} w.h.p.

By Theorem 5.1, we are thus left to establish (5). Let σ∈[k]n\sigma\in\left[{k}\right]^{n} be a uniformly random kk-partition, and let GG be a random graph with mm edges such that σ\sigma is a kk-coloring of GG. Since σ\sigma is uniformly random, we may assume that the color classes Vi=σ−1(i)V_{i}=\sigma^{-1}(i) satisfy ∣Vi∣∼n/k|V_{i}|\sim n/k. Let v0∈Vv_{0}\in V be any vertex, and let l≠σ(v0)l\not=\sigma(v_{0}) be the “target color” for v0v_{0}. Our goal is to find a coloring τ\tau such that τ(v0)=l\tau(v_{0})=l and \mboxdist(σ,τ)≤g(n)\mbox{dist}(\sigma,\tau)\leq g(n).

If vv has no neighbor in VlV_{l}, then we can just assign this color to v0v_{0}. Otherwise, we run the following process. In the course of the process, every vertex is either awake, dead, or asleep. Initially, all the neighbors of v0v_{0} in VlV_{l} are awake, vv is dead, and all other vertices are asleep. In each step of the process, pick an awake vertex ww arbitrarily and declare it dead (if there is no awake vertex, terminate the process). If there are at least five colors c1(w),…,c5(w)c_{1}(w),\ldots,c_{5}(w) available such that ww has no neighbor in Vci(w)V_{c_{i}(w)}, then we do nothing. Otherwise, we pick five colors c1(w),…,c5(w)c_{1}(w),\ldots,c_{5}(w) randomly and declare all asleep neighbors of ww in Vcj(w)V_{c_{j}(w)} awake for 1≤j≤51\leq j\leq 5.

With probability at least 1−exp⁡(−f(n))1-\exp(-f(n)) there are at most g(n)g(n) dead vertices when the process terminates.

The proof of Lemma 1 is based on relating our process to a subcritical branching process. The basic insight here is that when d<(1−ε)kln⁡kd<(1-\varepsilon)k\ln k it is very likely that a vertex ww has five immediately available colors. More precisely, for any ww the number of neighbors in any class ViV_{i} with i≠σ(w)i\not=\sigma(w) is asymptotically Poisson with mean (1+o(1))2m(k−1)n≤(1−ε+o(1))kln⁡kk−1(1+o(1))\frac{2m}{(k-1)n}\leq(1-\varepsilon+o(1))\frac{k\ln k}{k-1}. Hence, the probability that ww does not have a neighbor in ViV_{i} is about kε−1k^{\varepsilon-1}. As there are kk colors in total, we expect about (k−1)ε(k-1)^{\varepsilon} colors available for ww, i.e., a lot.

To obtain a new coloring τ\tau in which v0v_{0} takes color ll we consider the set DD of all dead vertices. We let τ(u)=σ(u)\tau(u)=\sigma(u) for all u∈V∖Du\in V\setminus D. Moreover, conditioning on the event D\mathcal{D}, we can assign to each w∈Dw\in D a color from the list {c1(w),…,c5(w)}∖{l}\{c_{1}(w),\ldots,c_{5}(w)\}\setminus\{l\}. Thus, the new coloring τ\tau differs from σ\sigma on at most ∣D∣≤g(n)=o(n)|D|\leq g(n)=o(n) vertices.

3 Rigid Variables Above the Transition

Suppose that d≥(1+ε)kln⁡kd\geq(1+\varepsilon)k\ln k. To prove Theorem 2.4 for coloring we apply Theorem 0.A.1 as follows. We let α,β>0\alpha,\beta>0 be sufficiently small numbers and denote by E\mathcal{E} the following property of a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m}:

Also, we let D\mathcal{D} be the property that the maximum degree is at most (ln⁡n)2(\ln n)^{2}.

We shall prove that for a pair (G,σ)(G,\sigma) chosen from Un,m\mathcal{U}_{n,m} a subgraph G∗G_{*} as in (6) exists w.h.p. If that is so, then every vertex in G∗G_{*} has at least one neighbor in every color class other than its own. Therefore, it is impossible to just assign a different color to any vertex in G∗G_{*}. In fact, since all vertices in G∗G_{*} have a lot (namely, at least βln⁡k\beta\ln k) of neighbors with every other color, the expansion properties of the random graph G(n,m)G(n,m) imply that recoloring any vertex vv in G∗G_{*} necessitates the recoloring of at least n/(kln⁡k)n/(k\ln k) further vertices. Loosely speaking, the conflicts resulting from recoloring vv spread so rapidly that we necessarily end up recoloring a huge number of vertices. Thus, all vertices in G∗G_{*} are n/(kln⁡k)n/(k\ln k)-rigid. Note that we can not hope for much better, as we can always recolor vv by swapping two color classes, i.e., ∼2n/k\sim 2n/k vertices.

To prove the existence of the subgraph G∗G_{*}, we establish the following.

Condition (5) holds for D\mathcal{D} and E\mathcal{E} as above.

To obtain Lemma 2, let (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} be a random pair chosen from the distribution Pn,m\mathcal{P}_{n,m}. We may assume that ∣σ−1(i)∣∼n/k|\sigma^{-1}(i)|\sim n/k for all ii. To obtain the graph G∗G_{*}, we perform a “stripping process”. As a first step, we obtain a subgraph HH by removing from GG all vertices that have fewer than γln⁡k\gamma\ln k neighbors in any color class other than their own. If γ=γ(ε)\gamma=\gamma(\varepsilon) is sufficiently small, then the expected number of vertices removed in this way is less than nk−δnk^{-\delta} for a δ>0\delta>0, because for each vertex ww the expected number of neighbors in another color class is bigger than (1+ε)ln⁡k(1+\varepsilon)\ln k. Then, we keep removing vertices from HH that have “a lot” of neighbors outside of HH. Given the event D\mathcal{D}, we then show that with probabiltiy 1−exp⁡(−Ω(n))1-\exp(-\Omega(n)) the final result of this process is a subgraph G∗G_{*} that satisfies (6).

4 Proof of Theorem 2.1

Theorem 2.1 concerns the “view” from a random coloring σ\sigma of G(n,m)G(n,m). Basically, our goal is to show that only a tiny fraction of all possible colorings are “visible” from σ\sigma, i.e., σ\sigma lives in a small, isolated valley. To establish the theorem, we need a way to measure how “close” two colorings σ,τ\sigma,\tau are. The Hamming distance is inappropriate here because two colorings σ,τ\sigma,\tau can be at Hamming distance nn, although τ\tau simply results from permuting the color classes of σ\sigma, i.e., although σ\sigma and τ\tau are essentially identical. Instead, we shall use the following concept. Given two coloring σ,τ\sigma,\tau, we let Mσ,τ=(Mσ,τij)1≤i,j≤kM_{\sigma,\tau}=(M^{ij}_{\sigma,\tau})_{1\leq i,j\leq k} be the matrix with entries

To measure how close τ\tau is to σ\sigma we let

be the squared Frobenius norm of Mσ,τM_{\sigma,\tau}. Observe that this quantity reflects the probability that a single random edge is monochromatic under both σ\sigma and τ\tau, i.e., the correlation of σ\sigma and τ\tau, precisely as desired. Hence, fσf_{\sigma} is a map from the set [k]n\left[{k}\right]^{n} of kk-partitions to the interval [k−2,fσ(σ)]\left[{k^{-2},f_{\sigma}(\sigma)}\right], where fσ(σ)≥k−1f_{\sigma}(\sigma)\geq k^{-1}. Thus, the larger fσ(τ)f_{\sigma}(\tau), the more τ\tau resembles σ\sigma. Furthermore, for a fixed σ∈S(G)\sigma\in\mathcal{S}(G) and a number λ>0\lambda>0 we let

In order to show that S(Gn,m)\mathcal{S}(G_{n,m}) with m=rnm=rn decomposes into exponentially many regions, we employ the following lemma.

Suppose that r>(12+εk)kln⁡kr>(\frac{1}{2}+\varepsilon_{k})k\ln k. There are numbers k−2<y1<y2<k−1k^{-2}<y_{1}<y_{2}<k^{-1} and λ,γ>0\lambda,\gamma>0 such that with high probability a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} chosen from the distributoin Un,m\mathcal{U}_{n,m} has the following two properties.

For all x∈[y1,y2]x\in\left[{y_{1},y_{2}}\right] we have gσ,G,λ(x)=0g_{\sigma,G,\lambda}(x)=0.

The number of colorings τ∈S(G)\tau\in\mathcal{S}(G) such that fσ(τ)>y2f_{\sigma}(\tau)>y_{2} is at most exp⁡(−γn)⋅∣S(G)∣\exp(-\gamma n)\cdot|\mathcal{S}(G)|.

Let G=Gn,mG=G_{n,m} be a random graph and call σ∈S(G)\sigma\in\mathcal{S}(G) good if both (1) and (2) hold. Then Lemma 3 states that w.h.p. a 1−o(1)1-o(1)-fraction of all σ∈S(G)\sigma\in\mathcal{S}(G) are good. Hence, to decompose S(G)\mathcal{S}(G) into regions, we proceed as follows. For each σ∈S(G)\sigma\in\mathcal{S}(G) we let Cσ={τ∈S(G):fσ(τ)>y2}.\mathcal{C}_{\sigma}=\{\tau\in\mathcal{S}(G):f_{\sigma}(\tau)>y_{2}\}. Then starting with the set S=S(G)S=\mathcal{S}(G) and removing iteratively some Cσ\mathcal{C}_{\sigma} for a good σ∈S\sigma\in S yields an exponential number of regions. Furthermore, each such region Cσ\mathcal{C}_{\sigma} is separated by a linear Hamming distance from the set S(G)∖Cσ\mathcal{S}(G)\setminus\mathcal{C}_{\sigma}, because fσf_{\sigma} is “continuous” with respect to n−1×n^{-1}\timesHamming distance. Thus, Theorem 2.1 follows from Lemma 3.

Finally, by Theorem 5.1, to prove Lemma 3 it is sufficient to show the following.

Suppose that r>(12+εk)kln⁡kr>(\frac{1}{2}+\varepsilon_{k})k\ln k. There are k−2<y1<y2<k−1k^{-2}<y_{1}<y_{2}<k^{-1} and λ,γ>0\lambda,\gamma>0 such that with probability at least 1−exp⁡(−Ω(n))1-\exp(-\Omega(n)) a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} chosen from the distributoin Pn,m\mathcal{P}_{n,m} has the two properties stated in Lemma 3.

The proof of Lemma 4 is based on the “first moment method”. That is, for any k−2<y<k−1k^{-2}<y<k^{-1} we compute the expected number of assignments τ∈[k]n\tau\in\left[{k}\right]^{n} such that fσ(τ)=yf_{\sigma}(\tau)=y and H(τ)≤λnH(\tau)\leq\lambda n. This computation is feasible in the planted model and yields similar expressions as encountered in in the course of computing the second moment of the number of kk-colorings. Therefore, we can show that the expected number of such assignments τ\tau is exponentially small for a regime y1<y<y2y_{1}<y<y_{2}, whence Lemma 21 follows from Markov’s inequality.

References

Appendix 0.A Graph coloring

In this section we consider a fixed number ε>0\varepsilon>0 and assume that k≥k0k\geq k_{0} for some sufficiently large k0=k0(ε)k_{0}=k_{0}(\varepsilon). We are interested in the probability distribution Un,m\mathcal{U}_{n,m} on Λn,m\Lambda_{n,m}. To analyze this distribution, we consider the distribution Pn,m\mathcal{P}_{n,m} on Λn,m\Lambda_{n,m} induced by following expermient (“planted model”).

Generate a uniformly random kk-partition σ∈[k]n\sigma\in\left[{k}\right]^{n}.

Generate a graph GG with mm edges chosen uniformly at random among the edges bicolored under σ\sigma.

Suppose that d=2m/n<(2−ε)kln⁡kd=2m/n<(2-\varepsilon)k\ln k. There exists a function f(n)=o(n)f(n)=o(n) such that the following is true. Let D\mathcal{D} be any graph property such that G(n,m)G(n,m) has D\mathcal{D} with probability 1−o(1)1-o(1), and let E\mathcal{E} be any property of pairs (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m}. If for all sufficiently large nn we have

For a given assignment σ∈[k]n\sigma\in\left[{k}\right]^{n} we let G(σ)G(\sigma) be the set of all graphs with mm edges for which σ\sigma is a proper coloring. Then it is immediate that

Let γ>0\gamma>0 be sufficiently small. Moreover, let ni=∣σ−1(i)∣n_{i}=|\sigma^{-1}(i)|, δi=ni−n/k\delta_{i}=n_{i}-n/k, and N=(1−k−1)(n2)N=(1-k^{-1})\binom{n}{2}. Then ∑iδi=0\sum_{i}\delta_{i}=0. Therefore,

Since for a random σ\sigma the numbers nin_{i} are multinomially distributed, with probability Ω(1)\Omega(1) we have ∣ni−nk∣<γn/k|n_{i}-\frac{n}{k}|<\sqrt{\gamma n/k}. Hence, letting N(σ)=∑i<jninjN(\sigma)=\sum_{i<j}n_{i}n_{j}, we conclude that there is a constant ρ>0\rho>0 such that

Thus, by Stirling’s formula with probability at least ρ\rho we have

Since N=Ω(n2)N=\Omega(n^{2}) and m=O(n)m=O(n), in the case N(σ)≥N−γnN(\sigma)\geq N-\gamma n we have

We have ∣Λn,m∣≥ρ2knλ|\Lambda_{n,m}|\geq\rho^{2}k^{n}\lambda.

because ∣G(σ)∣≤λ|G(\sigma)|\leq\lambda for all σ\sigma. Hence, Corollary 1 yields

There is a function f(n)=o(n)f(n)=o(n) such that ∣S(Gn,m)∣≥exp⁡(−f(n))μ|\mathcal{S}(G_{n,m})|\geq\exp(-f(n))\mu with high probability.

Since f(n)=o(n)f(n)=o(n), this contradicts Lemma 6. ∎

A.2 Proof of Lemma 7

To prove Lemma 7, we combine the second moment argument from with a sharp threshold argument. Let G=G(n,m)G=G(n,m) be a random graph and let XX be the number of balanced colorings of GG, i.e., colorings σ∈[k]n\sigma\in\left[{k}\right]^{n} such that ∣σ−1(i)−n/k∣≤1|\sigma^{-1}(i)-n/k|\leq 1 for all 1≤i≤k1\leq i\leq k. Recall that S(G)\mathcal{S}(G) denotes the set of all kk-colorings of GG. A direct computation involving Stirling’s formula shows that

In addition, [4, Section 3] shows that there is a constant C=C(k)C=C(k) such that

Applying the Paley-Zigmund inequality, we thus conclude that there is a number α=α(k)>0\alpha=\alpha(k)>0 such that

where r=m/nr=m/n. Thus, we obtain the following.

To complete the proof of Lemma 7, we combine Lemma 8 with a sharp threshold result. Let Aξ\mathcal{A}_{\xi} be the property that a graph GG on nn vertices has less than ξn\xi^{n} kk-colorings.

For any fixed ξ>0\xi>0 the property Aξ\mathcal{A}_{\xi} has a sharp threshold. That is, there is a sequence rnr_{n} such that for any ε>0\varepsilon>0 we have

We shall prove Lemma 9 in Appendix 0.A.3. Lemma 7 is an immediate consequence of Lemmas 8 and 9.

A.3 Proof of Lemma 9

The property Aξ\mathcal{A}_{\xi} is monotone under the addition of edges. Therefore, it is sufficient to prove that Aξ\mathcal{A}_{\xi} has a sharp threshold in the random graph G(n,p)G(n,p), in which edges are added with probability pp independently. Let N=ξn\mathcal{N}=\xi^{n}. The argument builds upon . We denote the set of kk-colorings of a graph GG by S(G)\mathcal{S}(G).

Let ω\omega be a (very) slow growing function of nn. Moreover, let Ei\mathcal{E}_{i} be the event that the first ii constraints: “vjv_{j} must not receive color cjc_{j}” for 1≤j≤i1\leq j\leq i, cause the number of kk-colorings to be at most N′\mathcal{N}^{\prime}. Then given that G=G(n,p)G=G(n,p) has more than N′\mathcal{N}^{\prime} kk-colorings (i.e., coditional on the event Eˉ0\bar{\mathcal{E}}_{0}), the probability of EM\mathcal{E}_{M} is at least 12\frac{1}{2}. Hence, conditional on Eˉ0\bar{\mathcal{E}}_{0}, we have

Since for each of the yy colorings the probability that a new random edge spoils this coloring is k−1k^{-1}, we can reduce the number of colorings to at most N′\mathcal{N}^{\prime} by adding ω\omega random edges (use Markov’s inequality).

Now, note that instead of first imposing the M−1M-1 constraints w1,…,wM−1w_{1},\ldots,w_{M-1} and then adding the random edges as in Cases 1 and 2 we could first add a set of 2ω102\omega^{10} random edges to G(n,p)G(n,p). As ω10\omega^{10} is of smaller order than the standard deviation of the number of edges of G(n,p)G(n,p), the resulting distribution is within o(1)o(1) from the originial distribution G(n,p)G(n,p) in total variation distance. Therefore, we conclude that actually just imposing the M−1M-1 constraints w1,…,wM−1w_{1},\ldots,w_{M-1} suffices to increase the probability of having ≤N′\leq\mathcal{N}^{\prime} kk-colorings to 1−τ/2+o(1)1-\tau/2+o(1). ∎

Applying the lemma MM times, we can reduce the number of constraints that is necessary to reduce the number of colorings to ≤N′\leq\mathcal{N}^{\prime} to . ∎

To prove that Aξ\mathcal{A}_{\xi} has a sharp threshold, we assume for contratiction that this is not so. Hence, there exists an edge probability p∗p^{*} such that the probability that Gn,p∗G_{n,p^{*}} has Aξ\mathcal{A}_{\xi} is exactly equal to 1−t1-t for a small t>0t>0. Further, by [15, Theorem 2.4] there exists a fixed graph RR on rr vertices such that with probability >1−t/3>1-t/3 the following is true. If we first pick G=Gn,p∗G=G_{n,p^{*}} and then insert a random copy of RR into GG, then the resulting graph has Aξ\mathcal{A}_{\xi}. Furthermore, this graph RR is kk-colorable. In fact, by monotonicity we may assume that RR is uniquely kk-colorable. The experiment of inserting a random copy of RR into Gn,p∗G_{n,p^{*}} is actually equivalent to the following (because Gn,p∗G_{n,p^{*}} is symmetric with respect to vertex permutations). We let GRG_{R} denote a random graph obtained by first inserting a copy of RR into the first rr vertices v1,…,vrv_{1},\ldots,v_{r}, and then adding edges with probability p∗p^{*} independently (among all nn vertices v1,…,vnv_{1},\ldots,v_{n}). Then the probability that GRG_{R} has Aξ\mathcal{A}_{\xi} is at least 1−t/31-t/3. Hence,

Let G^\hat{G} signify the subraph of GRG_{R} induced on the n−rn-r vertices vr+1,…,vnv_{r+1},\ldots,v_{n}. Then G^=Gn−r,p∗\hat{G}=G_{n-r,p^{*}}, and (9) implies that

Furthermore, we can relate the kk-colorings of GRG_{R} and the kk-colorings of G^\hat{G} as follows. Let QQ be the set of edges from the set {v1,…,vr}\{v_{1},\ldots,v_{r}\} to {vr+1,…,vn}\{v_{r+1},\ldots,v_{n}\}. Then w.h.p. ∣Q∣=O(1)|Q|=O(1) and no vertex in {vr+1,…,vn}\{v_{r+1},\ldots,v_{n}\} is incident to more than one edge in QQ. Furthermore, since RR admits a unique kk-coloring, each edge in QQ forbids its endpoint in {vr+1,…,vn}\{v_{r+1},\ldots,v_{n}\} exactly one color. Hence, the edges in QQ impose constraints c1,…,cMc_{1},\ldots,c_{M} on M=∣Q∣M=|Q| randomly chosen vertices w1,…,wMw_{1},\ldots,w_{M} as in Lemma 10. Therefore, (8) implies that

Furthermore, as we may add another ln⁡n\ln n random edges to G^\hat{G} without shifting the distribution by more than o(1)o(1) in total variation distance, and since each of these ln⁡n\ln n edges reduces the expected number of colorings by k−1k^{-1}, Markov’s inequality entails that

A.4 Proof of Theorem 2.5

Suppose that d≤(1−ε)kln⁡kd\leq(1-\varepsilon)k\ln k, and that k≥k0(ε)k\geq k_{0}(\varepsilon) for a sufficiently large k0(ε)k_{0}(\varepsilon). Let q=5q=5 and recall that a graph is ζ\zeta-choosable if for any assignments of color lists of length at least ζ\zeta to the vertices of the graph there is a proper coloring such that each vertex receives a color from its list. To prove Theorem 2.5, we consider the property E\mathcal{E} that all vertices are loose and the following condition D\mathcal{D}:

For any set S⊂VS\subset V of size ∣S∣≤g(n)|S|\leq g(n) the subgraph induced on SS is (q−1)(q-1)-choosable.

Here q>0q>0 is a constant and g(n)=nf(n)=o(n)g(n)=\sqrt{nf(n)}=o(n), where f(n)f(n) is the function from Theorem 0.A.1.

With high probability the random graph G(n,m)G(n,m) satisfies D\mathcal{D}.

Since m=O(n)m=O(n), this follows from a standard first moment argument. ∎

By Theorem 0.A.1, we just need to establish (7). Thus, let σ∈[k]n\sigma\in\left[{k}\right]^{n} be a coloring such that the color classes Vi=σ−1(i)V_{i}=\sigma^{-1}(i) satisfy ∣Vi∣∼n/k|V_{i}|\sim n/k, and let GG be a random graph with mm edges such that σ\sigma is a kk-coloring of GG. Let v0∈Vv_{0}\in V be any vertex; without loss of generality we may assume that σ(v0)=1\sigma(v_{0})=1. In addition, let 1<l≤k1<l\leq k be the “target color” for v0v_{0}. If v0v_{0} has no neighbor in VlV_{l}, then we can just assign this color to v0v_{0}.

Otherwise, we run the following process. In the course of the process, every vertex is either awake, dead, or asleep. Initially, all the neighbors of v0v_{0} in VlV_{l} are awake, vv is dead, and all other vertices are asleep. In each step of the process, pick an awake vertex ww arbitrarily and declare it dead (if there is no awake vertex, terminate the process). If there are at least qq colors c1(w),…,cq(w)c_{1}(w),\ldots,c_{q}(w) such that ww has no neighbor in Vci(w)V_{c_{i}(w)}, then we do nothing. Otherwise, we pick qq colors c1(w),…,cq(w)c_{1}(w),\ldots,c_{q}(w) randomly and declare all asleep neighbors of ww in Vcj(w)V_{c_{j}(w)} awake for 1≤j≤q1\leq j\leq q.

With probability at least 1−exp⁡(−f(n))1-\exp(-f(n)) there are at most g(n)g(n) dead vertices when the process terminates.

We show that the aforementioned process is dominated by a branching process in which the expected number of successors is less than one. Then the assertion follows from Chernoff bounds.

To set up the analogy, note that the expected number of neighbors of any w∈V∖Viw\in V\setminus V_{i} in ViV_{i} is asymptotically 2m/k<1−ε1−k⋅ln⁡k2m/k<\frac{1-\varepsilon}{1-k}\cdot\ln k. Hence, the probability that ww has no neighbor in ViV_{i} is at least kε/2−1k^{\varepsilon/2-1}. Therefore, the expected number of classes i≠σ(w)i\not=\sigma(w) in which ww has no neighbor is at least (k−1)kε/2−1≥kε/3(k-1)k^{\varepsilon/2-1}\geq k^{\varepsilon/3}. Furthermore, the number of such classes is asymptotically binomially distributed. Therefore, assuming that kk is sufficiently large, we conclude that the probability that there are less than qq classes in which ww has no neighbor is less than k−1k^{-1}. Given that this is so, the number of neighbors of ww in each of the qq chosen classes c1(w),…,cq(w)c_{1}(w),\ldots,c_{q}(w) has mean at most 2ln⁡k2\ln k. Therefore, the expected number of newly awake vertices resulting from ww is at most 2k−1ln⁡k2k^{-1}\ln k. Thus, the above process is dominated by a branching process with successor rate 2k−1ln⁡k<12k^{-1}\ln k<1. Therefore, the assertion follows from stochastic domiance and Chernoff bounds. ∎

Proof of Theorem 2.5. Let SS be the set of dead vertices left by the aforementioned process. By Lemma 12 we may assume that ∣W∣≤g(n)|W|\leq g(n). Hence, conditioning on D\mathcal{D}, we may assume that SS is (q−1)(q-1)-choosable. Now, we assign lists of colors to the vertices in SS as follows. The list of v0v_{0} just consists of its target color ll. To any other w∈Ww\in W we assign the list Lw={c1(w),…,cq(w)}∖{l}L_{w}=\{c_{1}(w),\ldots,c_{q}(w)\}\setminus\{l\}. Now, we can color the subgraph G[S]G\left[{S}\right] by assigning color ll to vv and a color from LwL_{w} to any other w∈Ww\in W. We extend this to a coloring of GG by assigning color σ(u)\sigma(u) to any u∈V∖Wu\in V\setminus W. Let τ\tau signify the resulting coloring.

We claim that τ\tau is a proper coloring of GG. For both the subgraph induced on WW and the subgraph induced on V∖WV\setminus W are properly colored. Moreover, by construction no w∈W∖{v}w\in W\setminus\{v\} is adjacent to a vertex of color cj(w)c_{j}(w) in V∖WV\setminus W. Finally, σ\sigma and τ\tau are at Hamming distance at most ∣W∣≤g(n)=o(n)|W|\leq g(n)=o(n). Hence, the assertion follows from Theorem 0.A.1. ∎

A.5 Rigid variables

Let α,ε>0\alpha,\varepsilon>0, and assume that k≥k0(ε)k\geq k_{0}(\varepsilon) for a large enough k0(ε,α)>0k_{0}(\varepsilon,\alpha)>0. Suppose that (1+ε)kln⁡k≤d=2m/n≤(2−ε)kln⁡k(1+\varepsilon)k\ln k\leq d=2m/n\leq(2-\varepsilon)k\ln k. To prove Theorem 2.4 for coloring, we apply Theorem 0.A.1 as follows. We let β=β(ε,α)>0\beta=\beta(\varepsilon,\alpha)>0 be a sufficiently small number and denote by E\mathcal{E} the following property of a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m}.

Also, we let D\mathcal{D} be the property that the maximum degree is at most ln⁡2n\ln^{2}n.

Condition (7) is satisfied with D\mathcal{D} and E\mathcal{E} as above.

Proof of Theorem 2.4 for coloring. Given a random coloring σ\sigma of a random graph G=G(n,m)G=G(n,m), Lemma 13 and Theorem 0.A.1 imply that w.h.p. there is a subgraph G∗G_{*} satisfying (11). In addition, we assume that GG has the following property.

A standard 1st moment argument shows that (12) holds in G(n,m)G(n,m) w.h.p.

Assume for contradiction that there is another coloring τ\tau such that the set U={v∈G∗:σ(v)≠τ(v)}U=\{v\in G_{*}:\sigma(v)\not=\tau(v)\} has size ∣U∣≤n/(kln⁡k)|U|\leq n/(k\ln k). Let Ui+={v∈G∗:τ(v)=i≠σ(v)}U_{i}^{+}=\{v\in G_{*}:\tau(v)=i\not=\sigma(v)\} and Ui−={v∈G∗:σ(v)=i≠τ(v)}U_{i}^{-}=\{v\in G_{*}:\sigma(v)=i\not=\tau(v)\}. Then

Every v∈G∗∖Viv\in G_{*}\setminus V_{i} has at least βln⁡k\beta\ln k neighbors in G∗∩σ−1(i)G_{*}\cap\sigma^{-1}(i). Hence, if v∈Ui+v\in U_{i}^{+}, then all of these neighbors lie inside of Ui−U_{i}^{-}. We claim that this implies that ∣Ui+∣<∣Ui−∣|U_{i}^{+}|<|U_{i}^{-}|. For assume that Ui+≥Ui−U_{i}^{+}\geq U_{i}^{-} and set S=Ui+∪Ui−S=U_{i}^{+}\cup U_{i}^{-}. Then ∣S∣≤∣U∣≤n/(kln⁡k)|S|\leq|U|\leq n/(k\ln k), and SS spans at least ∣S∣β2ln⁡k|S|\frac{\beta}{2}\ln k edges, in contradiction to (12). Thus, we conclude that ∣Ui+∣<∣Ui−∣|U_{i}^{+}|<|U_{i}^{-}| for all ii, in contradiction to (13). Hence, all the vertices in G∗G_{*} are Ω(n)\Omega(n)-rigid. ∎

A.6 Proof of Lemma 13

Let (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} be a random pair chosen from the distribution Pn,m\mathcal{P}_{n,m}. We may assume that ∣σ−1(i)∣∼n/k|\sigma^{-1}(i)|\sim n/k for all ii and let Vi=σ−1(i)V_{i}=\sigma^{-1}(i). To simplify the analysis, we shall replace the random graph GG, which has a fixed number mm of edges, by a random graph G′G^{\prime} in which is obtained by including each edge {v,w}\{v,w\} with σ(v)≠σ(w)\sigma(v)\not=\sigma(w) with probability pp independently. Here pp is chosen so that the expected number ∑1≤i<j≤k∣Vi∣⋅∣Vj∣⋅p\sum_{1\leq i<j\leq k}|V_{i}|\cdot|V_{j}|\cdot p of edges of G′G^{\prime} equals mm.

Thus, in the sequel we will work with G′G^{\prime} rather than GG. Let γ=γ(ε)>0\gamma=\gamma(\varepsilon)>0 be a sufficiently small number, and let Vi=σ−1(i)V_{i}=\sigma^{-1}(i). Moreover, for a vertex vv and a set Z⊂VZ\subset V let e(v,Z)e(v,Z) signify the number of vv-ZZ-edges in G′G^{\prime}. We construct a subgraph G∗G_{*} of G′G^{\prime} as follows.

Let Wij={v∈Vi:e(v,Vj)<γln⁡k}W_{ij}=\{v\in V_{i}:e(v,V_{j})<\gamma\ln k\}, Wi=⋃j=1kWijW_{i}=\bigcup_{j=1}^{k}W_{ij}, and W=⋃i=1kWiW=\bigcup_{i=1}^{k}W_{i}.

Let Uil={v∈Vl:e(v,Wi)>γ2ln⁡k}U_{il}=\{v\in V_{l}:e(v,W_{i})>\frac{\gamma}{2}\ln k\} and U=⋃i≠lUilU=\bigcup_{i\not=l}U_{il}.

Let Z=UZ=U. While there is a vertex v∈V∖Zv\in V\setminus Z that has at least 1010 neighbors in ZZ, add vv to ZZ.

Let G∗=G′−⋃i=1kWi−ZG_{*}=G^{\prime}-\bigcup_{i=1}^{k}W_{i}-Z.

For each vertex v∈Viv\in V_{i} and each color j≠ij\not=i the expected number of neighbors of vv with color ii is ∣Vi∣⋅2mn∼(1+2ε)ln⁡k|V_{i}|\cdot\frac{2m}{n}\sim(1+2\varepsilon)\ln k. Hence, the sets WijW_{ij} contain those vertices form ViV_{i} that have a lot fewer neighbors with color jj than expected.

There is a number β=β(ε)>0\beta=\beta(\varepsilon)>0 such that with probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) we have ∣Wij∣<nk−2−β|W_{ij}|<nk^{-2-\beta} for any i,ji,j. Hence, ∣Wi∣≤nk−1−β|W_{i}|\leq nk^{-1-\beta}, and ∣W∣≤nk−β|W|\leq nk^{-\beta}.

In the random graph G′G^{\prime} for each v∈Viv\in V_{i} the number e(v,Vj)e(v,V_{j}) is binomially distributed. Hence, the probability that e(v,Vj)<γln⁡ke(v,V_{j})<\gamma\ln k is at most exp⁡(−(1+ε′)ln⁡k)\exp(-(1+\varepsilon^{\prime})\ln k), where ε′>0\varepsilon^{\prime}>0 depends only on ε\varepsilon and γ\gamma. Furthermore, as in G′G^{\prime} edges occur independently, ∣Wij∣|W_{ij}| is binomially distributed as well (with mean ≤nk⋅exp⁡(−(1+ε′)ln⁡k)\leq\frac{n}{k}\cdot\exp(-(1+\varepsilon^{\prime})\ln k)). Therefore, the assertion follows from Chernoff bounds. ∎

Each of the vertices in UU has a lot of neighbors in the small set WW. Therefore, since the random graph G′G^{\prime} is a good expander, we expect UU to be much smaller than WW.

Given that D\mathcal{D} occurs, with probability at least 1−exp⁡(−Ω(n))1-\exp(-\Omega(n)) the set UU contains at most nk−7nk^{-7} vertices.

With probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) the set ZZ contains at most nk−6nk^{-6} vertices.

Assume that this is not the case. Let YY contain all vertices of UU and the first nk−6−∣U∣nk^{-6}-|U| vertices added to ZZ by step 3 of the construction of G∗G_{*}. Then ∣Y∣≤nk−6|Y|\leq nk^{-6} and e(Y)≥9∣Y∣e(Y)\geq 9|Y|. However, a simple first moment argument shows that the probability that a set YY with these two properties is present in G′G^{\prime} is at most ≤exp⁡(−Ω(n))\leq\exp(-\Omega(n)). ∎

Combining Lemma 15, 16, and 17, we conclude that G∗G_{*} contains at least n(1−α)n(1-\alpha) vertices (provided that kk is sufficiently larger). Moreover, the construction of G∗G_{*} ensures that this graph satisfies (11).

A.7 Proof of Lemma 14

Given that G′G^{\prime} has exactly mm edges, G′G^{\prime} is just a uniformly random graph with planted coloring V1,…,VkV_{1},\ldots,V_{k}. That is, given that the number of edges is mm, G′G^{\prime} is identically distributed to GG. Therefore,

Furthermore, since m=O(n)m=O(n), with probability 1−o(1)1-o(1) the maximum degree of GG as well as of G′G^{\prime} is at most ln⁡n\ln n. Therefore, G,G′G,G^{\prime} have D\mathcal{D} with probability 1−o(1)1-o(1). Hence, (14) yields

A.8 Proof of Lemma 16

To analyze the sets UilU_{il} from the second step of the construction of G∗G_{*}, consider

With probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) we have ∣Uil′∣≤nk−10|U_{il}^{\prime}|\leq nk^{-10}.

The definition of the set Wi∖WilW_{i}\setminus W_{il} depends solely on the ViV_{i}-V∖VlV\setminus V_{l}-edges. Therefore, the VlV_{l}-ViV_{i}-edges are indepenent of the random set Wi∖WilW_{i}\setminus W_{il}, which with probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) has size ≤nk−1−β\leq nk^{-1-\beta} by the Lemma 15. Assuming that this is indeed the case, we conclude that for any vertex v∈Vlv\in V_{l} the number e(v,Wi∖Wil)e(v,W_{i}\setminus W_{il}) is binomially distributed with mean npk−1−β≤2k−βln⁡knpk^{-1-\beta}\leq 2k^{-\beta}\ln k. Hence, the probability that vv has z=γ4ln⁡kz=\frac{\gamma}{4}\ln k neighbors inside Wi∖WilW_{i}\setminus W_{il} is at most

Conditional on the event D\mathcal{D}, with probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) we have ∣Uil′′∣≤nk−10|U_{il}^{\prime\prime}|\leq nk^{-10}.

We just need to analyze the bipartite subgraph G′[Vi∪Vl]G^{\prime}\left[{V_{i}\cup V_{l}}\right]. The set WilW_{il} consists of all vertices v∈Viv\in V_{i} that have degree <γln⁡k<\gamma\ln k in this subgraph. To investigate G′[Vi∪Vl]G^{\prime}\left[{V_{i}\cup V_{l}}\right], we condition on the degree sequence d⃗\vec{d} of this bipartite graph. Since we also condition on the event D\mathcal{D}, the maximum degree is ≤ln⁡2n\leq\ln^{2}n. Hence, we can generate the random bipartite graph with degree sequence d⃗\vec{d} via the configuration model, and the probability that the resulting multigraph happens to be a simple graph is ≥exp⁡(−O(ln⁡4n))\geq\exp(-O(\ln^{4}n)). Thus, we just need to study a random configuration.

Now, in a random configuration the probability that a vertex v∈Vlv\in V_{l} has γ4ln⁡k\frac{\gamma}{4}\ln k neighbors in the set WilW_{il} is ≤k−10\leq k^{-10}, because the total number of edges of G′[Vi∪Vl]G^{\prime}\left[{V_{i}\cup V_{l}}\right] is concentrated about n2pk−2n^{2}pk^{-2}. Therefore, the (conditional) expected size of Uil′′U_{il}^{\prime\prime} is ≤nk−11\leq nk^{-11}. Consequently, Azuma’s inequality yields that with probability ≥1−exp⁡(−Ω(n))\geq 1-\exp(-\Omega(n)) the size of Uil′′U_{il}^{\prime\prime} is ≤nk−10\leq nk^{-10}. ∎

Finally, Lemma 16 follows immedately from the fact that Uil⊂Uil′∪Uil′′U_{il}\subset U_{il}^{\prime}\cup U_{il}^{\prime\prime}.

A.9 Proof of Theorem 2.1

To prove the coloring part of Theorem 2.1, we need to come up with an appropriate way to measure how “similar” two kk-colorings of a given graph are G=G(n,m)G=G(n,m). A first idea may be to just use the Hamming distance. However, if we construct a coloring τ\tau simply by permuting the color classes of another coloring σ\sigma, then σ\sigma and τ\tau can have Hamming distance nn, although they are essentially identical. Therefore, instead of the Hamming distance we shall use the following concept. Given two coloring σ,τ\sigma,\tau, we let Mσ,τ=(Mσ,τij)1≤i,j≤kM_{\sigma,\tau}=(M^{ij}_{\sigma,\tau})_{1\leq i,j\leq k} be the matrix with entries

Then to measure how close τ\tau is to σ\sigma we let

be the squared Frobenius norm of Mσ,τM_{\sigma,\tau}. Hence, fσf_{\sigma} is a map from the set [k]n\left[{k}\right]^{n} of kk-colorings to the interval [k−2,fσ(σ)]\left[{k^{-2},f_{\sigma}(\sigma)}\right], where fσ(σ)≥k−1f_{\sigma}(\sigma)\geq k^{-1}. (Thus, the larger fσ(τ)f_{\sigma}(\tau), the more τ\tau resembles σ\sigma.) Furthermore, for a fixed σ∈S(G)\sigma\in\mathcal{S}(G) and a number λ>0\lambda>0 we let

In order to show that S(Gn,m)\mathcal{S}(G_{n,m}) with m=rnm=rn decomposes into exponentially many regions, we employ the following lemma.

Suppose that r>(12+εk)kln⁡kr>(\frac{1}{2}+\varepsilon_{k})k\ln k. There are numbers k−2<y1<y2<k−1k^{-2}<y_{1}<y_{2}<k^{-1} and λ,γ>0\lambda,\gamma>0 such that with high probability a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} chosen from the distributoin Un,m\mathcal{U}_{n,m} has the following two properties.

For all x∈[y1,y2]x\in\left[{y_{1},y_{2}}\right] we have gσ,G,λ(x)=0g_{\sigma,G,\lambda}(x)=0.

The number of colorings τ∈S(G)\tau\in\mathcal{S}(G) such that fσ(τ)>y2f_{\sigma}(\tau)>y_{2} is at most exp⁡(−γn)⋅∣S(G)∣\exp(-\gamma n)\cdot|\mathcal{S}(G)|.

Let G=Gn,mG=G_{n,m} be a random graph and call σ∈S(G)\sigma\in\mathcal{S}(G) good if 1. and 2. hold. Then Lemma 20 states that with high probability a 1−o(1)1-o(1)-fraction of all σ∈S(G)\sigma\in\mathcal{S}(G) is good. Hence, to decompose S(G)\mathcal{S}(G) into regions, we proceed as follows. For each σ∈S(G)\sigma\in\mathcal{S}(G) we let

Then starting with the set S=S(G)S=\mathcal{S}(G) and removing iteratively some Cσ\mathcal{C}_{\sigma} for a good σ∈S\sigma\in S from SS yields an exponential number of regions. Furthermore, each such region Cσ\mathcal{C}_{\sigma} is separated by a linear Hamming distance from the set S(G)∖Cσ\mathcal{S}(G)\setminus\mathcal{C}_{\sigma}, because fσf_{\sigma} is continuous with respect to n−1×n^{-1}\timesHamming distance (that is, for any ε>0\varepsilon>0 there is δ>0\delta>0 such that fσ(τ)<εf_{\sigma}(\tau)<\varepsilon for all τ∈[k]n\tau\in\left[{k}\right]^{n} satisfying \mboxdist(σ,τ)<δn\mbox{dist}(\sigma,\tau)<\delta n). Thus, the property stated in Theorem 2.1 follows from Lemma 20.

To establish Lemma 20, we employ the planted model.

Suppose that r>(12+εk)kln⁡kr>(\frac{1}{2}+\varepsilon_{k})k\ln k. There are k−2<y1<y2<k−1k^{-2}<y_{1}<y_{2}<k^{-1} and λ,γ>0\lambda,\gamma>0 such that with probability at least 1−exp⁡(−Ω(n))1-\exp(-\Omega(n)) a pair (G,σ)∈Λn,m(G,\sigma)\in\Lambda_{n,m} chosen from the distributoin Pn,m\mathcal{P}_{n,m} the two properties stated in Lemma 20.

Thus, Lemma 20 follows from Lemma 21 and Theorem 0.A.1.

Proof of Lemma 21. The proof is based on the first moment method. Let σ∈[k]n\sigma\in\left[{k}\right]^{n} be a fixed assignment of colors to the vertices. We may assume that ∣σ−1(i)∣∼n/k|\sigma^{-1}(i)|\sim n/k for all 1≤i≤k1\leq i\leq k, because all but an exponentially small fraction of all assignments in [k]n\left[{k}\right]^{n} have this property. Further, let GG be a graph with mm edges such that σ\sigma is a kk-coloring of GG chosen uniformly at random from the set of all such graphs. A direct computation shows that for an assignment τ∈[k]n\tau\in\left[{k}\right]^{n} the probability that H(τ)≤λnH(\tau)\leq\lambda n is

where lim⁡λ→0ψ(λ)=0\lim_{\lambda\rightarrow 0}\psi(\lambda)=0. To prove the lemma, we shall compute the expected number of assignments τ\tau such that H(τ)≤λnH(\tau)\leq\lambda n and fσ(τ)=xf_{\sigma}(\tau)=x for a suitable y1<x<y2y_{1}<x<y_{2}.

To this end, we have to take into account the number of possible colorings τ\tau. We parameterize the set of all possible τ\tau by a matrix A=(aij)1≤i,j≤kA=(a_{ij})_{1\leq i,j\leq k}, where aij=n−1∣σ−1(i)∩τ−1(j)∣a_{ij}=n^{-1}|\sigma^{-1}(i)\cap\tau^{-1}(j)|. Then by (15) the contribution of a matrix AA to the first moment is at most

(the k−nk^{-n} accounts for the fact that we consider the coloring σ\sigma fixed). Taking logarithms, we obtain

For a given number xx we let A(x)\mathcal{A}(x) be the set of all matrices A=(aij)1≤i,j≤kA=(a_{ij})_{1\leq i,j\leq k} such that aij≥0a_{ij}\geq 0, ∑i=1kaij∼k−1\sum_{i=1}^{k}a_{ij}\sim k^{-1}, and ∑i,j=1kaij2=x\sum_{i,j=1}^{k}a_{ij}^{2}=x. Since there are at most nk2n^{k^{2}} possible matrices AA, for any given xx the expected number of colorings τ\tau such that fσ(τ)=xf_{\sigma}(\tau)=x is at most

Hence, by continuity it suffices to show that for some x∈[y1,y2]x\in\left[{y_{1},y_{2}}\right] the expression n−1max⁡A∈A(h)ln⁡F(A)n^{-1}\max_{A\in\mathcal{A}(h)}\ln\mathcal{F}(A) is strictly negative for a small enough λ>0\lambda>0.

Let h=k−3/2h=k^{-3/2} and x=k−1−2hx=k^{-1}-2h. Then Theorem 9 from shows that the maximum max⁡A∈A(x)ln⁡F(A)\max_{A\in\mathcal{A}(x)}\ln\mathcal{F}(A) is attained for a matrix AA with entries

asymptotically as kk grows. An explicit computation shows that for this matrix AA the value ln⁡F(A)\ln\mathcal{F}(A) is strictly negative, provided that λ\lambda is sufficiently small. Therefore, we can apply Markov’s inequality to complete the proof. ∎

Appendix 0.B Proofs for Random k𝑘k-SAT

Consider the distribution Un,m\mathcal{U}_{n,m} on the set Λn,m\Lambda_{n,m} of pairs (F,σ)(F,\sigma), where FF is a kk-SAT formula with variables x1,…,xnx_{1},\ldots,x_{n} and with mm clauses, and σ\sigma is a satisfying assignment of FF.

Generate a random formula F=Fk(n,m)F=F_{k}(n,m).

Sample a satisfying assignment σ\sigma of FF uniformly at random; if FF is unsatisfiable, fail.

To analyze this distribution, we consider the distribution Pn,m\mathcal{P}_{n,m} on Λn,m\Lambda_{n,m} induced by following expermient.

Generate a random assignment σ∈{0,1}n\sigma\in\{0,1\}^{n}.

Generate a random kk-CNF formula FF with mm clauses chosen uniformly among those satisfied by σ\sigma.

Our goal is to establish the following connection between these two distributions.

There is a sequence εk→0\varepsilon_{k}\rightarrow 0 such that the following holds. Let m=⌈rn⌉m=\lceil rn\rceil for some r<(1−εk)2kln⁡2r<(1-\varepsilon_{k})2^{k}\ln 2, and let f(n)f(n) be any function that such that lim⁡n→∞f(n)=∞\lim_{n\rightarrow\infty}f(n)=\infty. Let D\mathcal{D} be any property such that Fk(n,m)F_{k}(n,m) has D\mathcal{D} with probability 1−o(1)1-o(1), and let E\mathcal{E} be any property of pairs (F,σ)∈Λn,m(F,\sigma)\in\Lambda_{n,m}. If for all sufficiently large nn we have

The proof of Theorem 0.B.1 is based on the following lemma, which we establish in Section 0.B.2.

Let μ=2n(1−2−k)m\mu=2^{n}(1-2^{-k})^{m} denote the expected number of satisfying assignments of a random kk-CNF Fk(n,m)F_{k}(n,m). Then for k≥8k\geq 8, w.h.p.

On the other hand, as Pn,m\mathcal{P}_{n,m} is just the uniform distribution on the set Λn,m\Lambda_{n,m}, (16) implies that

As f(n)→∞f(n)\rightarrow\infty, this contradicts (17) for sufficiently large nn. ∎

B.2 Proof of Lemma 22

Let Λb\Lambda_{b} be the function defined by

Suppose that r<2kln⁡2−kr<2^{k}\ln 2-k. Then Fk(n,rn)F_{k}(n,rn) has at least (Λb(1/2,k,r)−o(1))n/2(\Lambda_{b}(1/2,k,r)-o(1))^{n/2} satisfying assignments w.h.p.

Recall that Fk(n,m)F_{k}(n,m) denotes a random kk-SAT formula on nn variables x1,…,xnx_{1},\ldots,x_{n}. For a fixed number B>1B>1 we let AB\mathcal{A}_{B} denote the property that a kk-SAT formula FF on the variables x1,…,xnx_{1},\ldots,x_{n} has less than 12Bn\frac{1}{2}B^{n} satisfying assignments. The following lemma shows that AB\mathcal{A}_{B} has a sharp threshold.

For any B>1B>1 there is a sequence (TnB)n≥1(T_{n}^{B})_{n\geq 1} of integers such that for any ϵ>0\epsilon>0 we have

Assuming Lemma 24, we can infer Lemma 23 easily.

Let r<2kln⁡2−kr<2^{k}\ln 2-k. Equations (18) and (19) show that ρ↦Λb(1/2,k,ρ)\rho\mapsto\Lambda_{b}(1/2,k,\rho) is a continuous function. Therefore, for any ϵ>0\epsilon>0 there is a 0<δ<2kln⁡2−k−r0<\delta<2^{k}\ln 2-k-r such that r′=(1+δ)2rr^{\prime}=(1+\delta)^{2}r satisfies

Let B=Λb(1/2,k,r′)B=\sqrt{\Lambda_{b}(1/2,k,r^{\prime})}. Setting t=12Bnt=\frac{1}{2}B^{n}, the second moment argument from shows in combination with the Paley-Zigmund inequality that

Therefore, Lemma 24 implies that r′n<(1+δ)TnBr^{\prime}n<(1+\delta)T_{n}^{B} for sufficiently large nn. Consequently, for large nn we have rn=(1+δ)−2r′n<(1+δ)−1TnB.rn=(1+\delta)^{-2}r^{\prime}n<(1+\delta)^{-1}T_{n}^{B}. Hence, Lemma 24 yields

Thus, with probability 1−o(1)1-o(1) the number ZZ of satisfying assignments of Fk(n,rn)F_{k}(n,rn) satisfies

Since this is true for any ϵ>0\epsilon>0, the assertion follows. ∎

As shown in , the solution ϵ\epsilon to (19) satisfies

Plugging these bounds into (18) and performing a tedious but straightforward computation, we obtain that

Since r≤2kr\leq 2^{k}, the assertion thus follows from Lemma 23. ∎

To prove Lemma 24, we need a bit of notation. If ϕ\phi is a formula on a set of variables y1,…,yly_{1},\ldots,y_{l} disjoint from x1,…,xnx_{1},\ldots,x_{n}, then we let En(ϕ)E_{n}(\phi) denote the set of all formulas that can be obtained from ϕ\phi by substituting ll distinct variables among x1,…,xnx_{1},\ldots,x_{n} for y1,…,yly_{1},\ldots,y_{l}. Moreover, for a formula FF on x1,…,xnx_{1},\ldots,x_{n} we let F⊕ϕ=F∧ϕ∗F\oplus\phi=F\wedge\phi^{*}, where ϕ∗\phi^{*} is chosen uniformly at random from En(ϕ)E_{n}(\phi).

Note that AB\mathcal{A}_{B} is a monotone property, i.e., if FF has the property AB\mathcal{A}_{B} and F′F^{\prime} is another formula on the variables x1,…,xnx_{1},\ldots,x_{n}, then F∧F′F\wedge F^{\prime} has the property AB\mathcal{A}_{B} as well. Therefore, we can use the following theorem from Friedgut to prove by contradiction that AB\mathcal{A}_{B} has a sharp threshold. Let ω(n)=⌈log⁡n⌉\omega(n)=\lceil\log n\rceil for concreteness.

Suppose that AB\mathcal{A}_{B} does not have a sharp threshold. Then there exist a number α>0\alpha>0, a formula ϕ\phi, and for any n0>0n_{0}>0 numbers N>n0N>n_{0}, M>0M>0 and a formula FF with variables x1,…,xNx_{1},\ldots,x_{N} such that the following is true.

Pr⁡(F⊕ϕ\mboxhasthepropertyAB)>1−α\Pr(F\oplus\phi\mbox{ has the property }\mathcal{A}_{B})>1-\alpha.

α<Pr⁡(Fk(N,M)\mboxhasthepropertyAB)<1−3α\alpha<\Pr(F_{k}(N,M)\mbox{ has the property }\mathcal{A}_{B})<1-3\alpha.

With probability at least α\alpha a random formula Fk(N,M)F_{k}(N,M) contains an element of EN(ϕ)E_{N}(\phi) as a subformula.

Pr⁡(F∧Fk(N,2ω(N)))\mboxhasthepropertyAB)<1−2α\Pr(F\wedge F_{k}(N,2\omega(N)))\mbox{ has the property }\mathcal{A}_{B})<1-2\alpha.

In the sequel we assume the existence of α\alpha, ϕ\phi, NN, MM, and FF satisfying conditions T1–T3. To conclude that AB\mathcal{A}_{B} has a sharp threshold, we shall show that then condition T4 cannot hold. Clearly, we may assume that NN is sufficiently large (by choosing n0n_{0} appropriately). Let V={x1,…,xN}V=\{x_{1},\ldots,x_{N}\}.

Any kk-SAT formula that contains at most as many clauses as variables is satisfiable. Hence, to establish the lemma, we will show that the probability QQ that Fk(N,M)F_{k}(N,M) contains a subformula on ll variables with at least ll clauses is smaller than α\alpha; then the assertion follows from T3.

To prove this statement, we employ the union bound. There are (Nl)\binom{N}{l} ways to choose a set of ll variables, and (Ml)\binom{M}{l} ways to choose slots for the ll clauses of the subformula. Furthermore, the probability that the random clauses in these ll slots contain only the chosen variables is at most (l/N)kl(l/N)^{kl}. Hence, the probability that Fk(N,M)F_{k}(N,M) has ll variables that span a subformula with at least ll clauses is at most

Further, T2 implies that M/N≤2kM/N\leq 2^{k}, because for M/N>2kM/N>2^{k} the expected number of satisfying assignments of Fk(N,M)F_{k}(N,M) is less than 11. Thus, assuming that NN is sufficiently large, we see that (21) implies Q≤(e2(2l)k/N)l<αQ\leq(e^{2}(2l)^{k}/N)^{l}<\alpha, as claimed. ∎

Thus, fix a satisfying assignment σ:{y1,…,yl}→{0,1}\sigma:\{y_{1},\ldots,y_{l}\}\rightarrow\{0,1\} of ϕ\phi. Then we say that a satisfying assignment χ\chi of FF is compatible with a tuple (z1,…,zl)∈Vl(z_{1},\ldots,z_{l})\in V^{l} if χ(zi)=σ(yi)\chi(z_{i})=\sigma(y_{i}) for all 1≤i≤l1\leq i\leq l. Furthermore, we call a tuple (z1,…,zl)∈Vl(z_{1},\ldots,z_{l})\in V^{l} bad if FF has less than 12BN\frac{1}{2}B^{N} satisfying assignments χ\chi that are compatible with (z1,…,zl)(z_{1},\ldots,z_{l}).

There are at least (1−α)Nl(1-\alpha)N^{l} bad tuples.

The formula F⊕ϕF\oplus\phi is obtained by substituting ll randomly chosen variables (z1,…,zl)∈Vl(z_{1},\ldots,z_{l})\in V^{l} for the variables y1,…,yly_{1},\ldots,y_{l} of ϕ\phi and adding the resulting clauses to FF. Since by T1 with probability at least 1−α1-\alpha the resulting formula has at most 12BN\frac{1}{2}B^{N} satisfying assignments, a uniformly chosen tuple (z1,…,zl)∈Vl(z_{1},\ldots,z_{l})\in V^{l} is bad with probability at least 1−α1-\alpha. Thus, there are at least (1−α)Nl(1-\alpha)N^{l} bad tuples. ∎

With probability at least 1−α1-\alpha a random formula Fk(N,ω(N))F_{k}(N,\omega(N)) contains ll clauses C1,…,ClC_{1},\ldots,C_{l} with the following two properties.

For each 1≤i≤l1\leq i\leq l there is a kk-tuple of variables (vi1,…,vik)∈Vk(v_{i}^{1},\ldots,v_{i}^{k})\in V^{k} such that Ci=vi1∨⋯∨vikC_{i}=v_{i}^{1}\vee\cdots\vee v_{i}^{k} if σ(i)=1\sigma(i)=1, and Ci=¬vi1∨⋯∨¬vikC_{i}=\neg v_{i}^{1}\vee\cdots\vee\neg v_{i}^{k} if σ(i)=0\sigma(i)=0.

For any function f:[l]→[k]f:[l]\rightarrow[k] the ll-tuple (v1f(1),…,vlf(l))(v_{1}^{f(1)},\ldots,v_{l}^{f(l)}) is bad.

The proof of Lemma 27 is based on the following version of the Erdős-Simonovits theorem(cf. [15, Proposition 3.5]).

For any γ>0\gamma>0 there are numbers γ′,ν0>0\gamma^{\prime},\nu_{0}>0 such that for any ν>ν0\nu>\nu_{0} and any set H⊂[ν]lH\subset[\nu]^{l} of size ∣H∣≥γνt|H|\geq\gamma\nu^{t} the following is true. If ll kk-tuples (w11,…,w1k),…,(wl1,…,wlk)∈[ν]k(w_{1}^{1},\ldots,w_{1}^{k}),\ldots,(w_{l}^{1},\ldots,w_{l}^{k})\in[\nu]^{k} are chosen uniformly at random and independently, then with probability at least γ′\gamma^{\prime} for any function f:[l]→[k]f:[l]\rightarrow[k] the tuple (w1f(1),…,wlf(l))(w_{1}^{f(1)},\ldots,w_{l}^{f(l)}) belongs to HH.

Assuming that NN is sufficiently large, we apply Theorem 0.B.3 to γ=1−α\gamma=1-\alpha, ν=N\nu=N, and the set H⊂[N]lH\subset[N]^{l} of bad ll-tuples. Then by Lemma 26 we have ∣H∣≥γNl|H|\geq\gamma N^{l}. Now, consider ll random kk-clauses C1,…,ClC_{1},\ldots,C_{l} over the variable set VV chosen uniformly and independently. Let V1,…,VlV_{1},\ldots,V_{l} be the kk-tuples of variables underlying C1,…,ClC_{1},\ldots,C_{l}. Then Theorem 0.B.3 entails that V1,…,VlV_{1},\ldots,V_{l} satisfy condition B2 with probability at least γ′\gamma^{\prime}. Moreover, given that this is the case, condition B1 is satisfied with probability 2−kl2^{-kl}. Therefore, the clauses C1,…,ClC_{1},\ldots,C_{l} satisfy both B1 and B2 with probability at least γ′2−kl\gamma^{\prime}2^{-kl}. Hence, the probability that Fk(N,ω(N))F_{k}(N,\omega(N)) does not feature an ll-tuple of clauses satisfying B1 and B2 is at most (1−γ′2−kl)⌊ω(N)/l⌋(1-\gamma^{\prime}2^{-kl})^{\lfloor\omega(N)/l\rfloor}. Since ω(N)=⌈log⁡N⌉\omega(N)=\lceil\log N\rceil, we can ensure that this expression is less than α\alpha by choosing NN large enough. ∎

With probability at least 1−α1-\alpha the formula F∧Fk(N,ω(N))F\wedge F_{k}(N,\omega(N)) has at most 12kl⋅BN\frac{1}{2}k^{l}\cdot B^{N} satisfying assignments.

We will show that if C1,…,ClC_{1},\ldots,C_{l} are clauses satisfying the two conditions from Lemma 27, then F∧C1∧⋯∧ClF\wedge C_{1}\wedge\cdots\wedge C_{l} has at most 12klBN\frac{1}{2}k^{l}B^{N} satisfying assignments. Then the assertion follows from Lemma 27.

Thus, let χ\chi be a satisfying assignment of F∧C1∧⋯∧ClF\wedge C_{1}\wedge\cdots\wedge C_{l}. Then by the B1 for each 1≤i≤l1\leq i\leq l there is an index fχ(i)∈[k]f_{\chi}(i)\in[k] such that χ(vifχ(i))=σ(i)\chi(v_{i}^{f_{\chi}(i)})=\sigma(i). Moreover, by B2 the tuple (v1fχ(1),…,vlfχ(l))(v_{1}^{f_{\chi}(1)},\ldots,v_{l}^{f_{\chi}(l)}) is bad. Hence, the map χ↦fχ∈[k]l\chi\mapsto f_{\chi}\in[k]^{l} yields a bad tuple (vifχ(i))1≤i≤l(v_{i}^{f_{\chi}(i)})_{1\leq i\leq l} for each satisfying assignment. Therefore, the number of satisfying assignments mapped to any tuple in [k]l[k]^{l} is at most 12Bn\frac{1}{2}B^{n}. Consequently, F∧C1∧⋯∧ClF\wedge C_{1}\wedge\cdots\wedge C_{l} has at most 12kl⋅Bn\frac{1}{2}k^{l}\cdot B^{n} satisfying assignments in total. ∎

With probability at least 1−32α1-\frac{3}{2}\alpha the formula F∧Fk(N,2ω)F\wedge F_{k}(N,2\omega) satisfies AB\mathcal{A}_{B}.

The formula F∗∗=F∧Fk(N,2ω)F^{**}=F\wedge F_{k}(N,2\omega) is obtained from FF by attaching 2ω(N)2\omega(N) random clauses. Let F∗=F∧Fk(N,ω(N))F^{*}=F\wedge F_{k}(N,\omega(N)) be the formula resulting by attaching the first ω(N)\omega(N) random clauses. Then by Corollary 3 with probability at least 1−α1-\alpha the formula F∗F^{*} has at most 12kl⋅BN\frac{1}{2}k^{l}\cdot B^{N} satisfyng assignments. Conditioning on this event, we form F∗∗F^{**} by attaching another ω(N)\omega(N) random clauses to F∗F^{*}. Since for any satisfying assignment of F∗F^{*} the probability that these additional ω(N)\omega(N) clauses are satisfied as well is (1−2−k)ω(N)(1-2^{-k})^{\omega(N)}, the expected number of satisfying assignments of F∗∗F^{**} is at most

provided that NN is sufficiently large. Therefore, Markov’s inequality entails that

Combining Theorem 0.B.2 and Corollary 4, we conclude that AB\mathcal{A}_{B} has a sharp threshold, thereby completing the proof of Lemma 24.

B.3 Proof of Theorem 2.2

Using Theorem 0.B.1, we shall establish the following lemma.

There exist numbers 0<α1<α2<130<\alpha_{1}<\alpha_{2}<\frac{1}{3}, λ>0\lambda>0, and γ>0\gamma>0 such that a random pair (F,σ)(F,\sigma) chosen from the distribution Un,m\mathcal{U}_{n,m} has the following two properties w.h.p.

Any assignment τ\tau such that α1<n−1\mboxdist(σ,τ)<α2\alpha_{1}<n^{-1}\mbox{dist}(\sigma,\tau)<\alpha_{2} satisfies H(τ)≥λnH(\tau)\geq\lambda n.

∣{τ∈S(F):\mboxdist(σ,τ)<β2n}∣<2n(1−2−k)mexp⁡(−γn−k23−kn)|\{\tau\in\mathcal{S}(F):\mbox{dist}(\sigma,\tau)<\beta_{2}n\}|<2^{n}(1-2^{-k})^{m}\exp(-\gamma n-k2^{3-k}n).

Let F=Fk(n,m)F=F_{k}(n,m) be a random kk-SAT instance. To each assignment σ∈S(F)\sigma\in\mathcal{S}(F) we assign the set

Due to Lemma 22, a similar argument as in the proof of Theorem 2.1 in Section 0.A.9 yields Theorem 2.2. ∎

Let λ>0\lambda>0 be small but fixed. Let F=Fk(n,m)F=F_{k}(n,m) be a random kk-SAT formula with m=rnm=rn clauses. Then for any σ∈{0,1}n\sigma\in\{0,1\}^{n} we have

because of the independence of all mm clauses. Furthermore, if τ∈{0,1}n\tau\in\{0,1\}^{n} is a second assignment at Hamming distance αn\alpha n from σ\sigma, then

Indeed, there is a function Ψ(λ)\Psi(\lambda) such that lim⁡λ→0Ψ(λ)=0\lim_{\lambda\rightarrow 0}\Psi(\lambda)=0 and

Let Xα,λX_{\alpha,\lambda} signify the number of assignments τ\tau at Hamming distance αn\alpha n from σ\sigma such that H(τ)≤λnH(\tau)\leq\lambda n.

There is a number 0<α∗<1/30<\alpha^{*}<1/3 such that for sufficiently small λ>0\lambda>0 we have

There are (nαn)\binom{n}{\alpha n} ways to choose an assignment τ\tau at Hamming distance αn\alpha n from σ\sigma. Therefore, due to the formulas derived above, we have

Setting α∗=(kln⁡k)−1\alpha^{*}=(k\ln k)^{-1} and simplifying, we obtain the assertion. ∎

There are numbers λ>0\lambda>0 and 0<α1<α2<130<\alpha_{1}<\alpha_{2}<\frac{1}{3} such that with probability at least 1−o(exp⁡(−k23−kn)1-o(\exp(-k2^{3-k}n) in a pair (F,σ)∈Λn,m(F,\sigma)\in\Lambda_{n,m} chosen from the distribution Pn,m\mathcal{P}_{n,m} there is no assignment τ\tau such that such that H(τ)<λnH(\tau)<\lambda n and α1<n−1\mboxdist(σ,τ)<α2\alpha_{1}<n^{-1}\mbox{dist}(\sigma,\tau)<\alpha_{2}.

Furthermore, the following estimate has been established in .

Finally, Lemma 28 follows from Theorem 0.B.1 in combination with Corollary 5 and Lemma 30.

B.4 Proof of Theorem 2.4 (k𝑘k-SAT)

If FF is a kk-SAT formula and σ\sigma an assignment, then we say that a variable xx supports a clause CC if changing the value of xx would render CC unsatisfied. Suppose that kk is sufficiently large and (1+ε)2kk−1ln⁡k<r=m/n<(1−ε)2kln⁡2(1+\varepsilon)2^{k}k^{-1}\ln k<r=m/n<(1-\varepsilon)2^{k}\ln 2. Let γ,δ>0\gamma,\delta>0 be sufficiently small numbers.

A pair (F,σ)(F,\sigma) chosen from Un,m\mathcal{U}_{n,m} has the following property w.h.p.

Let ζ>0\zeta>0 signify a sufficiently small constant. Let (F,σ)(F,\sigma) be chosen from the distribution Un,m\mathcal{U}_{n,m}. We may assume that the random pair (F,σ)(F,\sigma) satisfies (22). Moreover, a 1st moment computation shows that the random formula FF has the following property w.h.p.

Now, assume for contradiction that there is a satisfying assignment τ\tau of FF such that the set Z={v∈U:τ(v)≠σ(v)}Z=\{v\in U:\tau(v)\not=\sigma(v)\} has size 1≤∣Z∣≤ζn1\leq|Z|\leq\zeta n. Each v∈Zv\in Z supports in σ\sigma at least γln⁡k\gamma\ln k clauses ee that contain no variable from V∖UV\setminus U. Since these clauses ee are satisfied in τ\tau, although τ(z)=0\tau(z)=0, each such ee contains another variable w≠vw\not=v from ZZ. Hence, FF contains at least ∣Z∣γln⁡k|Z|\gamma\ln k clauses ee containing at least two variables from ZZ, in contradiction to (23). ∎

Lemma 31 is an immediate consequence of Theorem 0.B.1 and the following lemma.

A pair (F,σ)(F,\sigma) chosen from Pn,m\mathcal{P}_{n,m} has the property (22) with probability 1−o(exp⁡(−k23−kn))1-o(\exp(-k2^{3-k}n)).

We may assume that r=m/n=(1+ε)2kk−1ln⁡kr=m/n=(1+\varepsilon)2^{k}k^{-1}\ln k for a fixed ε>0\varepsilon>0. Moreover, without loss of generality, we may assume that the assignment σ\sigma sets all variables V={x1,…,xn}V=\{x_{1},\ldots,x_{n}\} to true. Let FF denote a random formlua with mm clauses satisfied by σ\sigma, and let Ξ\Xi signify the set of all uniquely satisfied clauses of FF. Consider the following process.

Let Z0Z_{0} be the set of all variables xx that support fewer than 2γln⁡k2\gamma\ln k clauses.

Let Z=Z0Z=Z_{0}. While there is a variable x∈V∖Zx\in V\setminus Z that supports at least γln⁡k\gamma\ln k clauses from Ξ\Xi that contain a variable from ZZ, add xx to ZZ.

The expected number of uniquely satisfied clauses is at least k2−km≥(1+ε)nln⁡kk2^{-k}m\geq(1+\varepsilon)n\ln k. Hence, each variable is expected to support at least (1+ε)ln⁡k(1+\varepsilon)\ln k clauses. Therefore, if γ>0\gamma>0 is sufficiently small, then there is a contant β>0\beta>0 such that the probability that a variable xx supports fewer than 2γln⁡k2\gamma\ln k clauses is at most k−1−βk^{-1-\beta}. Hence, by Chernoff bounds we have ∣Z0∣≤nk−1−β/2|Z_{0}|\leq nk^{-1-\beta/2} with probability at least 1−o(exp⁡(−k23−kn))1-o(\exp(-k2^{3-k}n)).

Thus, assume that ∣Z0∣≤nk−1−β/2|Z_{0}|\leq nk^{-1-\beta/2}. We claim that then the final set ZZ resulting from Step 2 has size at most ∣Z∣≤2nk−1−β/2|Z|\leq 2nk^{-1-\beta/2}. For assume that ∣Z∣>2nk−1−β/2|Z|>2nk^{-1-\beta/2}. Then Step 2 removed at least ∣Z∣/2|Z|/2 variables, whence there are at least γln⁡k∣Z∣/2\gamma\ln k|Z|/2 clauses e∈Ξe\in\Xi that contain two variables from ZZ. However, a standard 1st moment argument shows that the probability that there exists a set ZZ with this property is o(exp⁡(−k2−kn))o(\exp(-k2^{-k}n)). Hence, with probability at least 1−o(exp⁡(−k2−kn)1-o(\exp(-k2^{-k}n) we have ∣Z∣≤2nk−1−β/2|Z|\leq 2nk^{-1-\beta/2}. Setting U=V∖ZU=V\setminus Z concludes the proof. ∎