arXiv:2611.01338math.COOct 2026

Manuscript Offprint

arXiv:2611.01338

Threshold existence for random NAE-kk-SAT and random hypergraph 22-colourability

Pavel Zakharov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

PAVEL ZAKHAROV

ABSTRACT. The existence of limiting threshold densities for random hypergraph 2-colourability and random NAE-k-SAT was conjectured in earlier work, including Achlioptas and Moore [RANDOM 2002] and Coja-Oghlan and Panagiotou [STOC 2012]. We prove these conjectures for all k≥3k \geq 3. We also show that αk2−col≤αkNAE\alpha_k^{2-\mathrm{col}} \leq \alpha_k^{\mathrm{NAE}} for each k≥3k \geq 3.

1. INTRODUCTION

For the study of random constraint satisfaction problems (CSPs), one of the starting points was the question of Erdős and Rényi about the chromatic number of a random graph [16]. In the language of random CSPs, fixing the number of colours leads to the question of the qq-colourability threshold. Estimates of the chromatic number are known in many regimes [6, 12, 19], but the existence of a limiting colourability threshold remains open for general qq. One of the explanations regarding why the problem is so difficult comes from statistical mechanics. A heuristic called the cavity method predicts that before the satisfiability threshold, the solution set of a random CSP can undergo several other phase transitions, such as clustering and condensation [20]. Among other things, these transitions help explain the limitations of the second moment method [13, 14], one of the main tools for estimating thresholds in random structures.

A related question is the satisfiability conjecture for random kk-SAT [11]. Here a formula consists of independently sampled clauses, each being a disjunction of kk distinct uniformly chosen variables with independent uniform signs, and an assignment satisfies the formula if it makes at least one literal in every clause true. The conjecture asserts that for each fixed k≥3k \geq 3 there is a constant clause density αkSAT\alpha_k^{\mathrm{SAT}} below which such a formula is satisfiable with high probability (whp) and above which it is unsatisfiable whp.

Friedgut's sharp threshold theorem [17] establishes the existence of a threshold sequence, but does not establish its convergence. Writing Φn,mSAT\Phi_{n,m}^{\mathrm{SAT}} for the random kk-SAT formula described above, for every fixed k≥3k \geq 3 there is a sequence αkSAT(n)\alpha_k^{\mathrm{SAT}}(n) such that for every fixed ε>0\varepsilon > 0 and every sequence α=α(n)≥0\alpha = \alpha(n) \geq 0,

P(Φn,⌊αn⌋SAT is satisfiable)→{1,if 0≤α<αkSAT(n)⋅(1−ε);0,if α>αkSAT(n)⋅(1+ε),\mathbb{P}\big(\Phi_{n,\lfloor \alpha n \rfloor}^{\mathrm{SAT}}\text{ is satisfiable}\big) \to \begin{cases} 1, & \text{if } 0 \leq \alpha < \alpha_k^{\mathrm{SAT}}(n) \cdot (1 - \varepsilon); \\ 0, & \text{if } \alpha > \alpha_k^{\mathrm{SAT}}(n) \cdot (1 + \varepsilon), \end{cases}

as nn goes to infinity, provided the corresponding inequality holds for all sufficiently large nn. Similar sharp threshold results also hold for graph colourability [3] and for hypergraph 2-colourability and NAE-k-SAT [18]. However, sharpness alone does not imply that the threshold sequences converge as n→∞n \to \infty.

For random 2-SAT the threshold density is known to be α2SAT=1\alpha_2^{\mathrm{SAT}} = 1 [11]. For larger clause sizes, Ding, Sly and Sun [15] proved the satisfiability conjecture for all sufficiently large kk and identified the threshold with the value predicted by the cavity method. Recently, Carenini established an O(n/log⁡n)O(n/\log n) scaling window [9], and then improved it to O(n1/2+1/k)O(n^{1/2+1/k}) [10]. These bounds count the number of random clauses one needs to add to decrease the satisfiability probability from 1−η1 - \eta to η\eta for any fixed 0<η<1/20 < \eta < 1/2. Combined with the Abbe–Montanari interpolation criterion [1], the latter estimate proves the existence of a limiting threshold for every fixed k≥3k \geq 3 without identifying its value. An alternative proof later appeared in a manuscript by OpenAI [21]. It combines polynomial concentration for the last satisfiable index with an interpolation method to prove convergence directly, without using the Abbe–Montanari criterion.

For random hypergraph 2-colourability and random NAE-k-SAT, the existence of limiting threshold densities was conjectured in [4, 13]. Let αk2−col(n)\alpha_k^{2-\mathrm{col}}(n) and αkNAE(n)\alpha_k^{\mathrm{NAE}}(n) denote the corresponding sharp threshold sequences. For all

Pavel Zakharov is supported by DFG CO 646/6.

sufficiently large kk and nn, the bound of Coja-Oghlan and Zdeborová [14] and the first moment method give

2k−1ln⁡2−ln⁡2−ok(1)≤αk2−col(n)≤2k−1ln⁡2−ln⁡22+ok(1).2^{k-1}\ln 2-\ln 2-o_{k}(1)\leq \alpha_{k}^{2-\mathrm{col}}(n)\leq 2^{k-1}\ln 2-\frac{\ln 2}{2}+o_{k}(1).

For NAE-k-SAT, Coja-Oghlan and Panagiotou [13] obtained the sharper estimate

αkNAE(n)=2k−1ln⁡2−ln⁡22−14+ok(1).(1.1)\alpha_{k}^{\mathrm{NAE}}(n)=2^{k-1}\ln 2-\frac{\ln 2}{2}-\frac{1}{4}+o_{k}(1). \tag{1.1}

Here the errors tend to zero as k→∞k \to \infty uniformly for sufficiently large nn, but these estimates do not establish convergence in nn for any fixed kk. Coja-Oghlan and Panagiotou also observe that the results of [14] carry over to NAE-k-SAT, and it is natural to expect the same asymptotic threshold for hypergraph 2-colourability. More recently, Carenini [9] proved O(n/log⁡n)O(n/\log n) scaling windows for both models, again leaving the convergence question open.

In this paper we prove that the limiting densities exist in both models for every fixed k≥3k \geq 3. For n≥kn \geq k, let Hn,mH_{n,m} be the random kk-uniform hypergraph obtained by sampling mm edges independently and uniformly with replacement from the kk-subsets of its vertex set. A NAE-clause is satisfied if its literal values are not all equal. We represent Hn,mH_{n,m} by a NAE-formula Φn,m+\Phi_{n,m}^{+} with all signs positive, so the formula is satisfiable precisely when the hypergraph is 2-colourable. Let Φn,m+\Phi_{n,m}^{+} be the corresponding random NAE-k-SAT formula with independent uniform signs. Vertices correspond to variables, edges to clauses and colourings to assignments. In particular, variables within each clause are distinct, while clauses may repeat. We write SAT for the set of satisfiable NAE-formulas, and in statements concerning both models, αk⋆\alpha_{k}^{\star} denotes αk2−col\alpha_{k}^{2-\mathrm{col}} for ⋆=+\star = + and αkNAE\alpha_{k}^{\mathrm{NAE}} for ⋆=±\star = \pm.

Theorem 1.1. For every fixed k≥3k \geq 3 there exist constants αk2−col\alpha_{k}^{2-\mathrm{col}} and αkNAE\alpha_{k}^{\mathrm{NAE}} such that for each ⋆∈{+,±}\star \in \{+, \pm\} and m=⌊cn⌋m = \lfloor cn \rfloor,

lim⁡n→∞P(Φn,m⋆∈SAT)={1,0≤c<αk⋆;0,c>αk⋆,\lim_{n\to\infty}\mathbb{P}\big(\Phi_{n,m}^{\star}\in\mathrm{SAT}\big)=\begin{cases}1,&0\leq c<\alpha_{k}^{\star};\\0,&c>\alpha_{k}^{\star},\end{cases}

Our second result compares the two thresholds for every clause size.

Theorem 1.2. In the setup of Theorem 1.1, αk2−col≤αkNAE\alpha_{k}^{2-\mathrm{col}}\leq \alpha_{k}^{\mathrm{NAE}}.

Combining Theorem 1.2 with (1.1) gives the following upper bound for the random hypergraph 2-colourability threshold.

Corollary 1.3.

αk2−col≤2k−1ln⁡2−ln⁡22−14+ok(1).\alpha_{k}^{2-\mathrm{col}}\leq 2^{k-1}\ln 2-\frac{\ln 2}{2}-\frac{1}{4}+o_{k}(1).

The proof of Theorem 1.1 follows the approach developed for random kk-SAT in [21]. For ⋆∈{+,±}\star \in \{+, \pm\}, add corresponding clauses one by one, and let

ξn⋆=inf⁡{m≥1:Φn,m⋆∉SAT},τn⋆=min⁡{ξn⋆−1,2kn}.\xi_{n}^{\star}=\inf\{m\geq 1:\Phi_{n,m}^{\star}\notin\mathrm{SAT}\},\qquad \tau_{n}^{\star}=\min\bigl\{\xi_{n}^{\star}-1,2^{k}n\bigr\}.

Thus τn⋆\tau_{n}^{\star} is the last satisfiable index, capped at 2kn2^{k}n.

We first show that for k≥3k\geq 3, τn⋆\tau_{n}^{\star} is within n19/20n^{19/20} of its expectation with probability polynomially close to 1. A Poisson interpolation then compares satisfiability probabilities of the random formula on disjoint sets of variables with the random formula on their union, which is similar to the approach of Bayati, Gamarnik and Tetali [7]. Together, these estimates imply that Eτn⋆/n\mathbb{E}\tau_{n}^{\star}/n converges.

The main novelty concerns the symmetry of the considered CSPs. For NAE-satisfiability, flipping all variable values preserves a solution. Thus no variable has the same value in all solutions, and the argument based on frozen variables does not apply directly. Instead, we group variables according to whether their relative values are fixed across all solutions. These equivalence classes are used to determine exactly the probability that an additional clause destroys every solution, which yields both the clause replacement estimate needed for concentration, and the convexity inequality needed for the interpolation. Interpolating between models with positive and randomly signed clauses also gives Theorem 1.2.

Declaration of AI use. ChatGPT was used to assist with proofreading, presentation and checking proofs. It also suggested using a similar interpolation argument to establish Theorem 1.2.

  1. PRELIMINARIES

Throughout, the clauses are sampled independently with replacement. Within each proper clause, variables are distinct and uniformly sampled, and assignments take values in {0,1}\{0,1\}. A clause is satisfied if its literal values are not all equal.

2.1. Equivalence classes and clause addition. Let Φ\Phi be any satisfiable NAE-formula on a variable set VV of size NN, with arbitrary signs and clause lengths. Write S(Φ)\mathcal{S}(\Phi) for its set of satisfying assignments. Define

x∼y⟺σ(x)⊕σ(y)isconstantoverσ∈S(Φ).x\sim y\quad\Longleftrightarrow\quad\sigma(x)\oplus\sigma(y)\mathrm{i s c o n s t a n t o v e r}\sigma\in\mathcal{S}(\Phi).

Transitivity follows from σ(x)⊕σ(z)=(σ(x)⊕σ(y))⊕(σ(y)⊕σ(z))\sigma(x) \oplus \sigma(z) = (\sigma(x) \oplus \sigma(y)) \oplus (\sigma(y) \oplus \sigma(z)), and reflexivity and symmetry are immediate. Denote its equivalence classes by O1,…,OJ\mathcal{O}_1, \ldots, \mathcal{O}_J. Fix σ∗∈S(Φ)\sigma_* \in \mathcal{S}(\Phi) and put

Oj,a={y∈Oj:σ∗(y)=a},a∈{0,1}.\mathcal{O}_{j,a}=\{y\in\mathcal{O}_{j}:\sigma_{*}(y)=a\},\qquad a\in\{0,1\}.

Within each part of one class the variables are equal in every solution, and variables in opposite parts of one class are opposite in every solution. Choosing another σ∗\sigma_{*} can only interchange the two parts of each class.

For 2≤r≤N2 \leq r \leq N, let qr+(Φ)q_r^+(\Phi) and qr±(Φ)q_r^\pm(\Phi) be the probabilities that adding a uniformly random rr-clause on distinct variables makes Φ\Phi unsatisfiable, with all signs being positive or independent and uniformly random respectively. Write q^r+(Φ)\widehat{q}_r^+(\Phi) and q^r±(Φ)\widehat{q}_r^\pm(\Phi) when the variables are instead sampled independently with replacement. For an unsatisfiable Φ\Phi we set all four quantities to zero.

Lemma 2.1. For satisfiable Φ\Phi and 2≤r≤N2 \leq r \leq N,

qr±(Φ)=21−r∑j(∣Oj∣)r(N)r,q_{r}^{\pm}(\Phi)=2^{1-r}\sum_{j}\frac{(|\mathcal{O}_{j}|)_{r}}{(N)_{r}}, qr+(Φ)=∑j∑a=01(∣Oj,a∣)r(N)r.(2.1)q_{r}^{+}(\Phi)=\sum_{j}\sum_{a=0}^{1}\frac{(|\mathcal{O}_{j,a}|)_{r}}{(N)_{r}}. \tag{2.1}

For sampling with replacement and r≥2r \geq 2,

q^r±(Φ)=21−r∑j(∣Oj∣N)r,\widehat{q}_{r}^{\pm}(\Phi)=2^{1-r}\sum_{j}\left(\frac{|\mathcal{O}_{j}|}{N}\right)^{r}, q^r+(Φ)=∑j∑a=01(∣Oj,a∣N)r.(2.2)\widehat{q}_{r}^{+}(\Phi)=\sum_{j}\sum_{a=0}^{1}\left(\frac{|\mathcal{O}_{j,a}|}{N}\right)^{r}. \tag{2.2}

Here (u)r=u(u−1)⋯(u−r+1)(u)_{r}=u(u-1)\cdots(u-r+1).

Proof. A new clause destroys every solution precisely when its literal values are equal in every solution. For random signs this requires all its variables to lie in one class Oj\mathcal{O}_j, and conditional on such a choice of variables, exactly two of the 2r2^r sign configurations have this property. This remains true with repeated variables, since signs are sampled independently for each literal. For positive signs the variables must all lie in one part Oj,a\mathcal{O}_{j,a} of one class. □\square

The next lemma compares the probabilities of destroying all solutions by clauses of consecutive lengths.

Lemma 2.2. Let 2≤r<N2 \leq r < N and let Φ\Phi be a satisfiable NAE-formula on NN variables, with arbitrary signs and clause lengths. For ⋆∈{+,±}\star \in \{+,\pm\} put q=qr⋆(Φ)q = q_r^\star(\Phi). Then

qr+1⋆(Φ)≥qr/(r−1)−r−1N−rq.q_{r+1}^{\star}(\Phi)\geq q^{r/(r-1)}-\frac{r-1}{N-r}q.

Proof. For ⋆=±\star = \pm, let Si=∣Oi∣S_i = |\mathcal{O}_i|, with i∈[J]i \in [J]. For ⋆=+\star = +, let Si=∣Oj,a∣S_i = |\mathcal{O}_{j,a}|, where i=(j,a)i = (j,a) ranges over the pairs in [J]×{0,1}[J] \times \{0,1\}. Put aℓ±=21−ℓa_\ell^\pm = 2^{1-\ell} and aℓ+=1a_\ell^+ = 1. By Lemma 2.1,

qℓ⋆(Φ)=aℓ⋆∑i(Si)ℓ(N)ℓ.q_{\ell}^{\star}(\Phi)=a_{\ell}^{\star}\sum_{i}\frac{(S_{i})_{\ell}}{(N)_{\ell}}.

Set yi=(Si−1)r−1/(N−1)r−1y_i = (S_i - 1)_{r-1}/(N-1)_{r-1} for Si≥rS_i \geq r, and yi=0y_i = 0 for Si<rS_i < r. Then

∑iSiN=1,∑iSiNyi=qar⋆,qr+1⋆(Φ)=ar+1⋆∑iSiNyiSi−rN−r.(2.3)\sum_{i}\frac{S_{i}}{N}=1,\qquad\sum_{i}\frac{S_{i}}{N}y_{i}=\frac{q}{a_{r}^{\star}},\qquad q_{r+1}^{\star}(\Phi)=a_{r+1}^{\star}\sum_{i}\frac{S_{i}}{N}y_{i}\frac{S_{i}-r}{N-r}. \tag{2.3}

For Si≥rS_i \geq r we have yi≤((Si−1)/(N−1))r−1y_i \leq ((S_i - 1)/(N - 1))^{r-1}, and for Si<rS_i < r we have yi=0y_i = 0. Thus, in either case,

yi(Si−r)≥(N−1)yir/(r−1)−(r−1)yi.(2.4)y_{i}(S_{i}-r)\geq(N-1)y_{i}^{r/(r-1)}-(r-1)y_{i}. \tag{2.4}

Applying convexity of x↦xr/(r−1)x \mapsto x^{r/(r-1)} and using (2.3)–(2.4) yields

qr+1⋆(Φ)≥ar+1⋆N−1N−r(qar⋆)r/(r−1)−ar+1⋆ar⋆r−1N−rq≥qr/(r−1)−r−1N−rq,\begin{align*}q_{r+1}^{\star}(\Phi)&\geq a_{r+1}^{\star}\frac{N-1}{N-r}\bigg(\frac{q}{a_{r}^{\star}}\bigg)^{r/(r-1)}-\frac{a_{r+1}^{\star}}{a_{r}^{\star}}\frac{r-1}{N-r}q\\&\geq q^{r/(r-1)}-\frac{r-1}{N-r}q,\end{align*}

where the last step uses ar+1⋆/(ar⋆)r/(r−1)=1a_{r+1}^{\star}/(a_{r}^{\star})^{r/(r-1)}=1 and ar+1⋆/ar⋆≤1a_{r+1}^{\star}/a_{r}^{\star}\leq1.

2.2. Forced variables. We call a variable xx forced if Φ\Phi is satisfiable and flipping xx in any satisfying assignment makes that assignment unsatisfying. Let b(Φ)b(\Phi) be the number of forced variables, with b(Φ)=0b(\Phi) = 0 for unsatisfiable Φ\Phi. Every variable in a class of size at least two is forced. Consequently, for 2≤r≤N2 \leq r \leq N and ⋆∈{+,±}\star \in \{+, \pm\} Lemma 2.1 implies

qr⋆(Φ)≤(b(Φ))r(N)r≤(b(Φ)N)r.(2.5)q_{r}^{\star}(\Phi)\leq\frac{(b(\Phi))_{r}}{(N)_{r}}\leq\left(\frac{b(\Phi)}{N}\right)^{r}. \tag{2.5}

Finally, the following bounds keep the expected last satisfiable index away from zero and the cap.

Proposition 2.3. For every fixed k≥3k \geq 3, as n→∞n \to \infty,

1.5−on(1)≤Eτn+n≤2kln⁡2+on(1),1.5-o_{n}(1)\leq\frac{\mathbb{E}\tau_{n}^{+}}{n}\leq2^{k}\ln2+o_{n}(1), 1.514−on(1)≤Eτn±n≤2kln⁡2+on(1).1.514-o_{n}(1)\leq\frac{\mathbb{E}\tau_{n}^{\pm}}{n}\leq2^{k}\ln2+o_{n}(1).

Proof. For either model, a fixed assignment violates a random clause with probability at least 21−k−Ok(1/n)2^{1-k} - O_k(1/n). Thus the first moment bound gives

P(Φn,⌊2kln⁡2⋅n⌋⋆∈SAT⁡)≤exp⁡(−nln⁡2+Ok(1)),⋆∈{+,±}.\mathbb{P}(\Phi_{n,\lfloor2^{k}\operatorname{l n}2\cdot n\rfloor}^{\star}\in\operatorname{S A T})\leq\operatorname{e x p}(-n\operatorname{l n}2+O_{k}(1)),\qquad\star\in\{+,\pm\}.

Since τn⋆≤2kn\tau_n^\star \leq 2^k n, this implies the upper bounds. For the lower bounds, extending each clause of a random NAE-3-SAT formula by k−3k-3 uniformly chosen distinct variables outside the original clause, with independent uniform signs, preserves satisfiability and produces the NAE- kk-SAT formula. The same construction with positive signs applies to hypergraph 2-colourability. The bounds therefore follow from the results for NAE-3-SAT [2] and 3-uniform hypergraph 2-colourability [5].