Manuscript Offprint
arXiv:2610.07455Cores Characterize the One-Pass Streaming Complexity of CSPs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study the one-pass streaming complexity of CSPs over a fixed finite relation under three natural objectives: , deciding whether all constraints can be satisfied; , approximately minimizing the number of unsatisfied constraints; and , exactly computing the maximum number of satisfied constraints.
Sharma and Velusamy (ESA 2026) characterized the streaming complexity of satisfiability for CSPs with literals using the non-redundancy parameter , which roughly measures the largest instance in which every constraint is independently necessary. For the most general setting without literals, they obtained the corresponding characterization for Boolean relations and showed obstacles to extending their techniques to larger domains. Kol, Paramonov, Saxena, and Yu (ITCS 2023) similarly characterized the streaming complexity of for Boolean CSPs with literals in terms of the degree of the relation when written as a polynomial, while without literals, the corresponding result was known only for Max-Cut.
For all three of the objectives we study, we give tight characterizations for unweighted CSP instances over arbitrary finite domains. The streaming algorithms we provide are deterministic, while the corresponding bounds are tight up to polylogarithmic factors, even against randomized algorithms. The central idea in all three results is a reduction of R to its core, a canonical subrelation of R which admits gadgets that allow for the hard-pinning (or fixing) of variables.
Supported in part by NSF awards CCF-2211972 and DMS-2503280 and Venkatesan Guruswami's Simons Investigator award.
Supported in part by a Jane Street Graduate Research Fellowship, Simons Investigator awards to Madhu Sudan and Salil Vadhan, and AFOSR award FA9550-25-1-0112.
Supported in part by NSERC Discovery grant RGPIN-2026-04689 and ECR supplement DGECR-2026-00421.
Contents
1 Introduction 1
1.1 Our Results 2
2 Technical overview 4
2.1 Reduction to the core 4
2.2 Satisfiability and hard pinning 6
2.3 Exact-CSP 7
2.4 Relation to prior work 10
3 Preliminaries 10
3.1 CSPs 11
3.2 Objectives and streaming space 11
3.3 Non-redundancy 12
3.4 Cores, automorphisms, and hard pinnings 12
3.5 Finite-domain degree 13
3.6 Communication complexity 14
4 Properties of Cores 14
4.1 Reduction to the core 15
4.2 Hard pinnings in a core relation 16
4.3 Pinning for exact optimization 17
5 Satisfiability 18
5.1 Lower bound for a core relation 19
6 Sparsification and Min-CSP 20
6.1 Sparsification 21
7 Exact-CSP 25
7.1 Lower bound for a core relation 26
8 Conclusion and Open Questions 29
A Literals and Non-Constant-Satisfiable CSPs 33
A.1 Literal CSPs as a special case 33
A.2 Non-constant-satisfiable Boolean CSPs 35
More recently, a line of work has emerged which studies the complexity of solving such CSPs in the streaming model. In this setting, each of the m constraints is revealed one at a time. The goal, as before, is to decide satisfiability or a related objective for the resulting instance using as little space as possible. We assume throughout that the stream length is polynomially bounded in n. Naturally, storing every constraint explicitly as it arrives allows one to store the entire CSP instance, meaning there is a trivial upper bound of bits of space for any such task.
The streaming study of CSP optimization was initiated by Kapralov, Khanna, and Sudan [KKS15], who proved strong lower bounds for approximating Max-Cut. Kapralov and Krachun [KK19] subsequently proved that there is no non-trivial approximation for Max-Cut in sublinear-space in the streaming model. Guruswami, Velingker, and Velusamy [GVV17] and Chou, Golovnev, and Velusamy [CGV20] studied Boolean Max-CSPs of arity two, while Chou, Golovnev, Sudan, and Velusamy [CGSV24] extended this line of work to arbitrary finite Max-CSPs.
Very recently, this line of work has led to substantially broader characterizations of the streaming approximability of Max-CSPs. A sequence of works developed increasingly strong sublinear-space algorithms and lower bounds for Max-DiCut and Max-Cut [SSSV25; FMW25; Vel25; ABFS26], while Singer, Tulsiani, and Velusamy [STV25] and Fei, Minzer, and Wang [FMW26a] uncovered a close connection between streaming approximability and the standard BasicLP relaxation for CSPs. Subsequent works essentially completed this picture in the one-pass setting, giving sublinear-space algorithms up to the approximation threshold predicted by BasicLP and linear-space lower bounds beyond it [ABF26; STV26; FMW26b]. Thus, the streaming approximability of Max-CSPs is now understood to a remarkable extent, in sharp contrast to the objectives that we study in this work.
Kol, Paramonov, Saxena, and Yu [KPSY23] studied exact optimization for Boolean CSPs with literals. Their formulation asks, for a given threshold v, whether some assignment satisfies at least v constraints, which is equivalent to computing the maximum number of satisfied constraints exactly. They showed that if the indicator of the predicate has polynomial degree d, then the streaming space complexity is . Other work has focused on satisfiability. Vu [Vu24] proved an lower bound for k-SAT, while Chou, Golovnev, Sudan, and Velusamy [CGSV24] proved an lower bound for arbitrary CSPs.
The streaming complexity of satisfiability was characterized more recently by Sharma and Velusamy [SV26a], who showed that for a relation R, its space complexity is characterized, up to a logarithmic factor, by the non-redundancy of R. Non-redundancy in turn is a fundamental parameter in the study of CSPs, known to govern the query complexity of learning CSPs [BCK20; Car22], the kernelizability of CSPs [JP19; CJP20; LW20], and approximate sparsification of CSPs [KK15; FK17; BŻ20; KPS24; KPS25; BG25]. Given this rapidly-growing list of connections, there has been a recent surge of interest in obtaining sharp asymptotic estimates for the non-redundancy of many CSP predicates [BCK20; CJP20; LW20; Car22; KPS25; BG25; BGJ+25; LGE26; BGP26a; SV26b; BGJ+26], often combining ideas from logic, algebra, and extremal combinatorics. Recent work has obtained further bounds and structural results for non-redundancy and sparsification [BGP26b; BGP26c; BGP26d].
These characterizations rely crucially on the use of literals. In the general-domain literal model, the domain is and each occurrence of a variable may be replaced by for an arbitrary shift . Over the Boolean domain, these are precisely the two literals and . Literals are more than a notational convenience in these arguments. Indeed, negations or additive shifts allow for much more powerful gadgets which lead to simpler lower bound proofs. Sharma and Velusamy [SV26a] showed that this is a fundamental obstruction in applying their techniques to general finite-domain CSPs. Over domains larger than two, the raw non-redundancy of need not predict the streaming complexity of CSP satisfiability.
The difficulty lies specifically in proving lower bounds. The known upper bounds continue to apply, since ordinary CSP instances are special cases of instances in the literal model. In the lower bound reductions however, literals were critical in gadget constructions that fixed the values of certain variables. Our starting question is therefore the following.
Can we derive tight characterizations of the streaming complexity of CSPs?
As our primary contribution, we give an affirmative answer to the above question, in part making use of a crucial object called the core of the CSP relation R, denoted by core(R), which intuitively removes domain values that can be collapsed without changing any of these objectives. In the context of CSPs, the notion of a core originated in the 1970s in the context of designing optimal queries to a database [CM77; KV08] but the concept was also independently developed in the graph theory literature (see [HN92; HN08]). Perhaps the most notable use of CSP cores is their key role in the proof of the CSP dichotomy theorem [FV98; BKW17; Bul17; Zhu20]. Despite these many connections, our work appears to be the first to utilize the concept of a CSP core in the context of streaming.
Beyond simply studying SAT(R), which asks whether all constraints can be satisfied, we also study Min-CSP(R), which approximately minimizes the number of unsatisfied constraints, and Exact-CSP(R), which computes the maximum number of satisfied constraints exactly. Thus, Exact-CSP(R) is the exact-value version of Max-CSP(R), and we use the latter terminology primarily for the approximation literature. As a byproduct of our study, we show that (a) non-redundancy is even more entrenched as a crucial parameter which governs the streaming complexity of CSP problems and (b) the core is a fundamental object which allows for the extension of lower bound techniques to general finite-domain CSPs.
1.1 Our Results
We study the one-pass streaming complexity of solving three different CSP objectives defined by a fixed finite relation R, namely SAT(R), Min-CSP(R), and Exact-CSP(R). The main parameter that governs the space complexity in our results is non-redundancy. Informally, an instance is non-redundant if every constraint is non-redundant, i.e., removing it would strictly grow the set of satisfying assignments of the instance. This is equivalent to having a witness assignment for each constraint that violates it but satisfies the rest of the constraints. We write for the largest number of constraints in such an instance on n variables. Our first theorem takes advantage of both NRD and core(R) and characterizes the randomized one-pass streaming complexity of SAT(R) up to a log factor.
Theorem 1.1 (Informal Theorem 5.1 satisfiability characterization). For every fixed non-trivial relation R, there is a deterministic one-pass algorithm that solves SAT(R) using space, and any one-pass algorithm (even randomized) requires at least space.
By the general finite-domain setting, we mean that the relation and its finite domain are arbitrary, and constraints apply the relation directly to variables, without literals or shifts.
Our minimization result comes from a stronger sparsification theorem, resembling those of [KPS24; KPS25; BG25]. The goal here is, given a CSP instance , to build a small, re-weighted sub-instance (denoted ) such that on every assignment , the number of unsatisfied constraints in is essentially the same as the number of unsatisfied constraints in . Clearly, once such a sparsifier is constructed, one can (approximately) solve Min-CSP(). Importantly, we show that building and maintaining such sparsifiers can still be done in space roughly equal to the non-redundancy:
Theorem 1.2 (Informal Theorem 6.1 and Corollary 6.2 sparsification and minimization characterization). For every fixed non-trivial relation and every , there is a deterministic one-pass algorithm that can store () sparsifier using space. Consequently, there is a deterministic one-pass -approximation algorithm for Min-CSP() using space, and every finite-factor randomized approximation requires space.
Finally, for Exact-CSP, the space complexity is determined by the polynomial degree of the core .
Theorem 1.3 (Informal Theorem 7.1 Exact-CSP characterization). Let be the degree of the indicator function of core(). Solving Exact-CSP() in one pass on simple instances requires randomized space and has a deterministic -space algorithm.
Thus all three problems first reduce to the core. After that reduction, non-redundancy characterizes satisfiability and minimization up to polylogarithmic factors, while degree characterizes Exact-CSP up to a logarithmic factor.
The Core The reason that core(R) is central to each of these results is due to the core being the canonical fixed-point of R under homomorphisms. More precisely, given a finite domain D and a relation , a homomorphism of R to itself is a map such that for every tuple , we have that . Given an R-instance of a CSP, a homomorphism h always maps a satisfying assignment to a satisfying assignment. Furthermore, in the optimization setting, applying a homomorphism to an arbitrary assignment cannot decrease the number of satisfied constraints. Therefore, in any of our streaming problems, we may apply any homomorphism we desire at no cost.
If the map is not a bijection, then maps to a smaller-domain relation . Since the domain is finite, such a shrinking can only be done a finite number of times until a fixed point is reached—this is precisely the core of the relation. As such, for any of our streaming problems, an algorithm for core() is a natural upper bound on the problem. A corresponding lower bound follows from the fact that CSP cores have canonical gadgets that can be used to fix variables. Further
More formally, if is the domain of the core, we write our predicate core( ) as a real-valued indicator function , compute its Fourier decomposition, and let be degree of the highest-degree monomial with a non-zero coefficient.
explanation and concrete examples are given in the technical overview (Section 2).
AI Disclosure
Generative AI tools including GPT 5.6 Sol Medium/High were used for language editing, improving exposition, checking the clarity of parts of the manuscript and to assist with routine mathematical tasks that do not require a significant level of innovation or with verifying proofs. They were not used to generate the mathematical results or proofs, and the authors take full responsibility for the contents of the paper.
2 Technical overview
In this section, we explain the main structural ideas behind our results. Our central idea is to replace every relation by a reduced form called its core, which we define formally in Section 3.4. We first use a relation of Sharma and Velusamy [SV26a] to explain why we must reduce to the core. We then explain the satisfiability lower bound using and return to to explain the exact optimization lower bound. As we will show, the satisfiability and exact-optimization lower bounds crucially rely on whether we can hard-pin variables, meaning fix them to chosen values in the domain. R-constraints usually cannot do this directly, so we instead build gadgets that simulate such pinnings up to unavoidable symmetries of the relation. The main fact that makes these gadgets possible is that the relation is a core. For satisfiability, we need a gadget whose satisfying assignments give the variables the desired values. For exact optimization, an optimal assignment may violate some gadget constraints, so we need a stronger construction that makes every deviation from the desired values unprofitable.
2.1 Reduction to the core
Sharma and Velusamy [SV26a] proved that the one-pass space needed to decide satisfiability for CSPs with literals is characterized, up to a logarithmic factor, by the non-redundancy parameter . This parameter is the maximum number of constraints in an -instance in which every constraint is independently necessary. Equivalently, every constraint has a witness assignment that violates it and satisfies all the other constraints. We give the formal definition in Section 3.3.
They also showed that without literals, need not be the right parameter, using the following counterexample
Using known characterizations of non-redundancy, one can prove that [BZ20; BCK20; KPS25; SV26a]. However, satisfiability for can be checked in space. To see this, notice that holds when and have opposite parity and at least one of them belongs to . Given a -instance, form its underlying graph whose vertices are the variables and whose edges are the pairs on which a constraint appears. The -instance is satisfiable exactly when this graph is bipartite. Indeed, every satisfying assignment gives a bipartition according to the parity of the assigned values. Conversely, any bipartition can be made satisfying by assigning 0 to one side and 1 to the other. Bipartiteness can be decided in one pass using bits [SV26a].
This suggests that the values 2 and 3 are unnecessary for solving the instance. So, let's consider the map
If , then and have opposite parity. Therefore is either or and still belongs to . Applying to an assignment therefore preserves every constraint that was already satisfied. Thus every assignment can be replaced by a Boolean assignment satisfying at least the same constraints.
The restriction of to is precisely . In this sense, is essentially the same relation as . Every assignment over the original domain can be mapped to a Boolean assignment without losing a satisfied constraint, while every Boolean assignment is already available over the original domain. It follows that restricting the domain to preserves satisfiability, the minimum number of unsatisfied constraints, and the maximum number of satisfied constraints. This is also the reason the bipartiteness argument above works, but the map states it in a form that extends to every relation.
Formally, a map that preserves a relation in this way is called an endomorphism, defined formally in Section 3.4. The core of a relation is obtained by choosing an endomorphism with the smallest possible image and restricting the relation to that image. In this example, has image , and no endomorphism can have a one-element image because contains no pair . We therefore have .
Notice that . If a CUT-instance is satisfiable and nonredundant, its graph must be a forest because every edge on a cycle is implied by the remaining edges. If it is unsatisfiable and nonredundant, removing any edge must make it bipartite, so its nonisolated part is an odd cycle. In either case it has edges, while a forest gives the matching lower bound. Reducing to the core therefore replaces the incorrect quadratic parameter by the correct linear parameter .
The examples above suggest the following general statement, which we prove formally in Section 4.
Theorem 2.1 (Informal Lemmas 4.2 and 4.3). For every relation R, replacing each R-constraint by the core(R)-constraint on the same scope preserves satisfiability, the minimum number of unsatisfied constraints, and the maximum number of satisfied constraints. Consequently, this replacement preserves the one-pass streaming space of all three problems we consider.
Moreover, this reduction can be performed as the stream arrives. Whenever an R-constraint appears, we replace it by the core(R)-constraint on the same scope and give it to the algorithm for the core relation.
Now, the remaining task is to prove tight space bounds for the core relation. The satisfiability upper bound now follows immediately. We reduce the stream to the core and apply the algorithm of Sharma and Velusamy [SV26a], which uses space. As we will see later in Section 2.3, the upper bound for exact-optimization follows as well using a simple argument. It remains to prove the lower bound matching this up to the logarithmic factor.
For both the lower bounds, we use the standard connection between streaming algorithms and one-way communication together with the hard problem INDEX, where Alice receives a string and Bob receives an index and must recover . At a high level, we reduce this communication problem to a streaming problem as follows. Alice runs the streaming algorithm on constraints determined by her input and sends its memory state to Bob. Bob then appends constraints determined by his query and uses the output to recover the answer. The difficulty is that every constraint Bob appends must be a constraint of the core relation. He cannot directly fix variables to the values determined by his query. The next subsection explains how the core property lets him simulate this operation for satisfiability. The corresponding construction for exact optimization will require a stronger version of the same idea.
2.2 Satisfiability and hard pinning
We now explain why every one-pass algorithm for satisfiability over a core relation requires space, as stated formally in Theorem 5.3. The proof first gives an ideal reduction in which Bob can fix variables to chosen values. We then use CUT to see why unique fixing is sometimes impossible and what weaker property is enough. Finally, we state the general hard-pinning lemma for core relations.
Let be a maximum nonredundant instance over a core relation , where . Recall from Section 3.3 that every constraint has a witness assignment that violates and satisfies every other constraint in .
In INDEX, Alice receives a string and inserts whenever . Bob receives an index and must recover . If Bob could append constraints that hard-pin every variable to the value given by , meaning that the appended constraints force this assignment, then the reduction would be immediate. If , the witness satisfies Alice's entire instance. If , Alice also inserted , which violates. Thus the final instance would be satisfiable exactly when .
The obstacle is that R-constraints may not be able to force a unique assignment. The following example shows both the obstacle and the weaker form of pinning that we need.
Example 2.2 (Hard pinning for CUT). Consider . Complementing every value preserves every constraint, so any instance satisfied by is also satisfied by its complement. Bob does not need uniqueness, however. It is enough to append an instance whose satisfying assignments on the original variables are and its complement.
Bob introduces two dummy variables and adds the constraint . For every original variable , he adds if and if . Any assignment satisfying these constraints must give and different values. Once those two values are chosen, every original variable is forced. The assignment on the original variables is therefore either or its complement.
This completes the reduction for CUT. If , the assignment satisfies Alice's constraints and Bob's constraints. If , Alice inserted , which is violated by . Its complement also violates because complementing every value preserves whether a CUT-constraint is satisfied. Hence the final instance is satisfiable exactly when .
The map that swaps 0 and 1 is an endomorphism of CUT that only permutes its values. Such a bijective endomorphism is called an automorphism. Applying an automorphism to every value preserves every constraint, which explains why the unavoidable ambiguity between and its complement is harmless.
The CUT example shows that Bob does not need to force one assignment uniquely. It is enough to force all original variables according to the same symmetry of the relation. For a core relation, every endomorphism is an automorphism, and this is precisely the property that makes the general construction work.
Lemma 2.3 (Informal Lemma 4.4). Let R be a core relation and let be an assignment to a set of variables. There is an R-instance whose satisfying assignments on these variables are exactly the assignments , where the same automorphism of R is applied to every variable.
Here is the idea behind the lemma. Introduce one dummy variable for every value in the domain. Add constraints among these variables so that, under any satisfying assignment, the map sending to the value of preserves and is therefore an endomorphism. Since is a core relation, this map must be an automorphism. We then attach every original variable to these dummy variables so that must receive the image of under the same automorphism. Thus all original variables follow one common symmetry of .
Every assignment satisfies and violates exactly the same -constraints as . Bob can therefore append the instance from the informal lemma in the ideal reduction above. If , an automorphic image of satisfies the final instance. If , every assignment satisfying Bob's constraints violates . A streaming algorithm for satisfiability would therefore give a one-way protocol for , proving the lower bound for core relations. Reducing an arbitrary relation to its core gives the characterization in Section 5.
For the sake of brevity, we next discuss the techniques that underlie the Exact-CSP results. For a discussion of the sparsification and minimization results, we encourage the reader to look at Section 6.
2.3 Exact-CSP
We now explain why exact optimization requires a stronger pinning construction than satisfiability. Let be the degree of the indicator function of the core relation. Informally, this is the largest number of coordinates that occur together in a monomial of its polynomial representation. Our result gives an upper bound and a matching lower bound up to the logarithmic factor. The formal statement is Theorem 7.1, and the formal definition of degree is in Section 3.5.
As before, we first reduce the relation to its core. The upper bound stores the coefficients of the low-degree polynomial representing the value of the instance. For the lower bound, the ideal reduction again asks Bob to hard-pin complete assignments. It is tempting to use Lemma 4.4 for this purpose. But that lemma is not strong enough here. It describes assignments that satisfy every pinning constraint, whereas an optimal assignment may violate some pinning constraints in order to satisfy more of Alice's constraints. We therefore first describe the ideal reduction and then explain how a stronger pinning construction ensures that such a violation cannot improve the objective.
Example 2.4 (Degree of CUT). For CUT on the domain , the indicator is . Its degree is therefore 2.
Example 2.5 (Degree of NAE). Let contain the tuples whose three entries are not all equal. Its indicator is . Thus has degree 2 even though its arity is 3.
Upper bound. The upper bound follows directly from the polynomial representation. Kol, Paramonov, Saxena, and Yu [KPSY23] give the Boolean version. They write the value of an instance as a polynomial in the variables and store its coefficients. Each arriving constraint adds one fixed low-degree polynomial to this coefficient table. We use the same idea over an arbitrary finite domain, using the value indicators from Section 3.5 in place of Boolean variables.
Example 2.6 (The upper bound for CUT). Consider a stream of edges defining a CUT-instance. By the expansion above, an arriving edge contributes to the value of every assignment. The algorithm adds these three coefficients to its table. After the stream, the sum of the stored terms is exactly the number of edges cut by every assignment. There are only possible terms, and their coefficients use bits on a simple instance. The algorithm may then try every assignment, evaluate the stored polynomial, and return its maximum. Thus Exact-CSP(CUT) uses space.
The same argument works over every finite domain. If the indicator of the core relation has degree , each arriving constraint contributes a fixed polynomial whose terms involve at most variables. Across all scopes, there are only possible terms. The algorithm stores the coefficient of each term, and after the stream it tries all assignments and returns the largest value. This gives the upper bound and extends the Boolean argument of Kol, Paramonov, Saxena, and Yu to arbitrary finite domains.
The lower bound. We again reduce from one-way INDEX. We call the values of Alice's instance at assignments chosen by Bob point evaluations. The following CUT example shows how degree lets Bob combine these point evaluations to recover his bit.
Example 2.7 (Four point evaluations for CUT). Alice receives bits indexed by . She creates vertices and , and inserts the edge whenever . Let denote the resulting graph.
Bob receives a pair . He uses four assignments. The assignment sets every variable to 0. The assignment sets only to 1, the assignment sets only to 1, and the assignment sets only and to 1. In the ideal reduction, Bob makes four copies of Alice's streaming state and appends a different input to each copy, one for each of these assignments. The four point evaluations satisfy
To see the cancellation, consider one edge of . An edge not incident to or contributes zero to the signed sum. An edge incident to exactly one of them contributes equally to two terms with opposite signs. The only edge that can remain is . If it is present, it is cut under and but not under or , giving a total contribution of .
Thus Bob can recover if the run from each copy reveals the value of P at its chosen assignment. If Bob could directly hard-pin the chosen assignment, he could append the required constraints in each run. For CUT, it is enough to force either that assignment or its complement, since complementation preserves the value of every CUT-instance. The optimum of the resulting instance, after subtracting the known number of pinning constraints, would reveal the required point evaluation.
Roughly, the same ideal reduction extends to every core relation of degree . Alice’s bits are indexed by , and Bob considers assignments obtained by changing the selected variable in each of groups. A signed sum of their values cancels every constraint except the one indexed by Bob’s query. If Bob could hard-pin each assignment in one run of the streaming algorithm, these optimum values would reveal his bit.
It would be tempting to use the same satisfiability hard-pinning lemma, Lemma 4.4. However, it only controls assignments that satisfy the whole pinning instance. An optimum for the exact-optimization problem might instead violate one pinning constraint and gain many constraints from Alice's instance. We therefore replace the constant-size pinning gadget by large blocks whose constraints outweigh every possible gain from P.
Example 2.8 (Strong pinning for CUT). The graph P has 2N vertices, at most edges, and maximum degree at most N. Fix an assignment s to its vertices. We want to add a gadget that forces every optimum to agree with s on the original vertices, up to complementing every value. To do this, we introduce extra vertices. Let , and create two blocks , each containing
L vertices. Add every edge between the two blocks. For every original vertex x, add 10N edges from x to distinct vertices in when , and to distinct vertices in when .
We first show that every optimum makes the two blocks monochromatic, meaning that all vertices in each block receive the same value, and gives the blocks opposite values. Choose a most frequent value in each block. If these two values are the same, at least edges between the blocks are uncut. Making the blocks monochromatic with opposite values cuts all block edges and loses at most the edges attached to the original vertices. Since , an optimum must have opposite majority values. Up to complementing the entire cut, assume that the majority value of is 0 and that of is 1.
Let be the number of vertices assigned 1 in , and let be the number assigned 0 in . The number of uncut edges between the blocks is . Making both blocks monochromatic according to their majority values gains these edges and loses at most attached edges. Since , an optimum must have . Thus is entirely 0 and is entirely 1, up to complementing all values.
Once the blocks are fixed, every original vertex x receives all its 10N attached edges exactly when . Giving x the other value loses 10N attached edges and can gain at most its N incident edges in P. Hence every optimum agrees with s on all original vertices, up to complementing the whole assignment.
Let denote the block and attached edges. The intended assignment cuts every edge of , and complementation preserves the value of every CUT-instance. Therefore
The construction depends only on the public value N and on s, so Bob can build it without knowing which edges Alice inserted.
Bob now makes four copies of Alice’s streaming state and appends , , , and to the respective copies. From each optimum, he subtracts the known size of the appended gadget and obtains one point evaluation of . Their alternating sum reveals , giving an lower bound for Exact-CSP(CUT).
For a general core relation of degree d, the construction in Lemma 4.6 plays the same role. It replaces the two CUT blocks by one block for every value in the core domain. The constraints among the blocks force their most frequent values to define one common endomorphism, which must be an automorphism because the relation is a core. The attached constraints then force the original variables to follow the desired assignment under this automorphism. As in the CUT example, the blocks are large enough that every deviation loses more attached constraints than it can gain in Alice's instance.
The formal construction gives exactly the property needed in the communication reduction.
Lemma 2.9 (Informal Lemma 4.6). Let be a core relation, and let be a simple -instance on variables with at most constraints and maximum variable degree at most . For every assignment to the variables of , there is an -instance , using additional variables and constructible without knowing the constraints of , such that .
Alice’s instance and each pinning gadget use only variables. Bob can therefore recover the point evaluations needed by the signed sum, and the lower bound for gives the space lower bound.
Kol, Paramonov, Saxena, and Yu [KPSY23] also prove an ad hoc lower bound for Max-Cut via a different reduction.
The two lower bounds therefore use the same structural principle. We first reduce exactly to the core and then recover the variable pinnings. For satisfiability, it is enough to restrict the satisfying assignments up to one common automorphism. For exact optimization, the restriction must additionally be strong enough that violating it is never profitable. The sparsification result uses the same core reduction to obtain the minimization characterization.
2.4 Relation to prior work
We first explain how our results extend the earlier work of Sharma and Velusamy [SV26a]. Here, a constraint language is a fixed finite set of relations over the same domain. They proved the satisfiability characterization in two settings. First, they considered every finite domain but allowed literals: when the domain is , each occurrence of a variable in a constraint may be replaced by modulo , for an arbitrary . In the Boolean setting, this is exactly the choice between and . These shifts give the lower bound construction more freedom. For a fixed relation, a lower bound that uses nonzero shifts need not apply when all shifts are zero.
Their second result concerns positive Boolean CSPs, meaning Boolean CSPs without literals. They assume that the constraint language is not “constant-satisfiable”. This means that there is no value for which assigning every variable the value c satisfies every relation in the language. This is the general interesting case for positive Boolean CSPs, since otherwise every instance has the same constant satisfying assignment.
Lemma 2.10 (Informal Lemmas A.2 and A.7). Reducing a language with literals to its core does not change its non-redundancy. Moreover, a Boolean constraint language is a core if and only if it is not constant-satisfiable.
Our core viewpoint uses these two facts to explain both earlier results. For the literal model, treat every shifted use of a relation as a separate relation. The resulting language is shift-closed, so the first part of the lemma shows that passing to its core does not change its non-redundancy. Our general core characterization therefore gives the earlier characterization for CSPs with literals. For the positive Boolean result, the only non-bijective maps on the Boolean domain are the two constant maps, which send both domain values to 0 or both to 1. The second part of the lemma therefore shows that the assumption of not being constant-satisfiable is exactly the assumption that the language is a core.
Our work then goes beyond both results by giving a characterization in the most general finite-domain setting. The precise statements and their proofs are given in Section A.
We also compare our exact-optimization result with the work of Kol, Paramonov, Saxena, and Yu [KPSY23]. Their general characterization is restricted to Boolean CSPs with literals and constants. Our result applies to arbitrary relations, requiring neither literals nor constants, giving a characterization in the more general CSP setting. However, their lower bound does extend to a constant number of passes. We view an extension of our result to the multi-pass setting as an exciting future direction.
3 Preliminaries
In this section, we state the definitions used in the rest of the paper.
3.1 CSPs
Throughout the paper, is a fixed finite nonempty domain and is a fixed relation of arity . We work with ordinary -constraints, without literals or shifts. We refer to this as the general finite-domain setting, since the finite domain and relation are arbitrary. We call non-trivial if . The asymptotic symbols , , and hide constants that may depend on .
Let be a set of variables. An -constraint is an expression , and its scope is the ordered variable tuple . The order matters unless is symmetric. Variables may repeat within a scope. An assignment satisfies this constraint if .
An unweighted R-instance I is a finite multiset of R-constraints. Thus the same constraint may occur more than once, and counts constraints with multiplicity. A weighted instance gives every occurrence of a constraint C a nonnegative rational weight represented in binary. Unweighted instances are the special case in which every weight is 1. The support of a weighted instance is the set of constraint occurrences with nonzero weight. A weighted subinstance uses only occurrences from I, but it may give them new nonnegative weights.
An instance is simple if no ordered scope occurs more than once. The degree of a variable is the number of constraint occurrences whose scopes contain it. A constraint contributes once to this degree even if the variable appears more than once in its scope. The maximum variable degree is denoted by . A relation is symmetric if membership in R is unchanged by permuting the k coordinates. For a symmetric relation, we also use the stronger notion of unordered simplicity. This means that no two scopes become the same multiset of variables after their coordinates are reordered.
Example 3.1. Let and . A CUT-constraint requires and to receive different values. Thus a CUT-instance is a graph, with one variable at each vertex and one constraint at each edge.
3.2 Objectives and streaming space
We next define the three objectives studied in the paper. We state them for a weighted R-instance, which is the more general setting. The inputs to our three problems are unweighted unless we say otherwise. Let I be a weighted R-instance and let be an assignment to its variables. We write
Thus is the weight of the satisfied constraints and is the weight of the violated constraints. We define
The set of satisfying assignments is .
The problem SAT(R) asks whether Sat(I) is nonempty. The problem Min-CSP(R) asks for OPT , and a -approximation must return a number between OPT and OPT . We write Min-CSP for this approximation problem. Finally, Exact-CSP(R) asks for the exact value OPT . Instances are unweighted unless we explicitly say otherwise.
We will also use a stronger guarantee than merely approximating . A weighted subinstance is a sparsifier of if unsatval
unsatval for every assignment . As we show in Corollary 6.2, running the sparsifier with a slightly smaller error and minimizing these inequalities gives a -approximation to .
In the streaming model, the constraints arrive one at a time in an arbitrary order, and the algorithm makes one pass over this insertion-only stream. The domain and relation are fixed and are not part of the stream. We use n for the number of variables and m for the stream length. There is no restriction on the update time or on the time used after the stream. We measure only the number of stored bits.
Unless stated otherwise, a randomized algorithm must be correct with probability at least 2/3 on every input. We write SPACE(II) for the minimum worst-case space of such a one-pass algorithm for a problem II. Upper bounds described as deterministic use no randomness, while all lower bounds also apply to randomized bounded-error algorithms.
3.3 Non-redundancy
Non-redundancy measures how many constraints can be independently necessary for satisfiability. Let be an unweighted -instance and let . We call redundant in if every assignment satisfying all constraints obtained by removing this occurrence of also satisfies . Otherwise, there is an assignment that violates and satisfies every other constraint of . We call such an assignment a witness for . The instance is nonredundant if every one of its constraints has a witness.
We define to be the maximum number of constraints in a nonredundant -instance on at most variables.
Example 3.2. For the relation CUT, every forest gives a nonredundant instance. Fix an edge and remove it. The two endpoints are now in different components. We can properly 2-color each component and choose the colors so that these endpoints receive the same value. This assignment violates the removed edge and satisfies every other edge, so it is a witness for that edge.
We will use the following elementary lower bound to account for the space needed to store an assignment.
Observation 3.3. If is nonempty, then .
Proof. Choose a tuple and a tuple . Partition variables into disjoint ordered scopes of size , and put one -constraint on each scope. To witness one chosen constraint, assign the tuple to its scope and the tuple to every other scope. The chosen constraint is violated and all other constraints are satisfied. The resulting instance is nonredundant and has constraints.
By definition, a non-trivial relation is nonempty and is not equal to . Thus the observation shows that non-redundancy is at least linear for every non-trivial fixed relation, although it may be much larger. Our satisfiability and minimization results depend on its value for the core of R, which we define next.
3.4 Cores, automorphisms, and hard pinnings
We now define the core of a relation. A map is an endomorphism of if applying to every coordinate of a tuple in always gives another tuple in . Equivalently, . An endomorphism is an automorphism if it is a bijection. In this case . We write for the set of automorphisms of .
An endomorphism is idempotent if for every . Choose an endomorphism with minimum image. Its restriction to its image is a permutation, since applying the map again cannot make the image smaller. A suitable power is therefore the identity on its image and is idempotent. We fix such an idempotent endomorphism and write . We define
and call C its core domain. We fix one such choice throughout the paper. The equality holds because an idempotent map fixes every value in its image. The relation core(R) is a core relation because every one of its endomorphisms is an automorphism. Indeed, a non-bijective endomorphism composed with would give an endomorphism of R with image smaller than C. We call R itself a core relation when every endomorphism of R is an automorphism.
Example 3.4. For CUT, every endomorphism must send 0 and 1 to different values. Hence its only endomorphisms are the identity and the map that swaps 0 and 1. Both are automorphisms, so CUT is a core relation.
For a relation that is not a core, let and let
The map that fixes 0 and 1 and sends 2 to 1 is a non-bijective endomorphism of . Therefore is not a core relation. Its image is , and restricting the relation to this image gives CUT. Hence on the core domain .
The automorphisms of a core relation are the only unavoidable ambiguity when we try to force variables to chosen values. Let X be a set of variables and let be a fixed assignment. We say that an R-instance hard-pins s up to one common automorphism if it may use additional variables and
Example 3.5. For CUT, introduce two variables and require . If , add . If , add . These constraints force every to agree with after either the identity or the common swap of 0 and 1.
The relation above explains why we first reduce to a core. Its non-bijective endomorphism replaces the value 2 by 1. Applying this map to any satisfying assignment gives another satisfying assignment, so constraints over cannot in general distinguish these two values. After reducing to its core CUT, the construction above applies.
In Section 4.2, we prove that every core relation admits the same kind of construction.
3.5 Finite-domain degree
The parameter for Exact-CSP is the degree of the indicator function of the core relation. We define degree for any function . The domain need not contain a value already called 0. We choose any value of and call it 0. This choice only fixes the notation, and the reader may think of it as the usual value 0. For each coordinate and each , define .
Every function has a unique expansion
where chooses one nonzero value for every . These products form a basis for all real-valued functions on . This follows by evaluating the function on points that are 0 outside and using inclusion-exclusion. In particular, when is integer-valued, all the coefficients are integers. We define to be the largest for which , with constant functions having degree 0. Changing the basepoint changes the coefficients but not the degree. Indeed, the indicator of the old basepoint is one minus the sum of the indicators of all other values. Thus either set of indicators can be written using the other without increasing degree.
For a relation , we write for its indicator function and use as the degree of .
Example 3.6. For CUT, let . Then
so .
As another example, let contain the tuples that are not constant. With , we have
Thus , even though has arity 3.
The upper and lower bounds for Exact-CSP will both use this degree after reducing the relation to its core.
3.6 Communication complexity
Our streaming lower bounds use the one-way communication problem . Alice receives a string , Bob receives an index , and Bob must output . In a public-coin one-way protocol, Alice and Bob share a random string, Alice sends one message to Bob, and Bob produces the answer from this message, his index, and the shared randomness.
The connection to streaming is standard. Alice creates the first part of a stream from her input, runs the streaming algorithm on it, and sends the memory state to Bob. Bob resumes the algorithm from this state and appends constraints determined by his index. The memory state is the only message, so an s-space streaming algorithm gives a one-way protocol with s bits of communication. The random tape of the streaming algorithm can be treated as the public random string.
We use the following standard lower bound.
Lemma 3.7 (One-way complexity of INDEX, [Abl96; KNR99]). Every randomized public-coin one-way protocol for with constant error uses bits of communication.
In each of our lower bounds, Alice's part of the stream encodes her string, while Bob appends constraints that reveal the bit at his index. The rest of each reduction is devoted to constructing those constraints.
4 Properties of Cores
In this section, we prove the facts about cores that we will use throughout the paper. We first show that reducing to the core does not change any of our three objectives. We then give two ways to force an assignment using only constraints from a core relation. The first forces the assignment up to one common automorphism and will be used for satisfiability. The second makes the same idea strong enough for exact optimization.
We will repeatedly use the fact that applying one automorphism to every assigned value changes nothing. We state it in the following observation.
Observation 4.1. Let , let be an -instance, and let . For every assignment , we have . Therefore, unsatval .
Proof. Consider a constraint of . Since is an automorphism, the constraint is satisfied by if and only if it is satisfied by . This holds for every constraint, which proves both equalities.
4.1 Reduction to the core
The first goal is to reduce all three streaming problems from to its core . The reduction keeps every constraint on the same scope. It only replaces the relation by . The next lemma states that this preserves the streaming space exactly.
Lemma 4.2. Let . The following statements hold.
(i) SPACE(SAT(R)) = SPACE(SAT(R★)).
(ii) for every , SPACE(Min-CSP ) = SPACE(Min-CSP ).
(iii) SPACE(Exact-CSP(R)) = SPACE(Exact-CSP(R★)).
The reductions preserve the number of variables and constraints, the scope of each corresponding constraint, stream order, and simplicity. If R is symmetric, then is symmetric as well.
To prove Lemma 4.2, we first prove that the same replacement preserves the two optimum values of every instance.
Lemma 4.3. Let , let be an idempotent endomorphism of minimum image, and let . Given an -instance , let be the -instance obtained by replacing every constraint by on the same scope. Then and . In particular, is satisfiable if and only if is satisfiable.
Proof. Let be any assignment for . If is satisfied by , then , and applying the endomorphism gives . Hence and . Taking an assignment that is optimal for the relevant objective gives and .
For the reverse direction, consider any assignment taking values in . Since , every constraint is satisfied by as an -constraint if and only if it is satisfied by as an -constraint. In particular, an assignment attaining either optimum for is also an assignment for with the same value. Therefore and . Combining the two directions proves both equalities, and the satisfiability claim follows from .
We can now prove the streaming reduction. The point is that the instance level argument did not change any scope.
Proof of Lemma 4.2. Given a stream of R-constraints, replace each arriving constraint by the -constraint on the same scope and run an algorithm for . By Lemma 4.3, the final instance has the same two optimum values and is satisfiable exactly when the original instance is satisfiable. Conversely, replace every -constraint by the R-constraint on the same scope and use the same lemma again. Both transformations use only constant extra space and preserve the number of variables and constraints, the stream order, and simplicity. Finally, if R is symmetric, then is symmetric as well.
Thus, from this point on, we may reduce to the core before proving any upper or lower bound.
4.2 Hard pinnings in a core relation
For the satisfiability lower bound, Bob will want to force the variables to a chosen witness assignment s. Ordinary R-constraints may not be able to distinguish s from for an automorphism , but this ambiguity is harmless by Observation 4.1. The next lemma shows that this is the only ambiguity we need to keep.
Lemma 4.4 (Hard pinning). Let be a core relation, let be a set of variables, and let . There is an -instance on and additional variables such that
Moreover, has constraints.
The proof uses the following property of cores. Changing one domain value to another must make some tuple leave the relation.
Lemma 4.5. Let be a core relation. For every distinct , there is a tuple and a coordinate such that and .
Proof. Define by and for . The map is not injective, so it cannot be an endomorphism of the core relation . Choose such that , and replace the occurrences of in by one at a time. The initial tuple is in and the final tuple is not, so at some first replacement we obtain a tuple outside . Immediately before that replacement we have a tuple with , while . This is the required tuple.
We now build the hard-pinning instance. Intuitively, we introduce additional variables to represent the values of D, and a group of constraints forces their assigned values to form one automorphism of R.
Proof of Lemma 4.4. The first step is to introduce extra variables that represent the values in the domain, up to one common automorphism. For CUT, these are two adjacent variables, so they must receive opposite values. More formally, for every , introduce an extra variable . For every tuple , add the constraint . Next, we add constraints that pin the variables in to up to the same automorphism. For every , every , and every with , also add . Call the resulting instance . It uses extra variables and constraints.
We now prove that the added constraints give the required hard pinning. Let satisfy and define by . The first family of constraints shows that for every , so is an endomorphism of . Since is a core, is an automorphism. Fix , put , and let . Suppose . By Lemma 4.5, there are and such that and . The corresponding constraint from the second family is assigned the tuple , which is not in because is an automorphism. This contradicts that satisfies . Hence for every .
Conversely, fix any and assign and . Every constraint in both families is then assigned a tuple of the form for some , so all constraints are satisfied. The restrictions of satisfying assignments to are therefore exactly the assignments with .
The gadget therefore behaves like a genuine pinning whenever the objective is unchanged by a common automorphism. For exact optimization we need more because the goal is not merely to satisfy the whole instance. An assignment may gain constraints in the original instance by violating some constraints in the pinning gadget. We therefore need to ensure that deviating from the intended assignment loses more gadget constraints than it can gain in the original instance. We do this next.
4.3 Pinning for exact optimization
We now strengthen the construction for exact optimization. The input instance P may reward an assignment for moving away from s, so a merely satisfiable pinning gadget is not enough. Intuitively, we replace each domain value by a block of many variables. The constraints among the blocks create a large loss unless their most frequent values form an automorphism, and the constraints joining P to the blocks create a large loss whenever an original variable disagrees with s under that automorphism.
Lemma 4.6. Let be a core relation with , and fix . Let be a simple -instance on variables, with at most constraints and maximum variable degree at most . For every assignment to the variables of , there is an unweighted -instance , using the variables of and additional variables, such that is simple and
If R is symmetric and P has no repeated unordered scope, then has no repeated unordered scope. Moreover, can be constructed from R, the variable set of P, the assignment s, and the public parameters N and d. It does not depend on the constraints of P.
Proof of Lemma 4.6. Let be the variable set of , let be the number of constraints in , and let be its maximum variable degree. Thus and . We will choose a constant below and set .
The construction follows the same idea as Lemma 4.4. We first create many variables that represent each value of the domain up to one common automorphism. We then connect the variables of to these new variables. More formally, for every , create a block of new variables. For every tuple and every choice of pairwise distinct variables , add the constraint . We call these the block constraints. Next fix and put . For every , every with , and every choice of pairwise distinct variables for , add the constraint . We call these the attached constraints for . If the same ordered scope arises more than once, keep only one constraint. When is symmetric, keep only one constraint for each unordered scope. Let be the union of the block constraints and all the attached constraints.
Firstly note that the instance is simple. This is because the constraints of use only variables in , block constraints use only variables from the blocks, and an attached constraint for
uses together with variables from the blocks. The removal of duplicate scopes makes each family simple, and attached constraints for two different variables of cannot have the same scope. The number of new variables is . This construction uses the variable set of but not its constraints, as required in the final part of the lemma.
We next show the counting bound that we need. Let . Under any assignment , choose a most frequent value in each block and denote it by . This value appears at least times in . Consider any sequence of blocks and choose one variable from each block in order. At every step, at most variables are forbidden by the earlier choices. Hence, when , there are at least choices at every step and at least pairwise distinct choices in total. At most ordered choices give the same unordered scope. We may therefore fix a constant such that there are at least distinct ordered scopes, and also at least distinct unordered scopes when is symmetric. For a fixed tuple , different ordered choices give different ordered scopes of block constraints. The same is true for the attached constraints when , , and are fixed. Thus the bound continues to hold after we remove repeated scopes.
Choose large enough that , , and . Since , , , and , we then have and for every .
We can now compare every assignment with the intended one. Assigning for and assigning every variable in the value satisfies all constraints of . Therefore .
For the reverse inequality, fix an arbitrary assignment and define from the most frequent values of the blocks as above. Suppose first that is not an endomorphism of . Choose with . At least block constraints are assigned the tuple , so all of them are violated. Even if satisfies every constraint of , it has value less than , while the intended assignment has value at least . Thus any assignment that attains the optimum must have as an endomorphism and, since is a core, as an automorphism.
Thus, we only need to consider the case in which is an automorphism. Let . Fix , put , and put , so . By Lemma 4.5, there are and such that and . In every other coordinate , choose a variable from assigned its most frequent value . There are at least such attached constraints for , and each is assigned the tuple . All of them are violated because is an automorphism. The constraints counted for different variables are disjoint, so violates at least attached constraints.
The assignment has value on by Observation 4.1. Changing the variables in can affect at most constraints of , and hence . Since violates at least attached constraints, we have . Together with the intended assignment, this proves the required equality.
The exact-pinning gadget still leaves one common automorphism, but that is fine since the objective of P is invariant under it, while every other disagreement with s loses more gadget constraints than it can gain in P.
5 Satisfiability
We now characterize the one-pass streaming space needed to decide satisfiability. We will prove that after reducing to the core, the right parameter is non-redundancy. The upper bound stores a small instance with the same satisfying assignments as the constraints seen so far. For the lower bound, a maximum nonredundant instance gives the bits of an INDEX instance, and hard pinning lets Bob test the bit corresponding to his constraint.
Theorem 5.1 (Satisfiability). Let be a fixed non-trivial relation and let . The following statements hold.
(i) there is a deterministic one-pass streaming algorithm for using bits of space.
(ii) every randomized bounded-error one-pass streaming algorithm for uses bits of space.
Consequently,
We prove the two bounds for a core relation and then use Lemma 4.2 to obtain the theorem for an arbitrary relation.
The upper bound is the following known consequence of non-redundancy [SV26a, Theorem 1(a)].
Lemma 5.2 (Satisfiability upper bound). If is a core relation, then has a deterministic one-pass streaming algorithm using bits of space.
The algorithm maintains a nonredundant subinstance with exactly the same satisfying assignments as the current prefix of the stream. When a constraint arrives, the algorithm adds it and repeatedly removes any constraint whose deletion does not change the set of satisfying assignments. The stored instance therefore has at most constraints. Since is fixed, each constraint is specified by its scope using bits. There is no update-time restriction, so redundancy and final satisfiability can be checked by trying all assignments using additional bits. For a non-trivial relation, , so this is within the stated space bound. For a trivial relation, satisfiability is immediate.
It remains to prove the matching lower bound. The reduction uses the witnesses of a nonredundant instance in the way suggested by the definition of non-redundancy.
5.1 Lower bound for a core relation
In this subsection, we prove the following main theorem.
Theorem 5.3 (Satisfiability lower bound). Let be a core relation. Every randomized bounded-error one-pass streaming algorithm for uses bits of space.
Proof. The idea is simple. Alice streams a subinstance of a maximum nonredundant instance. Bob takes the witness for his queried constraint, meaning an assignment that violates this constraint and satisfies every other constraint in the nonredundant instance, and uses Lemma 4.4 to force that witness up to one automorphism. Since automorphisms preserve which constraints are satisfied, the resulting instance tells Bob whether Alice streamed the queried constraint.
Let be a constant such that the hard-pinning instance in Lemma 4.4 always uses at most additional variables. Fix a sufficiently large number , put , and let be a nonredundant -instance on variables with . If , the claimed lower bound is empty, so assume . For every , choose a witness assignment that violates and satisfies every with .
Suppose that a randomized one-pass streaming algorithm decides on variables using bits of space. We use it to solve . Alice receives a string , and Bob receives an index . Alice starts the streaming algorithm and streams exactly when . She then sends the -bit memory state to Bob. Bob resumes the algorithm from this state and appends the hard-pinning instance from Lemma 4.4. The final instance uses at most variables.
We claim that the final instance is satisfiable if and only if . Suppose first that . The assignment satisfies every constraint streamed by Alice, and it extends to a satisfying assignment of by using the identity automorphism in Lemma 4.4. Hence the final instance is satisfiable.
Now suppose that . Any assignment satisfying restricts on the original variables to for some . The assignment violates , so Observation 4.1 implies that also violates . Since Alice streamed , no assignment can satisfy the final instance. This proves the claim.
Alice and Bob use the random tape of the streaming algorithm as public randomness. Bob outputs the complement of the algorithm's answer, which recovers with the same constant error probability. We have therefore obtained a public-coin one-way protocol for with bits of communication. By Lemma 3.7, .
Finally, we need to prove that removing a constant number of variables changes non-redundancy by at most a constant factor depending only on . We start with a maximum nonredundant instance on at most variables and add unused variables so that its variable set has size exactly . Choose a uniformly random set of variables. A constraint uses at most distinct variables, so for all sufficiently large the probability that all variables in its scope are chosen is bounded below by a positive constant dependent only on . Some choice therefore keeps constraints. These constraints remain nonredundant because their original witnesses can be restricted to the chosen variables. Thus , and consequently .
We now combine the core reduction with the two core relation bounds to conclude the proof of Theorem 5.1.
Proof of Theorem 5.1. By Lemma 4.2, deciding SAT(R) has the same streaming space complexity as deciding SAT(R★). Apply Lemma 5.2 to for the deterministic upper bound and Theorem 5.3 to for the randomized lower bound. This gives both parts of the theorem and the claimed characterization.
Thus the streaming complexity of satisfiability is governed, up to the logarithmic factor in the upper bound, by the non-redundancy of the core relation.
6 Sparsification and Min-CSP
We first state our sparsification result for CSPs that are revealed in streams.
Theorem 6.1 (Sparsification). Let be a fixed non-trivial relation and let . There is a deterministic one-pass streaming algorithm which, given an unweighted stream of constraints defining an -instance on variables and with stream length , stores a weighted subinstance such that for every assignment , unsatval unsatval . The space used is .
As an immediate corollary, we obtain the following.
Corollary 6.2 (Min-CSP). Let be a fixed non-trivial relation, let , and let .
(i) there is a deterministic one-pass -approximation algorithm for Min-CSP(R) using bits of space;
(ii) every randomized bounded-error one-pass finite-factor approximation algorithm for Min-CSP(R) uses bits.
Consequently,
We first prove Theorem 6.1. The proof of Corollary 6.2 is given at the end of the section.
6.1 Sparsification
At a high level, we use a sparsify-merge-sparsify procedure for building sparsifiers in insertion-only streams. These sparsifiers have been used before in insertion-only streams; see, for instance, [McG14]. The only sparsification result we need as a black box is the following theorem of Brakensiek and Guruswami.
Fact 6.3 ([BG25]). If is a binary code and , then there is a nonnegative weight vector such that
and, for an absolute constant ,
Importantly, their proof allows z to be chosen with nonnegative integer entries. Indeed, their induction starts with unit weights and, in the recursive step, assigns weight 1 to the explicitly retained coordinates and multiplies the recursively produced weights by 3.
Subsequent work sharpened and broadened this code-sparsification framework. Lovett, Meka, and Wang [LMW26] improved the dependence on the block length from polylogarithmic to logarithmic, while Khanna, Putterman, and Sudan [KPS26] developed a unified sparsification theory for nonnegative real-valued codes.
Note that in the above, refers to the largest identity submatrix that can be found in (when its vectors are listed as rows).
We now prove the following basic fact which shows that weighted instances (with small weights) can effectively be sparsified as unweighted instances, just by repeating constraints.
Lemma 6.5 (Integral-weight reduction). Let J be an integer-weighted R-instance on at most n variables. Let
denote the total weight of the instance. For every , there is an integer-weighted subinstance such that, simultaneously for every assignment ,
and
Proof. The assertion is immediate when , so assume . Because the instance is integer weighted, we simply replace each constraint of weight by labeled unit-weight copies. Denote the resulting unweighted multiset by ; it has exactly occurrences. Now, for this unweighted CSP instance, we construct the canonical “violation code”.
We claim that
Indeed, suppose that coordinates form an identity submatrix, and let be the corresponding constraint copies. For every , the row containing the th diagonal 1 is an assignment that violates and satisfies every with . Hence is a nonredundant -instance on at most variables. Notice also that two copies of the same constraint, or two distinct constraints operating on the same ordered tuple of variables, have identical columns and therefore cannot both appear in such an identity submatrix.
Next, we apply (6.4) to . Its integer weight vector approximately preserves the number of violated copies for every assignment. To build the ultimate sparsifier, we collapse all selected copies belonging to the same occurrence of and add their weights. Since we impose no restriction on computation time, the required weight vector can be found deterministically within the stated space bound by enumerating candidate supports and integer weights and checking the inequalities over all assignments. Coordinates that are identically zero may be discarded, while every remaining selected weight is at most , so this search is finite. This then yields (6.6) and (6.7).
Now, we proceed to give the streaming construction. It is enough to consider an ultimate sparsifier accuracy of . For a larger error, run the construction with error 1/2. We then set
The algorithm maintains at most one sparsifier at each level . A level- sparsifier represents a block of exactly original constraints in the stream. Whenever the algorithm stores two sparsifiers at level , we take their weighted union and replace it by
which now constitutes a sparsifier at level . We repeat this carry operation until every level again contains at most one sparsifier.
Claim 6.11. Let be a level- sparsifier and let be the unweighted subinstance consisting of its underlying block of constraints. Then, for every assignment ,
Consequently, the union of the sparsifiers remaining at the end of the stream is a -sparsifier of the entire input.
Proof. We prove (6.12) by induction on . It is an equality at level zero. Suppose two level- sparsifiers and are merged. Since all values are nonnegative, adding their two inductive inequalities shows that their weighted union has the same multiplicative bounds relative to .
Applying multiplies the lower and upper bounds by and , respectively, thereby yielding the induction.
The schedule satisfies
Therefore
and, using for ,
This then finishes the claim.
Claim 6.13. Let . A level- sparsifier has support size at most
and each of its positive weights is an integer smaller than . On a stream of length m, the total space used is bounded by
bits.
Proof. Let
The proof of Claim 6.11 gives . If a constraint has positive weight in a level- sparsifier , then is not vacuously true (otherwise, we simply ignore the constraint), so some assignment violates it. Hence
Integrality follows from Lemma 6.5.
Put . A uniformly random assignment violates every occurrence in the support of with probability at least . Therefore Claim 6.11 also gives the total-mass bound
Now, we consider a merge that creates a level- sparsifier, where . Its input is the union of two level- sparsifiers. Adding the preceding bound for the two children gives
Lemma 6.5 and (6.10) now give
which is (6.14).
There is at most one sparsifier in each of levels. Summing (6.14) shows that the number of stored constraints across all sparsifiers is
Each constraint stores an ordered k-tuple of variable indices and an integer weight. These use bits by (6.16). The level counters and the error parameter use the remaining logarithmic term in (6.15).
Finally, using the above, we can prove the theorem.
Proof of Theorem 6.1. If , output the empty instance. Otherwise, run the binary sparsify-merge-sparsify algorithm above and, after the last arrival, output the weighted union of the sparsifiers in the occupied levels. Every retained constraint descends from a constraint in the stream, so . Claim 6.11 gives, simultaneously for every assignment ,
Claim 6.13 gives the explicit bound in (6.15), and hence the space claimed in the theorem. Lemma 6.5 makes every reduction deterministic. The input stream is read once. All later reductions operate only on stored sparsifiers. The algorithm need not know m in advance because the error schedule depends only on the level.
Proof of Corollary 6.2. Let , with core domain . If is trivial, then, since it is nonempty, . Every -instance has minimum unsatisfied value zero, and the same is true for the corresponding -instance by Lemma 4.3. The upper bound is then immediate. Hence suppose that is non-trivial.
For the upper bound, replace every arriving R-constraint by the -constraint on the same scope, as in Lemma 4.2. Set
and run Theorem 6.1 with error , obtaining a sparsifier of the resulting instance . Minimizing the pointwise sparsifier inequalities gives
Output
Lemma 4.3 gives , and therefore
The exact minimum of the stored sparsifier can be found after the stream by enumerating assignments; the model places no restriction on postprocessing time. This uses additional bits for one assignment, which is absorbed because is non-trivial and by Observation 3.3. Theorem 6.1 with parameter gives the space bound in part (i).
For part (ii), any finite-factor multiplicative approximation must output zero when and a positive number when . It therefore decides satisfiability. The lower bound follows directly from Theorem 5.1.
7 Exact-CSP
We now determine the one-pass streaming space needed to solve Exact-CSP(R) on simple instances. As in the previous sections, we first reduce R to its core. After this reduction, the answer is governed by the degree of the core relation.
The two bounds use degree in different ways. For the upper bound, the degree-d representation of lets us write the number of satisfied constraints using only terms that involve at most variables. The algorithm keeps the coefficient of each such term. When , the lower bound uses assignments and a signed sum of their values that isolates one chosen constraint. The construction in Lemma 4.6 then lets Bob recover each of these values from the exact optimum returned by the streaming algorithm.
Theorem 7.1 (Exact-CSP). Let , let have core domain , and put . The following statements hold.
(i) There is a deterministic one-pass algorithm for Exact-CSP(R) using bits on unweighted simple instances.
(ii) If , every randomized bounded-error one-pass algorithm for Exact-CSP(R) on unweighted simple instances uses bits of space.
(iii) If R is symmetric and , the lower bound holds even when no unordered scope is repeated. Consequently, when ,
When , the relation is either empty or equal to . Thus the optimum is either always 0 or is the number of constraints in the stream, and it can be found using bits on simple instances.
We prove the upper bound directly. We then prove the lower bound for a core relation and use Lemma 4.2 to obtain the result for an arbitrary relation.
The upper bound follows by keeping the coefficients of a low-degree representation of the objective. The Boolean version of this argument appears in [KPSY23, Section 1.1]. We give a generalization of their result to any finite domain.
Lemma 7.2 (Exact-CSP upper bound). Let , let have core domain , and put . There is a deterministic one-pass algorithm that solves Exact-CSP( ) on an instance with variables and constraints using bits of space. In particular, on simple instances the space is .
Proof. By Lemma 4.2, we may replace each arriving R-constraint by the -constraint on the same scope. We will describe a small representation of the value of every assignment for this -instance.
Fix a basepoint . For a variable and a value , define the indicator . This indicator is 1 exactly when gives the value , and it is 0 otherwise. By the definition of , membership in can be written as a polynomial in the indicators of coordinate values, with every monomial involving at most coordinates. In other words, there are constants such that, for every ,
The relation is fixed, so this sum has terms and all the constants depend only on . They are integers by the inclusion-exclusion description of the coefficients in Section 3.5.
Consider an arriving constraint . For this constraint, set for every in the formula above. We obtain
This formula expresses whether satisfies this constraint as a sum of products of the indicators . Each product checks the values of at most variables from the scope. If the same variable appears twice in a product with the same required value, the two identical indicators can be replaced by one. If it appears with two different required values, no assignment can make both indicators equal to 1, so the product is always zero and can be omitted.
The algorithm keeps one integer counter for every product of the form with . When a constraint arrives, the algorithm writes its satisfaction indicator using the formula above and adds each to the counter for the corresponding product. There are at most possible products. Each counter has magnitude and therefore uses bits. Identifying its variables and values uses bits. The total space is .
After the stream, the sum of the stored terms is exactly for every assignment , where is the resulting -instance. The algorithm can try all assignments, evaluate this sum, and return its maximum. There is no restriction on the time used after the stream. By Lemma 4.3, this maximum is also for the original -instance . Finally, a simple instance has at most constraints, so .
This proves the upper bound in Theorem 7.1, including the case . We now assume and prove the lower bound.
7.1 Lower bound for a core relation
We first prove the lower bound when R is already a core. This is the main result of the subsection.
Theorem 7.3 (Lower bound for Exact-CSP on a core relation). Let be a core relation and let . Every randomized bounded-error one-pass algorithm for Exact-CSP( ) on unweighted simple instances uses bits of space. If is symmetric, the statement holds with unordered simplicity.
The proof is a reduction from . Alice will associate one constraint with each vector in and stream that constraint exactly when the corresponding bit is 1. Bob must determine whether Alice streamed one chosen constraint. To do this, he will consider assignments and add or subtract their values. The next lemma shows that these signs can be chosen so that the selected constraint has a nonzero total contribution. Later, we will arrange that every other constraint has total contribution zero.
More precisely, each of the relevant coordinates will take either a basepoint 0 or one fixed value . The assignments are indexed by the sets of coordinates that receive . The expression in the next lemma is simply the value on these choices, added with a plus sign when is even and a minus sign when it is odd.
Lemma 7.4. Let and suppose . Fix any basepoint . Then there are distinct coordinates and values such that, after fixing every coordinate outside to 0, the resulting function satisfies
where for and otherwise.
Proof. For and , define . As in the upper bound, the definition of degree gives an expansion
Since the degree is , there is a set and a choice of values for which the coefficient is nonzero. Fix every coordinate outside to 0. Any term involving one of those coordinates is now zero because all the indicators in the expansion correspond to nonzero values.
Consider the signed sum in the statement one term of the expansion at a time. If a term does not use coordinate , then its value is unchanged when is added to or removed from . The sets and have opposite signs, so their contributions cancel. Therefore, only terms that use all coordinates in can remain. There are no terms of degree larger than , and among the degree- terms on , only the term requiring the values is nonzero on the chosen tuples. Its total contribution is its coefficient . Hence the number in the statement equals and is nonzero.
We now use these choices in the reduction. The queried constraint will see all of them and will therefore contribute c. Any other constraint will be unaffected by at least one of the choices. Pairing the two assignments that differ only in that choice will make its contribution cancel.
Proof of Theorem 7.3. Without loss of generality, we may assume that the coordinates from Lemma 7.4 are the first coordinates. This is because if they are not, we can permute the coordinates of and apply the same permutation to every scope without changing the streaming problem. Fix the values and the nonzero integer given by that lemma. If and , a unary relation always has a non-bjective endomorphism. For a nonempty relation, use a constant map to a value in the relation. For the empty relation, use any non-bjective map. Thus a unary core relation has a one-element domain and degree zero. It follows that implies , as required in Lemma 4.6.
Let be a positive integer and index the bits of by the vectors . For each , create a group of variables . The variable will occupy coordinate of the constraint associated with .
We also need variables for the coordinates in . These coordinates must receive the basepoint 0 in Bob's assignments. Using one variable in every constraint would give that variable degree , which is too large for Lemma 4.6. We instead create variables for every and , and use in coordinate of the constraint associated with .
Formally, for , define by setting for and for .
Alice receives and streams exactly when . Let be the resulting instance. It uses at most variables and at most constraints. Every variable belongs to at most of the constraints . Fixing the index of that variable fixes at least one coordinate of . The constraints have distinct ordered scopes because the variables from the groups determine . They also have distinct unordered scopes. Indeed, the groups are disjoint. If and had the same unordered scope, then for every they would contain the same variable from . This would give , and hence , for every . Therefore . This last fact is relevant when is symmetric.
Bob receives and wants to recover . His goal is to make see all tuples from Lemma 7.4. At the same time, every constraint with should miss at least one of the choices, so that its positive and negative contributions cancel. To achieve this, Bob changes only the variable in each group and leaves every other variable at the basepoint.
For each , Bob considers the following assignment. In group , the variable indexed by receives if , and all other variables receive 0. Every variable also receives 0. In symbols,
Consider first the queried constraint . In coordinate , it receives when and 0 otherwise, while every coordinate in receives 0. Thus, as ranges over all subsets of , this constraint sees exactly the tuples from Lemma 7.4, and its signed contribution is .
Now consider for . Choose for which . The variable always receives 0, whether or not belongs to . Hence the satisfaction of is unchanged when we replace by . These two sets have opposite signs, so the contribution of cancels. We have proved that
Summing this identity over the constraints that Alice streamed gives
This identity determines from the numbers because . The difficulty is that an Exact-CSP algorithm returns an optimum, not the value of a chosen assignment. By Lemma 4.6, Bob can append constraints that hard-pin a complete assignment and make the optimum reveal any one of these values. More precisely, for each , Lemma 4.6 gives an instance satisfying
By the final part of Lemma 4.6, Bob can construct from the public variable set, the assignment , and the bounds and . He does not need to know Alice's string. The gadget uses new variables, and is simple. When is symmetric, it has no repeated unordered scope.
Suppose now that the streaming algorithm uses bits of space. We first reduce its error so that each output is wrong with probability at most . This requires only independent copies because depends only on . Alice runs the amplified algorithm on and sends its memory state to Bob. For each , Bob starts from a copy of this state, appends , and obtains . Subtracting the known number gives . A union bound shows that all values are correct simultaneously with constant probability, after which Bob recovers from the signed sum above.
There is a constant such that every final instance uses at most variables. For any sufficiently large target value , choose and add unused variables so that the final instance has exactly variables. Then . We have obtained a randomized public-coin one-way protocol for with communication. By Lemma 3.7, .
We have proved the required lower bound when R is a core. It remains only to combine this with the reduction to the core and the upper bound proved above.
Proof of Theorem 7.1. Let . By Lemma 4.2, solving Exact-CSP( ) has the same streaming space complexity as solving Exact-CSP( ). The deterministic upper bound follows from Lemma 7.2. If , the indicator of is constant, so is either empty or equal to . This gives the last statement of the theorem. Suppose now that . The randomized lower bound follows by applying Theorem 7.3 to . The reduction to the core preserves simple instances. If is symmetric, then is symmetric and the reduction also preserves the unordered scopes. This proves all three parts of the theorem.
Thus the streaming complexity of Exact-CSP(R) on simple instances is governed, up to the logarithmic factor in the upper bound, by the degree of the core relation.
8 Conclusion and Open Questions
In this paper, we demonstrated that the core of a relation is vital for characterizing the streaming complexity of many optimization problems related to constraint satisfaction problems. We hope that this work encourages further exploration of the relationship between CSP cores and streaming complexity. We conclude with a handful of open questions.
-
Can the algorithms presented in Theorem 5.1 and Theorem 6.1 be made efficient in terms of both space and time complexity? A key challenge in this regard is that there is no general technique for efficiently detecting if a CSP instance is non-redundant. If one could find such an algorithm, it would be a major milestone in the development of algorithms for CSP kernelization. See [CJP20; LW20; Car22; BG25] for further discussion.
-
In addition, our paper only considers insertion-only streams. What if we allow both insertions and deletions?
References
[ABF26] Amir Azarmehr, Soheil Behnezhad, and Shane Ferrante. Single-Pass Streaming CSPs via Two-Tier Sampling. Apr. 2, 2026. arXiv: 2604.01575 [cs].
[ABFS26] Amir Azarmehr, Soheil Behnezhad, Shane Ferrante, and Mohammad Saneian. "Half-Approximating Maximum Dicut in the Streaming Setting". In: Proceedings of the 58th ACM Symposium on Theory of Computing. STOC 2026 (June 22–26, 2026). Association for Computing Machinery, 2026.
[Abl96] Farid Ablayev. "Lower bounds for one-way probabilistic communication complexity and their application to space complexity". In: Theoretical Computer Science 157.2 (1996), pp. 139–159. ISSN: 0304-3975. DOI: 10.1016/0304-3975(95)00157-3. URL: https://www.sciencedirect.com/science/article/pii/0304397595001573.
[BCK20] Christian Bessiere, Clément Carbonnel, and George Katsirelos. "Chain length and CSPs learnable with few queries". In: Proceedings of the AAAI Conference on Artificial Intelligence. Vol. 34-02. 2020, pp. 1420–1427.
[BG25] Joshua Brakensiek and Venkatesan Guruswami. "Redundancy is all you need". In: Proceedings of the 57th Annual ACM Symposium on Theory of Computing. 2025, pp. 1614–1625.
[BGJ+25] Joshua Brakensiek, Venkatesan Guruswami, Bart MP Jansen, Victor Lagerkvist, and Magnus Wahlström. "The Richness of CSP Non-redundancy". In: arXiv preprint arXiv:2507.07942 (2025).
[BGJ+26] Joshua Brakensiek, Venkatesan Guruswami, Bart M. P. Jansen, Victor Lagerkvist, and Magnus Wahlström. "Super-linear Lower Bounds for CSP Non-Redundancy via Shrinking Instances". In: CoRR abs/2605.19055 (2026). DOI: 10.48550/ARXIV.2605.19055. arXiv: 2605.19055. URL: https://doi.org/10.48550/arXiv.2605.19055.
[BGP26a] Joshua Brakensiek, Venkatesan Guruswami, and Aaron Putterman. "Classification of Non-Redundancy of Boolean Predicates of Arity 4". In: 32nd International Conference on Principles and Practice of Constraint Programming, CP 2026, Lisbon, Portugal, July 20-23, 2026. Ed. by Nicolas Beldiceanu. Vol. 379. LIPIcs. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026, 8:1–8:24. DOI: 10.4230/LIPICS.CP.2026.8. URL: https://doi.org/10.4230/LIPICS.CP.2026.8.
[BGP26b] Joshua Brakensiek, Venkatesan Guruswami, and Aaron Putterman. "Multiplicative Error Set System Sparsification: A Simpler Proof via Chain Length Contraction". In: 53rd International Colloquium on Automata, Languages, and Programming (ICALP 2026). Vol. 374. LIPIcs. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026, 44:1–44:17. DOI: 10.4230/LIPIcs.ICALP.2026.44.
[BGP26c] Joshua Brakensiek, Venkatesan Guruswami, and Aaron Putterman. "Separating Non-redundancy and Chain Length". In: arXiv preprint arXiv:2609.17914 (2026). URL: https://arxiv.org/abs/2609.17914.
[BGP26d] Joshua Brakensiek, Venkatesan Guruswami, and Aaron Putterman. "The Reach of Abelian Covers in Hypergraphs". In: arXiv preprint arXiv:2609.36761 (2026). URL: https://arxiv.org/abs/2609.36761.
[BKW17] Libor Barto, Andrei A. Krokhin, and Ross Willard. "Polymorphisms, and How to Use Them". In: The Constraint Satisfaction Problem: Complexity and Approximability. Ed. by Andrei A. Krokhin and Stanislav Zivný. Vol. 7. Dagstuhl Follow-Ups. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2017, pp. 1–44. DOI: 10.4230/DFU.VOL7.15301.1. URL: https://doi.org/10.4230/DFU.Vol7.15301.1.
[Bul17] Andrei A. Bulatov. "A Dichotomy Theorem for Nonuniform CSPs". In: 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017. Ed. by Chris Umans. IEEE Computer Society, 2017, pp. 319–330. DOI: 10.1109/FOCS.2017.37. URL: https://doi.org/10.1109/FOCS.2017.37.
[BŽ20] Silvia Butti and Stanislav Živný. “Sparsification of Binary CSPs”. In: SIAM Journal on Discrete Mathematics 34.1 (Jan. 2020), pp. 825–842. ISSN: 0895-4801. DOI: 10.1137/19M1242446.
[Car22] Clément Carbonnel. “On redundancy in constraint satisfaction problems”. In: 28th International Conference on Principles and Practice of Constraint Programming (CP 2022). Schloss Dagstuhl-Leibniz-Zentrum für Informatik. 2022, 11:1–11:15.
[CGSV24] Chi-Ning Chou, Alexander Golovnev, Madhu Sudan, and Santhoshini Velusamy. "Sketching Approximability of All Finite CSPs". In: Journal of the ACM 71.2 (Apr. 12, 2024). Conference version in FOCS 2021, 15:1–15:74. DOI: 10.1145/3649435.
[CGV20] Chi-Ning Chou, Alexander Golovnev, and Santhoshini Velusamy. “Optimal Streaming Approximations for All Boolean Max-2CSPs and Max-kSAT”. In: 2020 IEEE 61st Annual Symposium on Foundations of Computer Science. FOCS 2020 (Nov. 16–19, 2020). IEEE Computer Society, Nov. 2020, pp. 330–341. DOI: 10.1109/FOCS46700.2020.00039.
[CJP20] Hubie Chen, Bart MP Jansen, and Astrid Pieterse. “Best-case and worst-case sparsifiability of Boolean CSPs”. In: Algorithmica 82.8 (2020), pp. 2200–2242.
[CM77] Ashok K. Chandra and Philip M. Merlin. “Optimal Implementation of Conjunctive Queries in Relational Data Bases”. In: Proceedings of the 9th Annual ACM Symposium on Theory of Computing, May 4-6, 1977, Boulder, Colorado, USA. Ed. by John E. Hopcroft, Emily P. Friedman, and Michael A. Harrison. ACM, 1977, pp. 77–90. DOI: 10.1145/800105.803397. URL: https://doi.org/10.1145/800105.803397.
[FK17] Arnold Filtser and Robert Krauthgamer. “Sparsification of two-variable valued constraint satisfaction problems”. In: SIAM Journal on Discrete Mathematics 31.2 (2017), pp. 1263–1276.
[FMW25] Yumou Fei, Dor Minzer, and Shuo Wang. “Multi-Pass Streaming Lower Bounds for Approximating Max-Cut”. In: Proceedings of the 66th IEEE Symposium on Foundations of Computer Science. FOCS 2025 (Dec. 14–17, 2025). IEEE Computer Society, Dec. 2025.
[FMW26a] Yumou Fei, Dor Minzer, and Shuo Wang. “A Dichotomy Theorem for Multi-Pass Streaming CSPs”. In: Proceedings of the 58th ACM Symposium on Theory of Computing. STOC 2026 (June 22–26, 2026). Association for Computing Machinery, 2026.
[FMW26b] Yumou Fei, Dor Minzer, and Shuo Wang. Near-Optimal Space Lower Bounds for Streaming CSPs. Apr. 1, 2026. arXiv: 2604.01400 [cs].
[FV98] Tomás Feder and Moshe Y Vardi. “The computational structure of monotone monadic SNP and constraint satisfaction: A study through Datalog and group theory”. In: SIAM Journal on Computing 28.1 (1998), pp. 57–104.
[GVV17] Venkatesan Guruswami, Ameya Velingker, and Santhoshini Velusamy. “Streaming Complexity of Approximating Max 2CSP and Max Acyclic Subgraph”. In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. APPROX 2017 (Aug. 16–18, 2017). Ed. by Klaus Jansen, José D. P. Rolim, David Williamson, and Santosh S. Vempala. Vol. 81. LIPIcs. Schloss Dagstuhl — Leibniz-Zentrum für Informatik, Aug. 2017, 8:1–8:19. DOI: 10.4230/LIPIcs.APPROX-RANDOM.2017.8.
[HN08] Pavol Hell and Jaroslav Nesetril. “Colouring, constraint satisfaction, and complexity”. In: Comput. Sci. Rev. 2.3 (2008), pp. 143–163. DOI: 10.1016/J.COSREV.2008.10.003. URL: https://doi.org/10.1016/j.cosrev.2008.10.003.
[HN92] Pavol Hell and Jaroslav Nesetril. “The core of a graph”. In: Discret. Math. 109.1-3 (1992), pp. 117–126. DOI: 10.1016/0012-365X(92)90282-K. URL: https://doi.org/10.1016/0012-365X(92)90282-K.
[JP19] Bart MP Jansen and Astrid Pieterse. “Optimal sparsification for some binary CSPs using low-degree polynomials”. In: ACM Transactions on Computation Theory (TOCT) 11.4 (2019), pp. 1–26.
[KK15] Dmitry Kogan and Robert Krauthgamer. "Sketching cuts in graphs and hypergraphs". In: Proceedings of the 2015 Conference on Innovations in Theoretical Computer Science. 2015, pp. 367–376.
[KK19] Michael Kapralov and Dmitry Krachun. “An Optimal Space Lower Bound for Approximating MAX-CUT”. In: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing. STOC (June 23–26, 2019). Association for Computing Machinery, June 2019, pp. 277–288. DOI: 10.1145/3313276.3316364.
[KKS15] Michael Kapralov, Sanjeev Khanna, and Madhu Sudan. “Streaming Lower Bounds for Approximating MAX-CUT”. In: Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms. SODA (Jan. 4–6, 2015). Society for Industrial and Applied Mathematics, Jan. 2015, pp. 1263–1282. DOI: 10.1137/1.9781611973730.84.
[KNR99] Ilan Kremer, Noam Nisan, and Dana Ron. “On randomized one-round communication complexity”. In: Computational Complexity 8.1 (1999), pp. 21–49. DOI: 10.1007/PL00001596.
[KPS24] Sanjeev Khanna, Aaron (Louie) Putterman, and Madhu Sudan. “Code Sparsification and its Applications”. In: Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024. Ed. by David P. Woodruff. SIAM, 2024, pp. 5145–5168. DOI: 10.1137/1.9781611977912.185. URL: https://doi.org/10.1137/1.9781611977912.185.
[KPS25] Sanjeev Khanna, Aaron Putterman, and Madhu Sudan. “Efficient algorithms and new characterizations for CSP sparsification”. In: Proceedings of the 57th Annual ACM Symposium on Theory of Computing. 2025, pp. 407–416.
[KPS26] Sanjeev Khanna, Aaron Putterman, and Madhu Sudan. “A Unified Theory of Sparsification”. In: arXiv preprint arXiv:2607.16126 (2026).
[KPSY23] Gillat Kol, Dmitry Paramonov, Raghuvansh R. Saxena, and Huacheng Yu. “Characterizing the Multi-Pass Streaming Complexity for Solving Boolean CSPs Exactly”. In: 14th Innovations in Theoretical Computer Science Conference. ITCS 2023 (Jan. 10–13, 2023). Ed. by Yael Tauman Kalai. Vol. 251. LIPIcs. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023, 80:1–80:15. DOI: 10.4230/LIPIcs.ITCS.2023.80.
[KV08] Phokion G. Kolaitis and Moshe Y. Vardi. “A Logical Approach to Constraint Satisfaction”. In: Complexity of Constraints - An Overview of Current Research Themes [Result of a Dagstuhl Seminar]. Ed. by Nadia Creignou, Phokion G. Kolaitis, and Heribert Vollmer. Vol. 5250. Lecture Notes in Computer Science. Springer, 2008, pp. 125–155. DOI: 10.1007/978-3-540-92800-3_6. URL: https://doi.org/10.1007/978-3-540-92800-3_6.
[LGE26] Victor Lagerkvist, Johanna Groven, and Leif Eriksson. “Towards Single Exponential Time for Temporal and Spatial Reasoning: A Study via Redundancy and Dynamic Programming”. In: Fortieth AAAI Conference on Artificial Intelligence, Thirty-Eighth Conference on Innovative Applications of Artificial Intelligence, Sixteenth Symposium on Educational Advances in Artificial Intelligence, AAAI 2026, Singapore, January 20-27, 2026. Ed. by Sven Koenig, Chad Jenkins, and Matthew E. Taylor. AAAI Press, 2026, pp. 14287–14294. DOI: 10.1609/AAAI.V40I17.38443. URL: https://doi.org/10.1609/aaai.v40i17.38443.
[LMW26] Shachar Lovett, Raghu Meka, and Yimeng Wang. “Moonflowers and Efficient Code Sparsification”. In: arXiv preprint arXiv:2605.08676 (2026).
[LW20] Victor Lagerkvist and Magnus Wahlström. “Sparsification of SAT and CSP problems via tractable extensions”. In: ACM Transactions on Computation Theory (TOCT) 12.2 (2020), pp. 1–29.
[McG14] Andrew McGregor. “Graph stream algorithms: a survey”. In: ACM SIGMOD Record 43.1 (2014), pp. 9–20.
[SSSV25] Raghuvansh Saxena, Noah G. Singer, Madhu Sudan, and Santhoshini Velusamy. "Streaming Algorithms via Local Algorithms for Maximum Directed Cut". In: Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms. SODA 2025 (Jan. 12–15, 2025). Society for Industrial and Applied Mathematics, 2025, pp. 3392–3408. DOI: 10.1137/1.9781611978322.111.
[STV25] Noah G. Singer, Madhur Tulsiani, and Santhoshini Velusamy. Sketching Approximations and LP Approximations for Finite CSPs Are Related. Sept. 23, 2025. arXiv: 2509.17926 [cs].
[STV26] Noah Singer, Madhur Tulsiani, and Santhoshini Velusamy. Optimal Single-Pass Streaming Lower Bounds for Approximating CSPs. Apr. 9, 2026. arXiv: 2604.08731 [cs].
[SV26a] Amatya Sharma and Santhoshini Velusamy. “Characterizing Streaming Decidability of CSPs via Non-Redundancy”. In: 34th Annual European Symposium on Algorithms (ESA 2026). Ed. by Philip Bille, Seth Pettie, and Sabine Storandt. Vol. 388. Leibniz International Proceedings in Informatics (LIPIcs). Dagstuhl, Germany: Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026, 131:1–131:20. ISBN: 978-3-95977-445-1. DOI: 10.4230/LIPIcs.ESA.2026.131. URL: https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.131.
[SV26b] Amatya Sharma and Santhoshini Velusamy. “Non-Redundancy of Low-Arity Symmetric Boolean CSPs”. In: CoRR abs/2605.14007 (2026). DOI: 10.48550/ARXIV.2605.14007. arXiv: 2605.14007. URL: https://doi.org/10.48550/arXiv.2605.14007.
[Vel25] Santhoshini Velusamy. Near-Optimal Streaming Approximation for Max-DICUT in Sublinear Space Using Two Passes. Dec. 22, 2025. arXiv: 2512.19521 [cs].
[Vu24] Hoa T Vu. “Revisiting maximum satisfiability and related problems in data streams”. In: Theoretical Computer Science 982 (2024), p. 114271.
[Zhu20] Dmitriy Zhuk. “A proof of the CSP dichotomy conjecture”. In: Journal of the ACM (JACM) 67.5 (2020), pp. 1–78.
A Literals and Non-Constant-Satisfiable CSPs
In this section, we show how our general CSPs core characterization recovers the two earlier results of Sharma and Velusamy [SV26a]. We first consider CSPs with literals and show that passing their shift/sign-closed language to the core does not change non-redundancy. We then show that a positive Boolean constraint language is a core exactly when it is not constant-satisfiable.
A constraint language is a fixed finite set of relations over the same domain. A map on the domain is an endomorphism of if it preserves every relation in , and is a core if every such endomorphism is an automorphism. As for one relation, we obtain core( ) by choosing an endomorphism with minimum image and restricting every relation to that image.
Without loss of generality, we claim that the core reduction and the satisfiability arguments also work for a fixed finite constraint language. In the core reduction, each arriving S-constraint, for , is replaced by the -constraint on the same scope. The satisfiability hard-pinning construction may similarly use constraints from any relation in . We will use this extension below without further comment.
A.1 Literal CSPs as a special case
We first show that our general CSPs core characterization recovers the previous characterization for CSPs with literals. In the literal model, the domain is , and every constraint may apply an arbitrary additive shift to each coordinate. For any relation and any , write . Thus, for a relation , its shift closure is
Then a CSP with literals over is exactly a positive CSP over . We write for the largest number of constraints in a nonredundant positive -instance on variables. Similarly, denotes non-redundancy in the literal model over .
For a constraint language , let denote satisfiability for positive -instances. The following corollary records the language version of our satisfiability characterization.
Corollary A.1 (Satisfiability for constraint languages). For every fixed finite constraint language ,
The upper bound is deterministic, and the lower bound holds for randomized bounded-error one-pass algorithms.
Proof. The core reduction replaces each relation in by its restriction to the core domain and preserves satisfiability and streaming space exactly, as in Lemma 4.2. For a core language, the upper bound maintains a nonredundant subinstance with the same satisfying assignments, exactly as in Lemma 5.2. If the language contains a nonempty proper relation, disjoint constraints from this relation show that its non-redundancy is , so the space needed to try assignments is within the stated bound. Otherwise every relation is empty or full, and satisfiability can be decided by checking whether an empty-relation constraint appears. For the lower bound, the hard-pinning construction and the INDEX reduction in Theorem 5.3 work with constraints from any relation in the core language. This proves the two bounds.
The following lemma shows that passing to the core does not change non-redundancy for any shift-closed language.
Lemma A.2. Let be a finite constraint language over that is closed under coordinatewise shifts. Then .
Proof. First, we may assume that every relation in is nonempty. Empty relations are fixed by every shift and every endomorphism. Moreover, if a nonredundant instance contains an empty-relation constraint, then it can contain no other constraint. Empty relations therefore give the same trivial size-one instances before and after passing to the core, so we may discard them. If no relations remain, the statement is immediate.
For a relation and a coordinate , let denote the relation obtained by adding to coordinate , where is the th unit vector. Define
Thus H is the subgroup of shifts that are invisible to every relation.
Choose one representative from each coset of , let be the set of representatives, and let map every element to the representative of its coset. Since , for every and every tuple ,
In particular, is an endomorphism.
We claim that is a core endomorphism. Let be any endomorphism and write . We show that
Indeed, fix , , and an arbitrary tuple . Write for the tuple obtained by applying to every coordinate of . Since is shift-closed, , and . Applying gives , or equivalently . Thus translation by maps into itself. Since translation is a bijection and is finite, it preserves . Comparing two tuples , that differ only in coordinate , taking the values and there, shows that translation by preserves . Since and were arbitrary, (A.4) follows.
Now suppose that . Then . Hence an endomorphism cannot identify elements from distinct H-cosets. Every endomorphism therefore has image size at least , while has exactly this image size. Thus is a core endomorphism.
Let . For , write . By (A.3),
Moreover, the map is injective. If , then (A.5) implies .
Now take any positive -instance , and replace every relation by , obtaining a -instance . This correspondence preserves the number of constraints. Moreover, (A.5) shows that an assignment and its image under have the same satisfaction pattern, constraint by constraint. Consequently, if is a witness for a constraint in , then is a witness for the corresponding constraint in . Hence is nonredundant whenever is nonredundant.
Conversely, every -instance can be lifted to a -instance using the unique preimage of each relation, and every witness assignment over remains a witness after this lift. Thus nonredundant instances of the same size exist in both directions, proving .
Applying the lemma to the shift closure gives the desired connection to the literal model.
Corollary A.6. For every , . Hence our general core characterization recovers the previous streaming characterization for CSPs with literals.
Proof. A literal -instance is exactly a positive -instance, so . Since is shift-closed, Lemma A.2 gives . Together with Corollary A.1, this recovers the one-pass satisfiability characterization for CSPs with literals.
A.2 Non-constant-satisfiable Boolean CSPs
We next recover the previous characterization for positive Boolean CSPs. A Boolean constraint language is constant-satisfiable if there is a value such that the constant tuple belongs to every relation in . Equivalently, assigning the value to every variable satisfies every positive instance over . The next lemma shows that excluding this case is exactly the same as requiring the language to be a core.
Lemma A.7. Let be a Boolean constraint language in which every relation is nonempty. Then is a core if and only if it is not constant-satisfiable.
Proof. Every non-bijective map from to itself is constant. The constant map with value is an endomorphism of exactly when belongs to every relation in . One direction is immediate. For the other, apply the constant map to any tuple in each nonempty relation. Thus has a non-bijective endomorphism exactly when it is constant-satisfiable.
It follows that every non-constant-satisfiable Boolean constraint language is already a core. Applying our general CSP core characterization therefore directly recovers the positive Boolean result of Sharma and Velusamy.