When Does Sparsity Help for -Independent Set in Hypergraphs and Other Boolean CSPs?
Abstract
Consider the fundamental task of finding independent sets of (constant) size in a given -node hypergraph. How much is the time complexity affected by the sparsity of the input, i.e., the number of hyperedges ? Turán’s theorem implies that the problem is trivial if for some . Above that threshold (i.e., if for some ), we give a perhaps surprising algorithm with running time (for divisible by 3), which is essentially conditionally optimal for all , assuming the -clique and 3-uniform hyperclique hypotheses (here, denotes the matrix multiplication exponent). In fact, we obtain a more detailed time complexity that is sensitive to the arity distribution of the hyperedges.
To study such phenomena in more generality, we study the time complexity of finding solutions of (constant) size in sparse instances of Boolean constraint satisfaction problems, where and denote the number of variables and constraints, respectively. Our results include, among others:
-
an essentially full classification of the influence of sparsity for Boolean constraint families of binary arity. Of particular technical interest is a conditionally tight algorithm for the family consisting of the binary NAND and the binary Implication constraints, with a running time of .
-
the identification of a large class of constraint families that exhibits a sharp phase transition: there is a threshold such that the problem is trivial for , but requires essentially brute-force running time for , assuming the 3-uniform hyperclique hypothesis.
In general, we observe a rich landscape of time complexities. Notably, in many cases the combination of constraints display higher time complexity than either constraint alone.
Keywords and phrases:
Multivariate algorithmics, fine-grained complexity theory, classification theorems, algorithmic hypergraph theoryCategory:
Track A: Algorithms, Complexity and GamesFunding:
Marvin Künnemann: Research partially supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 462679611.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis ; Theory of computation Problems, reductions and completenessEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
How does sparsity of the input influence a problem’s time complexity? From an algorithmic perspective, such questions have been well studied particularly for graph-theoretic problems, as many real-world graphs are rather far from dense. Indeed, for a problem solvable in time on -node graphs, a natural target to shoot for is an -time algorithm, where denotes the number of edges in the graph. Such an algorithm recovers the time bound of in the dense case , while significantly improving the running time if – we shall refer to such a situation as a natural interpolation. For many graph problems, natural interpolation is indeed achievable. Much less is known on the hardness side. Nevertheless, a growing body of work establishes conditional lower bounds ruling out natural interpolation for several fundamental problems. Notable examples include: approximate Diameter and Radius [26, 4], All-Edges Triangle Detection [25, 30], APSP and related problems [21], -Dominating Set for [15] and more; see also [5].
The goal of this work is to investigate the rich interplay of the input sparsity and the resulting time complexity. Particularly, we focus on cases in which instead of achieving a natural interpolation, the running time exhibits a complex relationship with the sparsity – possibly overshooting or undershooting natural interpolation, or both. Predominantly, we investigate problems beyond graphs, specifically, hypergraph problems as well as constraint satisfaction problems. In such problems, objects (nodes or variables) interact in a combination of relationships (hyperedges of different arity or constraints of different types). If each relation or constraint has arity at most , then the sparsity (i.e., the total size of these relationships) is bounded by . In these cases, for an -time solvable problem, we denote the natural interpolation as a running time of the form . We shall see several cases in which this running time is partially achievable, using conditionally optimal algorithms that carefully consider the combination of relationships.
1.1 Result I: Conditionally Optimal -Independent Set in Sparse Hypergraphs
As our first focus, we consider the -Independent Set problem (-IS) in hypergraphs: Given a (hyper)graph , determine if there is a set of size that contains no (hyper)edge of , i.e., for all . Already in graphs, -IS is central to algorithmic graph theory: by complementing the graph, we obtain the classic -clique problem, perhaps the best known -complete problem.111Note however, that complementing a sparse graph generally yields a dense graph, so that the influence of sparsity differs between -clique and -IS. Generalizing to hypergraphs, we obtain a significantly more expressive problem. Indeed, for -uniform hypergraphs, it is equivalent (up to sparsity) to the 3-uniform hyperclique problem. This problem is generally considered to be more difficult than -clique; the corresponding 3-uniform hyperclique hypothesis has seen a surge of applications recently, see [21, 2, 7, 20, 8, 13, 23, 16, 17], among others (see below for further discussion). As a further case in point, note that the fairly recent hypergraph container method (see, e.g., [6]) gives a combinatorial tool for independent sets in well-behaved hypergraphs, which has found various applications, including in algorithm design [32].
We ask: Let and be constants. What is the time complexity of -Independent Set in -node hypergraphs with hyperedges?
Let us first consider the case of graphs rather than hypergraphs. Here, , and without taking sparsity into account, -IS is well known to be solvable in time [24]222Whenever is divisible by 3; in other cases, the running time is only slightly higher.; the -clique hypothesis postulates that this running time is essentially optimal. However, taking sparsity into account, the problem becomes trivial when , i.e., : This already follows from Turán’s Theorem, which implies that any -node graph with at most edges contains an independent set of size .
The case for -uniform hypergraphs with can be resolved analogously: Without taking sparsity into account, no substantial improvement over brute-force running time is known (see [3] for subpolynomial-factor improvements), and the 3-uniform hyperclique hypothesis postulates that this is best possible. While generalizing Turán’s theorem to hypergraphs is challenging (see, e.g., [18]), a simple greedy argument establishes that -IS in -uniform hypergraphs with (i.e., the hypergraph contains hyperedges) is again trivial. Thus, for any arity , the -IS problem in -uniform hypergraphs is non-trivial only for the hardest, dense case of .333The case of is trivial for all and trivially solvable in linear time in the input if .
We thus turn to the general case of hypergraphs with possibly mixed-arity hyperedges. We may assume without loss of generality that , since we may simply ignore any edge of arity at least . The problem is trivial only for . How does the problem’s complexity behave in between? E.g., how quickly can we solve -IS when we have, say, edges (of binary arity) and hyperedges of arity 3?
In this case, we determine a conditionally optimal running time of , which is intermediate between and . More generally, we obtain the following result.
Theorem 1.
Assuming the Clique and the 3-uniform Hyperclique Hypothesis, the optimal running time for -Independent Set in -node hypergraphs with hyperedges, each of arity at least , is
up to a factor of the form for some independent of .
For an illustration, we refer to Figure 2(a) – note that for , and only there, natural interpolation is obtained. In fact, we give a much more detailed statement that takes the arity distribution into account, see Section 1.3.
Technically, our result relies on a very careful combination of ideas, which overcomes the challenge of incorporating different ways to handle edges of different arity. The main technical obstacle here is that the well known -clique algorithm in graphs due to Nešetřil and Poljak [24] is not well compatible with including any hyperedge of arity at least . However, exploiting that it can be used to count all -cliques as well, we seek to count all -cliques on the (binary-arity) edges, and subtract from this count the number of solutions including any of the hyperedges of larger arity. To solve this task, we present a careful argument based on inclusion-exclusion and sparse witness listing in Section 1.3.444We remark that the idea of using inclusion-exclusion in combination with fast clique/triangle counting has been used in prior work, e.g., to obtain a -time algorithm for counting 3-ISes [29, Footnote 2]. In our work, we exploit these ingredients further to overcome a different challenge, i.e., handling the presence of mixed-arity edges.
We now turn towards a vastly more general setting, specifically, the class of Boolean constraint satisfaction problems, which includes the -IS problem in hypergraphs as just one of many interesting examples.
1.2 Result II: On the Influence of Sparsity for Boolean CSPs
Boolean constraint satisfaction has long served as a challenge for understanding the precise limits of our algorithmic and complexity-theoretic methods. The extensive list of such works includes classifications of tractability in terms of P vs NP-complete [27, 33, 10], counting complexity [9], parameterized complexity [22, 11], approximability [19] and many more. We wish to explore how sparsity affects the fine-grained time complexity investigated in [20].
Formally, we define, for any finite constraint family and , the algorithmic problem : given a set of constraints, each formed by applying some function on a set of pairwise distinct Boolean variables chosen from , determine whether there exists an assignment that sets precisely variables to true and satisfies all constraints. For a singleton family , we also write . Throughout the paper, we consider as a constant independent of .
Note that this class contains -IS in -uniform hypergraphs with hyperedges as , where . It also contains -IS in mixed-arity hypergraphs as .
We ask: What determines the influence of sparsity for detecting size- solutions of Boolean CSPs?
Generally speaking, we obtain a full555Full with regard to the effects of sparsity, as the classification is not tight for , for which the precise complexity is unclear in the dense case already. classification for constraint families consisting exclusively of functions of binary arity. For higher-arity constraint functions, we give a large subclass of CSPs exhibiting a precise cutoff point: for sparser instances, the problem is trivial, for denser instances, it is essentially as hard as the dense case.
Classification for Binary Constraint Families
Without taking sparsity into account, previous works [22, 20] establish the following regimes within the Boolean constraint families: (1) problems fine-grained equivalent to , (2) problems fine-grained equivalent to where , and (3) FPT problems.
For the two central hard CSPs, it is not too difficult to establish the following baselines (see Section 4):
-
1.
, i.e., -IS in graphs, is trivial if and has complexity if , assuming the clique hypothesis.
-
2.
is trivial if and has time complexity uniformly for all , where , assuming the clique hypothesis.
We find that surprisingly, the combined constraint family has higher time complexity for all than either IMPL or NAND individually.
Theorem 2.
Assuming that the clique hypothesis holds. The optimal time complexity for is for some independent of .666By slight use of notation, in the introduction we write to express existence of an algorithm with running time and a conditional lower bound of .
Thus, for , while is trivial and has a subexponential time complexity , the combination of both constraints has an exponential time complexity that is a natural interpolation of the -IS running time.
The above theorem consists of two parts: (1) a conditional lower bound and (2) a matching algorithm. The conditional lower bound is strikingly simple: We can introduce IMPL-constraints enforcing that any satisfying assignment with nonzeroes chooses its nonzero variables from a set of size . On , we embed an arbitrary, possibly dense instance as long as . By choosing , we can reduce from a -clique instance in an -vertex graph, yielding a conditional lower bound of , as desired.
The corresponding upper bound does not follow as easily. To beat time when the input contains only few NAND- and IMPL-constraints, one might hope for a “reversal” of the reduction in the conditional lower bound: is it possible to quickly “peel off” most of the variables so that a small set of variables survives? Unfortunately, possibly intricate interactions between IMPL- and NAND-constraints prevent simple preprocessing schemes. Instead, we perform a careful combination of arguments: We first preprocess the instance to obtain a structured setting in which crucially each variable implies at most one other variable. We use this structured setting to group the variables, yielding a win-win argument: Either (1) there exists a “large” group with few NAND constraints, and we can detect a solution within this single group greedily, or (2) all groups are “small”. In this case, we carefully reduce to an almost-balanced Triangle Detection instance. For more details, we refer to Section 1.3 and the full proof in Section 4.
Interestingly, we observe that among the binary constraint families, the regime of is the only new regime that emerges. Specifically, we arrive at the following classification, illustrated in Figure 1.
Theorem 3 (Sparsity Classification for Binary Constraint Families).
Let be a family consisting exclusively of binary constraint functions. For , can be solved in . Furthermore,
-
If for some non-empty family , the optimal time complexity of for is , assuming the clique hypothesis.
-
If , then is trivial for . For , the optimal time complexity is , assuming the clique hypothesis.
-
If , but , then the optimal time complexity of for is with , assuming the clique hypothesis.
-
Finally, if , then can be solved in time for all .
We prove the first part in Section 4, deferring details on the remaining parts to the full paper due to space constraints.
Towards Higher-Arity Constraint Families: Phase Transition At Triviality Cutoff
Classifying the influence of sparsity for higher-arity constraint families becomes significantly more challenging. Already the question how many constraints are minimally required to define a non-trivial instance is not obvious. We shall however see, that for a large class of constraint families, this quantity is decisive to understand the time complexity, as we observe a phase transition at this triviality cutoff.
Specifically, we say that is non-trivial if there are infinitely many NO instances in ; conversely, it is trivial, if for all sufficiently large , any instance of with variables is a YES instance. For any constraint family , we define the triviality cutoff as the smallest such that is non-trivial. Thus, every -variable instance with sufficiently large and constraints from contains a solution, while there exists infinitely many instances with constraints from that do not contain a solution with nonzeroes.
We first introduce a parameter that describes this triviality cutoff. Specifically, let denote the smallest weight of an assignment violating , i.e., . Defining , we can establish the triviality cutoff as .
Theorem 4 (Triviality Cutoff).
Let be any finite constraint family. The problem with is non-trivial. Conversely, if , then there exists such that any instance of with at least variables admits a satisfying assignment of weight .
For a large class of constraint families, we obtain a sharp phase transition from trivial instances to requiring brute force running time, assuming the 3-uniform hyperclique hypothesis. For an illustration, see Figure 2.
Theorem 5 (Phase Transition).
Let be a constraint family. If , then is trivial for . For , it requires time assuming the -uniform hyperclique hypothesis.
To future work, we leave the challenge of settling the influence of sparsity for constraint families with . As witnessed by the mixed-arity -IS family (which has ), settling such families can become technically quite demanding.
1.3 Detailed Results and Technical Overview
We highlight our main technical contributions, and provide a more detailed overview of our results. We begin by presenting our algorithmic contributions for -Independent Set problem in -hypergraph and developing the core framework that will also be useful in extending to general hypergraphs of higher arity.
Algorithm for -Independent Set in Sparse -Hypergraphs
Let be a -Hypergraph777That is, each hyperedge contains at most vertices. with vertices and hyperedges. Let be the underlying graph of , obtained by removing all hyperedges of arity from . Notice that any -independent set in is also a -independent set in . We refer to the -independent sets in as potential solutions. Formally, let denote the set of all independent sets of size in and let denote the set of all false solutions, i.e. the set of all potential solutions that contain a hyperedge in . We begin with a simple observation that has a -independent set if and only if .
Counting the potential solutions, i.e., the value can be done via the classical algorithm of Nešetřil and Poljak [24], yielding an bound (if is divisible by ). Hence, the main algorithmic challenge is to efficiently count the invalid solutions, namely those potential solutions that violate at least one hyperedge constraint in . We now turn our attention to this task. For any subset of hyperedges , let denote the set of all potential solutions that contain all vertices spanned by ; that is, for each , the induced hypergraph contains all hyperedges in . Let denote the set of all hyperedges in that contain at least three vertices. We can now observe that, by definition of , we have
and for any non-empty set
This gives us a natural way to compute the size of via the inclusion-exclusion principle as follows.
However, naively enumerating all sets and computing fails to improve upon trivial brute-force algorithm, even in the sparse regime . To circumvent this issue, we notice that a lot of the “higher-order” terms in the inclusion-exclusion formula are either irrelevant, or redundant. Specifically, such terms either (1) span more than vertices (irrelevant), or (2) can be obtained by appropriately guessing a “lower-order” term (redundant). Case in point: consider a set that contains many edges. The only way that spans vertices is if these vertices induce a clique of size in . However, in that case, for any set that contains pairwise non-intersecting hyperedges will span the same vertex set and consequently
This observation will allow us to drastically reduce the number of inclusion–exclusion terms that must be considered, and form the basis of our improved counting algorithm. Intuitively, it brings us to the following win-win scenario: let of size . Then either (i) the hyperedges in are “clustered together” and we can get away by guessing a smaller set ( is redundant), or (ii) the hyperedges in are not “clustered together”, but they span more than vertices, so we never have to consider at all ( is irrelevant). However, the issue of “clustered edges” cannot be resolved by simply restricting our outer sum to stop at , as that would generally lead to a lot of double counting. To bypass this problem, the idea is to impose a total ordering on the hyperedges of . Intuitively, whenever a hyperedge intersects another hyperedge with , the algorithm recognizes that all the independent sets containing have been accounted for in another iteration that contains , so it avoids counting them again. It remains to formalize and implement this idea efficiently, which we address next.
Avoiding double counting.
Fix an arbitrary total order on the hyperedges of . For any nonempty set of hyperedges , let denote the set of all potential solutions of size that satisfy the following two conditions.
-
1.
contains all vertices spanned by the hyperedges in .
-
2.
For every and every hyperedge with , if , then does not contain .
We claim that replacing by in the inclusion-exclusion formula preserves correctness. In particular, we show that
The rough idea is as follows. Consider any . By definition, the induced subhypergraph contains at least one hyperedge (and possibly as many as ). Let be the minimum hyperedge in with respect to the ordering ; that is, for every edge , we have . By construction, satisfies both defining conditions of , and hence . Particularly, this shows that . The containment in the other direction follows immediately by noticing that for each , we have and as argued previously, . Together, these inclusions imply the claimed equality.
We further observe that any set containing more than hyperedges either: (1) spans more than vertices, or (2) contains two hyperedges such that . In the first case, since , no independent set of size can contain . Also, in the second case either , or . In either case, any potential solution in containing both and violates the second condition in the definition of . In particular, in both cases the set is empty. Consequently, all “higher-order” inclusion-exclusion terms corresponding to vanish. Combining this with the observations above, we have the following refinement of our inclusion-exclusion formula.
The remaining challenge is that, unlike the original sets , the sets do not admit an obvious efficient counting algorithm. We are now going to prove that we can indeed compute their sizes efficiently.
Computing .
Fix a set and consider any hyperedge . Suppose that there exists a hyperedge such that (i) , and (ii) . In this case, any potential solution containing would violate the second condition in the definition of , and we enforce this restriction via the following reduction.
If , we delete the unique vertex in from the hypergraph. If instead , we replace the hyperedge by an edge connecting the two vertices in . Let be the hypergraph obtained from by iterating this reduction over all hyperedges . We show that this transformation preserves exactly the desired solutions, namely that . Recall that the set can be computed by running the Nešetřil, Poljak [24] -clique algorithm on an appropriate subgraph of the underlying graph of . This yields an efficient procedure for computing and consequently an efficient way to compute . By implementing this carefully, we can bound the running time for computing this value as follows (assuming is divisible by , otherwise we get a small polynomial overhead).
For more details on the implementation, as well as the detailed computation on this bound, we refer the reader to Section 3.1.
We complement this algorithmic result with matching conditional lower bounds. Using a technique that we call sparse embedding, that maps a small dense instance of -Hyperclique Detection in -uniform hypergraphs into a sparse instance of -Independent Set Detection in -hypergraphs, we show that for any density , , no algorithm can run in time , unless the -Uniform Hyperclique Hypothesis fails. Moreover, the lower bound of is inherited directly from hardness of -Independent Set Detection in graphs. Combining these two lower bounds establishes the conditional optimality of our algorithm across the entire sparsity spectrum. 888When for some , every such instance is a trivial yes-instance as a consequence of Turán’s theorem.
Extending the Algorithm to General -Hypergraphs
Let be an -Hypergraph for some , with vertices and hyperedges, where each is the number of hyperedges of arity . The goal is to extend the algorithmic framework of detecting -Independent Sets in -Hypergraphs to this more general setting. We first show that a straightforward extension of the techniques developed for -hypergraphs yields an improvement over the brute-force running time for general hypergraphs, provided that for every arity (and consequently ). More precisely, we prove the following proposition, which generalizes the algorithm for -hypergraphs and provides a unified upper bound for -Independent Set in general -hypergraphs.
Proposition 6.
Given any -hypergraph with vertices and edges, for every divisible by , there is an algorithm deciding if contains a -independent set in time .
On a high level, we are taking the same blueprint as in the -hypergraph case: we count the potential solutions and subtract the number of invalid solutions. Recall,
where denotes the underlying graph of . While the value can still be computed efficiently, evaluating becomes more complicated as we increase the arity. As before, we employ the inclusion-exclusion formula, and eliminate the higher order terms in the same way, by using the following formula.
However, the main difficulty lies in computing . Recall that for -hypergraphs, this was achieved by imposing an ordering on hyperedges, and applying the two simple reduction rules,thereby reducing the problem to computing a small independent set in an appropriate graph. For hypergraphs of higher arity, however, when two hyperedges intersect, the set might contain more than two vertices, so simply adding an edge of arity no longer suffices. A natural generalization of the ”type ” reduction rule is to replace by a hyperedge spanning . While this preserves correctness of the construction, crucially, it reduces the problem only to detecting an independent set in hypergraphs, and we can no longer apply the matrix-multiplication-based algorithm to improve upon trivial runtime (see [21] for a detailed discussion). Fortunately, we can circumvent this issue by observing that the new hypergraph has strictly smaller arity than , allowing us to apply induction on the arity, with the -hypergraph algorithm as a base case.
In fact, we improve upon this by using a combination of the three techniques (1) partitioning the hyperedges of into “sparse” and “dense” components (2) applying the inclusion-exclusion procedure described above to the sparse part (3) using sparse witness enumeration to handle the dense parts. With a careful implementation of these techniques, and by addressing several technical obstacles, we can finally prove the following upper bound for the -Independent Set problem on general hypergraphs.
Theorem 7 (-Independent Set Algorithm for Higher Arity Hypergraphs).
Given any -hypergraph with vertices and edges of arity (for each ), there is an algorithm deciding if contains a -independent set for any divisible by in time
Perhaps surprisingly, we show that this upper bound is essentially tight: unless either the -Clique Hypothesis, or the -Uniform Hyperclique Hypothesis fails, no significantly faster algorithm is possible. More specifically, by employing appropriate notions of sparse and dense embeddings, we can prove the following theorem.
Theorem 8 (Arity-Sensitive Lower Bound).
Let be arbitrary and be the number of vertices of any given -hypergraph. For any , let for any be the number of hyperedges of arity of the input hypergraph. Then:
-
1.
(Clique LB) There is no algorithm solving -Independent Set problem in -hypergraphs in time , assuming the -Clique Hypothesis.
-
2.
(-Uniform Hyperclique LB) For no such that is there an algorithm solving the problem in time , assuming the -Uniform Hyperclique Hypothesis.
-
3.
(-Uniform Hyperclique LB) For no such that is there an algorithm running in , assuming the -Uniform Hyperclique Hypothesis.
Beyond Independent Sets: Boolean CSP
To study the effect of sparsity systematically in a more general class of problems, we turn to the class of Boolean Constraint Satisfaction Problems (CSPs). Recall that -Independent Set in -hypergraphs can be viewed as a special case of Boolean CSP over the constraint family . We formally define this class of problems as follows.
Definition 9 (Boolean Constraint Satisfaction Problem ).
Let be a finite Boolean constraint family (i.e. a set of functions ). Given a set of Boolean constraints on variables , each of the form , where and , the problem asks if there exists an assignment satisfying , that sets precisely variables to .
We begin by considering the special case binary constraints families. Perhaps surprisingly, for every such family , and for all values of , we obtain a complete classification of the problem : we design an algorithm running in time , and show its conditional optimality under the -Clique Hypothesis. To obtain such a complete classification across the entire sparsity spectrum, we show that instances of for values , admit a linear time algorithm: . The classification becomes much more interesting when we consider the regime . In particular we prove the following classification theorem, which is a more formal version of Theorem 3.
Theorem 10 (Classification of Boolean CSPs over Binary Families).
Let be a family of binary Boolean constraints. Then, for any we obtain the following classification:
-
1.
(Linear Regime) If contains neither NAND nor IMPL, then can be solved in linear time .
-
2.
(Subexponential Regime, [20]) If contains IMPL, but not NAND, then can be solved in time , furthermore, unless the -clique hypothesis fails, there is no algorithm solving in time , for any and some independent of .
-
3.
(-IS Regime) If , then for any , every instance is trivial. For , there is an algorithm solving in time (for any divisible by ). Furthermore, any algorithm running in would refute the -Clique Hypothesis.
-
4.
(Clique Regime) If for some nonempty family , can be written as , then we can solve in time (for all sufficiently large divisible by ), where depends only on . Moreover, any algorithm running in would refute the -Clique Hypothesis.
By a clever branch and bound approach given in [22], we can generally resolve -invalid constraint functions, essentially allowing to reduce constraint families in the linear regime to which in turn can be reduced to a bounded subset-sum instance. For the Subexponential Regime, a fairly simple argument suffices to show that can be reduced to , thus it is unlikely to be improved by exploiting sparsity. Note that this regime is not fully resolved in the dense case, this gap therefore transfers to the sparse setting as well. For the -IS Regime, triviality follows by Turán’s Theorem. The precise details on Regime 1-3 can be found in the full version of the paper.
The Clique Regime turned out to be the most interesting. On the hardness side, we can reduce the dense case to the sparse case using only NAND and one further binary constraint. We reduce the density by blowing up the number of variables accordingly, carefully ensuring that the additional variables are not part of a solution. Here we once again refer to the full version. For the algorithm, we essentially argue that for each family that belongs to the clique regime we can reduce any instance of efficiently to , so it suffices to construct an efficient algorithm for this particular family. Our algorithm proceeds in a few steps that when implemented carefully, yield the desired running time.
-
(1)
(Reduction to Restricted Instance) We first leverage the directed reachability structure induced by IMPL constraints: intuitively, vertices with many descendants are cheap to guess, since including such a vertex in a solution forces all descendants to be set as well. By systematically branching on these vertices and propagating their implications, we can reduce to a restricted instance, where each vertex has at most a single descendant (besides itself) in the directed graph induced by IMPL constraints.
-
(2)
(Grouping and Sparsity Cutoff) For such restricted instances, we introduce a grouping technique to partition the variables according to their local IMPL structure. Each group corresponds to a small implication neighborhood that can be treated as a single unit. We then establish a sparsity cutoff: if any group is sufficiently large and therefore sufficiently sparse with respect to NAND constraints, we immediately find a solution using Turán-like arguments. As a consequence, we can bound the size of each group and the total number of groups, reducing the problem to a core instance.
-
(3)
(Removing the -Cycles and Reduction to Triangle Detection) For our last step, we want our Implication-induced graph to be acyclic. We prove the remaining -cycles can only be contained within a small subset of vertices and thus eliminated efficiently. Then, we show how to distribute the groups in a balanced manner and encode valid group selections as vertices in an auxiliary graph. This construction reduces the problem to Triangle Detection, allowing us to leverage matrix multiplication to achieve the desired running time.
Triviality and Hardness beyond Binary Constraints
In the binary setting we provide an (almost) complete classification of all binary families, condensing the limited landscape into few interesting regimes. We tackle families of unbounded arity by observing a specific parameter that is exploitable both in terms of lower and upper bounds. Precisely, we consider the minimum weight required to violate a constraint function , i.e. let and .
Equipped with this parameter, we generalize Turan’s theorem [28] to Boolean CSPs of any arity via a constructive algorithm and define a surprisingly simple gadget to proof hardness conditioned on the (uniform) (hyper)clique hypothesis.
Triviality.
Turan’s theorem states for constant and large , there always exists a -independent set in a simple graph with edges. Finding this independent consists of two steps: Since , there exists a vertex with neighbors. Adding this vertex and removing its neighborhood for correctness, we obtain a sparse graph again, allowing us to perform this procedure times in total.
Despite the simplicity of this approach it is not trivial how this transfers to high arity Boolean CSPs: What is a low degree variable in this context and how do we handle its neighborhood? To answer this, we consider the density of each constraint function individually: We define for all such that where denotes the number of -constraints. With this we can state the precise triviality cutoff:
Theorem 11 (Special Triviality).
Let be any finite constraint family and an instance of with for all . Then is trivial and we can find a size- solution in time .
The algorithm is a generalization of the one described above for -independent set in sparse graphs. We include a low degree variable into the solution, adjust its neighborhood, and then repeat the process further times. The sparsity requirement implies a variable that is contained in at most many -constraints for all with and contained no -constraints with . To adjust the neighborhood we replace each constraint with a new constraint . This maintains both correctness and our desired sparsity property. For the full proof we refer to the arXiv version.
Hardness.
To prove hardness and non-triviality, a rather simple gadget suffices. For some function of arity we can can place -constraints on all size- subsets of variables. One can then prove this gadget resembles , as all satisfying assignments set any number of variables that to true. Carefully applying this gadget then allows us to both prove non-triviality and also conditional lower bounds based on the -(hyper)clique hypothesis.
Theorem 12 (Non-Triviality and Clique-Hardness).
Let be any finite constraint family.
-
is non-trivial for
-
If then requires time assuming the -clique hypothesis.
-
If then requires time assuming the -uniform -hyperclique hypothesis.
2 Preliminaries
For any natural number , we denote with the set of integers . Further, for any set and any number we denote with the set of all subsets of of size . With we denote the set of all subsets of of size . An -hypergraph is any hypergraph such that . An -uniform hypergraph is any -hypergraph with .
Hardness Assumptions.
The -clique problem asks, given a graph on vertices, to determine whether there exists a -clique of size such that . Dating back to [24], one can detect -cliques time for divisible by . Here, denotes the matrix multiplication exponent, such that we can multiply two matrices in time .
This problem generalizes to -uniform hypergraphs, asking to find a set of vertices such that every tuple is contained in a hyperedge – but algebraic approaches such as fast matrix multiplication fail in this setting (for a discussion of this phenomenon, see [21]). As such, no algorithm with substantial improvements over brute-force time is known (see [3] for subpolynomial-factor improvements). In fact, any polynomial improvement would result in improved algorithms for problems such as Max--SAT [31] that are widely believed to be hard.
In fine-grained complexity theory, the -clique problem has been widely used to obtain conditional lower bounds, such as e.g. [1, 12, 14]. Over the recent years, the -uniform -hyperclique problem has seen increasing popularity as well, yielding applications for a variety of problems [21, 2, 7, 20, 8, 13, 23, 16, 17].
As such we use the following hypothesis concerning -(hyper)clique detection:
Hypothesis 13 (-Uniform -Hyperclique Hypothesis).
Let and .
-
1.
For there is no -time algorithm detecting a -clique in a graph (also referred to as -clique hypothesis).
-
2.
For , there is no -time algorithm detecting a -clique in a -uniform hypergraph.
3 -Independent Set in Non-Uniform Hypergraphs
This is our main technical section. It is dedicated to constructing algorithms and lower bounds for detecting a -independent set in (non-uniform) -hypergraphs.999I.e., each hyperedge has arity at most . Note that throughout this section we treat edges as subsets of vertices and use standard set-theory notation (e.g. , , ). We begin by considering the simplest family of -hypergraphs, namely the -hypergraphs.
3.1 -Independent Set in -Hypergraphs
In this section, we prove the following two main theorems.
Theorem 14 (Algorithm for -Independent Set Problem in -Hypergraphs).
Given any -hypergraph with vertices and edges, there is an algorithm deciding whether contains a -independent set in time for all divisible by .
Moreover, we show that this running time is essentially optimal, unless at least one of the two established hypotheses fails.
Theorem 15 (Conditional Lower Bounds for -Independent Set Problem in -Hypergraphs).
There is no algorithm solving -Independent Set problem in -hypergraphs in time:
-
1.
, unless the -Clique Hypothesis fails.
-
2.
, unless the -Uniform Hyperclique Hypothesis fails. Moreover, this holds even when restricting , for any .101010Recall that Turan’s theorem implies that if , any instance is a trivial yes-instance. Hence, this theorem gives us a full landscape of the complexity of the problem in terms of both number of vertices and number of (hyper)edges.
We dedicate the first part of this section to constructing our algorithm and proving Theorem 14. Our approach consists of first counting the potential solutions, which are in principle all independent sets on the underlying (-uniform) graph of (intuitively, in the first step we ignore arity- hyperedges), and then using inclusion-exclusion to count all false potential solutions, by which we understand those independent sets of the underlying graph of which contain an arity- hyperedge in . While this approach yields a correct solution, a naive implementation is unfortunately too slow. Intuitively, if many arity -edges are clustered together, we would spend too much time counting the higher-order terms in the inclusion-exclusion formula. The last step of our algorithm takes care of this by making sure that we never double-count the solutions from such clustered hyperedges, assuring that we only need to compute the higher order terms of the “nicely structured” hyperedges, yielding the desired running time. We start with the following simple observation.
Observation 16.
Let be a -hypergraph and be the underlying graph of (obtained by removing all arity- hyperedges). Let be the set of all -independent sets in , and let be the set of all independent sets in that contain a hyperedge in . Then contains an independent set of size if and only if
Recall that the classical clique counting approach computes in time . It remains to argue that we can also compute efficiently. The following lemma gives us a way to compute via the standard inclusion-exclusion-based approach. In particular, for a subset of hyperedges , we can count how many independent sets in contain and then make sure we avoid double-counting. For any subset of hyperedges , let denote the set of all independent sets of size in that contain all vertices spanned by .
Lemma 17 (Invalid Solutions via the Inclusion-Exclusion Principle).
Let be a -hypergraph and let denote the set of all arity- hyperedges in . Then the following equality holds.
Proof.
The statement follows directly from the inclusion-exclusion principle, by observing that and that for any non-empty set we have
It is easy to see that naively enumerating all sets and computing the term is infeasible. However, we can observe that a lot of these sets can be seen as redundant by a more clever implementation. For instance, the only way that a set that contains edges is a part of an independent set of size in is that the vertices that it spans form a hyperclique in the underlying -uniform hypergraph of . However, in that case, we can observe that there is a subset of that is of a much smaller size, in particular contains only hyperedges, that spans the same vertex set as . Intuitively, if a particular solution contains many clustered hyperedges, by a naive implementation of our inclusion-exclusion approach, we will enumerate many edge sets that span the same set of vertices, hinting at the fact that we are doing a lot of redundant work. In particular, this means that we only need to look at the sets that contain up to many edges, as long as we can guarantee that the independent sets spanned by these clustered hyperedges are never double counted. We dedicate the rest of this section to formally introducing the notion of the clustered edges and showing how to avoid this redundant work.
Handling intersecting edges
Let us first introduce some useful notation and terminology. We will introduce all of the concepts in a more general setting, namely for -hypergraphs for , in order to be able to reuse it in the following sections, but note that in this section we will only focus on the special case of . Denote by the set of all hyperedges of arity , and analogously, denote by the set of all hyperedges of arity at least . Let be any fixed bijection. We use to obtain a total ordering of the hyperedges of . That is, we write if . Let be edges that intersect (share common vertices) and assume that . Intuitively, our goal is to efficiently remove all independent sets that contain from for any that contains to avoid the double counting of the sets spanned by the overlapping edges. We now formally prove that this does not destroy any valid solutions. For any set of hyperedges , let be the set of all independent sets of the underlying graph of size satisfying the following two conditions.
-
1.
contains all the vertices spanned by the hyperedges in .
-
2.
(Handling the overlapping hyperedges) For any edge and any edge , such that , if , then does not contain .
We now prove that we can safely replace the sets in our inclusion-exclusion formula by the sets .
Lemma 18.
Let be an -hypergraph and let denote the set of all arity- hyperedges in . Then the following equality holds.
Proof.
We prove this by demonstrating set containment in both sides. Notice that one side is straightforward, as for each we have , and hence:
where the last equality follows directly from definition of the set . To show the other containment, let be any set in . It suffices to show that there exists some such that is contained in . By definition, the subhypergraph contains at least one hyperedge. Let be the first hyperedge contained in with respect to the ordering , i.e. for any hyperedge contained in , we have . Then clearly is contained in .
The idea of replacing by in our inclusion-exclusion formula is to avoid double counting the clustered independent sets, hence we should expect that many higher order terms will vanish. Indeed, we now prove that this is indeed the case.
Lemma 19.
Let be an -hypergraph and let denote the set of all arity- hyperedges in . Let be any set of at least hyperedges. Then .
Proof.
First notice that if for every pair of hyperedges it holds that , then spans at least many vertices, and vacuously cannot be contained in any independent set of size in the underlying graph, hence . Now assume that contains two edges that share at least one common vertex. Then each independent set in violates Condition 2 (since either , or vice versa, in either case any independent set that contains both violates Condition 2) in the definition of and hence is not contained in , implying that is empty.
We can now formally rewrite our inclusion-exclusion formula in terms of sets .
Corollary 20.
Let be an -hypergraph and let denote the set of all arity- hyperedges in . Then the following equality holds.
We now proceed to argue that we can construct the sets efficiently.
Constructing the sets
Given two hyperedges such that , we distinguish between two types of intersections between them. We say that the intersection of two hyperedges is type if (1) , and (2) . The idea to construct the sets is to recursively guess an arity- edge and then for all edges in such that the intersection is type , we span the vertex set by a hyperedge of arity in all the descending branches. This ensures that we never consider the independent sets that violate Condition 2 in the definition of the set . More formally, we consider the following algorithm.
Lemma 21.
Let be a -hypergraph and let . Let be the hypergraph returned by the resolve-intersections function in Algorithm 1. Then .
Proof sketch.
Let . We show that satisfies Condition 2 in the definition of . Consider any edge such that for some , we have and . If , then the procedure removes the unique vertex in from , so cannot be contained in . If , the procedure inserts an arity- edge between the two vertices of , and thus no independent set in the underlying graph of can contain . The remaining cases are impossible: implies , while implies . Hence .
Conversely, let . Suppose that . Since is independent in the underlying graph of , this can only happen if contains some edge such that and for some . But then violates Condition 2, contradicting .
We can now use Algorithm 1 as a subroutine in our main algorithm. Recall that in a hypergraph , a matching of size is a set of pairwise non-intersecting hyperedges. Also, for simplicity, assume that is divisible by , and we will handle the remaining cases later in the analysis.
It remains to prove the correctness of this algorithm and analyse the running time.
Lemma 22.
Given a -Hypergraph with vertices and hyperedges, Algorithm 2 returns the value correctly in time .
Proof.
Correctness follows directly from Lemma 21 and Corollary 20.
We now prove the upper bound on the running time.
Recall that there are at most matchings of size , and that each such matching by definition spans precisely many vertices in -hypergraphs.
In particular, the set consists of many “guessed” matching vertices and many vertices outside .
If , we can find the remaining many vertices by running the standard matrix-multiplication algorithm on the underlying graph .
Constructing (and consequently the underlying graph ) takes at most time.
Note that if , we only need to check that forms an independent set in the underlying graph , which we can do in time (Line 8).
This allows us to bound the total running time as follows.
4 Binary Constraint Families and The Effects Of Sparsity
Due to space constraints, we dedicate this section to proving the upper bound for solving constraint families of the form in time , i.e. the positive part of Regime 4 of Theorem 10. Here denotes the minimum number of ones required to satisfy a constraint function . Formally we let and .
Theorem 23.
Let be a non-empty binary constraint family. Then we can solve in time .
Preliminaries.
Let us recall and introduce some Csp specific notations and results. For a singleton constraint family , we also write . Denote by the variables of an instance of , then we define its primal graph where and . Furthermore, we call a satisfying assignment for a solution if it is of weight exactly . For a Boolean constraint function , we use with as a shorthand for .
A constraint function is -valid/invalid if it is satisfied/violated by the all -assignment. Moreover, we say a constraint family is -valid if this holds for all its constraints and -invalid if it contains at least one -invalid constraint.
We generally assume our constraint families to be finite not containing trivial constraint functions, as they can be easily resolved. In the following, we will refer to Boolean constraint functions as known from propositional logic, i.e. , , , and so on.
We will only give the algorithm for the family of , as we can reduce all other binary constraint families to this case. For full details on the remaining cases, refer to the full version of the paper.
Theorem 24.
There is an algorithm solving in time .
In the following, we will consider the primal graph of the given instance, distinguishing between and IMPL edges in . With regard to the IMPL-edges, we define for a vertex its descendants and ancestors . In particular, we have that and . We also extend this notation to sets of vertices s.t. . We compute for every vertex and . During the computation, if we find two vertices such that there exists a -edge on , we can safely remove and all its ancestors from the graph. Further, we can remove any vertex such that .
After this preprocessing step, we observe the following: due to the nature of IMPL constraints, vertices that have many descendants are cheap to guess: Consider the vertices . Setting some to yields at least more variables , which we need to set to . Find the complete proof in the full version of the paper.
Hence, let us only consider the hard case where for all it holds that . We call instances that satisfy this condition restricted.
Theorem 25 (Restricted ).
Let be an instance of such that no two variables share both an IMPL- and NAND2-constraint and for all . Then there is an algorithm solving in time .
Proof.
We devise this algorithm in 3 steps. First, we exploit the restriction on IMPL-constraints to partition the variables into groups. Each group induces a solution within itself, if it is sufficiently large and sparse w.r.t. -edges. Otherwise, we can assume that such a group must be dense which allows us to bound its size. Then,by grouping vertices cleverly (depending on IMPL-edges), we reduce to triangle detection.
The following observation regarding sparsity of large vertex sets is crucial for our algorithm:
Claim 26.
Let with for all , then there exists an independent set w.r.t. -edges.
Proof.
Assume were dense, i.e. the count of edges is
where , which is a contradiction as the graph has only edges in total. Thus we can find a -independent set in in linear time. In particular, this bounds the size of any where IMPL edges allow us to (almost) freely choose vertices from by . Otherwise we can find a -independent set directly in time .
We note that we can efficiently remove all -cycle w.r.t. IMPL edges, as their number can be bounded using Claim 26.
Reducing to Triangle Detection.
We partition into sets
-
,
-
and
-
.
For any vertex to be part of a solution, there exists some that is necessarily contained as well. In this regard, we call the set of ancestors of and itself its group. Conversely, if we know that some is part of a solution, then including any subset of its group is consistent with the IMPL constraints. Vertices in are isolated w.r.t. IMPL-edges.
Using Claim 26, we can bound the size of a group. If a group is too large, there is solution fully contained therein. We have the following properties for groups:
-
P1
, thus there are at most many groups.
-
P2
Each group has size at most
To see this, observe that there are no IMPL-edges between vertices in , and no IMPL-edges contained in , as the restricted instance promises that for all . Lastly, we also consider as a group as well, where we can bound its size by Claim 26.
We exploit these properties by guessing how many groups (at most ) a solution is composed of. Further, we guess how many vertices of each group (containing at most vertices) are part of the solution, thus it suffices to consider at most subsets per group. To this end, the algorithm guesses a partition of into groups of sizes with , to eventually reduce to an instance of triangle detection. First, consider the case of at most two groups.
.
We guess at most two groups in time . It remains to find a -independent set among the many vertices in the groups . We distribute these vertices into three parts, where each part corresponds to a choice of many vertices and reduce to a -partite triangle instance of size . Two vertices in the triangle instance are adjacent, if the corresponding sets of vertices in the original instance form an independent set. The total time of guessing the groups, constructing and solving the triangle instance is bounded by .
.
We first prove the following claim, stating that we can distribute the groups corresponding to in three bins in such a way that the imbalance of any pair of bins is at most ; then we can use the remaining two groups to fix the imbalance:
Claim 27.
Let . Then there exists a distribution of into three bins such that for all pairs it holds that
We omit the proof due to spaces reasons, but this can be verified by a simple greedy argument.
Let be the sums of values from the bins respectively. We construct the triangle instance according to the claim. This yields an instance of triangle detection where each set corresponds to all valid choices of vertices that adhere to our group assignment choice. Again, two vertices are adjacent if their vertex choices form a valid independent set.
To fix a potentially large imbalance, we use the remaining vertices to balance these partitions. We guess the remaining two groups in (i.e. assume that the corresponding vertices in are part of the solution) time and distribute the vertices of their group, where exactly many of those vertices have to be part of a solution. The new triangle instance will have each node correspond to a subset of vertices of the original instance, where the vertices are obtained by taking the union of groups as in the claim, and the vertices come from the remaining two groups, distributed to minimize the imbalance. Indeed, we can reduce the imbalance between buckets to . See that the imbalance after distributing is at most . Thus, we distribute the contribution and of our guessed groups to the imbalanced buckets. As we have at least many vertices available and the imbalance is at most , we can distribute the contributions up to an imbalance of . We obtain buckets of size at most and the triangle instance is of size . The total time thus is bounded . Performing this for every partition of , we arrive at a total runtime of
References
- [1] Amir Abboud, Arturs Backurs, and Virginia Vassilevska Williams. If the current clique algorithms are optimal, so is valiant’s parser. SIAM J. Comput., 47(6):2527–2555, 2018. doi:10.1137/16M1061771.
- [2] Amir Abboud, Karl Bringmann, Holger Dell, and Jesper Nederlof. More consequences of falsifying SETH and the orthogonal vectors conjecture. In Ilias Diakonikolas, David Kempe, and Monika Henzinger, editors, Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, pages 253–266. ACM, 2018. doi:10.1145/3188745.3188938.
- [3] Amir Abboud, Nick Fischer, and Yarin Shechter. Faster combinatorial k-clique algorithms. In José A. Soto and Andreas Wiese, editors, LATIN 2024: Theoretical Informatics - 16th Latin American Symposium, Puerto Varas, Chile, March 18-22, 2024, Proceedings, Part I, volume 14578 of Lecture Notes in Computer Science, pages 193–206. Springer, 2024. doi:10.1007/978-3-031-55598-5_13.
- [4] Amir Abboud, Virginia Vassilevska Williams, and Joshua R. Wang. Approximation and fixed parameter subquadratic algorithms for radius and diameter in sparse graphs. In Robert Krauthgamer, editor, Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, Arlington, VA, USA, January 10-12, 2016, pages 377–391. SIAM, 2016. doi:10.1137/1.9781611974331.CH28.
- [5] Udit Agarwal and Vijaya Ramachandran. Fine-grained complexity for sparse graphs. In Ilias Diakonikolas, David Kempe, and Monika Henzinger, editors, Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, pages 239–252. ACM, 2018. doi:10.1145/3188745.3188888.
- [6] József Balogh, Robert Morris, and Wojciech Samotij. The method of hypergraph containers. In Proceedings of the International Congress of Mathematicians (ICM 2018), pages 3059–3092, 2018. doi:10.1142/9789813272880_0172.
- [7] Karl Bringmann, Nick Fischer, and Marvin Künnemann. A fine-grained analogue of Schaefer’s theorem in P: dichotomy of existsˆk-forall-quantified first-order graph properties. In Amir Shpilka, editor, 34th Computational Complexity Conference, CCC 2019, New Brunswick, NJ, USA, July 18-20, 2019, volume 137 of LIPIcs, pages 31:1–31:27. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.CCC.2019.31.
- [8] Karl Bringmann and Jasper Slusallek. Current algorithms for detecting subgraphs of bounded treewidth are probably optimal. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021, Glasgow, Scotland (Virtual Conference), July 12-16, 2021, volume 198 of LIPIcs, pages 40:1–40:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPIcs.ICALP.2021.40.
- [9] Andrei A. Bulatov. The complexity of the counting constraint satisfaction problem. J. ACM, 60(5):34:1–34:41, 2013. doi:10.1145/2528400.
- [10] Andrei A. Bulatov. A dichotomy theorem for nonuniform csps. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 319–330. IEEE Computer Society, 2017. doi:10.1109/FOCS.2017.37.
- [11] Andrei A. Bulatov and Dániel Marx. Constraint satisfaction parameterized by solution size. SIAM J. Comput., 43(2):573–616, 2014. doi:10.1137/120882160.
- [12] Yi-Jun Chang. Hardness of RNA Folding Problem With Four Symbols. In Roberto Grossi and Moshe Lewenstein, editors, 27th Annual Symposium on Combinatorial Pattern Matching (CPM 2016), volume 54 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1–13:12, Dagstuhl, Germany, 2016. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CPM.2016.13.
- [13] Mina Dalirrooyfard, Ce Jin, Virginia Vassilevska Williams, and Nicole Wein. Approximation algorithms and hardness for n-pairs shortest paths and all-nodes shortest cycles. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022, Denver, CO, USA, October 31 - November 3, 2022, pages 290–300. IEEE, 2022. doi:10.1109/FOCS54457.2022.00034.
- [14] Mina Dalirrooyfard and Virginia Vassilevska Williams. Induced cycles and paths are harder than you think. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022, Denver, CO, USA, October 31 - November 3, 2022, pages 531–542. IEEE, 2022. doi:10.1109/FOCS54457.2022.00057.
- [15] Nick Fischer, Marvin Künnemann, and Mirza Redzic. The effect of sparsity on k-dominating set and related first-order graph properties. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4704–4727. SIAM, 2024. doi:10.1137/1.9781611977912.168.
- [16] Nick Fischer, Marvin Künnemann, Mirza Redzic, and Julian Stieß. The role of regularity in (hyper-)clique detection and implications for optimizing boolean csps. In Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis, editors, 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, volume 334 of LIPIcs, pages 78:1–78:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ICALP.2025.78.
- [17] Cheng-Hao Fu, Andrea Lincoln, and Rene Reyes. Worst-case and average-case hardness of hypercycle and database problems. In Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis, editors, 52nd International Colloquium on Automata, Languages, and Programming, ICALP 2025, Aarhus, Denmark, July 8-11, 2025, volume 334 of LIPIcs, pages 81:1–81:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ICALP.2025.81.
- [18] Peter Keevash. Hypergraph turan problems. Surveys in combinatorics, 392:83–140, 2011.
- [19] Sanjeev Khanna, Madhu Sudan, and David P. Williamson. A complete classification of the approximability of maximization problems derived from boolean constraint satisfaction. In Frank Thomson Leighton and Peter W. Shor, editors, Proceedings of the Twenty-Ninth Annual ACM Symposium on the Theory of Computing, El Paso, Texas, USA, May 4-6, 1997, pages 11–20. ACM, 1997. doi:10.1145/258533.258538.
- [20] Marvin Künnemann and Dániel Marx. Finding small satisfying assignments faster than brute force: A fine-grained perspective into boolean constraint satisfaction. In Shubhangi Saraf, editor, 35th Computational Complexity Conference, CCC 2020, July 28-31, 2020, Saarbrücken, Germany (Virtual Conference), volume 169 of LIPIcs, pages 27:1–27:28. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.CCC.2020.27.
- [21] Andrea Lincoln, Virginia Vassilevska Williams, and R. Ryan Williams. Tight hardness for shortest cycles and paths in sparse graphs. In Artur Czumaj, editor, Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 1236–1252. SIAM, 2018. doi:10.1137/1.9781611975031.80.
- [22] Dániel Marx. Parameterized complexity of constraint satisfaction problems. Comput. Complex., 14(2):153–183, 2005. doi:10.1007/s00037-005-0195-9.
- [23] Surya Mathialagan, Virginia Vassilevska Williams, and Yinzhan Xu. Listing, verifying and counting lowest common ancestors in dags: Algorithms and fine-grained lower bounds. In Mikolaj Bojanczyk, Emanuela Merelli, and David P. Woodruff, editors, 49th International Colloquium on Automata, Languages, and Programming, ICALP 2022, Paris, France, July 4-8, 2022, volume 229 of LIPIcs, pages 94:1–94:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ICALP.2022.94.
- [24] Jaroslav Nešetřil and Svatopluk Poljak. On the complexity of the subgraph problem. Commentationes Mathematicae Universitatis Carolinae, 026(2):415–419, 1985. URL: http://eudml.org/doc/17394.
- [25] Mihai Pătraşcu. Towards polynomial lower bounds for dynamic problems. In Leonard J. Schulman, editor, Proceedings of the 42nd ACM Symposium on Theory of Computing, STOC 2010, Cambridge, Massachusetts, USA, 5-8 June 2010, pages 603–610. ACM, 2010. doi:10.1145/1806689.1806772.
- [26] Liam Roditty and Virginia Vassilevska Williams. Fast approximation algorithms for the diameter and radius of sparse graphs. In Dan Boneh, Tim Roughgarden, and Joan Feigenbaum, editors, Symposium on Theory of Computing Conference, STOC’13, Palo Alto, CA, USA, June 1-4, 2013, pages 515–524. ACM, 2013. doi:10.1145/2488608.2488673.
- [27] Thomas J. Schaefer. The complexity of satisfiability problems. In Richard J. Lipton, Walter A. Burkhard, Walter J. Savitch, Emily P. Friedman, and Alfred V. Aho, editors, Proceedings of the 10th Annual ACM Symposium on Theory of Computing, May 1-3, 1978, San Diego, California, USA, pages 216–226. ACM, 1978. doi:10.1145/800133.804350.
- [28] P Turán. On an extremal problem in graph theory. mat. fiz. lapok 48 436–452, 1941.
- [29] Virginia Vassilevska Williams, Joshua R. Wang, Richard Ryan Williams, and Huacheng Yu. Finding four-node subgraphs in triangle time. In Piotr Indyk, editor, Proc. Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2015), pages 1671–1680. SIAM, 2015. doi:10.1137/1.9781611973730.111.
- [30] Virginia Vassilevska Williams and Yinzhan Xu. Monochromatic triangles, triangle listing and APSP. In Sandy Irani, editor, 61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, pages 786–797. IEEE, 2020. doi:10.1109/FOCS46700.2020.00078.
- [31] R. Ryan Williams. Algorithms and resource requirements for fundamental problems. PhD thesis, Carnegie Mellon University, USA, 2007. AAI3274191.
- [32] Or Zamir. Algorithmic applications of hypergraph and partition containers. In Barna Saha and Rocco A. Servedio, editors, Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, pages 985–998. ACM, 2023. doi:10.1145/3564246.3585163.
- [33] Dmitriy Zhuk. A proof of CSP dichotomy conjecture. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 331–342. IEEE Computer Society, 2017. doi:10.1109/FOCS.2017.38.
