arXiv:2611.04569cs.CCNov 2026

Manuscript Offprint

arXiv:2611.04569

Abelian embeddings make useful promises: approximation of detrivialised equations

Tamio-Vesa Nakajima, Zephyr Verwimp, Stanislav Živný

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

Abstract

We study the following family of search problems: given a system of equations x+y+z≡0(modp)x + y + z \equiv 0 \pmod{p} promised to admit a solution that is nonconstant on every equation, find a cc-colouring of the variables that makes no equation monochromatic. For p∈{2,3}p \in \{2,3\}, the problem recovers known tractable Promise Constraint Satisfaction Problems (PCSPs). For p>3p > 3, we obtain a complete complexity classification: the problem is polynomial-time solvable for c≥4c \geq 4, yet even its decision version is NP-hard for c=3c = 3, and it is not well-defined for c=2c = 2.

Our main conceptual contribution is a general tractability framework for PCSPs based on Abelian embeddings, a notion introduced by Bhangale, Khot, and Minzer [STOC 2022] in the study of quantitative approximation of satisfiable CSPs. We show that suitable Abelian embeddings yield polynomial-time PCSP reductions realised by singleton algorithms in the sense of Zhuk [FOCS 2026].

On the hardness side, the promise relation is far removed from the reconfigurable regime covered by the conditional hardness framework of Banakh, Barsukov, and Nakajima [LICS 2026]; our proof instead relies on a new additive-combinatorial rigidity theorem classifying special 3-colourings of Zp\mathbb{Z}_p.

1 Introduction

In a constraint satisfaction problem (CSP), variables take values in a fixed domain, and constraints specify which combinations of values are allowed. The task is to find an assignment that satisfies every constraint. Even when such an assignment is promised to exist, finding one can be computationally hard. This motivates studying approximation of satisfiable CSPs, where we relax the requirement either quantitatively or qualitatively. In quantitative approximation, we seek an assignment satisfying as many of the original constraints as possible. In qualitative approximation, we weaken the constraints and seek an assignment satisfying every weakened constraint. We illustrate this distinction with two examples of well-known NP-hard CSPs.

Given a graph promised to be 3-colourable, a quantitative approximation seeks an assignment of three colours that gives different colours to the endpoints of as many edges as possible. A randomised polynomial-time algorithm by Goemans and Williamson [GW04] based on semidefinite programming finds a 3-colouring that properly colours at least a 0.836 fraction of the edges in expectation. A qualitative approximation instead allows more colours—say, 100—while still requiring the endpoints of every edge to receive different colours. This problem was recently shown to be NP-hard [DMR09, GS20, FMW26].

*This work was supported by UKRI EP/X024431/1. For the purpose of open access, the authors have applied a CC BY public copyright licence to any Author Accepted Manuscript version arising from this submission. All data is provided in full in the results section of this paper.

In (monotone) 1-in-3-SAT, each clause requires exactly one of its three literals to be true. Given a satisfiable instance, quantitative approximation seeks an assignment satisfying as many clauses as possible. A qualitative approximation can instead weaken the requirement to Not-All-Equal: every clause must contain both a true and a false literal. This relaxation is solvable in polynomial time, as shown by Brakensiek and Guruswami [BG21]. Many other qualitative approximations of 1-in-3-SAT have been studied, with tractability of some and NP-hardness of others [BBB21, CKK +^{+}25, KV26]. These qualitative approximation tasks are examples of Promise Constraint Satisfaction Problems (PCSPs) [AGH17, BG21, BBKO21]. The contrasting complexity of these relaxations motivates studying which relations are promise-useful [AHM26]: which relations admit a nontrivial relaxation such that the associated PCSP is tractable? Once a relation is known to be promise-useful, one can study which of its nontrivial relaxations yield tractable PCSPs.

In their series of works, Bhangale, Khot, and Minzer [BKM25a, BKM25b, BKM23, BKM24, BKM26], and Bhangale, Khot, Liu, and Minzer [BKLM25a] identified Abelian embeddings as an important structural feature for the quantitative approximation of satisfiable CSPs. Informally, such an embedding captures additive structure within a constraint relation. Bhangale et al. use this structure in a hybrid approximation algorithm combining the solution of equations over Abelian groups with semidefinite programming [BKM26].

Definition 1.1. Suppose R⊆ArR \subseteq A^r is an rr-ary relation with A=dom(R)A = \text{dom}(R) and GG is an Abelian group. We say that RR admits an Abelian embedding to GG if there exist functions f1,…,fr:A→Gf_1, \ldots, f_r : A \to G such that (i) at least one of f1,…,frf_1, \ldots, f_r is nonconstant, and (ii) for all (x1,…,xr)∈R(x_1, \ldots, x_r) \in R we have ∑ifi(xi)=0\sum_i f_i(x_i) = 0. We say simply that RR admits an Abelian embedding if it admits one to some Abelian group.

In this paper, we develop an approach to qualitative approximation based on Abelian embeddings and establish a sharp complexity dichotomy for approximating detrivialised equations over prime-order groups, a family of PCSPs whose promise relations admit such embeddings. In particular, we show that suitable Abelian embeddings are a structural source of promise-usefulness.

This algorithmic role of Abelian embeddings is complemented by recent hardness results based on connectivity properties of the promise relation. Extending work of Braverman, Khot, Lifshitz, and Minzer [BKLM25b], Banakh, Barsukov, and Nakajima [BBN26] show that, assuming the Rich 2-to-1 conjecture [BKM21], every (nontrivial) qualitative approximation of a symmetric reconfigurable relation is NP-hard. Here symmetry means closure under permutations of coordinates, while reconfigurability is defined as follows.

Definition 1.2. A relation R is reconfigurable if the graph whose vertices are tuples of R, and where edges are drawn between tuples which differ in exactly one coordinate, is connected.

For symmetric relations, Abelian embeddability imposes a separation between tuples that cannot be overcome by local changes, while reconfigurability requires local changes to connect all tuples. Indeed, the two regimes are disjoint: if adjacent tuples differ in coordinate i, then any Abelian embedding must assign the same value under fif_i to the two entries in that coordinate. Connectivity and symmetry therefore force every fif_i to be constant, so a reconfigurable relation admits no Abelian embedding. In fact, each detrivialised equations relation defined below has an edgeless reconfiguration graph. Our hardness results therefore concern promise relations at the opposite structural extreme from the reconfigurable relations covered by the framework of Banakh, Barsukov, and Nakajima [BBN26].

Concurrent work of Chan and Ng [CN26] also highlights the algorithmic role of Abelian embeddings, showing that an algorithm combining SDP and constraint singleton AIP subsumes the hybrid algorithm of Bhangale, Khot, and Minzer [BKM26]. Our tractability results give a complementary perspective for qualitative approximation (PCSPs).

Contributions. Our first contribution is a general reduction that uses suitable Abelian embeddings and roundings to strengthen the promise relation of a PCSP. The reduction applies to both decision and search, yielding a new source of tractability for qualitative approximation.

Our second contribution is a sharp complexity dichotomy for approximating detrivialised equations over prime-order groups.

Definition 1.3. Let GG be a finitely generated Abelian group. We define the ternary equations relation Eqn(G)={(x,y,z)∈G3∣x+y+z=0}\mathrm{Eqn}(G) = \{(x, y, z) \in G^3 \mid x + y + z = 0\}. Its detrivialised equations relation is Eqn∗(G)={(x,y,z)∈Eqn(G)∣x,y,z are not all equal}\mathrm{Eqn}^*(G) = \{(x, y, z) \in \mathrm{Eqn}(G) \mid x, y, z \text{ are not all equal}\}.

If a ternary relation RR contains a constant tuple (a,a,a)(a, a, a), then every instance of CSP(R)\mathrm{CSP}(R) is satisfied by assigning aa to every variable. Detrivialisation removes precisely these tuples: Eqn∗(G)\mathrm{Eqn}^*(G) is the largest subrelation of Eqn(G)\mathrm{Eqn}(G) containing no constant tuple. When GG has no 3-torsion, as for Zp\mathbb{Z}_p with p≠3p \neq 3, this amounts to deleting only (0,0,0)(0, 0, 0). For nontrivial GG, the identity map witnesses an Abelian embedding of Eqn∗(G)\mathrm{Eqn}^*(G) into GG.

Although systems of equations over Zp\mathbb{Z}_p can be solved in polynomial time, CSP(Eqn∗(Zp))\mathrm{CSP}(\mathrm{Eqn}^*(\mathbb{Z}_p)), i.e. finding a solution to a system of homogeneous linear equations mod pp where no particular equation is assigned a constant tuple, is NP-hard.1^1

We therefore study a qualitative relaxation of this problem: given a system promised to have a solution over GG that is nonconstant on every equation, find a cc-colouring of its variables that makes every equation nonmonochromatic. This retains the nonconstancy requirement while discarding the equations themselves, leaving a colouring problem on the underlying hypergraph of constraints. We write NAEc\mathrm{NAE}_c for the ternary not-all-equal relation on cc colours. For fixed cc, this is the largest target relation containing no constant tuple, and hence gives the weakest relaxation excluding constant solutions.2^2 For detrivialised equations over prime-order groups, the resulting problem is defined as follows.

Definition 1.4. Let pp be a prime and c≥2c \geq 2. An instance of PCSP(Eqn∗(Zp),NAEc)\mathrm{PCSP}(\mathrm{Eqn}^*(\mathbb{Z}_p), \mathrm{NAE}_c) is given by a system of linear equations of the form x+y+z≡0 mod px + y + z \equiv 0 \bmod p. The goal is to output Yes if there exists a solution to this system over Zp\mathbb{Z}_p which is nonconstant on every equation, and No if there is not even a solution over NAEc\mathrm{NAE}_c, i.e., a colouring of the variables with cc colours which renders each equation nonconstant.

For p=2p = 2 and c=2c = 2, PCSP(Eqn∗(Zp),NAEc)\mathrm{PCSP}(\mathrm{Eqn}^*(\mathbb{Z}_p), \mathrm{NAE}_c) is (isomorphic via Boolean complementation to) the 1-in-3 vs. NAE-3-SAT problem, shown tractable by Brakensiek and Guruswami [BG21]. For p=3p = 3, PCSP(Eqn∗(Zp),NAEc)\mathrm{PCSP}(\mathrm{Eqn}^*(\mathbb{Z}_p), \mathrm{NAE}_c) corresponds to the 3-rainbow vs. cc-normal hypergraph colouring problem, studied by McDiarmid [McD93], who gave a randomised algorithm. A deterministic algorithm for p∈{2,3}p \in \{2, 3\} and all c≥2c \geq 2 follows from the tractability of the problem for p=c=2p = c = 2 via homomorphic relaxation [BBKO21, Definition 4.6].

For p≥5p \geq 5 however, the story is more complicated, as the following theorem shows. Note that for p≥5p \geq 5 the problem is well-defined for c≥3c \geq 3; when c=2c = 2, some instances satisfy both the Yes and No conditions.

Theorem 1.5. Fix a prime p≥5p \geq 5. PCSP(Eqn∗(Zp),NAEc)\mathrm{PCSP}(\mathrm{Eqn}^*(\mathbb{Z}_p), \mathrm{NAE}_c) is (i) solvable in polynomial time if c≥4c \geq 4, (ii) NP-hard if c=3c = 3.

In fact we prove a stronger theorem.

Theorem 1.6. Fix a nontrivial finite Abelian group GG without elements of order 2 or 3. Then PCSP(Eqn∗(G),NAEc)\mathrm{PCSP}(\mathrm{Eqn}^*(G), \mathrm{NAE}_c) is (i) solvable in polynomial time if c≥4c \geq 4, (ii) NP-hard if c=3c = 3 (provided the problem is well-defined).

1^1This necessarily follows from the CSP dichotomy theorem, but rather than prove this separately we just note that this is a consequence of our hardness results for p≥5p \geq 5 – indeed, we prove below that a relaxed version of this problem is NP-hard. For p=2p = 2 this problem is monotone 2-in-3 SAT, and for p=3p = 3 this is strong 3-colouring of 3-uniform hypergraphs, both NP-hard.

2^2Formally, a finite ternary relation RR is promise-useful [AHM26] if PCSP(R,Q)\mathrm{PCSP}(R, Q) is solvable in polynomial time for some finite ternary relation QQ with R→QR \to Q and no constant tuple. Equivalently, RR is promise-useful if PCSP(R,NAEc)\mathrm{PCSP}(R, \mathrm{NAE}_c) is tractable for some fixed c≥2c \geq 2, since, after relabelling its domain, every such QQ is a subrelation of some NAEc\mathrm{NAE}_c.

The algorithm that solves this problem is a singleton algorithm [Zhu26], and its correctness relies on the fact that Eqn*(G) has an Abelian embedding to G. In fact, the algorithm generalises easily to one which works for all templates PCSP(R, NAE_c), where R has an Abelian embedding to a group with a “c-rounding”. We present this more general algorithm along with the notion of c-rounding in Section 3, and show that the tractability part of the theorem above is a simple consequence. However, neither k-consistency (for any fixed k) nor the combined Basic Linear Programming and Affine Integer Programming (BLP+AIP) relaxation [BGWŻ20] solves this problem (Appendix C.1). Thus this is an example of a natural fragment of finite-domain PCSPs solvable by a singleton algorithm but not by either of the above methods.

Algorithmic results. We illustrate the algorithm by running it on a small instance of PCSP(Eqn*(Z5\mathbb{Z}_5), NAE_4). In fact, we will run it on the search version of the problem, denoted by Search-PCSP(Eqn*(Z5\mathbb{Z}_5), NAE_4): Given an instance that is promised to admit a solution over Eqn*(Z5\mathbb{Z}_5), the goal is to find a solution over NAE_4. Consider the instance with variable set {a,b,c,d,e,f,g,x,y,z,u}\{a, b, c, d, e, f, g, x, y, z, u\} and the following eight equation constraints, where all equations are modulo 5:

C1:a+b+e=0,C2:a+c+d=0,C3:a+d+g=0,C4:a+e+f=0,C_1:a+b+e=0,\quad C_2:a+c+d=0,\quad C_3:a+d+g=0,\quad C_4:a+e+f=0, C5:b+c+g=0,C6:b+d+f=0,C7:x+y+z=0,C8:a+x+u=0.C_5:b+c+g=0,\quad C_6:b+d+f=0,\quad C_7:x+y+z=0,\quad C_8:a+x+u=0.

This is a valid instance: the assignment

a=0,b=1,c=2,d=3,e=4,f=1,g=2,x=1,y=1,z=3,u=4a=0,\quad b=1,\quad c=2,\quad d=3,\quad e=4,\quad f=1,\quad g=2,\quad x=1,\quad y=1,\quad z=3,\quad u=4

satisfies every equation nontrivially. The algorithm is not given the displayed assignment; it only uses the promise that such an assignment exists. We will now explain how the algorithm works (illustrated in Figure 1).

We start by picking some constraint, say C1C_1. We know there exists some solution to the system such that C1C_1 does not get assigned the tuple (0,0,0)(0,0,0). We find such a solution as follows. We choose a variable in C1C_1, say aa, and look (using Gaussian elimination) for a solution to the system with aa fixed to 1 or some other nonzero value. In this case, no such solution exists, so we move on to another variable in C1C_1, say bb, and look for a solution to the system with bb fixed to 1. We find such a solution s1s_1, and fix the values of all variables that got a nonzero value. Next, we repeat the same process for the subinstance induced on the remaining variables. The final NAE_4-solution γ\gamma assigns each variable the first nonzero value it receives in s1,s2,s3s_1, s_2, s_3. The end row of the lower table in Figure 1 lists the final tuple assigned to each constraint and shows that every constraint is nonmonochromatic. Informally, the reason this works is that, in the first step at which any variable in a constraint is coloured at all, it must be the case that 2 or 3 variables in that constraint are coloured, and indeed coloured with at least 2 different values. Hence, no matter what colour is assigned to the remaining variable (if it exists), the constraint is satisfied.

The algorithm as a reduction. Viewed more generally, the algorithm yields a polynomial-time reduction between the original PCSP and a PCSP obtained by restricting (and thus strengthening) its promise relation. The previous example is the special case in which the restricted promise relation is empty, and thus the target of the reduction is a trivial problem. The existence of this reduction contributes to the goal of the algebraic approach to PCSPs, which seeks to understand the complexity of all PCSPs through the algebraic characterisation of reductions between them [BBKO21, BK22, DO24, BHZ27]. To this end, we show (Appendix C.2) that the reduction can be implemented using (Constraint) Singleton AIP (CSingl AIP). We then characterise CSingl AIP reductions algebraically, along the lines of Dalmau and Opršal [DO24] (Appendix C.3).

Additive combinatorics. Our (hardness) results use tools and ideas from additive combinatorics. Fix some prime p≥5p \geq 5. We call a partition of Zp\mathbb{Z}_p into three sets A1,A2,A3A_1, A_2, A_3 valid if the only solution to x+y+z≡0(modp)x + y + z \equiv 0 \pmod{p} with x,y,zx, y, z all in the same part is (0,0,0)(0, 0, 0). Validity is preserved by permuting

Figure

Figure 1: An example run of the algorithm.

the parts and by multiplying every element by the same nonzero scalar. A first step in the hardness proof is to classify these partitions: for every prime p≥7p \geq 7, there is exactly one up to these symmetries.

Theorem 1.7. For every prime p≥7p \geq 7, up to multiplication by a constant and permutation of parts, there exists exactly one valid partition of Zp\mathbb{Z}_p, namely the partition that puts xx into A1+⌊3xp⌋A_{1+\lfloor \frac{3x}{p} \rfloor}.

This fact follows from an application of the Cauchy–Davenport theorem, together with Vosper’s theorem. It does not hold for p=5p=5, as shown by the theorem below, which can be proved by a simple case analysis. The full proofs of both theorems are in Appendix D.

Theorem 1.8. Up to multiplication by a constant and permutation of parts, there exist exactly two valid partitions of Z5\mathbb{Z}_5, namely ({2,3},{4},{0,1})\left(\{2,3\}, \{4\}, \{0,1\}\right) and ({2,3},{1,4},{0})\left(\{2,3\}, \{1,4\}, \{0\}\right).

References (33)