Monochromatic Triangles, Triangle Listing and APSP
Abstract: One of the main hypotheses in fine-grained complexity is that All-Pairs Shortest Paths (APSP) for -node graphs requires time. Another famous hypothesis is that the $3$SUM problem for integers requires time. Although there are no direct reductions between $3$SUM and APSP, it is known that they are related: there is a problem, -convolution that reduces in a fine-grained way to both, and a problem Exact Triangle that both fine-grained reduce to. In this paper we find more relationships between these two problems and other basic problems. P\u{a}tra\c{s}cu had shown that under the $3$SUM hypothesis the All-Edges Sparse Triangle problem in -edge graphs requires time. The latter problem asks to determine for every edge , whether is in a triangle. It is equivalent to the problem of listing triangles in an -edge graph where , and can be solved in time [Alon et al.'97] with the current matrix multiplication bounds, and in time if . We show that one can reduce Exact Triangle to All-Edges Sparse Triangle, showing that All-Edges Sparse Triangle (and hence Triangle Listing) requires time also assuming the APSP hypothesis. This allows us to provide APSP-hardness for many dynamic problems that were previously known to be hard under the $3$SUM hypothesis. We also consider the previously studied All-Edges Monochromatic Triangle problem. Via work of [Lincoln et al.'20], our result on All-Edges Sparse Triangle implies that if the All-Edges Monochromatic Triangle problem has an time algorithm for $\epsilon>0$, then both the APSP and $3$SUM hypotheses are false. We also connect the problem to other ``intermediate'' problems, whose runtimes are between and , such as the Max-Min product problem.
Paper Prompts
Sign up for free to create and run prompts on this paper.