Catching the k-NAESAT Threshold

Amin Coja-Oghlan, Konstantinos Panagiotou

Introduction

Over the past decade, physicists have developed sophisticated but non-rigorous techniques for the study of random constraint satisfaction problems (‘CSPs’) such as random kk-SAT or random graph kk-coloring . This work has led to a remarkably detailed conjectured picture, according to which various phase transitions affect both the combinatorial and computational nature of random problems. By now, some of these predictions have been turned into rigorous theorems. Examples include results on the “shattering” of the solution space , work on (non-)reconstruction and sampling , and even new algorithms for random CSPs . Many of these contributions have led to the development of new rigorous techniques. Indeed, it seems fair to say that, combined, these results have advanced our understanding of random CSPs quite significantly.

However, thus far substantial bits of the statistical mechanics picture have eluded all rigorous attempts. Perhaps most importantly, apart from a very few special cases, the precise thresholds for the existence of solutions in random CSPs have not been pinned down exactly. While rigorous upper and lower bounds can be derived via the first and the second moment method , these bounds do not quite match in most examples, including prominent ones such as random kk-SAT or random graph kk-coloring. In fact, the statistical mechanics techniques suggest a striking explanation for this discrepancy, namely the existence of a condensation phase shortly before the threshold for the existence of solutions. In this phase, a crucial necessary condition for the success of the (standard) second moment method is violated. Indeed, in statistical mechanics a deep formalism called Survey Propagation (‘SP’) has been developed expressly to deal with condensation. While SP is primarily an analysis technique, an off-spin has been the SP guided decimation algorithm, which seems highly successful at solving random CSPs experimentally.

In this paper we propose a new SP-inspired second moment method that allows us to overcome the barrier posed by condensation. The specific problem that we work with is random kk-NAESAT, one of the standard benchmark problems in the theory of random CSPs. Random kk-NAESAT is technically a bit simpler than random kk-SAT due to a certain symmetry property, but computationally and structurally both problems have strong similarities. We determine the threshold for the existence of solutions in random kk-NAESAT up to an additive error that tends to zero exponentially with kk. This is the first time that the threshold in any random CSP of this type can be calculated with such accuracy. While from a technical viewpoint kk-NAESAT is perhaps the simplest example of a random CSP that exhibits condensation, our proof technique rests on a rather generic approach. Therefore, we believe that with additional technical work our approach can be extended to many other problems, including random kk-SAT or random graph kk-coloring.

To define random kk-NAESAT formally, let k≥3k\geq 3 and n>0n>0 be integers and let V={x1,…,xn}V=\left\{{x_{1},\ldots,x_{n}}\right\} be a set of Boolean variables. For a fixed real r>0r>0 we let m=m(n)=⌈rn⌉m=m(n)=\lceil rn\rceil. Further, let \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}=\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{k}(n,m) be a propositional formula obtained by choosing mm clauses of length kk over VV uniformly and independently at random among all (2n)k(2n)^{k} possible clauses. We say that an assignment σ:V→{0,1}\sigma:V\rightarrow\left\{{0,1}\right\} is an NAE-solution (a “solution”) if each clause has both a literal that evaluates to ‘true’ under σ\sigma and one that evaluates to ‘false’. In other words, both σ\sigma and its inverse σˉ:xi↦1−σ(xi)\bar{\sigma}:x_{i}\mapsto 1-\sigma(x_{i}) are satisfying assignments of the Boolean formula Φ\textstyle\Phi. We say that an event occurs with high probability (“w.h.p.”) if its probability tends to one as n→∞n\rightarrow\infty.

where ok(1)o_{k}(1) hides a term that tends to 00 for large kk. This left an additive gap of 12ln⁡2≈0.347\frac{1}{2}\ln 2\approx 0.347, which our main result closes.

There is a sequence εk=2−(1−ok(1))k\varepsilon_{k}=2^{-(1-o_{k}(1))k} such that

While the numerical improvement obtained in Theorem 1.1 may seem modest, we are going to argue that the result is conceptually quite significant for two reasons. First, we obtain (virtually) matching upper and lower bounds for the first time in a random CSP of this type. Second, and perhaps even more importantly, we devise a rigorous method for taming the condensation phenomenon. Indeed, condensation has been the main obstacle to determining the precise thresholds in random CSPs for the past decade. To understand why, we need to discuss the statistical mechanics picture and its relation to the second moment method.

Condensation and the second moment method

The purpose of the physicists’ Survey Propagation technique is precisely to deal with this type of correlation. The basic idea is to work with a different, non-uniform probability distribution on \mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). This SP distribution is induced by first choosing a cluster SiS_{i} uniformly at random among S_{1},\ldots,S_{N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})}, and then selecting a solution in that cluster SiS_{i} uniformly. Since the number N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) of clusters is (thought to be) exponential in nn throughout the condensation phase, two solutions \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}}^{\prime},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}^{\prime} chosen independently from the SP distribution are expected to lie in distinct clusters and thus to decorrelate w.h.p.

The obvious choice of random variable is the number Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) of solutions. Since Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})^{2} is just the number of pairs of NAE-solutions, the second moment can be written as

Indeed, Achlioptas and Moore proved that (2.1) is satisfied for Y=Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) if r≤2k−1ln⁡2−(1+ln⁡2)/2r\leq 2^{k-1}\ln 2-\left({1+\ln 2}\right)/{2}. Improving upon , Coja-Oghlan and Zdeborová obtained the best previous lower bound (1.1) by considering a slightly modified random variable Z^{\prime}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). Namely, Z^{\prime}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})=Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})\cdot\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}_{\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}\in\mathcal{A}}, where A\mathcal{A} is a certain event such that \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}\in\mathcal{A} w.h.p. In other words, Z^{\prime}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) is equal to Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) for almost all formulas, but a small fraction of “bad” formulas (that would blow up the second moment) are excluded. Still, Z^{\prime}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) admits a similar decomposition as (2.3) (one just has to condition on A\mathcal{A}).

The statistical mechanics prescription to overcome these correlations is to work with the Survey Propagation distribution (first select a cluster uniformly, then choose a random solution from that cluster) rather than the uniform distribution over \mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). This is precisely the key idea behind our new SP-inspired second moment argument. Roughly speaking, we are going to develop a way to apply the second moment method to the number N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) of clusters, rather than the number of solutions. More precisely, we introduce a parameter β\beta that allows us to work with clusters of a prescribed size. A specific choice of β\beta (namely, β=1/2\beta=1/2) corresponds to the SP distribution and thus to working with Y(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})=N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}).

This new technique allows us to obtain various further results. For instance, we can pin down the typical values of both Z(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) and N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) throughout the condensation phase (details omitted). Furthermore, our proof entails the following result that confirms the physics conjecture that pairs of solutions drawn from the SP distribution decorrelate throughout the condensation phase.

Suppose that rcond≤r≤2k−1ln⁡2−(ln⁡22+14)−εkr_{cond}\leq r\leq 2^{k-1}\ln 2-\left({\frac{\ln 2}{2}+\frac{1}{4}}\right)-\varepsilon_{k}. Let \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}}^{\prime},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}^{\prime} be drawn independently from the SP distribution. Then \mbox{dist}(\mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}}^{\prime},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}^{\prime})=(\frac{1}{2}+o_{k}(1))n w.h.p.

Related work

Rigorous work. The kk-NAESAT problem is well-known to be NP-complete in the worst case for any k≥3k\geq 3. In fact, the NP-complete problem of 22-coloring a kk-uniform hypergraph (with k≥3k\geq 3) simply is the special case of kk-NAESAT without negations. The results in are actually phrased in terms of hypergraph 22-coloring but carry over to kk-NAESAT directly.

From a statistical mechanics point of view, many random CSPs are similar to random kk-NAESAT. In particular, the physics methods suggest the existence of a condensation phase in most random CSPs (e.g., random kk-SAT/graph kk-coloring). While provided the prototype for the second moment arguments in these and other problems, the technical details in random graph kk-coloring or random kk-SAT are quite a bit more intricate than in random kk-NAESAT.

For instance, random kk-NAESAT is simpler than random kk-SAT because for any NAE-solution σ\sigma the inverse σˉ:x↦1−σ(x)\bar{\sigma}:x\mapsto 1-\sigma(x) is a NAE-solution as well. This symmetry of the solution space under inversion simplifies the second moment calculations significantly. To cope with the absence of symmetry in random kk-SAT, Achlioptas and Peres weighted satisfying assignments cleverly in order to recover the beneficial analytic properties that symmetry induces. Our new second moment method is quite different from this weighting approach, since the asymmetry that called for the weighting scheme in is absent in kk-NAESAT.

None of the (few) random CSPs in which the threshold for the existence of solutions is known precisely has a condensation phase. The most prominent example is random kk-XORSAT (random linear equations mod 22) . In this case, the algebraic nature of the problem precludes condensation: all clusters are simply translations of the kernel. Similarly, the condensation phase is empty in the uniquely extendible problem from . Also in random kk-SAT with k=k(n)>log⁡2nk=k(n)>\log_{2}n (i.e., the clause length grows as a function of nn), where the precise threshold has been determined by Frieze and Wormald via the second moment method, condensation does not occur . Nor does it in random 2-SAT .

Parts of our proof require a precise analysis of geometry of the solution space \mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). This analysis harnesses some of the ideas that were developed in previous work (e.g., arguments for proving the existence of clusters or of “rigid variables”). However, we need to go beyond these previous arguments significantly in two respects. First, we need to generalize them to accommodate the parameter β\beta that controls the cluster sizes. Second, we need rather precise quantitative information about the cluster structures.

Survey Propagation guided decimation. The SP formalism has given rise to an efficient message passing algorithm called Survey Propagation guided decimation (‘SPD’) . Experimentally, SPD seems spectacularly successful at solving, e.g., random kk-SAT for small values of kk. Unfortunately, no quantitative analysis of this algorithm is currently known (not even a non-rigorous one). The basic idea behind SPD is to approximate the marginals of the SP distribution (i.e., the probability that a given variable is ‘true’ in a solution drawn from the SP distribution) via a message passing heuristic. Then a variable xx is selected according to some rule and is assigned a value based on the (approximate) marginal. The entire procedure is repeated on the “decimated” problem instance where xx has been eliminated, until (hopefully) a solution is found.

The decorrelation of random solutions chosen from the SP distribution is a crucial assumption behind the message passing computation of the SP marginals. Corollary 2.1 establishes such a decorrelation property rigorously. However, in order to actually analyze SPD, one would have to generalize Corollary 2.1 to the situation of a “decimated” random formula in which a number of variables have already been eliminated by previous steps of the algorithm. Still, we believe that the techniques developed in this paper are a (necessary) first step towards a rigorous analysis of SPD.

Heavy solutions and the first moment

As we discussed earlier, the demise of the “standard” second moment method in the condensation phase is due to the dominance of few large clusters. The statistical mechanics prescription for circumventing this issue is to work with a non-uniform distribution over solutions that favors “small” clusters. To implement this strategy, we are going to exhibit a simple parameter that governs the size of the cluster that a solution belongs to. Formally, we define the cluster of \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) as

This definition is vindicated by the following observation from , which shows that any two solutions either have the same cluster or are well-separated.

To proceed, we need to get an idea of the “shape” of the clusters C(σ){\mathcal{C}}(\sigma). According to the SP formalism, each cluster has a set R(σ){\mathcal{R}}(\sigma) of Ω(n)\Omega(n) rigid variables on which all assignments in C(σ){\mathcal{C}}(\sigma) coincide, while the values of the non-rigid variables vary. Formally, we have τ(x)=σ(x)\tau(x)=\sigma(x) for all x∈R(σ)x\in{\mathcal{R}}(\sigma) and all τ∈C(σ)\tau\in{\mathcal{C}}(\sigma), while for each x∉R(σ)x\not\in{\mathcal{R}}(\sigma) there is τ∈C(σ)\tau\in{\mathcal{C}}(\sigma) such that τ(x)≠σ(x)\tau(x)\neq\sigma(x). This implies an immediate bound on the size of C(σ){\mathcal{C}}(\sigma), namely ∣C(σ)∣≤2n−∣R(σ)∣.\left|{{\mathcal{C}}(\sigma)}\right|\leq 2^{n-|{\mathcal{R}}(\sigma)|}. Indeed, we are going to prove that every cluster has a rigid set of size Ω(n)\Omega(n) w.h.p., and that for all clusters w.h.p.

With ∣C(σ)∣|{\mathcal{C}}(\sigma)| controlled by the number of rigid variables, it might seem promising to perform first/second moment arguments for the number of solutions with a suitably chosen number of rigid variables. The problem with this is that there is no simple way to tell whether a given variable is rigid: deciding this is NP-hard in the worst case. Intuitively, this is because rigidity emerges from the “global” interplay of variables and clauses. In effect, parametrizing by the number of rigid variables appears technically infeasible.

Instead, we are going to work with a simple “local” parameter that turns out to be a good substitute. Suppose that x∈R(σ)x\in{\mathcal{R}}(\sigma). Then xx must occur in some clause \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i} that would be violated if xx was assigned the opposite value 1−σ(x)1-\sigma(x) (with all other variables unchanged). By the definition of kk-NAESAT, this means that the other k−1k-1 literals of \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i} take the opposite value of the literal whose underlying variable xx is. In this case we say that xx supports \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i} under σ\sigma, and we call \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i} a critical clause. Moreover, we call a variable that supports a clause blocked, while all other variables are free. While every rigid variable is blocked, the converse is not generally true. Nonetheless, we will see that the number of variables that are blocked but not rigid is small enough so that we can control the cluster sizes in terms of blocked variables.

As a first step, we are going to estimate the expected number of solutions with a given number of blocked variables. Let λ=kr2k−1−1=kln⁡2+Ok(k/2k)\lambda=\frac{kr}{2^{k-1}-1}=k\ln 2+O_{k}(k/2^{k}) and let us say that \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) is β\beta-heavy if exactly (1−β)exp⁡(−λ)n(1-\beta)\exp(-\lambda)n variables are free. Let \mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) be the set of all β\beta-heavy solutions and let Z_{\beta}=\left|{\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})}\right| denote their number.

In particular, Zβ=0Z_{\beta}=0 for all β<−3/2\beta<-3/2 w.h.p.

Clearly, 1\textstyle 1 is a solution iff each clause of Φ\textstyle\Phi contains both a positive and a negative literal. A random clause has this property with probability 1−21−k1-2^{1-k}. Since the m∼rnm\sim rn clauses are chosen independently, we get

Working out the conditional probability that 1\textstyle 1 is β\beta-heavy is not so straightforward. Whether 1\textstyle 1 is β\beta-heavy depends only on the critical clauses of Φ\textstyle\Phi. Let XX be their number. Given that 1\textstyle 1 is a solution, each clause \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i} is critical with probability k/(2k−1−1)k/(2^{k-1}-1) independently (as there are 2k2k ways to choose the literal signs to obtain a critical clause). Hence, XX has a binomial distribution Bin(m,k/(2k−1−1)){\rm Bin}(m,k/(2^{k-1}-1)) with mean

As a next step, we need to estimate the cluster size of a β\beta-heavy solution.

W.h.p. for all −3/2≤β≤1-3/2\leq\beta\leq 1 all β\beta-heavy \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) satisfy

The crucial thing to show is that all but a very few blocked variables are rigid. The proof of this builds upon arguments developed in to establish rigidity. Suppose that xx is blocked in \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}), i.e., xx supports some clause, say \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{1}. In any solution τ\tau with τ(x)≠σ(x)\tau(x)\neq\sigma(x) there must be another variable x′x^{\prime} that occurs in \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{1} such that τ(x′)≠σ(x′)\tau(x^{\prime})\neq\sigma(x^{\prime}). Given that xx supports \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{1}, the other k−1k-1 variables of \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{1} are uniformly distributed. Since σ\sigma has no more than (1−β)exp⁡(−λ)n=(1−β+ok(1))2−kn(1-\beta)\exp(-\lambda)n=(1-\beta+o_{k}(1))2^{-k}n free variables, the probability that x′x^{\prime} is free is bounded by (1−β+ok(1))(k−1)/2k(1-\beta+o_{k}(1))(k-1)/2^{k}. In fact, since the expected number of clauses that each variable supports is λ=(1+ok(1))kln⁡2\lambda=(1+o_{k}(1))k\ln 2, it is quite likely that x′x^{\prime} supports several clauses and that therefore “flipping” x′x^{\prime} necessitates several further flips. Continuing this argument, we see that the number of flips follows a branching process with (initial) successor rate λ\lambda. A detailed analysis shows that for all but Ok(k4−k)nO_{k}(k4^{-k})n blocked initial variables xx this process will lead to an avalanche of more than 0.01n0.01n flips, whence τ∉C(σ)\tau\not\in{\mathcal{C}}(\sigma). This shows that all but ok(2−k)no_{k}(2^{-k})n blocked variables are rigid. ∎

W.h.p. we have Nβ≤exp⁡[η(β)⋅n/2k]N_{\beta}\leq\exp\left[{\eta(\beta)\cdot n/2^{k}}\right] for all β\beta, with

The exponent η(β)\eta(\beta) attains its maximum at β=12+ok(1)\beta=\frac{1}{2}+o_{k}(1). Together with our second moment bound below, this implies that for β=12+ok(1)\beta=\frac{1}{2}+o_{k}(1) we have N(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})=\exp(o_{k}(1)n)\cdot N_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) w.h.p., i.e., setting β=12+ok(1)\beta=\frac{1}{2}+o_{k}(1) corresponds to the uniform distribution over clusters and thus to the SP distribution.

The second moment

Thus, the second moment condition (2.1) that we would like to establish for Y=ZβY=Z_{\beta} becomes

However, (5.1) turns out to be false for any β>0\beta>0, for any density r>0r>0. To understand why, let us define the degree dxd_{x} of a variable x∈Vx\in V as the number of times that xx occurs in the formula Φ\textstyle\Phi. Let \mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}=(d_{x})_{x\in V} be the degree sequence of Φ\textstyle\Phi. It is well known that in the “plain” random formula Φ\textstyle\Phi (without conditioning on \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})), the degree of each variable is asymptotically Poisson with mean km/nkm/n. On the other hand, if we condition on \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) for some β>0\beta>0, then the degrees are not asymptotically Poisson anymore. Indeed, the degree dxd_{x} is the sum of the number sxs_{x} of clauses that xx supports, and the number dx′d_{x}^{\prime} of times that xx appears otherwise. While dx′d_{x}^{\prime} is asymptotically Poisson with mean <km/n<km/n as the non-critical clauses do not affect the number of blocked variables at all, sxs_{x} is not. More precisely, we saw in the proof of Proposition 4.2 that for β>0\beta>0, sxs_{x} is the number of “balls” that xx receives in an atypical outcome of the occupancy problem. The precise distribution of sxs_{x} is quite non-trivial, but it is not difficult to verify that sxs_{x} does not have a Poisson distribution. Fleshing this observation out leads to the sobering

In summary, conditioning on \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) with β>0\beta>0 imposes a skewed degree distribution that in turn boosts the expected number of β\beta-heavy solutions beyond the unconditional expectation.

Making things work. We tackle the issue of degree fluctuations by separating the choice of the degree sequence from the choice of the actual formula. More precisely, for a sequence \mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}=(d_{x})_{x\in V} of non-negative integers such that ∑x∈Vdx=km\sum_{x\in V}d_{x}=km we let \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} denote a kk-CNF with degree sequence d\textstyle d chosen uniformly at random amongst all such formulas. Fixing a “typical” degree sequence d\textstyle d, we are going to perform a second moment argument for \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}, thereby preventing fluctuations of the degrees.

How do we define “typical”? Ideally, we would like d\textstyle d to enjoy all the properties that the degree sequence of the (unconditioned) random formula Φ\textstyle\Phi is likely to have. Formally, we let \mathchoice{\mbox{\boldmath\displaystyle D}}{\mbox{\boldmath\textstyle D}}{\mbox{\boldmath\scriptstyle D}}{\mbox{\boldmath\scriptscriptstyle D}}=\mathchoice{\mbox{\boldmath\displaystyle D}}{\mbox{\boldmath\textstyle D}}{\mbox{\boldmath\scriptstyle D}}{\mbox{\boldmath\scriptscriptstyle D}}_{k}(n,m) be the distribution of the degree sequence of Φ\textstyle\Phi. What we are going to show is that our second moment argument succeeds for a random degree sequence chosen from the distribution D\textstyle D w.h.p.

A β\beta-heavy solution \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) is good if the following conditions are satisfied.

There does not exist \tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) with 0.01n≤\mboxdist(σ,τ)≤(12−2−k/3)n0.01n\leq\mbox{dist}(\sigma,\tau)\leq(\frac{1}{2}-2^{-k/3})n.

No variable supports more than 3k3k clauses under σ\sigma.

The first two items mirror our analysis of the solution space from Section 4. The third one turns out to be useful for a purely technical reason.

Let \mathcal{S}_{g,\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) be the set of good β\beta-heavy solutions and set Z_{g,\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}})=\left|{\mathcal{S}_{g,\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}})}\right|. We perform a second moment argument for Z_{g,\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}), with d\textstyle d chosen randomly from the distribution D\textstyle D. The result is

Proposition 5.1 shows that the second moment method for Z_{g,\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) succeeds for feasible β\beta. As we observed in Section 4, a feasible β>0\beta>0 exists so long as r≤2k−1ln⁡2−(ln⁡22+14)−Ok(k4/2k)r\leq 2^{k-1}\ln 2-(\frac{\ln 2}{2}+\frac{1}{4})-O_{k}(k^{4}/2^{k}). Hence, Proposition 5.1 and the Paley-Zygmund inequality show that \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} is NAE-satisfiable for all such rr with a non-vanishing probability for d\textstyle d chosen randomly from D\textstyle D. Consequently, the same is true of the unconditioned formula Φ\textstyle\Phi (because we could generate Φ\textstyle\Phi by first choosing d\textstyle d from D\textstyle D and then generating \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}). Since the kk-NAESAT threshold is sharp , we obtain the lower bound in Theorem 1.1.

W.h.p. the degree sequence d\textstyle d chosen from D\textstyle D is such that

Choose and fix a degree sequence d\textstyle d. We need to compute the probability that some σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} is a good β\beta-heavy solution. By symmetry, we may assume that \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}} is the all-true assignment. Then σ\sigma is a solution iff every clause contains both a positive and a negative literal. Since the signs of the literals are chosen for all mm clauses independently, we see that

Given that σ\sigma is a solution, the number XX of critical clauses has distribution Bin(m,k/(2k−1−1)){\rm Bin}(m,k/(2^{k-1}-1)), because whether a clause is critical depends on its signs only. As in the proof of Proposition 4.2, to determine the probability that σ\sigma is β\beta-heavy we need to solve an occupancy problem: XX balls representing the critical clauses are tossed randomly into nn bins representing the variables. However, this time the bins have capacities: the bin representing x∈Vx\in V can hold no more than min⁡{3k,dx}\min\left\{{3k,d_{x}}\right\} balls in total. Thus, we need to compute the probability that under these constraints, exactly (1−β)2−kn(1-\beta)2^{-k}n bins are empty. This amounts to a rather non-trivial counting problem, but for a random degree sequence d\textstyle d the probability differs from the formula obtained in Proposition 4.2 only by an error term that decays exponentially in kk. More precisely,

Let us provide some intuition why this is. The bin capacities are such that w.h.p. most bins can hold about kr=k2k−1ln⁡2+Ok(k)kr=k2^{k-1}\ln 2+O_{k}(k) balls. By comparison, the total number of balls is X∼kmk/(2k−1−1)∼kn kln⁡2X\sim_{k}mk/(2^{k-1}-1)\sim_{k}n\,k\ln 2 w.h.p. In effect, the expected number of balls that a typical bin receives is about kln⁡2k\ln 2, way smaller than the capacity of that bin. Indeed, since the number of balls that are received by a typical bin is approximately Bin(kr,nkln⁡2km)≈Bin(kr,2−k+1){\rm Bin}(kr,\frac{nk\ln 2}{km})\approx{\rm Bin}(kr,2^{-k+1}), the number of balls can be approximated well by a Po(λ){\rm Po}(\lambda) distribution (with λ=kr/(2k−1−1)∼kkln⁡2\lambda=kr/(2^{k-1}-1)\sim_{k}k\ln 2). Thus, the probability that a bin remains empty is close to exp⁡(−λ)\exp(-\lambda), which was the probability of the same event in the experiment without capacities. The technical details of this argument are quite delicate, as the fluctuations of the capacities need to be controlled very carefully.

We now turn to the second moment. Fix some σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V}, say \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. Let Zg,β(t,σ)Z_{g,\beta}(t,\sigma) denote the number of good \tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) at distance tt from σ\sigma. Using the linearity of expectation and recalling that the set of NAE-solutions is symmetric with respect to inversion, we obtain

Let I={t∈Z:(12−2−k/3)n≤t≤n/2}I=\left\{{t\in\mathbf{Z}:(\frac{1}{2}-2^{-k/3})n\leq t\leq n/2}\right\}. The first two conditions from Definition 1 ensure that given that σ\sigma is good, with certainty we have

This reduces the proof to the analysis of the “central terms” with t∈It\in I. The result of this is

There is a constant C′=C′(k)≥1C^{\prime}=C^{\prime}(k)\geq 1 such that for a random d\textstyle d we have

This is technically the most challenging bit of this work. The argument boils down to estimating the probability that two random \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}\in\left\{{0,1}\right\}^{n} with \mbox{dist}(\mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}})/n=\alpha\in[\frac{1}{2}-2^{-k/3},\frac{1}{2}] simultaneously are good β\beta-heavy solutions. To compute this probability, we need to analyze the interplay of two occupancy problems as in the proof of Lemma 5.2 with respect to the same degree sequence d\textstyle d.

More precisely, let B=⋃x∈V{x}×{1,…,dx}B=\bigcup_{x\in V}\left\{{x}\right\}\times\left\{{1,\ldots,d_{x}}\right\} be a set of kmkm “balls”. Generating \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} is equivalent to drawing a random bijection \mathchoice{\mbox{\boldmath\displaystyle\pi}}{\mbox{\boldmath\textstyle\pi}}{\mbox{\boldmath\scriptstyle\pi}}{\mbox{\boldmath\scriptscriptstyle\pi}}:\left[{m}\right]\times\left[{k}\right]\rightarrow B, with π(i,j)=(x,l)\pi(i,j)=(x,l) indicating that xx is the underlying variable of the jjth literal of clause ii, and independently choosing a map \mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}}:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{\pm 1}\right\} indicating the signs. Further, we represent the occupancy problems for \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}} by two “colorings” gσ,gτ:B→{red,blue}g_{\sigma},g_{\tau}:B\rightarrow\left\{{\mathtt{red},\mathtt{blue}}\right\}, with gσ(x,l)=redg_{\sigma}(x,l)=\mathtt{red} indicating that the llth position in bin xx is occupied under σ\sigma (and analogously for τ\tau). We compute the probability p(α,gσ,gτ)p(\alpha,g_{\sigma},g_{\tau}) that \mathchoice{\mbox{\boldmath\displaystyle\pi}}{\mbox{\boldmath\textstyle\pi}}{\mbox{\boldmath\scriptstyle\pi}}{\mbox{\boldmath\scriptscriptstyle\pi}},\mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}} induce a formula in which

literal (i,j)(i,j) supports clause ii under σ\textstyle\sigma iff gσ∘π(i,j)=redg_{\sigma}\circ\pi(i,j)=\mathtt{red}, and similarly for τ\textstyle\tau.

both \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}} are good β\beta-heavy solutions.

The result is that for any gσ,gτg_{\sigma},g_{\tau} the “success probability” is minimized at α=1/2\alpha=1/2. Quantitatively,

On the other hand, the total number of assignment pairs satisfies

which is maximized at α=1/2\alpha=1/2. Combining (5.7) and (5.8), we see that for any two colorings gσ,gτg_{\sigma},g_{\tau} the dominant contribution to the second moment stems from α=12+O(1/n)\alpha=\frac{1}{2}+O(1/\sqrt{n}), i.e., from “perfectly decorrelated” \mathchoice{\mbox{\boldmath\displaystyle\sigma}}{\mbox{\boldmath\textstyle\sigma}}{\mbox{\boldmath\scriptstyle\sigma}}{\mbox{\boldmath\scriptscriptstyle\sigma}},\mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}. The assertion follows by evaluating the contribution of such α\alpha explicitly and summing over gσ,gτg_{\sigma},g_{\tau}. ∎

Acknowledgment. The first author thanks Dimitris Achlioptas and Lenka Zdeborová for helpful discussions on the second moment method and the statistical mechanics work on random CSPs.

References

Appendix 0.A Preliminaries

The next lemma provides an asymptotically tight bound for the probability that a sum of independent and identically distributed random variables attains a specific value. It will be an important tool in our further analysis, since we will be often interested in the exact probabilities of rare events.

where ζ\zeta and ξ\xi are the solutions to the equations

The first statement follows immediately from Theorem VIII.8 and the remark after Example VIII.11 in . To see the second statement let us write ζδ\zeta_{\delta} for the solution to the equation ζδP′(ζδ)P(ζδ)=μ+δσ\frac{\zeta_{\delta}P^{\prime}(\zeta_{\delta})}{P(\zeta_{\delta})}=\mu+\delta\sigma. Since P(1)=1P(1)=1 and P′(1)=μP^{\prime}(1)=\mu we infer that if δ=0\delta=0, then ζδ=1\zeta_{\delta}=1. Moreover, a Taylor series expansion around z=1z=1 guarantees for all δ\delta in a bounded interval around 0 that

Since σ2=P′′(1)+P′(1)−P′(1)2\sigma^{2}=P^{\prime\prime}(1)+P^{\prime}(1)-P^{\prime}(1)^{2}, for all δ\delta in a bounded interval around 0 we have that ζδ=1+δ/σ+O(δ2)\zeta_{\delta}=1+{\delta}/\sigma+O(\delta^{2}). In order to show (0.A.3) we evaluate the right-hand side of (0.A.1) at ζ=ζδ\zeta=\zeta_{\delta}. Again a Taylor series expansion around z=1z=1 guarantees that

The exponential term in (0.A.3) is then obtained by using the fact 1−x=e−x−Θ(x2)1-x=e^{-x-\Theta(x^{2})}. Finally, note that

By applying again Taylor’s Theorem to this function we obtain after some elementary algebra (details omitted) that the value of this function at ζ=ζδ\zeta=\zeta_{\delta} equals σ+O(δ)\sigma+O(\delta), and the proof of (0.A.3) is completed. ∎

The next statement provides tight asymptotic bounds for binomial coefficients.

Let 0<α≤1/20<\alpha\leq 1/2 and −1/2<ε<1/2-1/2<\varepsilon<1/2 be such that 0<α+ε<10<\alpha+\varepsilon<1. Then, as N→∞N\to\infty

where H(x)=−xln⁡x−(1−x)ln⁡(1−x)H(x)=-x\ln x-(1-x)\ln(1-x) denotes the entropy function and f(x)=x(1−x)f(x)=x(1-x).

The first statement is well-known, see e.g. . To see the second statement, note first that that H′(x)=ln⁡(1−xx)H^{\prime}(x)=\ln(\frac{1-x}{x}) and H′′(x)=(x(x−1))−1H^{\prime\prime}(x)=(x(x-1))^{-1}, both valid in (0,1)(0,1). Then, Taylor’s Theorem guarantees that

from which the second statement follows immediately. ∎

Let X∼Bin(m,k/(2k−1−1))X\sim{\rm Bin}(m,k/(2^{k-1}-1)). We throw XX balls into nn bins uniformly at random. Let BiB_{i} denote the number of bins that receive ii balls. Then, for any −3/2≤β≤1-3/2\leq\beta\leq 1

We shall estimate the desired probability by conditioning on any specific value xx of XX. Let FiF_{i} be the number of balls in the iith bin, and let P1,…,PnP_{1},\dots,P_{n} be independent Poisson distributed random variables with mean λ\lambda. It is well-known and easy to verify that the distribution of (F1,…,Fn)(F_{1},\dots,F_{n}) is the same as the distribution of (P1,…,Pn)(P_{1},\dots,P_{n}), conditioned on the event A(x)=“∑1≤i≤nPi=x”{\cal A}(x)=\text{``}\sum_{1\leq i\leq n}P_{i}=x\text{''}. So, if we denote by N0N_{0} the number of PiP_{i}’s that are equal to 0, we infer that

By the law of total probability this equals

Note that N0∼Bin(n,e−λ)N_{0}\sim{\rm Bin}(n,e^{-\lambda}). Furthermore, if we denote by P1′,…,Pξn′P_{1}^{\prime},\dots,P_{\xi n}^{\prime}, where ξ=1−(1−β)e−λ\xi=1-(1-\beta)e^{-\lambda}, independent Poisson variables that are conditioned on being at least 11, then the above equation implies that

i.e., we require that the sum of the Pi′P_{i}^{\prime}’s deviates from the expected value by Ok(k2−kn)O_{k}(k2^{-k}n). By applying Lemma 0.A.1, where we set δ=Ok(k1/22−k)\delta=O_{k}(k^{1/2}2^{-k}), we conclude that the right-hand side of (0.B.2) is at least exp⁡{−Ok(k4−kn)}\exp\{-O_{k}(k4^{-k}n)\}. This shows the lower bound in (0.B.1).

In the remainder of this proof we will show an upper bound for the right-hand side of (0.B.2). To this end, we will argue that the ratio Pr⁡[Bin(rn,k/(2k−1−1))=γλn]/Pr⁡[Po(λn)=γλn]\Pr[{\rm Bin}(rn,{k}/({2^{k-1}-1}))=\gamma\lambda n]/\Pr[{\rm Po}(\lambda n)=\gamma\lambda n] is essentially bounded for all xx in the given range, from which the claim immediately follows. More specifically, let us write x=γ λnx=\gamma\,\lambda n, where ξ/λ≤γ≤r/λ\xi/\lambda\leq\gamma\leq r/\lambda. By applying Stirling’s Formula N!=(1+o(1))2πN(N/e)NN!=(1+o(1))\sqrt{2\pi N}(N/e)^{N} we infer that

Moreover, by abbreviating p=k/(2k−1−1)p=k/(2^{k-1}-1) we get

Since (NαN)≤eH(α) N\binom{N}{\alpha N}\leq e^{H(\alpha)\,N}, where HH denotes the entropy function, we obtain after some elementary algebra

By combining this with (0.B.3) we obtain the estimate

Recall that 0<ξ/λ≤γ≤r/λ=1/p0<\xi/\lambda\leq\gamma\leq r/\lambda=1/p, and note that both f(0)f(0) and f(1/p)f(1/p) are <0<0. Moreover, ff has an extremal point at γ=1\gamma=1, where f(1)=0f(1)=0. Thus, for all γ\gamma in the considered range we have that f(γ)≤0f(\gamma)\leq 0, which implies that the right-hand side of (0.B.2) is bounded from above by at most a polynomial in nn. This completes the proof of the lemma. ∎

The proof of Proposition 4.2 then completes by applying the following statement.

There is a k0≥3k_{0}\geq 3 such that the following is true. Let Y∼Bin(n,e−λ)Y\sim{\rm Bin}(n,e^{-\lambda}). For any −3/2≤β≤1-3/2\leq\beta\leq 1

Let us abbreviate ξ=(1−β)e−λ\xi=(1-\beta)e^{-\lambda}. We will assume that ξn=⌊ξn⌋\xi n=\lfloor\xi n\rfloor, i.e., that β=1−N(e−λn)−1\beta=1-N(e^{-\lambda}n)^{-1} for some N∈N0N\in\mathbf{N}_{0}. To see that this is sufficient, note that by Taylor’s Theorem, for any β≥1\beta\geq 1 and any ∣εn∣≤(e−λn)−1|\varepsilon_{n}|\leq(e^{-\lambda}n)^{-1} such that β+εn≤1\beta+\varepsilon_{n}\leq 1 there is a δ∈[β,β+εn]\delta\in[\beta,\beta+\varepsilon_{n}] such that

With the above assumption we proceed with the proof of the claim. The definition of the binomial distribution implies

If β=1\beta=1, then ξ=0\xi=0 the above expression simplifies to

Since f(1)=e−λf(1)=e^{-\lambda} and λ=kln⁡2+Θ(k2−k)\lambda=k\ln 2+\Theta(k2^{-k}), we infer that the statement is true for β=1\beta=1. It remains to treat the case β<1\beta<1. Standard bounds for the binomial coefficients imply

Using the estimate ln⁡(1−x)=−x−Θ(x2)\ln(1-x)=-x-\Theta(x^{2}), which is valid for ∣x∣<1|x|<1, we infer after some elementary algebra that

Similarly, the second and the third term in (0.B.4) can be estimated with

By plugging this fact together with (0.B.5) into (0.B.4) we finally obtain the desired statement. ∎

We proceed with the proof of the upper bound in Theorem 1.1. Let Zβ,γZ_{\beta,\gamma} denote the number of β\beta-heavy solutions σ\sigma such that 1nlog⁡2∣C(σ)∣≤(1−β−γ)e−λ\frac{1}{n}\log_{2}\left|{{\mathcal{C}}(\sigma)}\right|\leq(1-\beta-\gamma)e^{-\lambda}. The following statement provides an upper bound for the expected number of such solutions.

For any −3/2≤β≤1-3/2\leq\beta\leq 1 and γ>k5/2e−λ\gamma>k^{5/2}e^{-\lambda} we have for sufficiently large kk

given that \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). Let F(σ)\mathcal{F}(\sigma) denote the set of free variables, and denote by X\mathcal{X} be the set of clauses that do not contain both a positive and a negative literal whose underlying variable is in V∖F(σ)V\setminus\mathcal{F}(\sigma). Then only the clauses in X\mathcal{X} impose constraints on the free variables. We decompose X\mathcal{X} into k−1k-1 subsets X2,…,Xk\mathcal{X}_{2},\dots,\mathcal{X}_{k}, where Xi\mathcal{X}_{i} the set of all clauses in X\mathcal{X} that contain ii variables from F(σ)\mathcal{F}(\sigma). Note that X=∪i=2kXi\mathcal{X}=\cup_{i=2}^{k}\mathcal{X}_{i}, as any clause with only one variable from F(σ)\mathcal{F}(\sigma) necessarily contains both positive and negative literals whose underlying variables are not free. Let Xi=∣Xi∣X_{i}=|X_{i}|. Since only the clauses in X\mathcal{X} impose constraints on variables from F(σ)\mathcal{F}(\sigma) that occur in them, we infer that

from which the statement in the lemma follows immediately.

Note that the set F(σ)\mathcal{F}(\sigma) is determined by the critical clauses only. Therefore, given that \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}), the variables that occur in the non-critical clauses are independent and uniformly distributed over the set of all variables. Similarly, given that \sigma\in\mathcal{S}_{\beta}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) the k−1k-1 variables that contributed the “majority value” to each critical clause are independently uniformly distributed. Therefore, XiX_{i} is stochastically dominated by a binomial random variable

Our assumption −3/2≤β≤1-3/2\leq\beta\leq 1 guarantees that (1−β)e−λ≤3e−λ≤3⋅2−k(1-\beta)e^{-\lambda}\leq 3e^{-\lambda}\leq 3\cdot 2^{-k}. By using the estimate (ki)≤ki\binom{k}{i}\leq k^{i} we infer that

Let us fix δ=15ln⁡k\delta=\frac{1}{5}\ln k. By the arithmetic-geometric mean inequality we obtain that the expression in the previous equation is at most

Since t=γe−λ>k5/24−kt=\gamma e^{-\lambda}>k^{5/2}4^{-k}, for sufficiently large kk we get (0.B.6), and the proof is completed. ∎

Let r∗r_{*} be the least density rr such that g(β)<−k34−k+1g(\beta)<-k^{3}4^{-k+1} for all β≥−1\beta\geq-1. Since gg is maximized for β=1/2\beta=1/2, where g(1/2)=2ρ−ln⁡22k−12e−λg(1/2)=\frac{2\rho-\ln 2}{2^{k}}-\frac{1}{2}e^{-\lambda}, it is easily verified that

With r=r∗r=r^{*} the random formula Φ\textstyle\Phi does not have a NAE-solution w.h.p.

Let us assume for the induction step that ii is such that w.h.p. Z≤βi=0Z_{\leq\beta_{i}}=0. Let γ0=k3e−λ\gamma_{0}=k^{3}e^{-\lambda}, and let Z′Z^{\prime} be the number of solutions that are β′\beta^{\prime}-heavy for some β′>βi\beta^{\prime}>\beta_{i} and such that 1nlog⁡2∣C(σ)∣≥(1−βi−γ0)e−λ\frac{1}{n}\log_{2}\left|{{\mathcal{C}}(\sigma)}\right|\geq(1-\beta_{i}-\gamma_{0})e^{-\lambda}. Then, by applying Proposition 4.2 and using that h(x)h(x) is monotone increasing for x≤0x\leq 0 and monotone decreasing for x≥0x\geq 0 we obtain

Let us first consider the case βi≤0\beta_{i}\leq 0. The choice of r∗r^{*} guarantees that g(0)=h(0)−e−λln⁡2<−k34−k+1g(0)=h(0)-e^{-\lambda}\ln 2<-k^{3}4^{-k+1}. Since Z′>0Z^{\prime}>0 implies Z′≥exp⁡{n(1−βi−γ0)e−λln⁡2}≥exp⁡{n(1−γ0)e−λln⁡2}Z^{\prime}\geq\exp\{n(1-\beta_{i}-\gamma_{0})e^{-\lambda}\ln 2\}\geq\exp\{n(1-\gamma_{0})e^{-\lambda}\ln 2\} or otherwise Z≤βi>0Z_{\leq\beta_{i}}>0 we infer for sufficiently large kk that

On the other hand, if βi>0\beta_{i}>0, then again the choice of r∗r^{*} is such that g(βi)=h(βi)−(1−βi)e−λln⁡2<−k34−k+1g(\beta_{i})=h(\beta_{i})-(1-\beta_{i})e^{-\lambda}\ln 2<-k^{3}4^{-k+1}. Thus, for sufficiently large kk

So, since Z′>0Z^{\prime}>0 implies Z′≥exp⁡{n(1−βi−γ0)e−λln⁡2}Z^{\prime}\geq\exp\{n(1-\beta_{i}-\gamma_{0})e^{-\lambda}\ln 2\} or otherwise Z≤βi>0Z_{\leq\beta_{i}}>0 we infer that

Thus, in both cases we have that Pr⁡[Z′>0]=o(1)\Pr[Z^{\prime}>0]=o(1). In remains to consider all satisfying assignments such that 1nlog⁡2∣C(σ)∣≤(1−βi−γ0)e−λ\frac{1}{n}\log_{2}\left|{{\mathcal{C}}(\sigma)}\right|\leq(1-\beta_{i}-\gamma_{0})e^{-\lambda}. More specifically, let Zj′Z_{j}^{\prime} be the number of solutions that are β′\beta^{\prime}-heavy for some βi<β′≤βi+1\beta_{i}<\beta^{\prime}\leq\beta_{i+1} and such that

where γj+1=2γj\gamma_{j+1}=2\gamma_{j}. Choose β′\beta^{\prime} be such that \mathcal{S}_{\beta^{\prime}}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})\cap{\mathcal{C}}(\sigma) is maximized. Then

Since Z≤βi=0Z_{\leq\beta_{i}}=0 w.h.p., we may assume that β′>βi\beta^{\prime}>\beta_{i}. There are two cases to consider.

Case 1: 1−βi−γj+1>1−β′1-\beta_{i}-\gamma_{j+1}>1-\beta^{\prime}. We will show that in this case the number of β′\beta^{\prime}-heavy assignments is larger than the expected value by at least an exponential factor. Indeed, our assumption on gg implies for sufficiently large kk that

By Markov’s inequality, the probability of this event is exp⁡(−Ω(n))\exp(-\Omega(n)).

Case 2: 1−βi−γj+1≤1−β′1-\beta_{i}-\gamma_{j+1}\leq 1-\beta^{\prime}. The assumption guarantees the existence of a γ′>0\gamma^{\prime}>0 such that

In this case we will show that the number of solutions in Sβ′,γ′(Φ)\mathcal{S}_{\beta^{\prime},\gamma^{\prime}}(\Phi) is larger than the expected value by at least an exponential factor. Equation (0.B.8) implies that

If γ′>k5/2e−λ\gamma^{\prime}>k^{5/2}e^{-\lambda}, then by Lemma 0.B.3 and our assumption on gg

Since the probability that either case occurs is exp⁡(−Ω(n))\exp(-\Omega(n)), we conclude that the same is true of the event “Zj′>0Z_{j}^{\prime}>0”. Taking the union bound over jj then completes the induction step, i.e., Z≤βi+1=0Z_{\leq\beta_{i+1}}=0 w.h.p.∎

Appendix 0.C Proof of the lower bound

Let \mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}},\mathchoice{\mbox{\boldmath\displaystyle D}}{\mbox{\boldmath\textstyle D}}{\mbox{\boldmath\scriptstyle D}}{\mbox{\boldmath\scriptscriptstyle D}} be as in Section 5. In the extended abstract, we presented a slightly streamlined definition of “good”. Technically it will be more convenient to work with the following definition. (It will emerge later that the two definitions are equivalent.) Recall that λ=kr/(2k−1−1)\lambda=kr/(2^{k-1}-1).

We call a solution σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} of \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} β\beta-good if it satisfies the following conditions.

σ\sigma is β\beta-heavy and the total number of critical clauses is equal to λn\lambda n.

No variable supports more than 3k3k clauses.

Let Zβ\mathcal{Z}_{\beta} be the number of β\beta-good solutions. As a first step, we determine the expectation of Zβ\mathcal{Z}_{\beta}.

Suppose that d\textstyle d is chosen from the distribution D\textstyle D. Then w.h.p.

Let us fix an assignment σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V}, say \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. Moreover, let Σ\Sigma be the event that σ\sigma is a β\beta-good solution. Let Zβ(t)\mathcal{Z}_{\beta}(t) be the number of β\beta-good solutions \tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) such that \mboxdist(σ,τ)=t\mbox{dist}(\sigma,\tau)=t. Then the symmetry properties of \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} imply the following.

For any r<r∗r<r^{*} there exists 0<β≤120<\beta\leq\frac{1}{2} such that for d\textstyle d chosen from D\textstyle D w.h.p.

This follows from Proposition 0.C.1 and a little bit of calculus. ∎

As a next step, we are going to bound the second summand in (0.C.1). This is technically the most demanding part of this work. In Appendix 0.D we are going to prove the following.

Let δ=2−k/3\delta=2^{-k/3}. There is a number C=C(k)C=C(k) such that for a degree sequence d\textstyle d chosen from D\textstyle D we have w.h.p.

This follows directly from (0.C.1), Lemma 0.C.1, and Lemma 0.C.2. ∎

Proof of Theorem 1.1 (lower bound). By Corollary 0.C.1 and the Paley-Zygmund inequality, for any r<r∗r<r^{*} for a random d\textstyle d chosen from the distribution D\textstyle D we have w.h.p.

Since D\textstyle D is precisely the distribution of the degree sequence of the uniformly random formula Φ\textstyle\Phi, we have

where the expectation on the left hand side ranges over d\textstyle d chosen from D\textstyle D. Therefore, (0.C.2) implies that

C.2 Proof of Proposition 0.C.1

We begin with the following simple observation.

We may assume without loss that \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. Then σ\sigma is a solution iff each clause has both a positive and a negative literal. Since the signs of the literals are chosen uniformly and independently, the assertion follows. ∎

We defer the proof of the following result to Section 0.C.3.

Let d\textstyle d be a chosen from D\textstyle D. Then w.h.p. we have

Let d\textstyle d be chosen from D\textstyle D. Then w.h.p. the following is true.

Let us call S⊂VS\subset V dense if each variable in SS supports at least two clauses that each feature another variable from SS.

Let d\textstyle d be chosen from D\textstyle D and let σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V}. Let A\mathcal{A} be the event that \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) and that σ\sigma satisfies conditions 1.–2. in Definition 2. Then w.h.p.

We may assume that d\textstyle d satisfies (0.C.4). Let D(S)\mathcal{D}(S) be the event that S⊂VS\subset V is dense. We claim that

Indeed, the factor k2∣S∣k^{2|S|} accounts for the number of ways to choose the two relevant clauses supported by each variable, and the second factor bounds the probability that each of these clauses contains another occurrence of a variable from SS. Now, (0.C.4) yields

For 0<s≤1/k50<s\leq 1/k^{5} let XsX_{s} be the number of sets SS of size ∣S∣=sn|S|=sn for which D(S)\mathcal{D}(S) occurs. Then

Summing over all possible ss and using Markov’s inequality completes the proof. ∎

The expected number of solutions \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) in which more than k42−knk^{4}2^{-k}n variables support at most four clauses is ≤exp⁡(−nk3/2k)\leq\exp(-nk^{3}/2^{k}).

Fix an assignment σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V}, say \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. Then number of clauses supported by each x∈Vx\in V is asymptotically Poisson with mean λ\lambda. Let Ex{\cal E}_{x} be the event that xx supports no more than three clauses. Then

The events (Ex)x∈V({\cal E}_{x})_{x\in V} are negatively correlated. Therefore, the total number XX of variables x∈Vx\in V for which Ex{\cal E}_{x} occurs is stochastically dominated by a binomial variable Bin(n,k42−k−1){\rm Bin}(n,k^{4}2^{-k-1}). Hence, the assertion follows from Chernoff bounds. ∎

Let us call a set S⊂VS\subset V self-contained if each variable in SS supports at least two clauses that consist of variables in SS only. There is a simple process that yields a (possibly empty) self-contained set SS.

For each variable xx that supports at least one clause, choose such a clause CxC_{x} randomly.

Let RR be the set of all variables that support at least four clauses.

While there is a variable x∈Rx\in R that supports fewer than two clauses \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{i}\neq C_{x} that consist of variables of RR only, remove xx from RR.

The clauses CxC_{x} will play a special role later.

The expected number of solutions \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) for which the above process yields a set RR of size ∣R∣≤(1−k5/2k)n|R|\leq(1-k^{5}/2^{k})n is bounded by exp⁡(−Ω(n))\exp(-\Omega(n)).

Let σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} be an assignment, say \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. Let QQ be the set of all variables that support fewer than three clauses. By Lemma 0.C.6 we may condition on ∣Q∣≤k42−kn|Q|\leq k^{4}2^{-k}n. Assume that its size is ∣R∣≤(1−k5/2k)n|R|\leq(1-k^{5}/2^{k})n. Then there exists a set S⊂V∖(R∪Q)S\subset V\setminus(R\cup Q) of size 12k5n/2k≤S≤k5n/2k\frac{1}{2}k^{5}n/2^{k}\leq S\leq k^{5}n/2^{k} such that each variable in SS supports two clauses that contain another variable from S∪QS\cup Q. With s=∣S∣/ns=|S|/n the probability of this event is bounded by

Hence, the expected number of set SS for which the aforementioned event occurs is bounded by

Let d\textstyle d be chosen from D\textstyle D. Then the expected number of solutions \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) for which the above process yields a set RR of size ∣R∣≤(1−k5/2k)n|R|\leq(1-k^{5}/2^{k})n is bounded by exp⁡(−Ω(n))\exp(-\Omega(n)).

Since the random formula Φ\textstyle\Phi can be generated by first choosing d\textstyle d from D\textstyle D and then generating \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}, the assertion follows from Lemma 0.C.7. ∎

Let us call a variable xx is attached if xx supports a clause whose other k−1k-1 variables belong to RR.

W.h.p. a degree sequence d\textstyle d chosen from D\textstyle D has the following property. Let σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} and let A\mathcal{A} be the event that \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) and that σ\sigma satisfies Conditions 1. and 2. in Definition 2. Moreover, let YY be the number variables that support a clause but that are not attached. Then

Let us call a variable x∈Vx\in V ξ\xi-rigid in a solution \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) if for any solution \tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) with τ(x)≠σ(x)\tau(x)\neq\sigma(x) we have \mboxdist(σ,τ)≥ξn\mbox{dist}(\sigma,\tau)\geq\xi n.

W.h.p. a degree sequence d\textstyle d chosen from D\textstyle D has the following property. Let σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} and let A\mathcal{A} be the event that \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) and that σ\sigma satisfies Conditions 1. and 2. in Definition 2. Moreover, let YY be the number of variables that support a clause but that are k−5k^{-5}-rigid. Then

We condition on the event A\mathcal{A}. By Corollary 0.C.2, we may assume that the self-contained set RR has size ∣R∣≥(1−k5/2k)n|R|\geq(1-k^{5}/2^{k})n. Assume that there is \tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}), \mboxdist(σ,τ)<n/k5\mbox{dist}(\sigma,\tau)<n/k^{5}, such that

is non-empty. Then Δ\Delta is dense. Indeed, every x∈Δx\in\Delta supports at least two clauses, and thus Δ\Delta must contain another variable from each of them. Thus, Lemma 0.C.5 shows that ∣Δ∣≥n/k5\left|{\Delta}\right|\geq n/k^{5}, which is a contradiction.

Hence, w.h.p. all variables x∈Rx\in R are k−5k^{-5}-rigid. Furthermore, if a variable yy is attached, then for any solution τ\tau with τ(y)≠σ(y)\tau(y)\neq\sigma(y) there is x∈Rx\in R such that τ(x)≠σ(x)\tau(x)\neq\sigma(x). Consequently, all attached variables are k−5k^{-5}-rigid w.h.p. Therefore, the assertion follows from Corollary 0.C.3. ∎

To complete the proof, we need the following fairly simple lemma.

The expected number of pairs of solutions \sigma,\tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) such that nk6≤\mboxdist(σ,τ)≤(12−2−k/2)n\frac{n}{k^{6}}\leq\mbox{dist}(\sigma,\tau)\leq(\frac{1}{2}-2^{-k/2})n is ≤exp⁡(−Ω(n))\leq\exp(-\Omega(n)).

For a given 0≤α≤10\leq\alpha\leq 1 let PαP_{\alpha} denote the number of pairs \sigma,\tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}) with \mboxdist(σ,τ)=αn\mbox{dist}(\sigma,\tau)=\alpha n As worked out in , we have

It is a mere exercise in calculus to verify that the r.h.s. is strictly negative for all k−6≤α≤12−2−k/2k^{-6}\leq\alpha\leq\frac{1}{2}-2^{-k/2}. ∎

W.h.p. a degree sequence d\textstyle d chosen from D\textstyle D has the following property. The expected number of pairs of solutions \sigma,\tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) such that nk6≤\mboxdist(σ,τ)≤(12−2−k/2)n\frac{n}{k^{6}}\leq\mbox{dist}(\sigma,\tau)\leq(\frac{1}{2}-2^{-k/2})n is ≤exp⁡(−Ω(n))\leq\exp(-\Omega(n)).

Combining Lemma 0.C.3, Proposition 0.C.2, Corollary 0.C.4, and Corollary 0.C.5, we obtain

W.h.p. a degree sequence d\textstyle d chosen from D\textstyle D has the following property. Let σ∈{0,1}V\sigma\in\left\{{0,1}\right\}^{V} and let A\mathcal{A} be the event that \sigma\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}}) and that σ\sigma satisfies Conditions 1. and 2. in Definition 2. Then

Finally, Proposition 0.C.1 is a direct consequence of Lemma 0.C.3, Proposition 0.C.2, and Corollary 0.C.6.

C.3 Proof of Proposition 0.C.2

Let us begin with establishing the probable properties of d\mathbf{d} that we will need.

Let d=(d1,…,dn)\mathbf{d}=(d_{1},\dots,d_{n}) be from the distribution D=D(k,r,n)\mathbf{D}=\mathbf{D}(k,r,n). Then, with high probability, for any 0≤α≤(kr)1/20\leq\alpha\leq(kr)^{1/2}, the sequence d\mathbf{d} has the following properties. First, for all ii such that ∣i−kr∣≤αkr|i-kr|\leq\alpha\sqrt{kr}

Moreover, the remaining variables satisfy

Let P1,…,PnP_{1},\dots,P_{n} be independent Po(kr){\rm Po}(kr) random variables, and note that the joint distribution of (d1,…,dn)(d_{1},\dots,d_{n}) and (P1,…,Pn)(P_{1},\dots,P_{n}), conditional on ∑1≤i≤nPi=krn\sum_{1\leq i\leq n}P_{i}=krn, coincide. Since the expectation of the sum of the PiP_{i}’s equals krnkrn, Lemma 0.A.1 applied with δ=0\delta=0 implies that for any event E\cal E we have that

In other words, it sufficient to show that the statements in the lemma hold with probability 1−o(n−1/2)1-o(n^{-1/2}) for a sequence of independent Poisson random variables. The statements the follow from the Chernoff bounds and the fact that for any λ=kr\lambda=kr and α\alpha as assumed

The aim of this section is to show that for any d\mathbf{d} satisfying the conclusions of Lemma 0.C.9

i.e., Proposition 0.C.2 holds. We will assume that σ=1\sigma=\mathbf{1} throughout.

First of all, let CC denote the number of critical clauses. Given that 1\mathbf{1} is a NAE-satisfying assignement, then there are for each clause in total 2k−22^{k}-2 ways to choose the signs of the variables, each one of them being equally likely. Since the number of ways to choose the signs so as to obtain a critical clause is 2k2k, the probability that a given clause is critical is k/(2k−1−1)k/(2^{k-1}-1). Moreover, the events that different clauses are critical are independent, implying that CC is distributed like Bin(m,k/(2k−1−1)){\rm Bin}(m,k/(2^{k-1}-1)).

It follows that the probability in (0.C.7) equals

In the sequel we adopt a different formulation of this probabilistic question that is based on the classical occupancy problem. Let us think of the variables as bins, such that the ithth bin has capacity did_{i}, where d=(d1,…,dn){\mathbf{d}}=(d_{1},\dots,d_{n}). In other words, we assume that the iith bin contains did_{i} distinguished “slots”. Then we throw randomly λn\lambda n balls into the bins, i.e., the jjth ball chooses uniformly at random one of the remaining ∑1≤i≤ndi−(j−1)=krn−j+1\sum_{1\leq i\leq n}d_{i}-(j-1)=krn-j+1 available slots, for each 1≤j≤λn1\leq j\leq\lambda n. In this setting, the probability in (0.C.8) is equal to the probability that in the balls-into-bins game with the given capacity constraints the number of empty bins equals (1−β)e−λn(1-\beta)e^{-\lambda}n, and no bin contains more than 2k2k balls. More precisely, let RiR_{i}, where 1≤i≤n1\leq i\leq n, denote the number of balls selected from the iith bin. Then, the probability in (0.C.8) equals

We will show that the probability above is exp⁡{(f(β)+Ok(4−k))n}\exp\{(f(\beta)+O_{k}(4^{-k}))n\}, which together with (0.C.8) completes the proof of (0.C.7).

Before we estimate the latter probability, let us give some intuitive explanation why this should be equal to e(f(β)+Ok(4−k))ne^{(f(\beta)+O_{k}(4^{-k}))n}, i.e., why the conclusion of the proposition is true. Our assumption on the bin capacities (0.C.5) guarantees that most bins have a capacity very close to kr≈k2k−1ln⁡2kr\approx k2^{k-1}\ln 2. Recall also that the probability that any slot receives a ball is λ/kr≈2−k+1\lambda/kr\approx 2^{-k+1}. This means that the expected number of balls that a typical bin receives is ≈k\approx k, which is far smaller than the capacity of that bin. But we can say even more: since the number of balls that are received by a typical bin is ≈Bin(kr,λ/kr)\approx{\rm Bin}(kr,\lambda/kr), and the expected value is far less than krkr, it is reasonable to assume that this number can be approximated well by a Po(λ){\rm Po}(\lambda) distribution. So, the probability that a bin remains empty is close to e−λe^{-\lambda}, and then the probability that the number of empty bins is exactly (1−β)e−λn(1-\beta)e^{-\lambda}n should be close to Pr⁡[Bin(n,e−λ)=(1−β)e−λn]\Pr[{\rm Bin}(n,e^{-\lambda})=(1-\beta)e^{-\lambda}n]. The argument then completes by applying Lemma 0.B.2.

Let us now put the above intuitive reasoning on a rigorous ground. First of all, note that in the right-hand side of (0.C.9) the condition “T=λnT=\lambda n” is global, in the sense that it binds the values of all variables B1,…,BnB_{1},\dots,B_{n}. We can get rid of this global restriction by applying the law of total probability. We obtain that

The remainder of the proof is devoted to showing the following bounds.

The three inequalities together with (0.C.10) imply that

and the proof of the proposition is completed after applying Lemma 0.B.2.

In the remainder of the proof we will write Di\mathcal{D}_{i} for the set of bins with capacity ii and D≥α\mathcal{D}^{\geq\alpha} for the set of bins with capacity smaller than kr−αkrkr-\alpha\sqrt{kr} or larger than kr+αkrkr+\alpha\sqrt{kr}, and note that ∣Di∣=Di|\mathcal{D}_{i}|=D_{i} and ∣D≥α∣=D≥α|\mathcal{D}^{\geq\alpha}|=D^{\geq\alpha}.

Proof of (0.C.12). Recall that the number of bins with capacity ii is denoted by DiD_{i}. Since the number of balls in a bin with capacity ii is distributed like Bin(i,λ/kr){\rm Bin}(i,\lambda/kr), and these variables are all independent, we obtain that

Our assumption (0.C.6) guarantees that d\mathbf{d} is such that

Thus, if kk is sufficiently large, the last term in (0.C.14) can be bounded with

Let us now consider the terms involving all ii such that ∣i−kr∣<kkr|i-kr|<k\sqrt{kr} in (0.C.15). By using the estimate (ab)≤(ea/b)b\binom{a}{b}\leq(ea/b)^{b} we infer that for any such ii and sufficiently large kk we have

Thus, since ∑i≥0Di=n\sum_{i\geq 0}D_{i}=n, by using the fact 1−x=e−x−Θ(x2)1-x=e^{-x-\Theta(x^{2})}, valid for all ∣x∣≤1|x|\leq 1,

This result, together with (0.C.15) and (0.C.14) finally prove (0.C.12).

In the following proof we will approximate the probability of the event “T=λn and X0=(1−β)e−λnT=\lambda n\text{ and }X_{0}=(1-\beta)e^{-\lambda}n”, conditional on X>3k=0X_{>3k}=0, by the right-hand side of the above equation times an error term, which is of order exp⁡{−Ok(k4−k)n}\exp\{-O_{k}(k4^{-k})n\}. In particular, we will identify the most relevant objects that contribute precisely these terms to the desired probability.

In order to prove a lower bound for the probability of the event “T=λn and X0=(1−β)e−λnT=\lambda n\text{ and }X_{0}=(1-\beta)e^{-\lambda}n” we will consider only specific configurations of balls that lead to the desired outcome. More precisely, let b=(b1,…,bn)\mathbf{b}=(b_{1},\dots,b_{n}) denote a possible outcome of the random experiment that we study, where bib_{i} denotes the number of balls in the iith bin. We will call b\mathbf{b} balanced if it has the following properties:

Let j∈Dij\in\mathcal{D}_{i}, where ∣i−kr∣≥kkr|i-kr|\geq k\sqrt{kr}. Then bj=0b_{j}=0. Informally, the D≥kD^{\geq k} bins with “too small” or “too big” capacities are empty.

Let Di′\mathcal{D}_{i}^{\prime} denote the set of bins in Di\mathcal{D}_{i} that do not receive a ball. For all ii such that ∣i−kr∣<kkr|i-kr|<k\sqrt{kr}

Informally, the fraction of empty bins among those in Di\mathcal{D}_{i} is the same (and approximately equal to (1−β)e−λ(1-\beta)e^{-\lambda}) for all relevant ii.

Let TiT_{i} denote the total number of balls in all bins in Di\mathcal{D}_{i}. Then, for all ii such that ∣i−kr∣<kkr|i-kr|<k\sqrt{kr}

where xx is chosen such that the sum of all tit_{i} is λn\lambda n. As we shall see later, see (0.C.27), xx is very close to 1. Then again, informally this requires that the fraction of balls in the bins in Di\mathcal{D}_{i} is approximately λ\lambda for all relevant ii.

For all 1≤i≤n1\leq i\leq n we have bi≤3kb_{i}\leq 3k, i.e., X>3k(b)=0X_{>3k}(\mathbf{b})=0.

By our construction, note that if b\mathbf{b} is balanced, then X0(b)=(1−β)e−λnX_{0}(\mathbf{b})=(1-\beta)e^{-\lambda}n and T(b)=λnT(\mathbf{b})=\lambda n. Thus,

In the sequel we will estimate the latter probability. First of all, note that the number of ways to choose the empty bins in a balanced b\mathbf{b} is

Note that bins contained in D≥k\mathcal{D}^{\geq k} do not have to be counted explicitly, since they are contained in the set of empty bins per definition. Let us write Bini,j(N,p){\rm Bin}_{i,j}(N,p) for a binomially distributed random variable that is conditioned on being in the interval [i,j][i,j]. Then, after having fixed the locations of the empty bins, the probability that (B1,…,Bn)(B_{1},\dots,B_{n}) is balanced with precisely the chosen set of empty bins is

where Ti\mathcal{T}_{i} is the event “Ti=tiT_{i}=t_{i} and ∀j∈D∖Di′: Bj≥1\forall j\in\mathcal{D}\setminus\mathcal{D}_{i}^{\prime}:~B_{j}\geq 1”. Let Ti′T_{i}^{\prime} be a sum of Di−Di′D_{i}-D_{i}^{\prime} independent variables, which are distributed like Bin1,3k(i,λ/rk){\rm Bin}_{1,3k}(i,\lambda/rk). Then

The probability that (B1,…,Bn)(B_{1},\dots,B_{n}) is balanced is then the product of the terms in (0.C.19) and (0.C.20). In the remaining proof we will estimate the five terms in (0.C.19)–(0.C.21).

We begin with estimating the product in (0.C.19). Let α\alpha be such that Di′=αDiD_{i}^{\prime}=\alpha D_{i}, and note that α\alpha is independent of ii. Since 0≤D≥k≤2e−k2/2n0\leq D^{\geq k}\leq 2e^{-k^{2}/2}n, see (0.C.6), we obtain that

By applying Proposition 0.A.1 with α=(1−β)e−λ\alpha=(1-\beta)e^{-\lambda} and ε=Θ(1) e−k2/2\varepsilon=\Theta(1)\,e^{-k^{2}/2} we infer that

By using once more the fact 0≤D≥k≤2e−k2/2n0\leq D^{\geq k}\leq 2e^{-k^{2}/2}n and by applying Proposition 0.A.1 we infer that

By using again the property of d\mathbf{d} in (0.C.6) we infer that

Recall that α=(1−β)e−λ+Θ(1) e−k2/2\alpha=(1-\beta)e^{-\lambda}+\Theta(1)\,e^{-k^{2}/2}. Thus the middle term in (0.C.20) is at least

This estimate contributes the (e−λ)(1−β)e−λn(e^{-\lambda})^{(1-\beta)e^{-\lambda}n} term in (0.C.17) to our lower bound for the probability in (0.C.18). We finally consider the probability of the event Ti\mathcal{T}_{i} in (0.C.20), c.f. also (0.C.21). The last term in (0.C.21) can be bounded as follows. First, note that

By using (0.C.16) and the fact 1−x=e−x−Θ(x2)1-x=e^{-x-\Theta(x^{2})}, where 0≤x≤10\leq x\leq 1, we obtain

With this estimate at hand we can bound the last term in (0.C.21). We get that

Our assumption (0.C.5) on d\mathbf{d} guarantees that Di=(1+o(1))Pr⁡[Po(kr)=i]nD_{i}=(1+o(1))\Pr[{\rm Po}(kr)=i]n. Thus, the sum in the previous equation is at most

from which we get that, by applying again the fact 1−x=e−x−Θ(x2)1-x=e^{-x-\Theta(x^{2})},

This estimate contributes the last missing term in (0.C.17) to our lower bound for the probability in (0.C.18).

It remains to bound the probability for the event “Ti′=tiT_{i}^{\prime}=t_{i}” in (0.C.21), for all ii with the property ∣i−kr∣<kkr|i-kr|<k\sqrt{kr}. Recall that ti=Di−Di′1−(1−β)e−λ λikr⋅xt_{i}=\frac{D_{i}-D_{i}^{\prime}}{1-(1-\beta)e^{-\lambda}}\,\frac{\lambda i}{kr}\cdot x, where xx is such that the sum of the tit_{i}’s is λn\lambda n. Let us begin with estimating the value of xx. Note that

Recall (0.C.22), which guarantees that α=(1−β)e−λ+Θ(1)e−k2/2\alpha=(1-\beta)e^{-\lambda}+\Theta(1)e^{-k^{2}/2}. Moreover, the property (0.C.6) allows us to assume for large kk that ∑j∈D≥kdj≤e−k2/3n\sum_{j\in\mathcal{D}^{\geq k}}d_{j}\leq e^{-k^{2}/3}n. Thus, the above equation simplifies to

Let us now return to our original goal of estimating the probability for the event “Ti′=tiT_{i}^{\prime}=t_{i}” in (0.C.21). Recall that Ti′T_{i}^{\prime} is the sum of Di−Di′D_{i}-D_{i}^{\prime} independent variables, all distributed like Bin1,3k(i,λ/kr){\rm Bin}_{1,3k}(i,\lambda/kr). We will apply Lemma 0.A.1. First of all, note that

and similarly, since i=Θ(1)kri=\Theta(1)kr, that

Combining this result with Equations (0.C.18)–(0.C.21) and (0.C.23)–(0.C.26) yields (0.C.13), as desired.

Appendix 0.D Proof of Lemma 0.C.2

Let \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}} be the all-true assignment and let d\textstyle d be a degree sequence chosen from the distribution D\textstyle D. Let Σ\Sigma be the event that σ\sigma is a β\beta-good solution. Furthermore, let Σ′\Sigma^{\prime} be the event that σ\sigma is a solution that satisfies conditions 1. and 2. in Definition 2.

This is a direct consequence of Corollary 0.C.6. ∎

Let Zβ′(t)\mathcal{Z}_{\beta}^{\prime}(t) be the number of solutions τ\tau such that \mboxdist(σ,τ)=t\mbox{dist}(\sigma,\tau)=t that satisfy conditions 1. and 2. in Definition 2. Moreover’ let Zβ′\mathcal{Z}_{\beta}^{\prime} be the number of all solutions τ\tau that satisfy conditions 1. and 2. in Definition 2. For 0≤t≤n/20\leq t\leq n/2 we let

The main step of the proof lies in establishing the following proposition.

There is a constant c=c(k)>0c=c(k)>0 such that for d\textstyle d chosen from D\textstyle D the following two statements hold w.h.p.

For any α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right] we have μ(αn)≤exp⁡[−c(α−12)2n]μ(n/2).\mu\left({\alpha n}\right)\leq\exp\left[{-c\left({\alpha-\frac{1}{2}}\right)^{2}n}\right]\mu\left({n/2}\right).

Proof of Lemma 0.C.2 (assuming Proposition 0.D.1). By Fact 0.D.1 we have w.h.p.

The following subsections are devoted to the proof of Proposition 0.D.1.

D.2 The probabilistic framework

Recall that we denote the clauses of a kk-CNF formula Φ\Phi by Φ1,…,Φm\Phi_{1},\ldots,\Phi_{m}, i.e., Φ=Φ1∧⋯∧Φm\Phi=\Phi_{1}\wedge\cdots\wedge\Phi_{m}. Furthermore, for each clause Φi\Phi_{i} we let Φi1,…,Φik\Phi_{i1},\ldots,\Phi_{ik} signify the literals that the clause consists of, i.e., Φi=Φi1∨⋯∨Φik\Phi_{i}=\Phi_{i1}\vee\cdots\vee\Phi_{ik}.

We are going to break down μ(t)\mu(t) into a sum of different terms of various types. This requires a few definitions and a bit of notation. Given the sequence \mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}=(d_{x})_{x\in V} chosen from the distribution D\textstyle D, we let

where [dv]={1,2,…,dv}\left[{d_{v}}\right]=\left\{{1,2,\ldots,d_{v}}\right\}. We think of the elements of BB as “balls”, so that BB contains dxd_{x} balls (x,j)(x,j), j∈[dx]j\in\left[{d_{x}}\right], associated with each variable xx. A configuration is a bijection π:B→[m]×[k]\pi:B\rightarrow\left[{m}\right]\times\left[{k}\right]. Furthermore, a signature is a map s:[m]×[k]→{±1}s:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{\pm 1}\right\}.

A configuration π\pi and a signature ss give rise to a formula Φ(π,s)\Phi(\pi,s) as follows: for each (i,j)∈[m]×[k](i,j)\in\left[{m}\right]\times\left[{k}\right]

Φ(s,π)ij\Phi(s,\pi)_{ij} is a positive literal if s(i,j)=1s(i,j)=1 and a negative literal if s(i,j)=−1s(i,j)=-1,

the variable underlying Φ(s,π)ij\Phi(s,\pi)_{ij} is the variable xx such that (i,j)∈π(x,[dx])(i,j)\in\pi(x,\left[{d_{x}}\right]).

We let π\textstyle\pi denote a configuration chosen uniformly at random, and we let s\textstyle s denote a signature chosen uniformly at random and independently of π\pi.

For each formula Φ\Phi with degree sequence d\textstyle d there are precisely ∏x∈Vdx!\prod_{x\in V}d_{x}! pairs (s,π)(s,\pi) such that Φ=Φ(s,π)\Phi=\Phi(s,\pi). ∎

Thus, from now on we may work with the random formula \Phi(\mathchoice{\mbox{\boldmath\displaystyle\pi}}{\mbox{\boldmath\textstyle\pi}}{\mbox{\boldmath\scriptstyle\pi}}{\mbox{\boldmath\scriptscriptstyle\pi}},\mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}}) that emerges from choosing a random configuration and independently a signature. This will be useful because some properties depend only on the signature, and thus we will be able to treat them independently of the choice of the configuration.

Let g:B→{red,blue}g:B\rightarrow\left\{{\mathtt{red},\mathtt{blue}}\right\} be a map that assigns a color to each ball. For each variable xx we let

Furthermore, for a pair (gσ,gτ)(g_{\sigma},g_{\tau}) of maps B→{red,blue}B\rightarrow\left\{{\mathtt{red},\mathtt{blue}}\right\} and τ∈{0,1}V\tau\in\left\{{0,1}\right\}^{V} we say that (σ,τ)(\sigma,\tau) is (gσ,gτ)(g_{\sigma},g_{\tau})-valid for a formula Φ\Phi if the following conditions are satisfied.

Under σ\sigma each variable xx supports precisely redx(gσ)\mathtt{red}_{x}(g_{\sigma}) clauses.

Under τ\tau each variable xx supports precisely redx(gτ)\mathtt{red}_{x}(g_{\tau}) clauses.

The number of clauses that any xx supports under both σ,τ\sigma,\tau is ∣{j∈[dx]:gσ(x,j)=gτ(x,j)=red}∣.\left|{\left\{{j\in\left[{d_{x}}\right]:g_{\sigma}(x,j)=g_{\tau}(x,j)=\mathtt{red}}\right\}}\right|.

Let ss be a signature and let π\pi be a configuration. We call an assignment τ∈{0,1}V\tau\in\left\{{0,1}\right\}^{V} gg-valid for (s,π)(s,\pi) if the following two conditions are satisfied.

For any (i,j)∈[m]×[k](i,j)\in\left[{m}\right]\times\left[{k}\right] the following is true. Let (u,v)=π(i,j)(u,v)=\pi(i,j). Then g(i,j)=redg(i,j)=\mathtt{red} iff ∣Φ(s,π)uv∣|\Phi(s,\pi)_{uv}| supports ∣Φ(s,π)u∣|\Phi(s,\pi)_{u}|.

In words, τ\tau is gg-valid for (s,π)(s,\pi) if τ\tau is a solution of the formula Φ(s,π)\Phi(s,\pi) induced by s,πs,\pi, and if each ball (i,j)(i,j) that is colored red under gg supports the clause that it is mapped to under π\pi, and vice versa.

Let gσ,gτ:B→{blue,red}g_{\sigma},g_{\tau}:B\rightarrow\left\{{\mathtt{blue},\mathtt{red}}\right\}. Then

Let Φ\Phi be a formula such that (σ,τ)(\sigma,\tau) is (gσ,gτ)(g_{\sigma},g_{\tau})-valid for Φ\Phi. Then the total number of pairs (s,π)(s,\pi) with Φ=Φ(s,π)\Phi=\Phi(s,\pi) such that σ\sigma is gσg_{\sigma}-valid and τ\tau is gτg_{\tau}-valid for (s,π)(s,\pi) equals

A profile C{\mathcal{C}} consists of two maps gσ,gτ:B→{blue,red}g_{\sigma},g_{\tau}:B\rightarrow\left\{{\mathtt{blue},\mathtt{red}}\right\} and a set Γ⊂gσ−1(blue)∩gτ−1(red)\Gamma\subset g_{\sigma}^{-1}(\mathtt{blue})\cap g_{\tau}^{-1}(\mathtt{red}) such that ∣gσ−1(red)∣=∣gτ−1(red)∣=λn\left|{g_{\sigma}^{-1}(\mathtt{red})}\right|=\left|{g_{\tau}^{-1}(\mathtt{red})}\right|=\lambda n and such that redx(gσ),redx(gτ)≤3k\mathtt{red}_{x}(g_{\sigma}),\mathtt{red}_{x}(g_{\tau})\leq 3k for all x∈Vx\in V.

Let C{\mathcal{C}} be a profile. Moreover, let τ∈{0,1}V\tau\in\left\{{0,1}\right\}^{V}, let ss be a signature, and let π\pi be a configuration. We say that (σ,τ,s,π)(\sigma,\tau,s,\pi) is C{\mathcal{C}}-valid if the following conditions are satisfied.

σ,τ\sigma,\tau are gσ,gτg_{\sigma},g_{\tau}-valid for (s,π)(s,\pi).

Let (x,l)∈gσ−1(blue)∩gτ−1(red)(x,l)\in g_{\sigma}^{-1}(\mathtt{blue})\cap g_{\tau}^{-1}(\mathtt{red}). Let (i,j)=π(x,l)(i,j)=\pi(x,l). Then (x,l)∈Γ(x,l)\in\Gamma iff Φ(s,π)i\Phi(s,\pi)_{i} is σ\sigma-critical.

In words, this means that (σ,τ,s,π)(\sigma,\tau,s,\pi) is C{\mathcal{C}}-valid if σ,τ\sigma,\tau are solutions of the formula Φ(s,π)\Phi(s,\pi) under which the colors assigned to the literals by gσg_{\sigma},gτg_{\tau} “work out” (i.e., a ball is red iff π\pi puts it in a place such that it supports the clause it occurs in), and if a ball (x,j)(x,j) belongs to Γ\Gamma if it supports a clause under τ\tau that is supported by another ball under σ\sigma.

Let P\mathcal{P} be the set of all profiles. For any C∈P{\mathcal{C}}\in\mathcal{P} and any tt let

where the expectation is taken over \mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}},\mathchoice{\mbox{\boldmath\displaystyle\pi}}{\mbox{\boldmath\textstyle\pi}}{\mbox{\boldmath\scriptstyle\pi}}{\mbox{\boldmath\scriptscriptstyle\pi}}.

The denominator equals the probability that σ\sigma is a NAE-solution that satisfies the first two conditions in Definition 2. Furthermore, μC(t)\mu_{{\mathcal{C}}}(t) accounts for the probability that the pair (σ,τ)(\sigma,\tau) is C{\mathcal{C}}-valid, because for any s,πs,\pi and any τ\tau there is no more than one profile C∈P{\mathcal{C}}\in\mathcal{P} such that (σ,τ,s,π)(\sigma,\tau,s,\pi) is C{\mathcal{C}}-valid. Hence, (0.D.1) follows from Facts 0.D.2 and 0.D.3. ∎

We call a profile C=(gσ,gτ,Γ){\mathcal{C}}=(g_{\sigma},g_{\tau},\Gamma) good if

Let Pg\mathcal{P}_{g} be the set of all good profiles, and let Pb=P∖Pg\mathcal{P}_{b}=\mathcal{P}\setminus\mathcal{P}_{g}. Furthermore, let

In Appendix 0.D.3 we are going to show the following.

W.h.p. the degree sequence d\textstyle d chosen from D\textstyle D is such that

Furthermore, in Appendix 0.D.4 we are going to prove

W.h.p. the degree sequence d\textstyle d chosen from D\textstyle D has the following property. Let C∈Pg{\mathcal{C}}\in\mathcal{P}_{g} and let 12−2−k/3≤α≤12\frac{1}{2}-2^{-k/3}\leq\alpha\leq\frac{1}{2}. Then

Note that by (0.D.1) the claim is equivalent to showing

Proposition 0.D.1 is an immediate consequence of (0.D.1) and Propositions 0.D.2, 0.D.3, and 0.D.4.

D.3 Proof of Proposition 0.D.2

Let Φ\Phi be a kk-CNF and let σ,τ∈{0,1}V\sigma,\tau\in\left\{{0,1}\right\}^{V}. We say that (i,j)∈[m]×[k](i,j)\in\left[{m}\right]\times\left[{k}\right] is σ\sigma-red if Φij\Phi_{ij} supports Φi\Phi_{i} under σ\sigma. Let red(σ,Φ)\mathtt{red}(\sigma,\Phi) be the set of all σ\sigma-red pairs (i,j)(i,j). We define the term σ\sigma-blue and the set blue(σ,Φ)\mathtt{blue}(\sigma,\Phi) analogously. Furthermore, let Γ(σ,τ,Φ)\Gamma(\sigma,\tau,\Phi) be the set of all (i,j)(i,j) such that (i,j)∈blue(σ,Φ)∩red(σ,Φ)(i,j)\in\mathtt{blue}(\sigma,\Phi)\cap\mathtt{red}(\sigma,\Phi) while Φi\Phi_{i} is critical under σ\sigma.

Finally, we call the pair (σ,τ)∈S(Φ)2(\sigma,\tau)\in\mathcal{S}(\Phi)^{2} bad if (12−2−k/3)n≤\mboxdist(σ,τ)≤n/2(\frac{1}{2}-2^{-k/3})n\leq\mbox{dist}(\sigma,\tau)\leq n/2 and one of the following conditions holds:

∣red(σ,Φ)∩red(τ,Φ)∣∉[kn3⋅2k,3⋅kn2k]|\mathtt{red}(\sigma,\Phi)\cap\mathtt{red}(\tau,\Phi)|\not\in\left[{\frac{kn}{3\cdot 2^{k}},\frac{3\cdot kn}{2^{k}}}\right], or

∣Γ(σ,τ,Φ)∣∉[k2n3⋅2k,3⋅k2n2k]|\Gamma(\sigma,\tau,\Phi)|\not\in\left[{\frac{k^{2}n}{3\cdot 2^{k}},\frac{3\cdot k^{2}n}{2^{k}}}\right].

Let \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}} and let α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right]. Let S(α)S(\alpha) be the event that \sigma,\tau\in\mathcal{S}(\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}). As shown in , we have

Let R=\left|{\mathtt{red}(\sigma,\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})\cap\mathtt{red}(\tau,\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})}\right|. Given that S\mathcal{S} occurs, RR has a binomial distribution

For given that σ\sigma is a solution, there are a total of 2k−22^{k}-2 ways to choose the signs of the kk literals in any clause, and precisely 2k2k ways to choose the signs so that the clause is critical under σ\sigma. Given that it is, there are nk(1−α(1−α)k−1−(1−α)αk−1)n^{k}(1-\alpha(1-\alpha)^{k-1}-(1-\alpha)\alpha^{k-1}) ways to choose the actual variables that occur in the clause so as to ensure that τ\tau is a solution, too. (Namely, we have to avoid that either τ\tau and σ\sigma differ on the σ\sigma-supporting variable only, or that they agree on the σ\sigma-supporting variable only; furthermore, the probability that σ\sigma, τ\tau differ on a randomly chosen variable is equal to α\alpha.) Finally, given that a given clause is σ\sigma-critical, the probability that the clause is critical under τ\tau and supported by the same variable as under σ\sigma is equal to αk+(1−α)k\alpha^{k}+(1-\alpha)^{k} (for σ,τ\sigma,\tau would either have to agree or disagree on all the kk variables).

Further, let G=\left|{\Gamma(\sigma,\tau,\mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}})}\right|. Given that S\mathcal{S} occurs, GG is a binomial variable

For in each σ\sigma-critical clause there are k−1k-1 ways to choose another literal jj to support that clause under τ\tau, and to materialize this choice, τ\tau has to either disagree with σ\sigma on the σ\sigma-supporting literal and on literal jj and agree on all other literals, or the inverse configuration must occur.

It is easily verified that for any α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right] we have

As R,G∣SR,G|\mathcal{S} are binomially distributed, Chernoff bounds yield

Since the total expected number of pairs of solutions is

Proposition 0.D.2 is an immediate consequence of Lemma 0.D.1, because the experiment of first choosing d\textstyle d from the distribution D\textstyle D and then generating \mathchoice{\mbox{\boldmath\displaystyle\Phi}}{\mbox{\boldmath\textstyle\Phi}}{\mbox{\boldmath\scriptstyle\Phi}}{\mbox{\boldmath\scriptscriptstyle\Phi}}_{\mathchoice{\mbox{\boldmath\displaystyle d}}{\mbox{\boldmath\textstyle d}}{\mbox{\boldmath\scriptstyle d}}{\mbox{\boldmath\scriptscriptstyle d}}} yields precisely the uniform distribution Φ\textstyle\Phi.

D.4 Proof of Proposition 0.D.3

Let C=(gσ,gτ,Γ)∈Pg{\mathcal{C}}=(g_{\sigma},g_{\tau},\Gamma)\in\mathcal{P}_{g}. For c,c′∈{red,blue}c,c^{\prime}\in\left\{{\mathtt{red},\mathtt{blue}}\right\} let

Furthermore, for any σ,τ∈{0,1}V\sigma,\tau\in\left\{{0,1}\right\}^{V} we define

An important observation is that by symmetry, the probability for a pair (σ,τ)(\sigma,\tau) to be C{\mathcal{C}}-valid is governed by their “overlap vector” α\textstyle\alpha. More precisely, we have

Let C=(gσ,gτ,Γ)∈Pg{\mathcal{C}}=(g_{\sigma},g_{\tau},\Gamma)\in\mathcal{P}_{g}. Let σ,τ,τ′∈{0,1}V\sigma,\tau,\tau^{\prime}\in\left\{{0,1}\right\}^{V} be such that \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}(\sigma,\tau,{\mathcal{C}})=\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}(\sigma,\tau^{\prime},{\mathcal{C}}). Then

Fact 0.D.5 motivates the following definition: for \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}=\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}(\sigma,\tau,{\mathcal{C}}) we let

For a real α∈(0,1)\alpha\in(0,1) we call a vector \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}=(\alpha_{\mathtt{red},\mathtt{red}},\ldots) α\alpha-tame if

Let T(α)\mathcal{T}(\alpha) be the set of all α\alpha-tame vectors. The following lemma shows that we can neglect “overlap vectors” α\textstyle\alpha that are not tame.

The proof of Lemma 0.D.2 is based on a similar first moment argument as in the proof of Lemma 0.D.1. Furthermore, in Section 0.D.5 we will establish the following.

Let C=(gσ,gτ,Γ)∈Pg{\mathcal{C}}=(g_{\sigma},g_{\tau},\Gamma)\in\mathcal{P}_{g}. Let \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}\in\mathcal{T}(\alpha) for some α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right]. Letting \mathchoice{\mbox{\boldmath\displaystyle\delta}}{\mbox{\boldmath\textstyle\delta}}{\mbox{\boldmath\scriptstyle\delta}}{\mbox{\boldmath\scriptscriptstyle\delta}}=\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}-\frac{1}{2}\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}, we have

For a number α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right] let pC(α)p_{{\mathcal{C}}}(\alpha) be the probability that for a random τ∈{0,1}V\tau\in\left\{{0,1}\right\}^{V} with \mboxdist(σ,τ)=αn\mbox{dist}(\sigma,\tau)=\alpha n we have α(σ,τ,C)∈T(α)\alpha(\sigma,\tau,{\mathcal{C}})\in\mathcal{T}(\alpha) and (\sigma,\tau,\mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}},\mathchoice{\mbox{\boldmath\displaystyle\pi}}{\mbox{\boldmath\textstyle\pi}}{\mbox{\boldmath\scriptstyle\pi}}{\mbox{\boldmath\scriptscriptstyle\pi}}) is C{\mathcal{C}}-valid. We will derive the following consequence of Lemma 0.D.3 in Section 0.D.6.

Suppose that α∈[12−2−k/3,12]\alpha\in\left[{\frac{1}{2}-2^{-k/3},\frac{1}{2}}\right] and let C{\mathcal{C}} be a good profile. Then

Proof of Proposition 0.D.3. By Proposition 0.D.2 and Lemma 0.D.2, for a random d\textstyle d chosen from D\textstyle D we have w.h.p.

Thus, it suffices to estimate (nαn)pC(α){{n}\choose{\alpha n}}p_{{\mathcal{C}}}(\alpha). By Stirling’s formula and Corollary 0.D.1,

whence the assertion follows for k≥k0k\geq k_{0} sufficiently large. ∎

D.5 Proof of Lemma 0.D.3

A map f:[m]×[k]→{red,blue}f:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{\mathtt{red},\mathtt{blue}}\right\} is called a coloring if for each i∈[m]i\in\left[{m}\right] there is at most one j∈[k]j\in\left[{k}\right] such that f(i,j)=redf(i,j)=\mathtt{red}. Let fσ,fτf_{\sigma},f_{\tau} be colorings. We say that the pair f=(fσ,fτ)f=(f_{\sigma},f_{\tau}) is compatible with a profile C=(gσ,gτ,Γ){\mathcal{C}}=(g_{\sigma},g_{\tau},\Gamma) if

Let ff be a coloring and let t:[m]×[k]→{0,1}t:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{0,1}\right\} be a map. We call (f,t)(f,t) valid for a signature ss if the following two conditions are satisfied:

for any i∈[m]i\in\left[{m}\right] there exist j,l∈[k]j,l\in\left[{k}\right] such that s(i,j)(−1)t(i,j)≠s(i,l)(−1)t(i,l)s(i,j)(-1)^{t(i,j)}\neq s(i,l)(-1)^{t(i,l)}.

if f(i,j)=redf(i,j)=\mathtt{red}, then for all l∈[k]∖{j}l\in\left[{k}\right]\setminus\left\{{j}\right\} we have s(i,j)(−1)t(i,j)≠s(i,l)(−1)t(i,l)s(i,j)(-1)^{t(i,j)}\neq s(i,l)(-1)^{t(i,l)}.

Intuitively, this means that any formula in which the signs are given by ss is NAE-satisfied if for all (i,j)∈[m]×[k](i,j)\in\left[{m}\right]\times\left[{k}\right] the literal in position (i,j)(i,j) takes the value t(i,j)t(i,j). Furthermore, for each (i,j)(i,j) with f(i,j)=redf(i,j)=\mathtt{red} the literal in position (i,j)(i,j) supports clause ii if the truth values are given by tt.

Let \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}\in\left[{0,1}\right]^{5} be a vector. Let f=(fσ,fτ)f=(f_{\sigma},f_{\tau}) be a pair of colorings. Let t:[m]×[k]→{0,1}t:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{0,1}\right\}. We call (f,t)(f,t) compatible with α\textstyle\alpha if

Let \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}:\left[{m}\right]\times\left[{k}\right]\rightarrow\left\{{0,1}\right\} be uniformly distributed, and let

Suppose that ff is compatible with a profile C{\mathcal{C}}. Then for any α\textstyle\alpha we have p_{\mathcal{C}}(\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}})=q_{f}(\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}).

Let t:[m]×[k]t:\left[{m}\right]\times\left[{k}\right] be be such that (f,t)(f,t) is compatible with α\textstyle\alpha. Let τ∈{0,1}V\tau\in\left\{{0,1}\right\}^{V} be such that \mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}=\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}(\sigma,\tau,{\mathcal{C}}). Let Π\Pi be the set of all π:B→[m]×[k]\pi:B\rightarrow\left[{m}\right]\times\left[{k}\right] such that t(π(x,i))=τ(x)t(\pi(x,i))=\tau(x) for all x∈Vx\in V, i∈[dx]i\in\left[{d_{x}}\right]. Then Π\Pi consists of all π\pi that map the right “type” of “ball” to each position (i,j)(i,j). Therefore,

Hence, ∣Π∣\left|{\Pi}\right| is independent of the actual map tt, which implies the assertion. ∎

Thus, we are left to compute q_{f}(\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}}) for a fixed pair f=(fσ,fτ)f=(f_{\sigma},f_{\tau}) of colorings that is compatible with the good profile C{\mathcal{C}}. To facilitate this computation, we simplify the random experiment further. Namely, let

For maps tred:R→{0,1}t_{\mathtt{red}}:{\mathcal{R}}\rightarrow\left\{{0,1}\right\} and tblue:B→{0,1}t_{\mathtt{blue}}:\mathcal{B}\rightarrow\left\{{0,1}\right\} we let tred∪tblue:[m]×[k]t_{\mathtt{red}}\cup t_{\mathtt{blue}}:\left[{m}\right]\times\left[{k}\right] be the map defined by

Furthermore, we say that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha if there exists tbluet_{\mathtt{blue}} such that (f,tred∪tblue)(f,t_{\mathtt{red}}\cup t_{\mathtt{blue}}) is compatible with α\textstyle\alpha.

Suppose that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha. Let \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}}:\mathcal{B}\rightarrow\left\{{0,1}\right\} be obtained by setting \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}}(i,j)=1 with probability αblue,blue\alpha_{\mathtt{blue},\mathtt{blue}} and \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}}(i,j)=0 with probability 1−αblue,blue1-\alpha_{\mathtt{blue},\mathtt{blue}} independently for all (i,j)∈B(i,j)\in\mathcal{B}. Furthermore, let

Suppose that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha. Then q_{f}(\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}})=q_{f}(\mathchoice{\mbox{\boldmath\displaystyle\alpha}}{\mbox{\boldmath\textstyle\alpha}}{\mbox{\boldmath\scriptstyle\alpha}}{\mbox{\boldmath\scriptscriptstyle\alpha}},t_{\mathtt{red}}).

Suppose that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha. There is a number C=C(k)>0C=C(k)>0 such that

For given that (f,t_{\mathtt{red}}\cup\mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}})\mbox{ is valid for }\mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}}, ∣tblue−1(1)∣=αblue,blue∣B∣\left|{t_{\mathtt{blue}}^{-1}(1)}\right|=\alpha_{\mathtt{blue},\mathtt{blue}}\left|{\mathcal{B}}\right| is the sum of mm independent contributions, as the tblue(i,j)t_{\mathtt{blue}}(i,j) are independent Bernoulli variables for all (i,j)∈B(i,j)\in\mathcal{B}. Furthermore, given (f,t_{\mathtt{red}}\cup\mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}})\mbox{ is valid for }\mathchoice{\mbox{\boldmath\displaystyle s}}{\mbox{\boldmath\textstyle s}}{\mbox{\boldmath\scriptstyle s}}{\mbox{\boldmath\scriptscriptstyle s}} for all ii such that red∉fσ(i×[k])∪fτ(i×[k])\mathtt{red}\not\in f_{\sigma}(i\times\left[{k}\right])\cup f_{\tau}(i\times\left[{k}\right]) the random variable ∑j∈[k]tblue(i,j)\sum_{j\in\left[{k}\right]}t_{\mathtt{blue}}(i,j) takes any value between 11 and kk with non-zero probability. Therefore, the conditional random variable ∣tblue−1(1)∣\left|{t_{\mathtt{blue}}^{-1}(1)}\right| has a local limit theorem, see Lemma 0.A.1, and (0.D.5) follows.

As the unconditional distribution of ∣tblue−1(1)∣\left|{t_{\mathtt{blue}}^{-1}(1)}\right| is just a binomial distribution with mean αblue,blue∣B∣\alpha_{\mathtt{blue},\mathtt{blue}}\left|{\mathcal{B}}\right|, we have

Combining this with (0.D.4) and (0.D.5) yields the assertion. ∎

Combining Facts 0.D.6 and 0.D.7 with Lemma 0.D.4, we obtain

Suppose that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha. Then

is that in the underlying random experiment, the clauses are independent objects, although there are different “types” of clauses. This independence property allows us to derive the following estimate.

Suppose that (f,tred)(f,t_{\mathtt{red}}) is compatible with α\textstyle\alpha. Let V\mathcal{V} be the event that (f,t_{\mathtt{red}}\cup\mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}_{\mathtt{blue}}) is valid for s\textstyle s. Let a=αblue,bluea=\alpha_{\mathtt{blue},\mathtt{blue}}. Then

The first summand ψσ\psi_{\sigma} accounts for the probability that \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}} is a NAE-solution and that preicsely the clauses ii such that f(i,j)=redf(i,j)=\mathtt{red} for some j∈[k]j\in\left[{k}\right] are 1\textstyle 1-critical. There are precisely λn\lambda n such clauses, and for each of them the probability of being critical with supporting literal (i,j)(i,j) equals 21−k2^{1-k}. Furthermore, for the (r−λ)n(r-\lambda)n other clauses the probability of being non-critical but NAE-satisfied equals 1−(k+1)21−k1-(k+1)2^{1-k}. Since these events depend on the signs of the literals only, they occur independently for all clauses, which explains ψσ\psi_{\sigma}.

The ψred,red\psi_{\mathtt{red},\mathtt{red}} term is derived quite easily as well. The number of positions (i,j)(i,j) such that fσ(i,j)=fτ(i,j)=redf_{\sigma}(i,j)=f_{\tau}(i,j)=\mathtt{red} equals gred,redng_{\mathtt{red},\mathtt{red}}n. There are precisely αred,redgred,redn\alpha_{\mathtt{red},\mathtt{red}}g_{\mathtt{red},\mathtt{red}}n among these such that tred(i,j)=1t_{\mathtt{red}}(i,j)=1. Each such position (i,j)(i,j) supports its clause under t\textstyle t iff \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}(i,l)=1 for all l∈[k]∖{j}l\in\left[{k}\right]\setminus\left\{{j}\right\}. By the construction of t\textstyle t, the probability of this event is ak−1a^{k-1}. Similarly, the “success probability” is (1−a)k−1(1-a)^{k-1} for all (i,j)(i,j) with tred(i,j)=0t_{\mathtt{red}}(i,j)=0.

The next factor ψΓ\psi_{\Gamma} accounts for the number of (i,j)∈fτ−1(red)∩fσ−1(blue)(i,j)\in f_{\tau}^{-1}(\mathtt{red})\cap f_{\sigma}^{-1}(\mathtt{blue}) such that clause ii is σ\sigma-critical but supported by another literal l≠il\neq i under σ\sigma. Each such clause contains precisely k−2k-2 literals h∈[k]∖{j,l}h\in\left[{k}\right]\setminus\left\{{j,l}\right\} such that fτ(i,h)=fσ(i,h)=bluef_{\tau}(i,h)=f_{\sigma}(i,h)=\mathtt{blue}. If tred(i,j)=1t_{\mathtt{red}}(i,j)=1, then \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}(i,h)=0 for all hh, which occurs with probability (1−a)k−2(1-a)^{k-2}. Similarly, if tred(i,j)=0t_{\mathtt{red}}(i,j)=0, then \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}(i,h)=1 for all hh, the probability of which equals ak−2a^{k-2}.

The term ψred,blue\psi_{\mathtt{red},\mathtt{blue}} deals with clauses ii such that (i,j)∈fτ−1(red)∩fσ−1(blue)∖Γ(i,j)\in f_{\tau}^{-1}(\mathtt{red})\cap f_{\sigma}^{-1}(\mathtt{blue})\setminus\Gamma for some jj. The total number of such clauses is ξn\xi n. For each of these ξn\xi n indices ii we have fσ(i,l)=bluef_{\sigma}(i,l)=\mathtt{blue} for all l∈[k]l\in\left[{k}\right] (because (i,j)∉Γ(i,j)\not\in\Gamma). Suppose that tred(i,j)=1t_{\mathtt{red}}(i,j)=1. Since clause ii is non-critical under \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}, it contains a total of h≥2h\geq 2 literals whose signs agree with that of literal jj. In order for clause ii to be supported by literal jj under t\textstyle t, the h−1h-1 other literals ll whose signs agree with that of literal jj must take the value \mathchoice{\mbox{\boldmath\displaystyle t}}{\mbox{\boldmath\textstyle t}}{\mbox{\boldmath\scriptstyle t}}{\mbox{\boldmath\scriptscriptstyle t}}(i,l)=0, while the k−hk-h remaining literals ll must take value t(i,l)=1t(i,l)=1. Summing over hh and taking into account the distribution of the signs, we obtain the overall probability in the case tred(i,j)=1t_{\mathtt{red}}(i,j)=1:

The case tred(i,j)=0t_{\mathtt{red}}(i,j)=0 is analogous to the above, and a similar argument yields ψblue,red\psi_{\mathtt{blue},\mathtt{red}}.

Finally, ψblue,blue\psi_{\mathtt{blue},\mathtt{blue}} accounts for all clauses ii such that fσ(i,j)=fτ(i,j)=bluef_{\sigma}(i,j)=f_{\tau}(i,j)=\mathtt{blue} for all j∈[k]j\in\left[{k}\right]. There are precisely (r−2λ+gred,red)n(r-2\lambda+g_{\mathtt{red},\mathtt{red}})n such clauses. Each of them is supposed to be assigned such that under both \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}} and t\textstyle t at least two literals evaluate to “true” and at least two evaluate to “false”. Given the distribution of the signature s\textstyle s and of t\textstyle t, the probability of this event equals η(a)\eta(a). However, we are already conditioning on the event that each clause contains at least one literal of either sign (this probability is accounted for by ψσ\psi_{\sigma}). Hence, the conditional probability of the desired outcome equals η(a)1−(k+1)21−k\frac{\eta(a)}{1-(k+1)2^{1-k}}. Since the clauses are independent, the overall probability is given by ψblue,blue\psi_{\mathtt{blue},\mathtt{blue}}. ∎

Proof of Lemma 0.D.3. The assertion simply follows from Proposition 0.D.5 by Taylor expanding the right hand side of (0.D.6) around \frac{1}{2}\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. ∎

D.6 Proof of Corollary 0.D.1

We begin with the following observation, which hinges upon the assumption that we work with a good profile.

There is an absolute constant c>0c>0 such that for a random d\textstyle d chosen from D\textstyle D the following is true w.h.p. Let C{\mathcal{C}} be a good profile, let (12−2−k/3)≤α≤12(\frac{1}{2}-2^{-k/3})\leq\alpha\leq\frac{1}{2}, and let τ\textstyle\tau be chosen uniformly at random from all assignments such that \mboxdist(σ,τ)=αn\mbox{dist}(\sigma,\tau)=\alpha n. Then for any δ>0\delta>0 we have

Recall that \sigma=\mathchoice{\mbox{\boldmath\displaystyle 1}}{\mbox{\boldmath\textstyle 1}}{\mbox{\boldmath\scriptstyle 1}}{\mbox{\boldmath\scriptscriptstyle 1}}. By standard monotonicity arguments, we may assume that τ\textstyle\tau is obtained by letting \mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}(x)=0 with probability α\alpha and \mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}(x)=1 with probability 1−α1-\alpha for all x∈Vx\in V independently. Furthermore, since by standard arguments the degrees dxd_{x} are asymptotically independently Poisson, w.h.p. the degree sequence d\textstyle d is such that

Hence, we are going to assume that (0.D.7) is satisfied.

We begin by analyzing αblue,blue\alpha_{\mathtt{blue},\mathtt{blue}}. Switching the value \mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}(x) of a single variable x∈Vx\in V can only alter the random variable αblue,blue\alpha_{\mathtt{blue},\mathtt{blue}} by dv/(gblue,bluen)d_{v}/(g_{\mathtt{blue},\mathtt{blue}}n). Therefore, by Azuma’s inequality and (0.D.7), for any t>0t>0

Since gblue,blue≤12krng_{\mathtt{blue},\mathtt{blue}}\leq\frac{1}{2}krn for any good profile, (0.D.8) yields the first inequality.

With respect to αred,blue\alpha_{\mathtt{red},\mathtt{blue}}, recall that in a good profile each x∈Vx\in V satisfies redτ(x)≤k\mathtt{red}_{\tau}(x)\leq k (recall that redτ\mathtt{red}_{\tau} depends on the profile C{\mathcal{C}} only). Therefore, Azuma’s inequality yields

Since gred,blue≥ckng_{\mathtt{red},\mathtt{blue}}\geq ckn for a certain constant c>0c>0, the second claim follows from (0.D.9). A similar argument yields the third inequality.

Regarding αred,red\alpha_{\mathtt{red},\mathtt{red}}, we recall that given C{\mathcal{C}} we know how many “red/red balls” each variable has. Since C{\mathcal{C}} is good, their total number is gred,redn≤k22−kng_{\mathtt{red},\mathtt{red}}n\leq k^{2}2^{-k}n. In particular, there are no more than gred,redng_{\mathtt{red},\mathtt{red}}n variables that have a “red/red ball” in the first place. Furthermore, switching \mathchoice{\mbox{\boldmath\displaystyle\tau}}{\mbox{\boldmath\textstyle\tau}}{\mbox{\boldmath\scriptstyle\tau}}{\mbox{\boldmath\scriptscriptstyle\tau}}(x) for a single variable xx can alter αred,red\alpha_{\mathtt{red},\mathtt{red}} by at most k/(gred,redn)k/(g_{\mathtt{red},\mathtt{red}}n), because redτ(x),redσ(x)≤k\mathtt{red}_{\tau}(x),\mathtt{red}_{\sigma}(x)\leq k for all xx as C{\mathcal{C}} is good. Therefore, by Azuma’s inequality

(The gred,redg_{\mathtt{red},\mathtt{red}} in the denominator mirrors the fact that no more than gred,redng_{\mathtt{red},\mathtt{red}}n variables have a “red/red ball”.) Setting t=δgred,rednt=\delta g_{\mathtt{red},\mathtt{red}}n yields the fourth inequality. The last inequality follows from a similar argument. ∎

Finally, Corollary 0.D.1 follows by comparing the bounds on the deviations of the individual components of α\textstyle\alpha from Proposition 0.D.6 with Lemma 0.D.3 and Lemma 0.D.2. ∎