The Satisfiability Threshold for k-XORSAT

Boris Pittel, Gregory B. Sorkin

Introduction

Random instances of many problems of this sort undergo phase transitions around some critical ratio c∗c^{*} of m/nm/n, meaning that for m,n→∞m,n\to\infty with lim⁡m/n<c∗\lim m/n<c^{*}, the probability that a random instance Fn,mF_{n,m} is satisfiable (or possesses some similar property) approaches 11, while if lim⁡m/n>c∗\lim m/n>c^{*} the probability approaches . (There is no loss of generality in hypothesizing the existence of a limit since, in a broad context, a result as stated implies the same with the weaker hypotheses lim inf⁡m/n>c∗\liminf m/n>c^{*} and lim sup⁡m/n<c∗\limsup m/n<c^{*}.) Friedgut proved that a wide range of problems have such sharp thresholds, but with the possibility that the threshold c∗=c∗(n)c^{*}=c^{*}(n) does not tend to a constant. The relatively few cases in which c∗c^{*} is known to be a constant include 2-SAT, by Chvátal and Reed , Goerdt , and Fernandez de la Vega (with the scaling window detailed by Bollobás, Borgs, Chayes, Kim, and Wilson, ), an extension to Max 2-SAT, by Coppersmith, Gamarnik, Hajiaghayi, and Sorkin , and the pure-literal threshold for a kk-SAT formula, by Molloy .

The most natural random model of the kk-XORSAT problem is the “unconstrained” model in which each of the mm equations’ kk variables are drawn uniformly (without replacement) from the set of all nn variables, and the right hand side values are uniformly 0 or 1; equivalently a random instance Ax=bAx=b is given by a matrix A∈{0,1}m×nA\in\{0,1\}^{m\times n} drawn uniformly at random from the set of all such matrices with each row sum equal to kk, and b∈{0,1}mb\in\{0,1\}^{m} chosen uniformly at random.

The case k=2k=2 has been extensively studied. As shown by Kolchin and Creignon and Daudé , the random instance has a solution with limiting probability p(2m/n)+o(1)p(2m/n)+o(1), where p(x)∈(0,1)p(x)\in(0,1) for x<1x<1, p(1−)=0p(1-)=0, and p(x)≡0p(x)\equiv 0 for x>1x>1. Daudé and Ravelomanana , and Pittel and Yeum , analyzed the near-critical behavior of the solvability probability for 2m/n=1+ε2m/n=1+\varepsilon, ε=o(n−1/4)\varepsilon=o(n^{-1/4}).

For k>2k>2, Kolchin analyzed the expected number of nonempty “critical row sets” (nonempty collections of rows whose sum is all-even), whose presence is necessary and sufficient for the (Boolean) rank of AA to be less than mm. He determined the thresholds ckc_{k} such that the expected number of nonempty critical sets goes to 0 if lim⁡m/n<ck\lim m/n<c_{k} and to infinity if lim⁡m/n>ck\lim m/n>c_{k}; in particular, c3=0.8894…c_{3}=0.8894\dots. Thus, for lim⁡m/n<ck\lim m/n<c_{k}, with high probability AA is of full rank, so Ax=bAx=b is solvable. It follows that the satisfiability threshold ck∗c^{*}_{k} is at least ckc_{k}. It is an easy observation (see Remark 3) that ck∗≤1c^{*}_{k}\leq 1. However, Kolchin could not resolve the precise value, or even the existence, of the satisfiability threshold.

Dubois and Mandler (see also ) introduced a “constrained” random kk-XORSAT model, where bb is still uniformly random, but AA is uniformly random over the subset of matrices in which each column sum is at least 2. For k=3k=3 (3-XORSAT) they showed that its threshold for m/nm/n is 1. This is of interest because from the threshold for the constrained model, they were able to derive that for the unconstrained model. Dubois and Mandler suggested that their methods could be extended to the general constrained kk-XORSAT, k≥3k\geq 3. However, their approach — the second-moment method for the number of solutions — requires solving a hard maximization problem with Θ(k)\Theta(k) variables, a genuinely daunting task.

Our main result is that 1 continues to be the threshold for all k>3k>3.

Let Ax=bAx=b be a uniformly random constrained kk-XORSAT instance with mm equations and nn variables. Suppose k≥4k\geq 4. If m,n→∞m,n\to\infty with lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1) then Ax=bAx=b is asymptotically almost surely (a.a.s.) satisfiable, with satisfiability probability 1−O(m−(k−2))1-O(m^{-(k-2)}), while if m,n→∞m,n\to\infty with lim⁡m/n>1\lim m/n>1 then Ax=bAx=b is a.a.s. unsatisfiable, with satisfiability probability O(2−(m−n))O(2^{-(m-n)}).

We treat kk as fixed, and the constants implicit in the O()˙O(\dot{)} notation may depend on kk. We are also able to treat the case when the gap between mm and nn is not linear but arbitrarily slowly growing, obtaining the following stronger theorem.

Let Ax=bAx=b be a uniformly random constrained kk-XORSAT instance with mm equations and nn variables, with k≥3k\geq 3 and m,n→∞m,n\to\infty with lim inf⁡m/n>2/k\liminf m/n>2/k. Then, for any w(n)→+∞w(n)\to+\infty, if m≤n−w(n)m\leq n-w(n) then Ax=bAx=b is a.a.s. satisfiable, with satisfiability probability 1−O(m−(k−2)+exp⁡(−0.69 w(n)))1-O(m^{-(k-2)}+\exp(-0.69\,w(n))), while if m≥n+w(n)m\geq n+w(n) then Ax=bAx=b is a.a.s. unsatisfiable, with satisfiability probability O(2−w(n))O(2^{-w(n)}).

Rather than using the second-moment method on the number of solutions, as Dubois and Mandler do, we use the critical-set approach of Kolchin. Remark 5 shows that the two methods are equivalent, but Kolchin’s leads us to more tractable calculations, specifically, to a maximization problem with a number of variables that is fixed, independent of kk. Using Kolchin’s approach, but in the constrained model, we will establish that ck∗≥1c^{*}_{k}\geq 1. In the constrained and unconstrained models, a simple argument shows that ck∗≤1c^{*}_{k}\leq 1 (again see Remark 3). Thus, for the constrained model (unlike the constrained one), the two bounds coincide, establishing the threshold.

Dubois and Mandler extended the threshold for the constrained 3-XORSAT model to that for the unconstrained model by observing that, in an unconstrained instance, any variable appearing in just one clause (or none), can be deleted along with that clause (if any), to give an equivalent instance, and this process can be repeated. The key observation is that a uniformly random unconstrained instance reduces to a uniformly random constrained instance with a predictable edge density; the threshold for the unconstrained model is the value for which the corresponding constrained instance has density 1. The same approach works for any kk, and we capitalize on existing analyses of the 2-core of a random kk-uniform hypergraph to establish the unconstrained kk-XORSAT threshold in Theorem 16.

Work on the rank of random matrices over finite fields is not as extensive as that on real random matrices, but nonetheless a survey is beyond our scope. In addition to the work already described, we note that the rank of matrices with independent random 0–1 entries was explored over a decade ago by Blömer, Karp and Welzl , and Cooper , among others.

Recently, Darling, Penrose, Wade and Zabell have explored a random XORSAT model replacing the constant kk with a distribution, but the satisfiability threshold has not yet been determined for this generalization.

To translate our result for the constrained model to the unconstrained one, we exploit results on the core of a random hypergraph. For usual graphs, the threshold for the appearance of an rr-core was first obtained by Pittel, Spencer, and Wormald . For kk-uniform hypergraphs, the rr-core thresholds were obtained roughly concurrently by Cooper , Kim , and Molloy . Two aspects of Cooper’s treatment are noteworthy. First, he works with a degree-sequence hypergraph model; taking Poisson-distributed degrees reproduces the results for a simple random hypergraph. Also, he observes [8, Section 5.2] that the point at which a random kk-uniform hypergraph’s core has a (typical) edges-to-vertices ratio of 1 is an upper bound on the satisfiability threshold of unconstrained kk-XORSAT; proving that this is the true threshold is the main subject of the present paper.

Outline

The remainder of the paper is organized as follows. Section 2 formalizes our introductory observations about the first- and second-moment methods, the number of solutions, and the number of critical sets. Section 3 shows that for the constrained model, instead of considering random 0–1 matrices AA, it is asymptotically equivalent to consider random nonnegative integer matrices AA subject to the same constraints on row sums (equal to kk) and column sums (at least 22). Section 4, using generating functions and Chernoff’s method, obtains an exponential bound for the expected number of critical sets of any given cardinality. Section 5 uses this bound to show that, for lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1) and k>3k>3, the expected number of nonempty critical sets is O(m−(k−2))O(m^{-(k-2)}). Hence, with high probability, there is no such set, AA is of full rank, and the instance is satisfiable. We conclude that 1 is a sharp threshold for satisfiability of Ax=bAx=b in the constrained case for all k≥3k\geq 3.

Section 6 builds on the earlier results to treat the case lim⁡m/n=1\lim m/n=1 and prove Theorem 2. Section 7 derives the unconstrained kk-XORSAT threshold from the constrained one, using standard results on the 2-core of a random hypergraph.

Proof background

Let NN be the number of solutions to the system of equations Ax=bAx=b.

Note that the collection of critical sets is sandwiched between the minimal linearly dependent sets of rows, and all linearly dependent sets of rows. It is useful because the minimal sets are hard to characterize, while the collection of all linearly dependent row sets is too large (as it includes all sets containing any linearly dependent sets); the critical sets are a happy medium.

where n(AT)n(A^{\mathsf{T}}) denotes the nullity of the transpose of AA.

Probability spaces

This section will establish Corollary 8, showing that the uniform distribution over constrained kk-XORSAT matrices A∈Am,nA\in\mathcal{A}_{m,n} (see below) is for our purposes equivalent to a model C∈Cm,nC\in\mathcal{C}_{m,n} allowing a variable to appear more than once within an equation.

Let Am,n\mathcal{A}_{m,n} denote the set of all m×nm\times n matrices with 0–1 entries, such that all mm row sums are kk, and all nn column sums are at least 2. For Am,n\mathcal{A}_{m,n} to be nonempty it is necessary that km≥2nkm\geq 2n, and we will assume that m,n→∞m,n\to\infty with lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1).

A matrix A∈Am,nA\in\mathcal{A}_{m,n} may be interpreted as an outcome of the following allocation scheme. We have an m×nm\times n array of cells with kk indistinguishable chips assigned to each of the mm rows. For each row, the kk chips are put in kk distinct cells (so there is at most one chip per cell), subject to the constraint that each column gets at least two chips.

Let us consider an alternative model, with the same constraints but where the chips in each row are distinguishable, giving allocations B∈Bm,nB\in\mathcal{B}_{m,n}. Then each allocation in Am,n\mathcal{A}_{m,n} is obtained from (k!)m(k!)^{m} allocations in Bm,n\mathcal{B}_{m,n}, and the uniform distribution on Am,n\mathcal{A}_{m,n} is equivalent to that on Bm,n\mathcal{B}_{m,n}.

Let Cm,n\mathcal{C}_{m,n} be a relaxed version of Bm,n\mathcal{B}_{m,n}, without the requirement that each of the mnmn cells gets at most one chip. Let BB and CC be distributed uniformly on Bm,n\mathcal{B}_{m,n} and Cm,n\mathcal{C}_{m,n}, respectively. Crucially, and obviously, BB is equal in distribution to CC, conditioned on C∈Bm,nC\in\mathcal{B}_{m,n}.

To state a key lemma on ∣Am,n∣\left|\mathcal{A}_{m,n}\right|, ∣Bm,n∣\left|\mathcal{B}_{m,n}\right|, and ∣Cm,n∣\left|\mathcal{C}_{m,n}\right| we need some notation, much of which will recur throughout the paper.

with ψ(0)=2\psi(0)=2 defined by continuity, and the truncated Poisson random variable Z=Z(λ)Z=Z(\lambda),

(With ψ=xf′(x)/f(x)\psi=xf^{\prime}(x)/f(x), (3) and (3) hold for ff and ZZ defined by any series ajxja_{j}x^{j}, not just xj/j!x^{j}/j!, assuming convergence.)

From (3) it is immediate that ψ′(λ)>0\psi^{\prime}(\lambda)>0 for any λ>0\lambda>0. (See also a general formulation in [31, Chapter 4, problem 6, p. 77].) The next claim shows that ψ\psi is convex as well as increasing, and establishes both facts for all λ\lambda (though we only require them for positive λ\lambda).

ψ(x)\psi(x) is strictly increasing, and convex.

We begin with convexity. Differentiating (1) shows that ψ′′=g/f3\psi^{\prime\prime}=g/f^{3}, where

Write g(x)=∑j≥0gjxjg(x)=\sum_{j\geq 0}g_{j}x^{j}. Expanding (5) as a sum of terms xaebx=∑j≥0bjxa+jj!x^{a}e^{bx}=\sum_{j\geq 0}\tfrac{b^{j}x^{a+j}}{j!}, and collecting like terms, we find that gj=0g_{j}=0 for j≤5j\leq 5, while for all j≥6j\geq 6,

Positivity is trivial for j≥8j\geq 8 and easily checked for j=6j=6 and 77. This establishes that g(x)>0g(x)>0 for x>0x>0. Substituting x=−yx=-y in g(x)g(x), writing g(x)=e−2y∑j≥0gj′yjg(x)=e^{-2y}\sum_{j\geq 0}g^{\prime}_{j}y^{j}, and using the same method yields gj′=0g^{\prime}_{j}=0 for j≤5j\leq 5, while for j≥6j\geq 6, gj′=1j!(2j+1−j3+4j2−7j−4)>0g^{\prime}_{j}=\frac{1}{j!}(2^{j+1}-j^{3}+4j^{2}-7j-4)>0. This establishes that g(x)>0g(x)>0 for x<0x<0. Finally, ψ′′(0)=1/9\psi^{\prime\prime}(0)=1/9. Therefore ψ′′(x)>0\psi^{\prime\prime}(x)>0 for all xx.

That ψ′(x)>0\psi^{\prime}(x)>0 follows from lim⁡x→−∞ψ′(x)=0\lim_{x\to-\infty}\psi^{\prime}(x)=0 and ψ′′>0\psi^{\prime\prime}>0. ∎

Under our assumption that m/n>2/km/n>2/k, the equation ψ(x)=km/n\psi(x)=km/n has a unique root, and it is positive. This follows from the facts that ψ(x)\psi(x) is strictly increasing (see Claim 6), ψ(0)=2\psi(0)=2, and ψ(x)→∞\psi(x)\to\infty as x→∞x\to\infty. Henceforth, let

be this root. Since by Claim 6 ψ\psi is strictly increasing, so is λ=ψ−1\lambda=\psi^{-1}.

From Claim 6, for λ>0\lambda>0, ψ′(λ)\psi^{\prime}(\lambda) lies between ψ′(0)=1/3\psi^{\prime}(0)=1/3 and lim⁡x→∞ψ′(x)=1\lim_{x\to\infty}\psi^{\prime}(x)=1, and thus

With these preliminaries done, we focus on asymptotics of ∣Am,n∣\left|\mathcal{A}_{m,n}\right|, ∣Bm,n∣\left|\mathcal{B}_{m,n}\right| and ∣Cm,n∣\left|\mathcal{C}_{m,n}\right|.

Suppose m,n→∞m,n\to\infty with lim⁡m/n∈(2/k,∞)\lim m/n\in(2/k,\infty). Then, with λ\lambda as in (6),

so that the fraction ∣Bm,n∣/∣Cm,n∣\left|\mathcal{B}_{m,n}\right|/\left|\mathcal{C}_{m,n}\right| is bounded away from zero. Consequently

Under the hypotheses of Lemma 7, uniformly for all non-negative, matrix-dependent functions rr,

The first equality is trivial. To show the second, for any S⊆Bm,nS\subseteq\mathcal{B}_{m,n},

Equation (11) is immediate from (9) and (10). Proving (9) and (10) will occupy the rest of this section.

We first prove (9). To determine ∣Cm,n∣\left|\mathcal{C}_{m,n}\right|, recall that each row i∈mi\in m is given its own kk, mutually distinguishable, chips. We can get an allocation C∈Cm,nC\in\mathcal{C}_{m,n} by permuting all the chips and allocating the first j1≥2j_{1}\geq 2 chips to column 1, the next j2≥2j_{2}\geq 2 chips to column 2, etc.; each chip goes to its predetermined row and its random column. Up to the irrelevant permutation of chips within the first j1j_{1}, the next j2j_{2}, etc., an allocation C∈Cm,nC\in\mathcal{C}_{m,n} is uniquely determined by such a scheme.

Observe that the probability generating function (p.g.f.) of the truncated Poisson random variable Z(λ)Z(\lambda) defined in (2) is

Following the notational convention that for h(z)=∑jhjzjh(z)=\sum_{j}h_{j}z^{j}, [zj] h(z):=hj[z^{j}]\,h(z):=h_{j}, we have

where Z1(λ),…,Zn(λ)Z_{1}(\lambda),\dots,Z_{n}(\lambda) are independent copies of Z(λ)Z(\lambda). Now, since Var⁡[Z(λ)]=Θ(λ)\operatorname{Var}[Z(\lambda)]=\Theta(\lambda) (by (8)) and lim inf⁡λ>0\liminf\lambda>0 (by λ=λ(km/n)\lambda=\lambda(km/n) and the hypothesis that lim⁡m/n>2/k\lim m/n>2/k), we have lim inf⁡Var⁡[Z(λ)]>0\liminf\operatorname{Var}[Z(\lambda)]>0. So, by a local limit theorem (Aronson, Frieze and Pittel [2, equation (5)]),

We now prove (10). Let C={ci,j}C=\{c_{i,j}\} be distributed uniformly on Cm,n\mathcal{C}_{m,n}. Let MM denote the number of cells that house 22 or more chips, i.e., M=\bigl{|}\{(i,j)\colon c_{i,j}\geq 2\}\bigr{|}. Let M‾\overline{M} be the number of pairs of chips hosted by the same cell, i.e.,

M‾=M\overline{M}=M iff there are no cells hosting more than 22 chips. Clearly

Denoting the indicator of an event EE by 1(E)\boldsymbol{1}(E), we write

where E(i,j;u,v)E(i,j;u,v) is the event that, of the kk chips owned by row ii, at least the two chips uu and vv were put into cell (i,j)(i,j). Each of these mn(k2)mn\binom{k}{2} event indicators has the same expected value,

To see why (17) is so, compare with (14) and note that once we have put two selected chips into a cell (i,j)(i,j) we allocate the remaining (km−2)(km-2) chips amongst nn columns, at least two per column, with the exception (hence the sole exe^{x} factor) that the jjth column receives an unconstrained number of additional chips (as it already has two). Arguing as for (15),

where X(λ)X(\lambda) stands for an independent, usual (not truncated) Poisson(λ)(\lambda) random variable. This last probability equals

with the usual falling-factorial notation (a)b:=a(a−1)⋯(a−b+1)(a)_{b}:=a(a-1)\cdots(a-b+1). Recalling (6) and setting

More generally, we now show that for every fixed t≥1t\geq 1 we have

Let T\boldsymbol{T} be the set of all 4-tuples (i,j,u,v)(i,j,u,v) as before, with i∈[m]i\in[m], j∈[n]j\in[n], and 1≤u<v≤k1\leq u<v\leq k. Now let (T)t(\boldsymbol{T})_{t} denote the collection of tt-tuples of such 4-tuples with all the 4-tuples distinct. Where {(iτ,jτ,uτ,vτ)}τ=1t∈(T)t\{(i_{\tau},j_{\tau},u_{\tau},v_{\tau})\}_{\tau=1}^{t}\in(\boldsymbol{T})_{t}, in a slight abuse of notation we will write (i,j,u,v)∈(T)t(\boldsymbol{i},\boldsymbol{j},\boldsymbol{u},\boldsymbol{v})\in(\boldsymbol{T})_{t}, where i=(i1,…,it)\boldsymbol{i}=(i_{1},\dots,i_{t}), j=(j1,…,jt)\boldsymbol{j}=(j_{1},\dots,j_{t}), u=(u1,…ut)\boldsymbol{u}=(u_{1},\dots u_{t}), v=(v1,…,vt)\boldsymbol{v}=(v_{1},\dots,v_{t}). Then we have

We break the sum into two parts, Σ1\Sigma_{1} and the remainder Σ2\Sigma_{2}, where Σ1\Sigma_{1} is the restriction to i\boldsymbol{i} and j\boldsymbol{j} each having all its components distinct. In Σ1\Sigma_{1} the number of summands is (m)t(n)t(k2)t(m)_{t}(n)_{t}\binom{k}{2}^{t}, and each summand is

see the explanation following (17). Analogously to (18),

where the nn truncated and ordinary Poisson random variables Zj(λ)Z_{j}(\lambda) and Xs(λ)X_{s}(\lambda) are mutually independent. Since tt is fixed, the probability remains asymptotic to \bigl{(}2\pi n\operatorname{Var}[Z(\lambda)]\bigr{)}^{-1/2}. So, using (9) and recalling (19), we have

In the case of Σ2\Sigma_{2}, letting I={i1,…,it}I=\{i_{1},\dots,i_{t}\}, J={j1,…,jt}J=\{j_{1},\dots,j_{t}\}, we have ∣I∣+∣J∣≤2t−1|I|+|J|\leq 2t-1. So the number of attendant pairs (I,J)(I,J) is at most (m+n)^{2t-1}=O\bigl{(}m^{2t-1}\bigr{)}. The number of pairs (i,j)(\boldsymbol{i},\boldsymbol{j}) inducing a given pair (I,J)(I,J) is bounded above by a constant s(t)s(t). For every one of those s(t)s(t) choices, we select pairs of chips for each of the chosen tt cells; there are at most (k2)t\binom{k}{2}^{t} ways of doing so. Lastly, we allocate the remaining (km−2t)(km-2t) chips in such a way that every column j∈[n]∖Jj\in[n]\setminus J gets at least 22 chips. As in the case of Σ1\Sigma_{1}, this can be done in

ways. Again, the probability is asymptotic to \bigl{(}2\pi n\text{Var}[Z(\lambda)]\bigr{)}^{-1/2}. So, as eλ>f(λ)e^{\lambda}>f(\lambda), the sum Σ2\Sigma_{2} is of order

Combining (21) and (22), and recalling (19), we conclude that for each fixed t≥1t\geq 1,

Therefore M‾\overline{M} is asymptotic, with all its moments and in distribution, to Po⁡(γ)\operatorname{Po}(\gamma). In particular,

Counting critical row subsets, and the main result

This section will prove Theorem 1. Remark 3 already dealt with the case lim⁡m/n>1\lim m/n>1. It suffices, then, to show that with lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1), the expected number of nonempty critical row sets goes to 0: then with high probability there is no such set, AA is of full rank, and the instance is satisfiable.

Lemma 10 is established by several claims deferred to Section 5, and Section 7 extends Theorem 1 to the unconstrained kk-XORSAT model (Theorem 16).

by continuity we define xln⁡x=0x\ln x=0 at x=0x=0, and H(α)H(\alpha) is the usual entropy function

By the independence of constraints on column sums for the upper and the lower submatrices of the matrices CC in question,

Since the coefficients of the Taylor expansion around z=0z=0 of ezνf(z)n−νe^{z\nu}f(z)^{n-\nu} are non-negative, we use these identities in a standard (Chernoff) way to bound

The bound (34) follows from three components: the Cauchy integral formula

and (with z=z2eiθz=z_{2}e^{i\theta}) the identity |e^{z}|=e^{z_{2}}\exp\bigl{[}-z_{2}(1-\cos\theta)\bigr{]} and the less obvious inequality

(See Pittel [26, Appendix] for the inequality, and Aronson, Frieze and Pittel [2, inequality (A2)] for how it works in combination with the Cauchy formula.)

Using (29), (30), (33), (34), with ∣Cm,n∣\left|\mathcal{C}_{m,n}\right| from (9) and Var⁡Z(λ)\operatorname{Var}{Z(\lambda)} from (8), we obtain that, ∀ z1,z2>0\forall\,z_{1},z_{2}>0,

Now, it is immediate from (25), (26), and (29) that

Recall the definition of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) from (24). Roughly speaking, the following lemma establishes the existence of ζ\boldsymbol{\zeta} making Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) negative. An intuitive description of the behavior of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) is given at the start of the next section.

For all k≥4k\geq 4 and c∈(2/k,1)c\in(2/k,1), there exist ε=ε(c,k)>0\varepsilon=\varepsilon(c,k)>0 and ζ0=ζ0(c,k)>0\zeta_{0}=\zeta_{0}(c,k)>0, both functions continuous in cc, such that

The lemma follows immediately from Claims 12, 13 and 15, all stated and proved in Section 5, respectively treating α\alpha in the ranges (0,0.99αk](0,0.99\alpha_{k}], [0.99αk,1/2][0.99\alpha_{k},1/2], and (1/2,1](1/2,1]. A suitable function ζ\boldsymbol{\zeta} is given explicitly in each case. ∎

The lemma yields the following corollary.

For k≥4k\geq 4 and m,n→∞m,n\to\infty with lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1),

Since lim⁡m/n∈(2/k,1)\lim m/n\in(2/k,1), there exists a closed interval I⊂(2/k,1)I\subset(2/k,1) such that, for all but finitely many cases, c=m/n∈Ic=m/n\in I. Where ε(c,k)\varepsilon(c,k) and ζ0(c,k)\zeta_{0}(c,k) satisfy the conditions of Lemma 10 define ε=ε(I)=min⁡{ε(c,k) ⁣:c∈I}\varepsilon=\varepsilon(I)=\min\{\varepsilon(c,k)\colon c\in I\}, and ζ0=ζ0(I)\zeta_{0}=\zeta_{0}(I) likewise; the minima exist by continuity of ε\varepsilon and ζ0\zeta_{0} in cc. Then, for all but finitely many pairs m,nm,n, inequalities (40) and (41) hold true.

Adding the two partial sums yields Corollary 11. ∎

Recall the notation αˉ=1−α\bar{\alpha}=1-\alpha and ζ=(ζ1,ζ2)\boldsymbol{\zeta}=(\zeta_{1},\zeta_{2}) as well as the definition of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) from (24). In this section we use an explicit function ζ=ζ(c,k,α)\boldsymbol{\zeta}=\boldsymbol{\zeta}(c,k,\alpha), taking different forms in different ranges of α\alpha, to establish Claims 12, 13 and 15 and thus Lemma 10.

For intuition about Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c), the case k=4k=4 is indicative. Figure 1 shows a graph of the function value against α\alpha, for a few choices of cc, with ζ\boldsymbol{\zeta} given by (43) for small α\alpha, and by ζ=(α,αˉ)\boldsymbol{\zeta}=(\alpha,\bar{\alpha}) otherwise. Numerical experiments suggest that the optimal choice of ζ\boldsymbol{\zeta} leads to qualitatively similar results, though of course without the kinks where we change from one functional form for ζ\boldsymbol{\zeta} to another. As shown, Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) tends to 0 at α=0\alpha=0 (treated in Claim 12), but the dependence on cc here is not critical: an analog of the claim, with different parameters, could be obtained as long as cc is bounded away from 0 and infinity. At α=1/2\alpha=1/2 (treated in Claim 13), the function tends to 0 as cc tends to 1, so this is where c<1c<1 is required. Claim 13 also covers values of α\alpha between 0 and 1/21/2 but bounded away from them; here the function value is bounded away from 0 (for c≤1c\leq 1) and could be dealt with by cruder means, such as that by interval arithmetic in . Function values for α>1/2\alpha>1/2 (treated in Claim 15) are dominated by their symmetric counterparts at 1−α1-\alpha, except for some special treatment required near 11.

Lemma 10 only considers k>3k>3. The lemma can be extended to k=3k=3, but this case was already treated by and the proof poses additional difficulties for us; see further discussion after the proof of Claim 13, and in Section 6, specifically at (76).

For all k≥3k\geq 3 and all c∈(2/k,1]c\in(2/k,1], taking

yields Hk(α,ζ;c)≤(cα)(k2−1)ln⁡(α/αk)H_{k}(\alpha,\boldsymbol{\zeta};c)\leq(c\alpha)(\tfrac{k}{2}-1)\ln(\alpha/\alpha_{k}) for all α∈(0,αk)\alpha\in(0,\alpha_{k}). Also, for any δ=δ(k)>0\delta=\delta(k)>0 there exists ε=ε(k)>0\varepsilon=\varepsilon(k)>0 such that Hk(α,ζ;c)<−εH_{k}(\alpha,\boldsymbol{\zeta};c)<-\varepsilon for all α∈[δ,0.99αk]\alpha\in[\delta,0.99\alpha_{k}]. In both cases, ζ2≥ζ0(k):=1−αk>0\zeta_{2}\geq\zeta_{0}(k):=1-\alpha_{k}>0.

The first part of the claim establishes (40), and the second part, with δ=αk/3\delta=\alpha_{k}/3, establishes (41) for α∈[αk/3,0.99αk]\alpha\in[\alpha_{k}/3,0.99\alpha_{k}]. As both ε\varepsilon and ζ0\zeta_{0} depend only on kk they are automatically continuous (constant) with respect to cc, thus satisfying the hypothesis of Lemma 10.

Trivially, ζ2=αˉ≥1−αk>0\zeta_{2}=\bar{\alpha}\geq 1-\alpha_{k}>0, since αk=ek−k/(k−2)<e/k<1\alpha_{k}=ek^{-k/(k-2)}<e/k<1. The issue in this range of α\alpha is to control the final logarithmic term of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) when the two summands within the logarithm are nearly equal. Note that ln⁡f(x)\ln f(x) is concave on either side of 0 (diverging to −∞-\infty at , it is not concave as a whole), as

Since ddΔln⁡f(λ(1+Δ))∣Δ=0=λf′(λ)f(λ)\left.\frac{d}{d\Delta}\ln f(\lambda(1+\Delta))\right|_{\Delta=0}=\frac{\lambda f^{\prime}(\lambda)}{f(\lambda)}, if λ\lambda and λ ⁣⋅ ⁣(1+Δ)\lambda\!\cdot\!(1+\Delta) are on the same side of 0 (i.e., if 1+Δ≥01+\Delta\geq 0) then concavity gives ln⁡f(λ(1+Δ))≤ln⁡f(λ)+Δλf′(λ)f(λ)\ln f(\lambda(1+\Delta))\leq\ln f(\lambda)+\Delta\frac{\lambda f^{\prime}(\lambda)}{f(\lambda)}. Or, with ζ=1+Δ\zeta=1+\Delta, if ζ≥0\zeta\geq 0 then

recalling from (6) that λf′(λ)/f(λ)=ck\lambda f^{\prime}(\lambda)/f(\lambda)=ck. It is easily checked that (39) gives αk<0.2\alpha_{k}<0.2, hence from (43) ζ2>0.8\zeta_{2}>0.8 and ζ1<0.4\zeta_{1}<0.4, so ζ2−ζ1≥0\zeta_{2}-\zeta_{1}\geq 0 and of course ζ2+ζ1≥0\zeta_{2}+\zeta_{1}\geq 0. Thus for the final term of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c), from (45) we have

using the well known inequality cosh⁡x≤ex2/2\cosh x\leq e^{x^{2}/2} Now also using −αˉln⁡αˉ≤α-\bar{\alpha}\ln\bar{\alpha}\leq\alpha for all αˉ∈[0,1)\bar{\alpha}\in[0,1), substituting ζ\boldsymbol{\zeta} from (43) into Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c),

Pessimistically taking c=1c=1 within the logarithm and recalling αk\alpha_{k} from (39),

(A different upper bound for cc would simply call for a different value for αk\alpha_{k}.) This proves the first part of the claim.

Clearly, for all α∈(0,αk)\alpha\in(0,\alpha_{k}), αln⁡(α/αk)\alpha\ln(\alpha/\alpha_{k}) is negative, so for any δ=δ(k)>0\delta=\delta(k)>0, over α∈[δ,0.99αk]\alpha\in[\delta,0.99\alpha_{k}] it is bounded away from 0. By hypothesis, c≥2/kc\geq 2/k (any positive constant would do), thus Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) is also bounded away from 0, i.e., there is some ε=ε(k)>0\varepsilon=\varepsilon(k)>0 for which Hk(α,ζ;c)≤−εH_{k}(\alpha,\boldsymbol{\zeta};c)\leq-\varepsilon. This proves the second part of the claim. ∎

For all k≥4k\geq 4 and all c∈(2/k,1)c\in(2/k,1), there exists ε=ε(c,k)>0\varepsilon=\varepsilon(c,k)>0, with ε(c,k)\varepsilon(c,k) continuous in cc, such that for all α∈[0.99αk,1/2]\alpha\in[0.99\alpha_{k},1/2], taking

yields Hk(α,ζ;c)<−εH_{k}(\alpha,\boldsymbol{\zeta};c)<-\varepsilon and (trivially) ζ2≥ζ0:=1/2\zeta_{2}\geq\zeta_{0}:=1/2.

Recall the definition of Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) in (24), including its use of λ=λ(kc)=ψ−1(kc)\lambda=\lambda(kc)=\psi^{-1}(kc), i.e., ψ(λ)=kc\psi(\lambda)=kc (see (6)). If we let

The advantage of Hk(α;λ)H_{k}(\alpha;\lambda) over Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) is that the former is an explicit function of the “hidden” parameter λ=λ(ck)\lambda=\lambda(ck), while the latter depends on cc both explicitly, and implicitly via λ(ck)\lambda(ck). (To put it another way, λ\lambda appears repeatedly in Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) and is only implicitly defined as ψ−1\psi^{-1} (see (6)), where ψ\psi appears just once in HkH_{k} and is explicitly defined (see (1)).)

Since λ(⋅)\lambda(\cdot) is increasing (see after (6)) and c∈(2/k,1)c\in(2/k,1),

We now argue that it suffices to consider only the largest possible value of cc, namely c=1c=1, or correspondingly of λ\lambda, namely λ=λk\lambda=\lambda_{k}. Referring back to the original question about the kk-XORSAT phase transition, in the unconstrained model such a form of monotonicity is obvious: if random instances of given density are a.a.s. satisfiable, the same is true of sparser instances, as there is a coupling in which we simply eliminate some constraints. But in the constrained model in which we are now working, monotonicity is not obvious: it is not clear that sparser instances are more likely to be satisfiable than denser ones. We attempted unsuccessfully to show this by converting to and from the unconstrained model.

In the next part we prove a more limited form of monotonicity, in a short following section we show as a consequence that it suffices to show that Hk(α;λk)≤0H_{k}(\alpha;\lambda_{k})\leq 0, and in a third part we do so.

For k≥4k\geq 4, there exists a σk>0\sigma_{k}>0 such that for all α∈[0.99αk,1/2]\alpha\in[0.99\alpha_{k},1/2] and λ∈[0,λk]\lambda\in[0,\lambda_{k}],

In words, as a function of λ\lambda, Hk(α;λ)H_{k}(\alpha;\lambda) is strictly increasing when it is non-negative.

By (50), the condition Hk(α;λ)≥0H_{k}(\alpha;\lambda)\geq 0 is equivalent to

Differentiating (50), under the assumption that Hk(α;λ)>0H_{k}(\alpha;\lambda)>0 and using (53) and (54) in the first inequality,

where the second inequality uses that ψ′(λ)>0\psi^{\prime}(\lambda)>0 and, by convexity of ψ\psi (see Claim 6 for both), that ψ(λ(1−2α))−ψ(λ)≥−2λαψ′(λ)\psi(\lambda(1-2\alpha))-\psi(\lambda)\geq-2\lambda\alpha\psi^{\prime}(\lambda).

Now, regarding g(α;λ)g(\alpha;\lambda) as an independent quantity, the RHS of (55) is decreasing with g(α;λ)g(\alpha;\lambda), and for λ≤1/2\lambda\leq 1/2

since concavity of ln⁡f(x)\ln f(x) for x>0x>0 (see (44)) means that ln⁡g(α;λ)≤−2αλddλ(ln⁡f(λ))=−2αλf′(λ)f(λ)=−2αψ(λ)\ln g(\alpha;\lambda)\leq-2\alpha\lambda\frac{d}{d\lambda}(\ln f(\lambda))=-2\alpha\lambda\frac{f^{\prime}(\lambda)}{f(\lambda)}=-2\alpha\psi(\lambda). It follows then from (55) that

Using ln⁡(x)≤x−1\ln(x)\leq x-1 we can confirm that ln⁡21+e−x=−ln⁡(12+12e−x)≥−(12e−x−12)=sinh⁡(x)1+ex\ln\frac{2}{1+e^{-x}}=-\ln(\tfrac{1}{2}+\tfrac{1}{2}e^{-x})\geq-(\tfrac{1}{2}e^{-x}-\tfrac{1}{2})=\frac{\sinh(x)}{1+e^{x}}, from which

By definition (see (6)), ψ(λ)=ck\psi(\lambda)=ck, and here, x=2αψ(λ)=2αck≤kx=2\alpha\psi(\lambda)=2\alpha ck\leq k. With this, (57) and (58),

For the final inequality, calling again on Claim 6, ψ′\psi^{\prime} is increasing, so ψ′(λ)≥ψ′(0)=1/3\psi^{\prime}(\lambda)\geq\psi^{\prime}(0)=1/3. Here we in the range α≥0.99αk\alpha\geq 0.99\alpha_{k}, and again ψ(λ)=ck\psi(\lambda)=ck, which by hypothesis is >2>2. This establishes (52) with σk:=1.7αk3/(1+ek)\sigma_{k}:=1.7\alpha_{k}^{3}/(1+e^{k}).

Application of monotonicity

For c∈(2/k,1)c\in(2/k,1) as hypothesized in the Claim, we will show that

By continuity of Hk(α;λ)H_{k}(\alpha;\lambda), the supremum is attained at some (α^,λ^)(\hat{\alpha},\hat{\lambda}). Recall from (51) that λ(ck)<λk\lambda(ck)<\lambda_{k}. By (52), if Hk(α^;λ^)≥0H_{k}(\hat{\alpha};\hat{\lambda})\geq 0 then ∂Hk(α^;λ)/∂λ≥σk\partial H_{k}(\hat{\alpha};\lambda)/\partial\lambda\geq\sigma_{k} for all λ∈[λ^,λk]\lambda\in[\hat{\lambda},\lambda_{k}], implying that H(α^,λk)>0H(\hat{\alpha},\lambda_{k})>0. In the next part we will show that this is impossible — that H(α,λk)≤0H(\alpha,\lambda_{k})\leq 0 — and thus that mk(c)<0m_{k}(c)<0. For Claim 13 we may thus take ε(c,k)=−mk(c)\varepsilon(c,k)=-m_{k}(c). That this is continuous in cc is immediate from continuity of Hk(α;λ)H_{k}(\alpha;\lambda).

Analysis of the extreme case

The proof of the Claim is complete except for treatment of the extreme case, c=1c=1 or equivalently λ=λk\lambda=\lambda_{k}, namely showing that

for all α∈[0.99αk,1/2]\alpha\in[0.99\alpha_{k},1/2]. (Observe, e.g. from (61) below, that Hk(1/2)=0H_{k}(1/2)=0.) We begin with

where inequality (62) uses that, as H′′(α)≤−4H^{\prime\prime}(\alpha)\leq-4,

Case α\alpha near 1/21/2. It is immediate from (62) that Hk(α)≤0H_{k}(\alpha)\leq 0 for α\alpha sufficiently close to 1/21/2, namely for α∈[αk∗,1/2]\alpha\in[{\alpha^{*}_{k}},1/2], where

Let us confirm that αk∗∈(0,1/2){\alpha^{*}_{k}}\in(0,1/2), i.e., that 1λkln⁡(f(λk)/λk2)∈(0,1)\frac{1}{\lambda_{k}}\ln(f(\lambda_{k})/\lambda_{k}^{2})\in(0,1). First, we show that for all k≥3k\geq 3, λk>k−1\lambda_{k}>k-1. This is equivalent to k>ψ(k−1)k>\psi(k-1), or explicitly to ek−1>1+k(k−1)e^{k-1}>1+k(k-1), which follows for k≥7k\geq 7 by use of ex>1+16x3e^{x}>1+\tfrac{1}{6}x^{3}, and simply by checking for k<7k<7. Then, by definition, k=ψ(λk)=λk+λk2/f(λk)k=\psi(\lambda_{k})=\lambda_{k}+{\lambda_{k}^{2}}/{f(\lambda_{k})}, so λk>k−1\lambda_{k}>k-1 implies that λk2/f(λk)<1\lambda_{k}^{2}/f(\lambda_{k})<1, giving 1λkln⁡(f(λk)/λk2)>0\tfrac{1}{\lambda_{k}}\ln(f(\lambda_{k})/\lambda_{k}^{2})>0. Also, λk>k−1\lambda_{k}>k-1 implies λk≥1\lambda_{k}\geq 1, from which f(λk)/λk2≤f(λk)<ekλf(\lambda_{k})/\lambda_{k}^{2}\leq f(\lambda_{k})<e^{\lambda}_{k}, and 1λkln⁡(f(λk)/λk2)<1\tfrac{1}{\lambda_{k}}\ln(f(\lambda_{k})/\lambda_{k}^{2})<1.

Case α\alpha away from 1/21/2. We now treat α∈[0.99αk,αk∗]\alpha\in[0.99\alpha_{k},{\alpha^{*}_{k}}] through two sub-cases.

Subcase k≥7k\geq 7. Since f(λk ⁣⋅ ⁣(1−2α))f(λk)=g(α;λ)≤e−2αk\frac{f(\lambda_{k}\!\cdot\!(1-2\alpha))}{f(\lambda_{k})}=g(\alpha;\lambda)\leq e^{-2\alpha k} (by (48) and (56), the latter relying on α≤αk∗≤1/2\alpha\leq{\alpha^{*}_{k}}\leq 1/2), we have from (61) that

Let us show that αk∗{\alpha^{*}_{k}} decreases with kk, implying that H(αk∗)≤H(α7∗)H({\alpha^{*}_{k}})\leq H(\alpha^{*}_{7}). Since λ(⋅)\lambda(\cdot) is increasing (see after (6)), it suffices to show that 1xln⁡(f(x)/x2)\tfrac{1}{x}\ln(f(x)/x^{2}) increases with xx for x≥λ3x\geq\lambda_{3}; we will show it for all x>0x>0. Differentiating,

so we must show that G(x)<0G(x)<0 for x>0x>0. Now, lim⁡x↓0G(x)=−ln⁡2<0\lim_{x\downarrow 0}G(x)=-\ln 2<0, so it suffices to show that G^{\prime}(x)=\bigl{(}\psi(x)-2-x\psi^{\prime}(x)\bigr{)}/x\leq 0, or equivalently ψ(x)−2−xψ′(x)≤0\psi(x)-2-x\psi^{\prime}(x)\leq 0. This is true, since this expression is at x=0x=0 and its derivative is simply −ψ′′(x)-\psi^{\prime\prime}(x), which is ≤0\leq 0 by convexity of ψ\psi (see Claim 6).

Also, recalling the definition of αk\alpha_{k} from (39), differentiation immediately shows that αkk=ek−2/(k−1)\alpha_{k}k=ek^{-2/(k-1)} increases with kk, so that αkk≥7 α7\alpha_{k}k\geq 7\,\alpha_{7}.

So, for k≥7k\geq 7 and α∈[0.99αk,αk∗]\alpha\in[0.99\alpha_{k},{\alpha^{*}_{k}}], (66) yields the cruder bound

Subcase k=4,5,6k=4,5,6. Notice that, for α∈[0,1/2]\alpha\in[0,1/2], the entropy term H(α)H(\alpha) in (61) for Hk(α)H_{k}(\alpha) is increasing, while the logarithmic term is decreasing. Consequently, if 0<x<x′≤1/20<x<x^{\prime}\leq 1/2 are such that

then Hk(α)<0H_{k}(\alpha)<0 for all α∈[x,x′]\alpha\in[x,x^{\prime}]. A collection of such intervals [x,x′][x,x^{\prime}] covering [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}] gives an “interval arithmetic” proof that Hk(α)≤0H_{k}(\alpha)\leq 0 on [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}], and there is an elegant iterative procedure for finding such a cover.

by convexity of HH. Thus, inequality (68) is satisfied if the RHS of (69) is 0, i.e., if

(Note that Hk(x)<0H_{k}(x)<0, so x′>xx^{\prime}>x.) We apply (70), reminiscent of Newton-Raphson, as an iterative update rule, with xi=xx_{i}=x and xi+1=x′x_{i+1}=x^{\prime}, to cover the interval [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}].

For k=6k=6, taking x0=x=0.99αk≈0.1831x_{0}=x=0.99\alpha_{k}\approx 0.1831 gives x1=x′≈0.2620x_{1}=x^{\prime}\approx 0.2620, showing that H6(α)≤0H_{6}(\alpha)\leq 0 on [x0,x1][x_{0},x_{1}]. Then, taking x=x1x=x_{1} gives x2=x′≈0.3421x_{2}=x^{\prime}\approx 0.3421, showing that H6(α)≤0H_{6}(\alpha)\leq 0 on [x1,x2][x_{1},x_{2}]. Since α6∗<0.3024<x2\alpha^{*}_{6}<0.3024<x_{2}, for k=6k=6 these two intervals suffice to prove negativity of Hk(α)H_{k}(\alpha) over [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}].

For k=5k=5, following the same procedure covers [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}] with 3 intervals. Likewise, for k=4k=4, [0.99αk,αk∗][0.99\alpha_{k},{\alpha^{*}_{k}}] is covered with 8 intervals.

In fact, (67) and a check of the intervals for k=4,5,6k=4,5,6 yields that, for k≥4k\geq 4,

We have not addressed k=3k=3, already treated by , and indeed with ζ\boldsymbol{\zeta} as above, H3(12,ζ;1)H_{3}(\tfrac{1}{2},\boldsymbol{\zeta};1) is positive. We remark that we can extend Claim 13 to k=3k=3 by choosing ζ\boldsymbol{\zeta} differently, notably as given by (76). The motivation is that the equalities (76) hold for the optimal z=λζ\boldsymbol{z}=\lambda\boldsymbol{\zeta} at the stationary points (α^,k^)(\hat{\alpha},\hat{k}) of the function min⁡zHk(α,z/λ;ψ−1(ck))\min_{\boldsymbol{z}}H_{k}(\alpha,\boldsymbol{z}/\lambda;\psi^{-1}(ck)), assuming (without justification) that the implicit-differentiation rules apply. The monotonicity condition (the equivalent of (52)) then applies for all α∈(0,1/2]\alpha\in(0,1/2]. For details, see [27, Appendix (b)]. An interval arithmetic argument verifies that this choice makes H3(α,ζ;1)<0H_{3}(\alpha,\boldsymbol{\zeta};1)<0 for α∈[0.99α3,α3∗]\alpha\in[0.99\alpha_{3},\alpha^{*}_{3}], as we will show after (76) where this is needed to treat the phase transition more precisely. If we make this extension, Claim 15 also extends immediately to k=3k=3.

We also remark that if we alter the hypotheses of Claim 13 to exclude α\alpha near 1/21/2 then we may allow c=1c=1, as formalized below (where the choice of 0.490.49 is arbitrary). This will be used when we narrow the phase transition window in Section 6.

For all k≥4k\geq 4 there exists ε=ε(k)>0\varepsilon=\varepsilon(k)>0, such that for all α∈[0.99αk,0.49]\alpha\in[0.99\alpha_{k},0.49] and all c∈[2/k,1]c\in[2/k,1], taking ζ1=α,ζ2=αˉ\zeta_{1}=\alpha,\quad\zeta_{2}=\bar{\alpha} yields Hk(α,ζ;c)<−εH_{k}(\alpha,\boldsymbol{\zeta};c)<-\varepsilon and (trivially) ζ2≥ζ0:=1/2\zeta_{2}\geq\zeta_{0}:=1/2.

The substitution gives Hk(α,ζ;c)=Hk(α;λ)H_{k}(\alpha,\boldsymbol{\zeta};c)=H_{k}(\alpha;\lambda) (see (50)), the range c∈[2/k,1]c\in[2/k,1] corresponds to λ∈[0,λk]\lambda\in[0,\lambda_{k}], and it suffices to show that

In analogy with (59), by continuity, the supremum over this closed domain is achieved at some (α^,λ^)(\hat{\alpha},\hat{\lambda}). We prove by contradiction that Hk(α^,λ^)<0H_{k}(\hat{\alpha},\hat{\lambda})<0. If not, Hk(α^,λ^)≥0H_{k}(\hat{\alpha},\hat{\lambda})\geq 0. If λ^<λk\hat{\lambda}<\lambda_{k} then as argued previously this implies Hk(α^,λk)=Hk(α^)>0H_{k}(\hat{\alpha},\lambda_{k})=H_{k}(\hat{\alpha})>0, while if λ^=λk\hat{\lambda}=\lambda_{k} then, directly, Hk(α^)≥0H_{k}(\hat{\alpha})\geq 0. We now show that Hk(α)<0H_{k}(\alpha)<0 for α∈[0.99αk,0.49]\alpha\in[0.99\alpha_{k},0.49], by modifying the previous argument that Hk(α)≤0H_{k}(\alpha)\leq 0 for α∈[0.99αk,1/2]\alpha\in[0.99\alpha_{k},1/2]. Referring to (65), for any αk+{\alpha^{+}_{k}} with αk∗<αk+<0.49{\alpha^{*}_{k}}<{\alpha^{+}_{k}}<0.49, inequality (62) shows that Hk(α)<0H_{k}(\alpha)<0 for α∈[αk+,0.49]\alpha\in[{\alpha^{+}_{k}},0.49]. (Recall that αk∗{\alpha^{*}_{k}} is decreasing in kk — see after (66) — so for all k≥3k\geq 3, αk∗≤α3∗<0.4630{\alpha^{*}_{k}}\leq\alpha^{*}_{3}<{0.4630}.) And from (67), continuity shows that for some α7+\alpha^{+}_{7} slightly larger than α7∗\alpha^{*}_{7} we have Hk(α)<−0.018H_{k}(\alpha)<-0.018 for all α∈[0.99αk,α7+]\alpha\in[0.99\alpha_{k},\alpha^{+}_{7}] and k≥7k\geq 7. Likewise, for the numerically treated cases k=4,5,6k=4,5,6, (71) extends by continuity to show that, for some αk+{\alpha^{+}_{k}} slightly larger than αk∗{\alpha^{*}_{k}}, Hk(α)<−0.0011H_{k}(\alpha)<-0.0011 for all α∈[0.99αk,αk+]\alpha\in[0.99\alpha_{k},{\alpha^{+}_{k}}]. ∎

For all k≥4k\geq 4 and all c∈(2/k,1)c\in(2/k,1), there exist ε=ε(c,k)>0\varepsilon=\varepsilon(c,k)>0 and ζ0=ζ0(c,k)>0\zeta_{0}=\zeta_{0}(c,k)>0, both functions continuous in cc, such that for all α∈(1/2,1]\alpha\in(1/2,1] there exists ζ\boldsymbol{\zeta} for which Hk(α,ζ;c)<−εH_{k}(\alpha,\boldsymbol{\zeta};c)<-\varepsilon and ζ2≥ζ0\zeta_{2}\geq\zeta_{0}.

For any x>0x>0, f(x)>f(−x)f(x)>f(-x); this follows from f(x)−f(−x)=ex−e−x−2x=2(sinh⁡(x)−x)>0f(x)-f(-x)=e^{x}-e^{-x}-2x=2(\sinh(x)-x)>0, the last inequality well known. This gives

the equality immediate from (49) and the inequality from ck>2ck>2 and thus λ=λ(ck)>0\lambda=\lambda(ck)>0. By continuity of Hk(α,(ζ1,ζ2);c)H_{k}(\alpha,(\zeta_{1},\zeta_{2});c) with respect to α\alpha, ζ1\zeta_{1} and ζ2\zeta_{2}, there exist functions δ=δ(c,k)>0\delta=\delta(c,k)>0 and ε=ε(c,k)>0\varepsilon=\varepsilon(c,k)>0, both continuous in cc, for which

This establishes the claim for α∈[1−δ,1]\alpha\in[1-\delta,1].

For α∈(12,1−δ)\alpha\in(\frac{1}{2},1-\delta), let ζ=(ζ1,ζ2)\boldsymbol{\zeta}=(\zeta_{1},\zeta_{2}) be given by ζ1(α)=ζ2(αˉ)\zeta_{1}(\alpha)=\zeta_{2}(\bar{\alpha}), the latter determined by Claims 12–13, and likewise ζ2(α)=ζ1(αˉ)\zeta_{2}(\alpha)=\zeta_{1}(\bar{\alpha}). Then,

The inequality follows from (24): for the first three terms of its right hand side by symmetry, and for its last term by applying the inequality f(x)≥f(−x)f(x)\geq f(-x), with x:=ζ2(αˉ)−ζ1(αˉ)≥0x:=\zeta_{2}(\bar{\alpha})-\zeta_{1}(\bar{\alpha})\geq 0 (in the proofs of Claims 12–13, ζ2≥ζ1\zeta_{2}\geq\zeta_{1}). It follows that

where ε\varepsilon is chosen as the minimum of corresponding values in Claims 12–13. (Actually, here we need the value of δ(c,k)\delta(c,k) chosen for (72) rather than the δ(k)\delta(k) used in Claim 12. This goes through without difficulty since δ(c,k)\delta(c,k) is continuous in cc, and the corresponding ε(c,k)\varepsilon(c,k) needed in the last paragraph of the proof of Claim 12 is continuous in δ\delta, and has no dependence on cc other than through δ\delta.)

Finally, for ζ0(c,k)>0\zeta_{0}(c,k)>0 suitably chosen, we have ζ2≥ζ0(c,k)>0\zeta_{2}\geq\zeta_{0}(c,k)>0. This follows because for α≥1−δ\alpha\geq 1-\delta we have ζ2=δ\zeta_{2}=\delta, while for α∈(1/2,1−δ)\alpha\in(1/2,1-\delta) we have ζ2(α)=ζ1(αˉ)\zeta_{2}(\alpha)=\zeta_{1}(\bar{\alpha}), which by Claims 12–13 is variously of order Θ(αˉ1/2)\Theta(\bar{\alpha}^{1/2}) or Θ(αˉ)\Theta(\bar{\alpha}), and in either case bounded away from 0 since αˉ≥δ\bar{\alpha}\geq\delta. ∎

This completes the claims used in proving Lemma 10.

More precise threshold behavior

With relatively little additional work, we can prove the prove the finer-grained threshold behavior given by Theorem 2.

By a standard and general argument we may assume that m/nm/n has a limit. We reason contrapositively. If there is a sequence of mm and nn for which the desired probability (of satisfiability or unsatisfiability as the case may be) fails to approach 1 as claimed, then it has a subsequence for which the probability approaches a value less than 1, it in turn has a sub-subsequence for which lim⁡m/n\lim m/n exists, and by hypothesis it satisfies 2/k<lim⁡m/n≤∞2/k<\lim m/n\leq\infty. That is, if there is a counterexample, then there is one in which m/nm/n has a limit. The case lim⁡m/n≠1\lim m/n\neq 1 was already treated by Theorem 1, so we assume henceforth that lim⁡m/n=1\lim m/n=1.

The unsatisfiable part of the theorem is immediate from Remark 3.

To prove Theorem 2 we split the final summand above into two ranges, and will show that

(shown in (82)). Both of these require extending Claim 13 to the case where c→1c\to 1 (no longer bounded away from 1), deriving fresh bounds for α∈[0.99αk,1/2]\alpha\in[0.99\alpha_{k},1/2], k≥3k\geq 3. The second requires additionally an extension of Lemma 9 through an improvement, for ζ1\zeta_{1} bounded away from 0, to inequality (33) and in turn to (38) and (23).

The monotonicity approach used to prove Claim 13, allowing us to focus on c=1c=1 (correspondingly, λ=λk\lambda=\lambda_{k}) no longer applies because, with a vanishingly small gap between λ\lambda and λk\lambda_{k}, the argument no longer bounds Hk(α;λ)H_{k}(\alpha;\lambda) away from 0 (indeed we already remarked that Hk(1/2,λk)=0H_{k}(1/2,\lambda_{k})=0). In lieu of the use of monotonicity, though, as noted above we can assume that cc is less than but arbitrarily close to 1 (correspondingly, λ<λk\lambda<\lambda_{k} is arbitrarily close to λk\lambda_{k}). We now consider the two ranges of α\alpha corresponding to the sums in (73) and (74).

Case α\alpha away from 1/21/2. We will show that, for k≥3k\geq 3 and an appropriate ζ=ζ(α;c)\boldsymbol{\zeta}=\boldsymbol{\zeta}(\alpha;c), Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) is bounded below 0 for cc sufficiently close to 1 and for α\alpha in a range extending above αk∗{\alpha^{*}_{k}}. Specifically, we will show that for all k≥3k\geq 3 there exist c−<1c^{-}<1 and ε(k)>0\varepsilon(k)>0 such that

For k≥4k\geq 4 this was established in Remark 14. For k=3k=3 we set

(For more on this choice see the discussion after (71).) We have 0.0990<0.99α30.0990<0.99\alpha_{3} and α3∗<0.4630\alpha^{*}_{3}<{0.4630}, and using interval arithmetic we verify that for subintervals on integral multiples of 0.00010.0001, that is [0.0990,0.0991],[0.0990,0.0991], …,\ldots, [0.4629,0.4630][0.4629,0.4630], the value of Hk(α,ζ;1)H_{k}(\alpha,\boldsymbol{\zeta};1) on each subinterval is <−0.0004<-0.0004. The interval arithmetic verification consists of defining ζ\boldsymbol{\zeta} according to the interval’s first endpoint, then considering the extreme values of the possible results in each monotone component calculation for Hk(α,ζ;1)H_{k}(\alpha,\boldsymbol{\zeta};1) (see (24)) to get rigorous lower and upper bounds on the true value anywhere in the interval. Continuity in cc then gives (75) for some c−c^{-} sufficiently close to 1.

Inequality (73) is immediate from (75) and (23).

Case α\alpha near 1/21/2. For the remaining interval [0.4630,1/2][{0.4630},1/2], Hk(α,ζ;c)H_{k}(\alpha,\boldsymbol{\zeta};c) is not bounded away from 0, but we will establish a sufficient bound. We again take ζ=(α,αˉ)\boldsymbol{\zeta}=(\alpha,\bar{\alpha}), so that Hk(α,ζ;c)=Hk(α;λ)H_{k}(\alpha,\boldsymbol{\zeta};c)=H_{k}(\alpha;\lambda) (including for k=3k=3). Then, for all k≥3k\geq 3, for some c−<1c^{-}<1,

To see this we follow the same reasoning as for (62), including use of (63) and (64) for the first inequality below:

Now observe that for α∈[0.4630,1/2]\alpha\in[{0.4630},1/2], using the definition (65) of αk∗{\alpha^{*}_{k}},

The final equality is by the Laplace method for integrals; see for example de Bruijn . Roughly, the Laplace method says that if f(x)f(x) is maximized on [a,b][a,b] by x0x_{0} then, asymptotically in nn, ∫abenf(x)dx=(1+o(1))enf(x0)2πn(−f′′(x0))\int_{a}^{b}e^{nf(x)}dx=(1+o(1))e^{nf(x_{0})}\sqrt{\frac{2\pi}{n(-f^{\prime\prime}(x_{0}))}}. The maximum of ∣cosh⁡(z1eiϑ−1∣\left|{\cosh(z_{1}e^{i\vartheta}-1}\right| occurs iff ϑ\vartheta is a multiple of π\pi, as is clear from the Taylor series expansion cosh⁡(z1eiϑ−1)=∑j=1∞1(2j)!z12jei⋅2jϑ\cosh(z_{1}e^{i\vartheta}-1)=\sum_{j=1}^{\infty}\frac{1}{(2j)!}{z_{1}}^{2j}e^{i\cdot 2j\vartheta}. The modulus of this expression is ∑j=1∞1(2j)!z12j\sum_{j=1}^{\infty}\frac{1}{(2j)!}{z_{1}}^{2j} when ϑ\vartheta is multiple of π\pi, and only then (for this to be the case all the arguments 2jϑ2j\vartheta must be equal modulo 2π2\pi, requiring ϑ\vartheta to be a multiple of π\pi). In the range [−π,π][-\pi,\pi], then, the unique maximum is at ϑ=0\vartheta=0. Letting

This improves the summands of (37), but the 1/ν1/\sqrt{\nu} stops us from applying the binomial theorem to obtain an analog (38); one additional step is needed.

is 1, which occurs at some ν0=Θ(n)\nu_{0}=\Theta(n). Terms before ν0/2\nu_{0}/2 are exponentially smaller than the maximum, while later terms are of order O(1/(ζ1ν)) T(ν)O(1/(\zeta_{1}\sqrt{\nu}))\,T(\nu) == O(1/(ζ1n)) T(ν)O(1/(\zeta_{1}\sqrt{n}))\,T(\nu). Thus,

an analog of (37) but smaller by O(1/(ζ1n))O(1/(\zeta_{1}\sqrt{n})). To this we can apply the binomial theorem, as we did to (37), giving a corresponding improvement to (38) and in turn (23), namely

This establishes (74) and concludes the proof of Theorem 2. ∎

Satisfiability threshold for unconstrained k𝑘k-XORSAT

If a variable appears in at most one equation, then deleting that variable, along with the corresponding equation if any, yields a linear system that, clearly, is solvable if and only if the original system was. Stop this process when each variable appears in at least two equations, or when the system is empty. Dubois and Mandler analyzed unconstrained 33-XORSAT by analyzing this process, which ends with a (possibly empty) constrained 3-XORSAT instance.

Regarding each variable as a vertex and each equation as a hyperedge on its kk variables yields the kk-uniform “constraint hypergraph” underlying a kk-XORSAT instance. The process described simply restricts the instance to the 2-core of its hypergraph. The analysis by Dubois and Mandler for 3-XORSAT is easily generalized to kk-XORSAT using the (later) analyses of the 2-core of a random kk-uniform hypergraph, and we take this approach.

Note that the our (unconstrained) kk-XORSAT model really corresponds to a random kk-uniform multi-hypergraph. However, the probability that a random matrix corresponds to a simple graph is (nk)(m) / (nk)m=1−O(n−(k−2))=1−o(1){\binom{n}{k}}_{(m)}\,/\,{\binom{n}{k}}^{m}=1-O(n^{-(k-2)})=1-o(1). Thus any a.a.s. property of a simple random hypergraph is also an a.a.s. property for random kk-XORSAT, and we shall proceed with the simple random hypergraph model.

It is well known that the 2-core of a uniformly random kk-uniform hypergraph is, conditioned on its size and order, uniformly random among all such kk-uniform hypergraphs with minimum degree 2. (One short and simple proof is identical to that for conditioning on the core’s degree sequence in [25, Claim 1].) Also, the “core” of a random kk-XORSAT instance is an instance uniformly random on its underlying hypergraph: the (uniform) hypergraph core determines the core AA matrix, while the core bb is simply the restriction of its uniformly random initial value to the surviving rows of AA, a process oblivious to bb.

Thus, satisfiability of a random unconstrained instance hinges on the edges-to-vertices ratio of the core of its constraint hypergraph.

Recall the definition of λ\lambda from (6).

Let Ax=bAx=b be a uniformly random unconstrained uniform random kk-XORSAT system with mm equations and nn variables. Suppose that k≥3k\geq 3 and m/n→∞m/n\to\infty with lim⁡m/n=c\lim m/n=c. Define

With ck∗=gk(λ(k))c_{k}^{*}=g_{k}(\lambda(k)), if c<ck∗c<c_{k}^{*} then Ax=bAx=b is a.a.s. satisfiable, and if c>ck∗c>c_{k}^{*} then Ax=bAx=b is a.a.s. unsatisfiable.

We treat kk as fixed. Restricting consideration to x>0x>0, from Molloy [25, proof of Lemma 4], gk(x)g_{k}(x) has a unique minimum c^\hat{c}, with gk(x)=cg_{k}(x)=c having no solutions for any c<c^c<\hat{c}, and two solutions for any c>c^c>\hat{c}. Simple calculus confirms that for k≥3k\geq 3, gkg_{k} is unimodal (indeed, convex).

Let HH be a random kk-uniform hypergraph with mm edges and nn vertices. Molloy [25, Theorem 1] shows that if lim⁡m/n<c^\lim m/n<\hat{c} then the 2-core is a.a.s. empty, while if lim⁡m/n=c>c^\lim m/n=c>\hat{c}, then with μ\mu the larger solution of gk(μ)=cg_{k}(\mu)=c, the order N{N} and size M{M} of the 2-core a.a.s. satisfy

see also Achlioptas and Molloy [1, Proposition 30]. Actually, Molloy works in the Bernoulli model where the number of edges of the hypergraph HpH_{p} is Bin⁡((nk),p)\operatorname{Bin}(\binom{n}{k},p), but the result translates to the above by standard arguments. Specifically, choose pp so that the expected number of edges of HpH_{p} is mm. Generate a random HH with exactly mm edges as follows: generate HpH_{p}; if it has mm edges or more, which with constant probability it does, then randomly subsample HpH_{p} to give HH; otherwise repeat. The core of HH is contained in that of HpH_{p}, so MM and NN will not be larger than the bounds given for the Bernoulli model, with failure probability a constant times the failure probability of that for the Bernoulli model. Similarly, generating HH by randomly augmenting an HpH_{p} having mm edges or fewer shows that MM and NN will not be smaller than the bounds given.

Define μ∗=λ(k){\mu^{*}}=\lambda(k) so that ψ(μ∗)=k\psi({\mu^{*}})=k; remember from (6) that for k>2k>2 this is well defined, with μ∗>0{\mu^{*}}>0. We claim that μ∗{\mu^{*}} is the larger of the two values of μ\mu for which gk(μ)=gk(μ∗)g_{k}(\mu)=g_{k}({\mu^{*}}). Given that gkg_{k} is unimodal, this is true iff gk′(μ∗)>0g_{k}^{\prime}({\mu^{*}})>0. Now,

Focusing on the numerator, multiplying through by eμ∗e^{\mu^{*}}, and replacing k=ψ(μ∗)k=\psi({\mu^{*}}), this means showing that

Multiplying the expression by eμ∗−1e^{\mu^{*}}-1 gives

as desired. The inequality is immediate from the Taylor series for eμ∗e^{\mu^{*}}, as μ∗>0{\mu^{*}}>0.

Let ck∗=gk(μ∗)c_{k}^{*}=g_{k}({\mu^{*}}). Because μ∗{\mu^{*}} is the larger of the two values μ\mu for which gk(μ)=gk(μ∗)g_{k}(\mu)=g_{k}({\mu^{*}}), we may apply (83), concluding that a random kk-uniform hypergraph with lim⁡m/n=ck∗=gk(μ∗)\lim m/n=c_{k}^{*}=g_{k}({\mu^{*}}) has a core where, a.a.s., M/N=1kψ(μ∗)+o(1)=1+o(1){M}/{N}=\frac{1}{k}\psi({\mu^{*}})+o(1)=1+o(1).

For any c>ck∗c>c_{k}^{*}, the larger solution μ\mu of gk(μ)=cg_{k}(\mu)=c has μ>μ∗\mu>{\mu^{*}} (by the unimodality of gkg_{k}), and ψ(μ)>ψ(μ∗)=k\psi(\mu)>\psi({\mu^{*}})=k (by Claim 6). Thus, a random kk-uniform hypergraph with lim⁡m/n=c>ck∗\lim m/n=c>c_{k}^{*} has a core where, a.a.s., M/N=1kψ(μ)+o(1)>1{M}/{N}=\frac{1}{k}\psi(\mu)+o(1)>1. By this section’s introductory remarks it follows that a random kk-XORSAT instance with lim⁡m/n=c>ck∗\lim m/n=c>c_{k}^{*} reduces to a random constrained kk-XORSAT instance with M/N{M}/{N} converging in probability to a value greater than 11, the reduced instance is a.a.s. unsatisfiable, and thus so is the original instance.

By the same token, if c<ck∗c<c_{k}^{*} then either gk(μ)=cg_{k}(\mu)=c has no solution (if c<c^c<\hat{c}), or its larger solution has μ<μ∗\mu<{\mu^{*}} and ψ(μ)<ψ(μ∗)=k\psi(\mu)<\psi({\mu^{*}})=k. Thus, a random kk-XORSAT instance with lim⁡m/n=c<ck∗\lim m/n=c<c_{k}^{*} reduces to a constrained kk-XORSAT instance that either is a.a.s. empty (and trivially satisfied), or has M/N{M}/{N} converging in probability to a value less then 11, and thus is a.a.s. satisfiable by Theorem 1. Thus the original instance is a.a.s. satisfiable. ∎

Acknowledgments

We are most grateful to Paul Balister: our proof that the critical exponent can be made negative owes a great deal to his detailed suggestions on using patchwork functional approximations to get finitely away from critical points, and interval arithmetic elsewhere . We are also grateful to Mike Molloy for helpful comments, to Colin Cooper, Alan Frieze, and Federico Ricci-Tersenghi for pointing out related work, and to Noga Alon for suggesting we aim for Theorem 2. Finally, we sincerely thank the anonymous referees for their very careful reading and many helpful comments.

References