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 of , meaning that for with , the probability that a random instance is satisfiable (or possesses some similar property) approaches , while if 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 and .) Friedgut proved that a wide range of problems have such sharp thresholds, but with the possibility that the threshold does not tend to a constant. The relatively few cases in which 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 -SAT formula, by Molloy .
The most natural random model of the -XORSAT problem is the “unconstrained” model in which each of the equations’ variables are drawn uniformly (without replacement) from the set of all variables, and the right hand side values are uniformly 0 or 1; equivalently a random instance is given by a matrix drawn uniformly at random from the set of all such matrices with each row sum equal to , and chosen uniformly at random.
The case has been extensively studied. As shown by Kolchin and Creignon and Daudé , the random instance has a solution with limiting probability , where for , , and for . Daudé and Ravelomanana , and Pittel and Yeum , analyzed the near-critical behavior of the solvability probability for , .
For , 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 to be less than . He determined the thresholds such that the expected number of nonempty critical sets goes to 0 if and to infinity if ; in particular, . Thus, for , with high probability is of full rank, so is solvable. It follows that the satisfiability threshold is at least . It is an easy observation (see Remark 3) that . 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 -XORSAT model, where is still uniformly random, but is uniformly random over the subset of matrices in which each column sum is at least 2. For (3-XORSAT) they showed that its threshold for 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 -XORSAT, . However, their approach — the second-moment method for the number of solutions — requires solving a hard maximization problem with variables, a genuinely daunting task.
Our main result is that 1 continues to be the threshold for all .
Let be a uniformly random constrained -XORSAT instance with equations and variables. Suppose . If with then is asymptotically almost surely (a.a.s.) satisfiable, with satisfiability probability , while if with then is a.a.s. unsatisfiable, with satisfiability probability .
We treat as fixed, and the constants implicit in the notation may depend on . We are also able to treat the case when the gap between and is not linear but arbitrarily slowly growing, obtaining the following stronger theorem.
Let be a uniformly random constrained -XORSAT instance with equations and variables, with and with . Then, for any , if then is a.a.s. satisfiable, with satisfiability probability , while if then is a.a.s. unsatisfiable, with satisfiability probability .
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 . Using Kolchin’s approach, but in the constrained model, we will establish that . In the constrained and unconstrained models, a simple argument shows that (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 , and we capitalize on existing analyses of the 2-core of a random -uniform hypergraph to establish the unconstrained -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 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 -core was first obtained by Pittel, Spencer, and Wormald . For -uniform hypergraphs, the -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 -uniform hypergraph’s core has a (typical) edges-to-vertices ratio of 1 is an upper bound on the satisfiability threshold of unconstrained -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 , it is asymptotically equivalent to consider random nonnegative integer matrices subject to the same constraints on row sums (equal to ) and column sums (at least ). 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 and , the expected number of nonempty critical sets is . Hence, with high probability, there is no such set, is of full rank, and the instance is satisfiable. We conclude that 1 is a sharp threshold for satisfiability of in the constrained case for all .
Section 6 builds on the earlier results to treat the case and prove Theorem 2. Section 7 derives the unconstrained -XORSAT threshold from the constrained one, using standard results on the 2-core of a random hypergraph.
Proof background
Let be the number of solutions to the system of equations .
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 denotes the nullity of the transpose of .
Probability spaces
This section will establish Corollary 8, showing that the uniform distribution over constrained -XORSAT matrices (see below) is for our purposes equivalent to a model allowing a variable to appear more than once within an equation.
Let denote the set of all matrices with 0–1 entries, such that all row sums are , and all column sums are at least 2. For to be nonempty it is necessary that , and we will assume that with .
A matrix may be interpreted as an outcome of the following allocation scheme. We have an array of cells with indistinguishable chips assigned to each of the rows. For each row, the chips are put in 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 . Then each allocation in is obtained from allocations in , and the uniform distribution on is equivalent to that on .
Let be a relaxed version of , without the requirement that each of the cells gets at most one chip. Let and be distributed uniformly on and , respectively. Crucially, and obviously, is equal in distribution to , conditioned on .
To state a key lemma on , , and we need some notation, much of which will recur throughout the paper.
with defined by continuity, and the truncated Poisson random variable ,
(With , (3) and (3) hold for and defined by any series , not just , assuming convergence.)
From (3) it is immediate that for any . (See also a general formulation in [31, Chapter 4, problem 6, p. 77].) The next claim shows that is convex as well as increasing, and establishes both facts for all (though we only require them for positive ).
is strictly increasing, and convex.
We begin with convexity. Differentiating (1) shows that , where
Write . Expanding (5) as a sum of terms , and collecting like terms, we find that for , while for all ,
Positivity is trivial for and easily checked for and . This establishes that for . Substituting in , writing , and using the same method yields for , while for , . This establishes that for . Finally, . Therefore for all .
That follows from and . ∎
Under our assumption that , the equation has a unique root, and it is positive. This follows from the facts that is strictly increasing (see Claim 6), , and as . Henceforth, let
be this root. Since by Claim 6 is strictly increasing, so is .
From Claim 6, for , lies between and , and thus
With these preliminaries done, we focus on asymptotics of , and .
Suppose with . Then, with as in (6),
so that the fraction is bounded away from zero. Consequently
Under the hypotheses of Lemma 7, uniformly for all non-negative, matrix-dependent functions ,
The first equality is trivial. To show the second, for any ,
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 , recall that each row is given its own , mutually distinguishable, chips. We can get an allocation by permuting all the chips and allocating the first chips to column 1, the next 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 , the next , etc., an allocation is uniquely determined by such a scheme.
Observe that the probability generating function (p.g.f.) of the truncated Poisson random variable defined in (2) is
Following the notational convention that for , , we have
where are independent copies of . Now, since (by (8)) and (by and the hypothesis that ), we have . So, by a local limit theorem (Aronson, Frieze and Pittel [2, equation (5)]),
We now prove (10). Let be distributed uniformly on . Let denote the number of cells that house or more chips, i.e., M=\bigl{|}\{(i,j)\colon c_{i,j}\geq 2\}\bigr{|}. Let be the number of pairs of chips hosted by the same cell, i.e.,
iff there are no cells hosting more than chips. Clearly
Denoting the indicator of an event by , we write
where is the event that, of the chips owned by row , at least the two chips and were put into cell . Each of these 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 we allocate the remaining chips amongst columns, at least two per column, with the exception (hence the sole factor) that the th column receives an unconstrained number of additional chips (as it already has two). Arguing as for (15),
where stands for an independent, usual (not truncated) Poisson random variable. This last probability equals
with the usual falling-factorial notation . Recalling (6) and setting
More generally, we now show that for every fixed we have
Let be the set of all 4-tuples as before, with , , and . Now let denote the collection of -tuples of such 4-tuples with all the 4-tuples distinct. Where , in a slight abuse of notation we will write , where , , , . Then we have
We break the sum into two parts, and the remainder , where is the restriction to and each having all its components distinct. In the number of summands is , and each summand is
see the explanation following (17). Analogously to (18),
where the truncated and ordinary Poisson random variables and are mutually independent. Since 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 , letting , , we have . So the number of attendant pairs is at most (m+n)^{2t-1}=O\bigl{(}m^{2t-1}\bigr{)}. The number of pairs inducing a given pair is bounded above by a constant . For every one of those choices, we select pairs of chips for each of the chosen cells; there are at most ways of doing so. Lastly, we allocate the remaining chips in such a way that every column gets at least chips. As in the case of , 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 , the sum is of order
Combining (21) and (22), and recalling (19), we conclude that for each fixed ,
Therefore is asymptotic, with all its moments and in distribution, to . In particular,
Counting critical row subsets, and the main result
This section will prove Theorem 1. Remark 3 already dealt with the case . It suffices, then, to show that with , the expected number of nonempty critical row sets goes to 0: then with high probability there is no such set, 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 -XORSAT model (Theorem 16).
by continuity we define at , and is the usual entropy function
By the independence of constraints on column sums for the upper and the lower submatrices of the matrices in question,
Since the coefficients of the Taylor expansion around of 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 ) 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 from (9) and from (8), we obtain that, ,
Now, it is immediate from (25), (26), and (29) that
Recall the definition of from (24). Roughly speaking, the following lemma establishes the existence of making negative. An intuitive description of the behavior of is given at the start of the next section.
For all and , there exist and , both functions continuous in , such that
The lemma follows immediately from Claims 12, 13 and 15, all stated and proved in Section 5, respectively treating in the ranges , , and . A suitable function is given explicitly in each case. ∎
The lemma yields the following corollary.
For and with ,
Since , there exists a closed interval such that, for all but finitely many cases, . Where and satisfy the conditions of Lemma 10 define , and likewise; the minima exist by continuity of and in . Then, for all but finitely many pairs , inequalities (40) and (41) hold true.
Adding the two partial sums yields Corollary 11. ∎
Recall the notation and as well as the definition of from (24). In this section we use an explicit function , taking different forms in different ranges of , to establish Claims 12, 13 and 15 and thus Lemma 10.
For intuition about , the case is indicative. Figure 1 shows a graph of the function value against , for a few choices of , with given by (43) for small , and by otherwise. Numerical experiments suggest that the optimal choice of leads to qualitatively similar results, though of course without the kinks where we change from one functional form for to another. As shown, tends to 0 at (treated in Claim 12), but the dependence on here is not critical: an analog of the claim, with different parameters, could be obtained as long as is bounded away from 0 and infinity. At (treated in Claim 13), the function tends to 0 as tends to 1, so this is where is required. Claim 13 also covers values of between 0 and but bounded away from them; here the function value is bounded away from 0 (for ) and could be dealt with by cruder means, such as that by interval arithmetic in . Function values for (treated in Claim 15) are dominated by their symmetric counterparts at , except for some special treatment required near .
Lemma 10 only considers . The lemma can be extended to , 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 and all , taking
yields for all . Also, for any there exists such that for all . In both cases, .
The first part of the claim establishes (40), and the second part, with , establishes (41) for . As both and depend only on they are automatically continuous (constant) with respect to , thus satisfying the hypothesis of Lemma 10.
Trivially, , since . The issue in this range of is to control the final logarithmic term of when the two summands within the logarithm are nearly equal. Note that is concave on either side of 0 (diverging to at , it is not concave as a whole), as
Since , if and are on the same side of 0 (i.e., if ) then concavity gives . Or, with , if then
recalling from (6) that . It is easily checked that (39) gives , hence from (43) and , so and of course . Thus for the final term of , from (45) we have
using the well known inequality Now also using for all , substituting from (43) into ,
Pessimistically taking within the logarithm and recalling from (39),
(A different upper bound for would simply call for a different value for .) This proves the first part of the claim.
Clearly, for all , is negative, so for any , over it is bounded away from 0. By hypothesis, (any positive constant would do), thus is also bounded away from 0, i.e., there is some for which . This proves the second part of the claim. ∎
For all and all , there exists , with continuous in , such that for all , taking
yields and (trivially) .
Recall the definition of in (24), including its use of , i.e., (see (6)). If we let
The advantage of over is that the former is an explicit function of the “hidden” parameter , while the latter depends on both explicitly, and implicitly via . (To put it another way, appears repeatedly in and is only implicitly defined as (see (6)), where appears just once in and is explicitly defined (see (1)).)
Since is increasing (see after (6)) and ,
We now argue that it suffices to consider only the largest possible value of , namely , or correspondingly of , namely . Referring back to the original question about the -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 , and in a third part we do so.
For , there exists a such that for all and ,
In words, as a function of , is strictly increasing when it is non-negative.
By (50), the condition is equivalent to
Differentiating (50), under the assumption that and using (53) and (54) in the first inequality,
where the second inequality uses that and, by convexity of (see Claim 6 for both), that .
Now, regarding as an independent quantity, the RHS of (55) is decreasing with , and for
since concavity of for (see (44)) means that . It follows then from (55) that
Using we can confirm that , from which
By definition (see (6)), , and here, . With this, (57) and (58),
For the final inequality, calling again on Claim 6, is increasing, so . Here we in the range , and again , which by hypothesis is . This establishes (52) with .
Application of monotonicity
For as hypothesized in the Claim, we will show that
By continuity of , the supremum is attained at some . Recall from (51) that . By (52), if then for all , implying that . In the next part we will show that this is impossible — that — and thus that . For Claim 13 we may thus take . That this is continuous in is immediate from continuity of .
Analysis of the extreme case
The proof of the Claim is complete except for treatment of the extreme case, or equivalently , namely showing that
for all . (Observe, e.g. from (61) below, that .) We begin with
where inequality (62) uses that, as ,
Case near . It is immediate from (62) that for sufficiently close to , namely for , where
Let us confirm that , i.e., that . First, we show that for all , . This is equivalent to , or explicitly to , which follows for by use of , and simply by checking for . Then, by definition, , so implies that , giving . Also, implies , from which , and .
Case away from . We now treat through two sub-cases.
Subcase . Since (by (48) and (56), the latter relying on ), we have from (61) that
Let us show that decreases with , implying that . Since is increasing (see after (6)), it suffices to show that increases with for ; we will show it for all . Differentiating,
so we must show that for . Now, , so it suffices to show that G^{\prime}(x)=\bigl{(}\psi(x)-2-x\psi^{\prime}(x)\bigr{)}/x\leq 0, or equivalently . This is true, since this expression is at and its derivative is simply , which is by convexity of (see Claim 6).
Also, recalling the definition of from (39), differentiation immediately shows that increases with , so that .
So, for and , (66) yields the cruder bound
Subcase . Notice that, for , the entropy term in (61) for is increasing, while the logarithmic term is decreasing. Consequently, if are such that
then for all . A collection of such intervals covering gives an “interval arithmetic” proof that on , and there is an elegant iterative procedure for finding such a cover.
by convexity of . Thus, inequality (68) is satisfied if the RHS of (69) is 0, i.e., if
(Note that , so .) We apply (70), reminiscent of Newton-Raphson, as an iterative update rule, with and , to cover the interval .
For , taking gives , showing that on . Then, taking gives , showing that on . Since , for these two intervals suffice to prove negativity of over .
For , following the same procedure covers with 3 intervals. Likewise, for , is covered with 8 intervals.
In fact, (67) and a check of the intervals for yields that, for ,
We have not addressed , already treated by , and indeed with as above, is positive. We remark that we can extend Claim 13 to by choosing differently, notably as given by (76). The motivation is that the equalities (76) hold for the optimal at the stationary points of the function , assuming (without justification) that the implicit-differentiation rules apply. The monotonicity condition (the equivalent of (52)) then applies for all . For details, see [27, Appendix (b)]. An interval arithmetic argument verifies that this choice makes for , 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 .
We also remark that if we alter the hypotheses of Claim 13 to exclude near then we may allow , as formalized below (where the choice of is arbitrary). This will be used when we narrow the phase transition window in Section 6.
For all there exists , such that for all and all , taking yields and (trivially) .
The substitution gives (see (50)), the range corresponds to , and it suffices to show that
In analogy with (59), by continuity, the supremum over this closed domain is achieved at some . We prove by contradiction that . If not, . If then as argued previously this implies , while if then, directly, . We now show that for , by modifying the previous argument that for . Referring to (65), for any with , inequality (62) shows that for . (Recall that is decreasing in — see after (66) — so for all , .) And from (67), continuity shows that for some slightly larger than we have for all and . Likewise, for the numerically treated cases , (71) extends by continuity to show that, for some slightly larger than , for all . ∎
For all and all , there exist and , both functions continuous in , such that for all there exists for which and .
For any , ; this follows from , the last inequality well known. This gives
the equality immediate from (49) and the inequality from and thus . By continuity of with respect to , and , there exist functions and , both continuous in , for which
This establishes the claim for .
For , let be given by , the latter determined by Claims 12–13, and likewise . 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 , with (in the proofs of Claims 12–13, ). It follows that
where is chosen as the minimum of corresponding values in Claims 12–13. (Actually, here we need the value of chosen for (72) rather than the used in Claim 12. This goes through without difficulty since is continuous in , and the corresponding needed in the last paragraph of the proof of Claim 12 is continuous in , and has no dependence on other than through .)
Finally, for suitably chosen, we have . This follows because for we have , while for we have , which by Claims 12–13 is variously of order or , and in either case bounded away from 0 since . ∎
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 has a limit. We reason contrapositively. If there is a sequence of and 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 exists, and by hypothesis it satisfies . That is, if there is a counterexample, then there is one in which has a limit. The case was already treated by Theorem 1, so we assume henceforth that .
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 (no longer bounded away from 1), deriving fresh bounds for , . The second requires additionally an extension of Lemma 9 through an improvement, for 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 (correspondingly, ) no longer applies because, with a vanishingly small gap between and , the argument no longer bounds away from 0 (indeed we already remarked that ). In lieu of the use of monotonicity, though, as noted above we can assume that is less than but arbitrarily close to 1 (correspondingly, is arbitrarily close to ). We now consider the two ranges of corresponding to the sums in (73) and (74).
Case away from . We will show that, for and an appropriate , is bounded below 0 for sufficiently close to 1 and for in a range extending above . Specifically, we will show that for all there exist and such that
For this was established in Remark 14. For we set
(For more on this choice see the discussion after (71).) We have and , and using interval arithmetic we verify that for subintervals on integral multiples of , that is , the value of on each subinterval is . The interval arithmetic verification consists of defining according to the interval’s first endpoint, then considering the extreme values of the possible results in each monotone component calculation for (see (24)) to get rigorous lower and upper bounds on the true value anywhere in the interval. Continuity in then gives (75) for some sufficiently close to 1.
Inequality (73) is immediate from (75) and (23).
Case near . For the remaining interval , is not bounded away from 0, but we will establish a sufficient bound. We again take , so that (including for ). Then, for all , for some ,
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 , using the definition (65) of ,
The final equality is by the Laplace method for integrals; see for example de Bruijn . Roughly, the Laplace method says that if is maximized on by then, asymptotically in , . The maximum of occurs iff is a multiple of , as is clear from the Taylor series expansion . The modulus of this expression is when is multiple of , and only then (for this to be the case all the arguments must be equal modulo , requiring to be a multiple of ). In the range , then, the unique maximum is at . Letting
This improves the summands of (37), but the stops us from applying the binomial theorem to obtain an analog (38); one additional step is needed.
is 1, which occurs at some . Terms before are exponentially smaller than the maximum, while later terms are of order . Thus,
an analog of (37) but smaller by . 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 -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 variables yields the -uniform “constraint hypergraph” underlying a -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 -XORSAT using the (later) analyses of the 2-core of a random -uniform hypergraph, and we take this approach.
Note that the our (unconstrained) -XORSAT model really corresponds to a random -uniform multi-hypergraph. However, the probability that a random matrix corresponds to a simple graph is . Thus any a.a.s. property of a simple random hypergraph is also an a.a.s. property for random -XORSAT, and we shall proceed with the simple random hypergraph model.
It is well known that the 2-core of a uniformly random -uniform hypergraph is, conditioned on its size and order, uniformly random among all such -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 -XORSAT instance is an instance uniformly random on its underlying hypergraph: the (uniform) hypergraph core determines the core matrix, while the core is simply the restriction of its uniformly random initial value to the surviving rows of , a process oblivious to .
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 from (6).
Let be a uniformly random unconstrained uniform random -XORSAT system with equations and variables. Suppose that and with . Define
With , if then is a.a.s. satisfiable, and if then is a.a.s. unsatisfiable.
We treat as fixed. Restricting consideration to , from Molloy [25, proof of Lemma 4], has a unique minimum , with having no solutions for any , and two solutions for any . Simple calculus confirms that for , is unimodal (indeed, convex).
Let be a random -uniform hypergraph with edges and vertices. Molloy [25, Theorem 1] shows that if then the 2-core is a.a.s. empty, while if , then with the larger solution of , the order and size 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 is , but the result translates to the above by standard arguments. Specifically, choose so that the expected number of edges of is . Generate a random with exactly edges as follows: generate ; if it has edges or more, which with constant probability it does, then randomly subsample to give ; otherwise repeat. The core of is contained in that of , so and 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 by randomly augmenting an having edges or fewer shows that and will not be smaller than the bounds given.
Define so that ; remember from (6) that for this is well defined, with . We claim that is the larger of the two values of for which . Given that is unimodal, this is true iff . Now,
Focusing on the numerator, multiplying through by , and replacing , this means showing that
Multiplying the expression by gives
as desired. The inequality is immediate from the Taylor series for , as .
Let . Because is the larger of the two values for which , we may apply (83), concluding that a random -uniform hypergraph with has a core where, a.a.s., .
For any , the larger solution of has (by the unimodality of ), and (by Claim 6). Thus, a random -uniform hypergraph with has a core where, a.a.s., . By this section’s introductory remarks it follows that a random -XORSAT instance with reduces to a random constrained -XORSAT instance with converging in probability to a value greater than , the reduced instance is a.a.s. unsatisfiable, and thus so is the original instance.
By the same token, if then either has no solution (if ), or its larger solution has and . Thus, a random -XORSAT instance with reduces to a constrained -XORSAT instance that either is a.a.s. empty (and trivially satisfied), or has converging in probability to a value less then , 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.