Manuscript Offprint
arXiv:2610.420123SUM Made Simpler (Without Matrix Multiplication), -SUM Hypothesis Refuted for Odd , and Real 3SUM/APSP Derandomized
Abstract
Recently, a truly subquadratic algorithm for the 3SUM problem and a truly subcubic algorithm for the all-pairs shortest paths (APSP) problem were found by Anthropic, as reported by Alman and Vassilevska Williams (2026). These algorithms relied on a new subroutine for rectangular matrix multiplication with selected output entries, which was obtained by modifying known matrix multiplication techniques of Schönhage (1981) and Coppersmith (1982).
-
We present a different truly subquadratic randomized algorithm for 3SUM for integer inputs. It completely avoids the use of matrix multiplication but instead modifies known dynamic programming algorithms for subset convolution and the zeta transform, which rely only on simple subtraction tricks via inclusion-exclusion (and does not even require fast Fourier transform), and so is conceptually easier to understand (the whole solution is about 5 pages long).
-
Following a similar approach, we obtain a randomized algorithm for -SUM for integer inputs for odd constant in time for some constant , disproving the -SUM Hypothesis for all odd .
-
Existing reductions from 3SUM and APSP to selected-entries rectangular matrix multiplication were randomized in the case of real-valued input. We present new deterministic reductions, yielding a truly subquadratic deterministic algorithm for Real 3SUM and a truly subcubic deterministic algorithm for Real APSP.
1 Introduction
Recently, Anthropic found the first truly subcubic algorithm for the all-pairs shortest paths (APSP) problem and the first truly subquadratic algorithm for the 3SUM problem, as announced and presented by Alman and Vassilevska Williams [AW26]. The key to the breakthrough lies in a faster algorithm for the following matrix problem: computing user-selected (also called “wanted”) entries of the product of an and matrix, when is subquadratic. Let denote its time complexity. Rephrased in graph-theoretical terms, this rectangular matrix problem includes a lopsided version of the “#All-Edges (AE) Sparse Triangle” problem: we are given a tripartite graph where the left and right parts and have vertices and the middle part has vertices, and there are edges between and ; we want
*Siebel School of Computing and Data Science, University of Illinois at Urbana–Champaign, USA ({tmc, itakura3, zm25, yyu51}@illinois.edu) to count the number of triangles containing , for each edge between and . Their main subroutine established, for any sufficiently small constants , the existence of some such that
for all . For example, for all .
The new subroutine was obtained by modifying known matrix multiplication techniques of Schönhage [Sch81] and Coppersmith [Cop82] to achieve output-sensitivity. This is surprising, since matrix multiplication is usually used as a black box in algorithmic applications, and there were not many successful prior examples when modifying matrix multiplication algorithms helped.
Once this matrix problem has been solved, faster algorithms for both APSP and 3SUM—and, more strongly, the Exact Triangle problem—follow more or less immediately, by using or adapting existing reductions from APSP/3SUM/Exact Triangle to AE Sparse Triangle [Pät10, KPP16, VX20, CVX22, CX24, FKP24]. There are multiple options, and some of these reductions already hold in the lopsided setting. In the integer input case, deterministic reductions were known [CX24, FKP24]; however, in the real case, only randomized reductions were known [CVX22].
Several improvements have been found just days after the initial announcement of the breakthrough but in this new era, conceptual understanding and better exposition are perhaps more important than small incremental improvements. In this manuscript, we address two themes: 1. simplifying these algorithms, to make the ideas more broadly accessible, and 2. derandomizing the algorithms in the real input case.
3SUM simplified. Shortly after the announcement of the breakthrough, Karingula and Lovett [KL26] have already presented a simplification (found with the help of swarms of agents) of the main subroutine for selected-entries rectangular matrix multiplication (with slightly worse exponents). The original explanation of the subroutine [AW26], requiring about 18 pages, has now been cut down to 7 pages (not counting the remaining reduction from 3SUM/APSP to lopsided AE Sparse Triangle, which would require at least 2 more pages).
While the usage of matrix multiplication tools for APSP is inevitable as APSP is equivalent to -matrix multiplication, an interesting question is whether further simplifications are possible for 3SUM (to the general public, 3SUM seems to attract even more attention than APSP). Our intuition is this: 3SUM and the easier -convolution problem are about sequences of numbers, whereas Exact Triangle and -matrix multiplication are their matrix counterparts (see Figure 1). Sequence problems are more often solved using convolutions or fast Fourier transform (FFT) instead of matrix multiplication. For example, known algorithms for the bounded monotone -convolution problem [CL15, CDXZ22] mostly used FFT, whereas known algorithms for bounded monotone -matrix multiplication [BGSV19, CDXZ22] used fast matrix multiplication.
A natural thought is to try to modify existing algorithms for standard convolution such as FFT, Karat-suba's, and Toom and Cook's, which if doable might be easier than modifying matrix multiplication algorithms such as Schönhage's and Coppersmith's, to those who are not experts in matrix multiplication machineries. Even if possible, it still seems to require effort to achieve output-sensitivity: for all these recursive algorithms, it is nontrivial to analyze which nodes of the recursion tree are necessary for the selected output entries (see all the figures needed in the descriptions by both Alman and Vassilevska Williams [AW26] and Karingula and Lovett [KL26]).
The notation hides polylogarithmic factors. For example, see [Maj26, SY26] and https://bigospeedrun.com/3sum.

Figure 1: Known simple reductions [Pät10, BCD 14, VW18, CMWW19]. (The dashed ones are for integer input, unless one uses more complicated, recent techniques [FPS26].)
We find a simpler way to obtain a truly subquadratic, Monte-Carlo randomized algorithm for 3SUM for polynomially bounded integer inputs. The key idea is to switch to a different but related problem, subset convolution (see Problem 2.1). Standard algorithms for subset convolution are based on the so-called zeta (or Möbius) transform, which is solved by simple dynamic programming (DP), using just subtraction or inclusion-exclusion tricks, and are simpler than FFT. Adapting these subset convolution algorithms to the selected-entries setting turns out to be easy, due to the simple DAG or lattice structure of the DP (no messy analysis of dependency patterns of “input encoding/preparation” and “output decoding/reconstruction” in recursion trees [AW26, KL26]). In fact, this observation was noted explicitly before by Björklund, Husfeldt, Kaski, and Mikko Koivisto [BHKK10] (for a different application, concerning exponential-time algorithms for certain problems in bounded-degree graphs). For completeness, we include a description of the selected-entries subset convolution algorithm in Section 2.1, which takes just one and a half page. We believe this is the simplest way to introduce to a broader audience the possibility of output-sensitivity for selected-entries versions of algebraic problems.
While this greatly simplifies the algebraic part of the solution, a bit more work is now required in the remaining part, to reduce 3SUM to subset convolution, since subset convolution is farther away from 3SUM than standard convolution. Nevertheless, this part is in more familiar territory to algorithm designers in fine-grained complexity, and indeed can be solved in under 3 pages using hashing techniques (see Section 2.2). Hashing is commonly used in prior work about convolutions and 3SUM-related reductions (e.g., see [CH02, BDP08, Pät10, CH20, BFN21, BFN22]), but this reduction requires some new technical ideas (with a nontrivial analysis), as it does not seem to follow directly from any existing work.
The solution here raises some new interesting questions concerning whether the 3SUM algorithm here might be considered combinatorial, and more generally what is the meaning of “combinatorial algorithms”. See Section 2.3 for discussion. (Spoiler: we, the authors, do not have a definitive answer, and will leave the question to the readers to decide for themselves.)
By known simple reductions [CMWW19], we also immediately obtain a simpler truly subquadratic randomized algorithm for (min, +)-convolution for polynomially bounded integer inputs, which in turn has many applications, e.g., see [CMWW19, KPS17, BN21, Bri24, Jin24].
Alman and Vassilevska Williams [AW26] actually cited Björklund, Husfeldt, Kaski, and Mikko Koivisto's work in a remark at the end of their Section 2 on selected-entries matrix multiplication: “The pruned recursion of Section 2.4.2 is an analog of FFT pruning [Mar71, SB93] of trimmed Möbius inversion [BHKK10]...” However, their paper did not pursue further the usage of [BHKK10] to solve 3SUM more directly and more simply.
We have found that an AI-generated (and Lean-verified) solution posted at https://bigospeedrun.com/3sum by c01dzy17 also appeared to use subset convolution, but there are no accompanying human-written manuscripts explaining the ideas.
-SUM Hypothesis refuted for all odd . As an unintended byproduct of this simpler approach, we obtain an -time randomized algorithm for the -SUM problem for polynomially bounded integer inputs, for every odd constant , for some constant . This thus refutes the -SUM Hypothesis for all odd (at least for the integer setting, with randomization). Alman and Vassilevska Williams [AW26] explicitly listed the -SUM Hypothesis for larger as one of the remaining open questions, as their approach based on selected-entries rectangular matrix multiplication does not seem to generalize. This demonstrates another advantage of working with convolution-based approaches instead of matrix multiplication.
As is easy to see, -SUM for odd reduces to an unbalanced instance of 3SUM, where the first set has elements, the second set has elements, and the third (“query”) set has elements. As the number of queries is large, we need to refine the 3SUM algorithm to achieve lower cost per query. To this end, the extra idea is to use convolution where elements are vectors in instead of subsets (bit vectors), for a larger constant base . This extended problem with selected entries can still be solved by adapting standard algorithms for subset convolution. The remaining hashing part proceeds similar to before, and the analysis is only slightly more involved. (See Section 3.)
Real 3SUM and APSP derandomized. In the second half of the paper (Sections 4–5, which can be read independently of Sections 2–3), we turn to the question of derandomization in the real input case (the recent algorithms in the integer input case are already deterministic). The subroutine for selected-entries rectangular matrix multiplication or lopsided AE Sparse Triangle was already deterministic [AW26]. The issue lies in the reduction of APSP/3SUM to AE Sparse Triangle. In the real case, the only known reduction was the one by Chan, Vassilevska Williams, and Xu [CVX22], which crucially relied on random sampling. (Fischer, Polak, and Schmidt [FPS26] recently gave a reduction from Real 3SUM to Integer 3SUM, but it was complicated and also used randomization.) In contrast, the previous best slightly subcubic real APSP algorithm [Wil18] before the recent breakthrough was successfully derandomized [CW21], while the previous best slightly subquadratic real 3SUM algorithm [Cha20] was already deterministic.
We describe deterministic reductions from both Real 3SUM and Real APSP to #AE Sparse Triangle. The new reductions build on Chan, Vassilevska Williams, and Xu's approach [CVX22]; the main new idea is clever but simple, especially for Real APSP (the details are a bit trickier for Real 3SUM). These deterministic reductions lead to the first truly subquadratic and subcubic-time deterministic algorithms for Real 3SUM and Real APSP respectively.
2.1 Selected-Entries Subset Convolution
In this subsection, we solve a version of the subset convolution problem with selected output entries, formally defined below. We restrict ourselves to the version where all input sets have size equal to a given value t (this is sometimes called the “ranked” version of the problem).
Problem 2.1 (Subset Convolution with Selected Entries). Let . We are given collections and of subsets in , where each subset has weight and each subset has weight . By default, let if and if . We are also given a collection of “query” subsets in . For each , we want to compute
The standard dynamic programming (DP) algorithm for subset convolution (sometimes called Yates' algorithm or the "fast zeta transform") [BHK09, BHKK07] turns out to be adaptable to the version with selected entries and achieves output-sensitive running time, essentially without extra effort! Roughly, the computation of the DP forms a DAG or lattice. In the preprocessing phase, we simply simulate DP up to a certain level of the DAG for a trade-off parameter . When given a query set , we continue the DP from level up to , restricting ourselves to nodes of the DAG that are "under" . This "trimmed" variant of the fast zeta transform has appeared before in a paper by Björklund, Husfeldt, Kaski, and Mikko Koivisto [BHKK10]. To be self-contained, we give a complete description below:
Theorem 2.2. Let integer be a parameter with . We can solve Problem 2.1 in total deterministic time
Proof. We begin with preliminary definitions and facts (see [BHK09, BHKK07] and the references therein for more background): Given , the zeta (or Möbius) transform is defined as
Given , the covering product is defined as
Note that for and any , we have , since , , and together imply . The covering product satisfies the following known “inclusion–exclusion” identity [BHKK07]⁵:
Preprocessing algorithm
- For each , pre-compute . More generally, for each , pre-compute (noting that ). To this end, we can use a standard DP formula: , and .
It can be viewed as taking the pointwise product of the zeta transforms of and , and then taking the inverse zeta transform (which has a similar definition but with some sign changes). A quick self-contained proof: the right-hand side expands to , where evaluates to 1 if is , but is otherwise equal to , where , which is identical to by the binomial theorem.
-
For each , pre-compute . More generally, for each , pre-compute . This is similar.
-
For each , pre-compute . More generally, for each , pre-compute (noting that ). To this end, we use the following DP formula: , and .
The total time for these DPs is .
Query algorithm. Given a query subset :
-
For each , compute . We can use the same DP formula, but using for all (which have been pre-computed during preprocessing) as base cases.
-
For each , compute similarly.
-
For each , compute . We can use the same DP formula, but using for all (which have been pre-computed during preprocessing) as base cases. In particular, we obtain in the end.
The total time per query subset is .
2.2 Reducing 3SUM to Subset Convolution
Now we solve integer 3SUM using the new subroutine for selected-entries subset convolution. This uses hashing techniques. We first apply linear hashing (taking “mod ” for a prime ) to reduce the size of the input numbers and then view the numbers as bit vectors using their binary representations, which then correspond to subsets of indices. If the subsets corresponding to two numbers happen to be disjoint, then their union corresponds precisely to the sum, and so subset convolution gives us exactly what we want! However, usually we do not have disjointness. The idea is to further randomly scramble the input numbers (using a family of linear hash functions that achieve 3-wise independence), and with enough repetitions, the disjointness property can be shown to hold in at least one of the trials with good probability.
The final algorithm for the reduction is still relatively simple, but the analysis requires some technical effort. One issue is collision of the hash of sums of pairs (which is why hashing alone does not solve integer 3SUM very efficiently in prior work, except in shaving logs [BDP08]), but in our case, subset convolution filters out pairs that do not satisfy the disjointness property, and this helps to bound the target universe size p. The precise details are given below (we state the result more generally when the input sets A and B may not have the same size):
Theorem 2.3. Suppose Problem 2.1 can be solved in time.
Let be a parameter, and . Given sets with and , we can determine whether for each , with error
We assume the standard word RAM model with word size at least d. If not, the time bounds increase by extra factors. We have ignored cost of dictionary look-up operations for subsets, which is only .
probability , in total time
Proof.
Algorithm. Let . Pick a random prime in . Let and and and (these are elements that are in non-singleton buckets when we hash modulo ). For each , if or , then report “yes” for .
Next, we repeat the following times, for a parameter to be determined:
- Pick random numbers with . Define functions :
Let where is the set of all positions of the 1-bits in the binary representation of .
-
Let and .
-
For each with and , compute
If and , then report “yes” for c.
If “yes” has not been reported for c in any of the trials, then report “no”.
Running time analysis. Over a random prime , for each , the probability that is , since there are at most prime divisors of in and primes in that range. Thus, , and similarly, . We can pre-sort and in expected time , as . Afterwards, the checks for and takes time each.
In step 3, computing the values corresponds to computing selected entries of the subset convolution of the collection of sets and , each assigned unit weight. Computing the values corresponds to computing selected entries of similar subset convolutions, since expands to . For example, to compute the sum contributed by the term, we assign weight to the set and to the set
On , this “second moment” idea has been used in prior work, e.g., on sparse convolutions [BFN21].
. The selected entries are . For fixed , and , we have (since for fixed , there is one choice of satisfying the condition). Thus, . So, . The total expected cost is . Eventually, we will set and this will give the time bound stated in the theorem. (Expected time bounds can be made worst-case for Monte Carlo algorithms by standard tricks, namely, reporting error when actual time is more than a constant factor times the expectation, and then repeating to lower the error probability.)
Error probability analysis. From the definitions of , we have:
• .
• If , then .
• iff (mod p).
• iff x = y.
In particular, if and , then iff iff iff iff .
Fix . Suppose and . If a sum of squares with at least one term is equal to 0, then one of the terms (in fact, all of the terms) must be 0. Thus, we must have for some and .
Conversely, suppose for some and . Assume (for otherwise, we would have initially reported “yes” for ). We will show that and with good probability. To this end, let , . Note that the condition implies , because . For a random prime , for each with , the probability that is . Thus, . Call good for if . By Markov’s inequality, the probability that is not good is at most . Fix a good prime for :
• For any fixed and , we have (since for a fixed , there is one choice of and satisfying the condition).
• For any fixed with and , we have (since there is at most one choice of satisfying the condition). In particular, .
• Fix with and . If and , then . Conditioned on and , the event that implies the existence of with and . Letting there are at most candidates for satisfying and . So,
by goodness of and by the choice of (as we have chosen ).
- Summing over all choices of with and , we then obtain
By choosing the number of trials to be , we can guarantee that the error probability is at most, say, 0.1, conditioned on a good prime for . Unconditionally, the error probability is at most per . By repeating the entire algorithm times, the error probability can be made below per .
As a sanity check, if we plug in the standard non-output-sensitive bounds for subset convolution with and to the above theorem, we recover the trivial quadratic bound for 3SUM. By applying Theorem 2.2 instead, we obtain an overall time bound of
where . Setting and and for yields
For a sufficiently small constant , this gives a truly subquadratic algorithm. For example, for and , we obtain:
Corollary 2.4. Given sets with and , we can determine whether for each , with error probability , in total time.
For , this gives an -time algorithm for 3SUM (or more generally “All-Numbers 3SUM” [VW18]) for integer input. Though it is not our intention, this improves over the randomized time bound originally reported by Alman and Vassilevska Williams [AW26].
In fact, the approach gives a data structure for preprocessing and in time and space, so that we can determine whether a query number is in in time with low error probability (this data structure problem is called “3SUM Indexing” [GKLP17]). It is easy to separate the preprocessing and the query parts of the algorithm in Theorem 2.3.
It is likely possible to turn this Monte Carlo randomized algorithm into Las Vegas with more effort, but we will not elaborate as we aim for the simplest presentation.
2.3 Discussion
The algorithm here raises some interesting philosophical questions:
The current best (Lean-verified) result reported at https://bigospeedrun.com/3sum as of Oct 21, 2026 is near , but there is no accompanying human-written manuscript. We reiterate that our main goal is better exposition, to make the ideas easier to understand and appreciate.
Could the breakthrough have been found earlier? To some researchers, the solution reported by Alman and Vassilevska Williams [AW26] felt like something that humans could have eventually discovered, or could have been discovered earlier had we been luckier. It might be that not many researchers in fine-grained complexity are comfortable enough to open up the matrix multiplication black box to seriously try solving the selected-entries matrix multiplication problem faster. The approach here completely lowers the barrier of entry on the algebraic side (subset convolution is only about inclusion-exclusion formulas), so in hindsight, there is even less excuse for researchers to have missed the breakthrough! Experts in subset convolution [BHKK10] already knew the idea in Section 2.1, while experts in hashing might be able to figure out the details in Section 2.2 on their own, with some effort. However, without the more complicated solution in [AW26], we would not have seriously attacked the 3SUM problem via selected-entries subset convolution in the first place.
Is the 3SUM algorithm here combinatorial? The answer to this question is subjective, as there is no formal definition of “combinatorial algorithms”.
• If “combinatorial” means avoiding fast matrix multiplication but allowing FFT, the answer is yes. The motivation for this informal definition is that fast matrix multiplication algorithms are not very practical, but FFT is.
• If “combinatorial” means avoiding both fast matrix multiplication and FFT, the answer is still yes. We use the fast zeta transform, which is just dynamic programming with inclusion–exclusion formulas. Zeta transforms and inclusion–exclusion have been used before not just in exponential-time algorithms (e.g., [Kar82, BHKK07, BHK09]) but also for some counting problems in fine-grained complexity (e.g., [VW13]). In algorithm design, we often use subtraction tricks without referring to them as non-combinatorial. (In fact, the word “combinatorial” literally refers to counting, and inclusion–exclusion is a standard trick in combinatorics.) However, one could debate why we allow inclusion–exclusion but not, say, Strassen’s matrix multiplication algorithm (or even Schönhage’s), which is also based on “just” subtractions and clever cancellations.
• If “combinatorial” means avoiding completely all algebraic techniques, the answer is no. However, one could say that hashing techniques, commonly used in algorithm design (including the reduction in Section 2.2), are also algebraic. Then many algorithms that were considered combinatorial before might not be. It is not clear where one would draw the line...
If the algorithm here were considered to be combinatorial, then this would also imply a new combinatorial, truly subquadratic algorithm for Boolean convolution of two n-bit vectors, since the latter is a special case of All-Numbers 3SUM; but this algorithm would be more complicated (and slower) than, say, Karatsuba's algorithm.
If the ultimate goal is just to exclude non-practical algorithms, then the current consensus of combinatorial algorithms does not seem too appropriate: some of the known “combinatorial” algorithms such as [AFK 24] for Boolean matrix multiplication are far more complicated and probably less practical than Strassen’s, for example, and some of the known algorithms for shaving logs [Cha15, Yu18] have large hidden constant factors and would not be competitive in practice. The 3SUM algorithm here in its present form may not be too practical either.
If the defining characteristic of combinatorial matrix multiplication algorithms is generalizability to -matrix multiplication (which would successfully exclude Strassen's but include some log-shaving algorithms [Cha19]), then the recent breakthrough on APSP/(min, +)-matrix multiplication has turned the question upside-down.
Here is another alternative, informal, and imprecise way to characterize combinatorial algorithms: intermediate values maintained by the algorithm should be describable “naturally”. For example, Strassen’s matrix multiplication algorithm and Karatsuba’s convolution algorithm do not seem to fulfill this requirement, since intermediate values arising during recursion seem “magical” and do not have clear “meanings”. On the other hand, the 3SUM algorithm here arguably satisfies this criterion: the intermediate values maintained by the DP are the zeta transforms and the covering products of subsets, which have relatively simple definitions (there are alternative simple DP formulas, based on a so-called “Euler identity”, which bypasses the intermediate values and , if we use divisions).
3 More on 3SUM, and k-SUM for Odd
The 3SUM algorithm in the previous section has query cost , which cannot be lowered to below even if we allow larger preprocessing. In this section, we describe a variant of the algorithm, which can make the query cost an arbitrarily small polynomial, while still supporting the unbalanced case when the sets and have different sizes. As a consequence, this leads to a faster algorithm for k-SUM for any constant odd for integer input.
3.1 Selected-Entries Convolution in for Small
The main additional idea is to use a larger base . This requires a generalization of the subset convolution problem where elements are vectors in . The or bit-vector case corresponds precisely to subset convolution. This is essentially standard -dimensional convolution with coordinate values in , which is known to be reducible to standard one-dimensional convolution over when is a constant and is a variable. However, we need the opposite regime when is a constant and is a variable, and we need the version with selected entries.
Problem 3.1. Let . We are given two functions and with nonzero entries and a subset with . For each , we want to compute
where denotes vector addition over .
This version of the problem for vectors in can be viewed as selected-entries subset convolution for multisets with multiplicities bounded by . We can reduce it to standard subset convolution for sets, by reinterpreting multisets in as sets in , as follows. Given a set , let ; we call this the multiplicity of . Two sets are multiplicity-equivalent if for all . A collection of sets in with weight function is multiplicity-invariant if for every and every that is multiplicity-equivalent to , we have and . A multiplicity-invariant collection can be represented implicitly: it suffices to store one representative set in each equivalence class, and for each such set , store just the multiplicities of each of its elements. The subset convolution of two multiplicity-invariant collections is multiplicity-invariant, and the zeta transform of a multiplicity-invariant collection is multiplicity-invariant.
Lemma 3.2. Let . Given two multiplicity-invariant, weighted collections and of sets in with multiplicity-equivalence classes, where sets in have size and sets in have size , and given a collection of sets in of size , we can compute the subset convolution output of each set in in total deterministic time
where denotes the number of vectors in with norm at most , and denotes the maximum number of vectors in with norm at least that is dominated by a vector of norm .
Proof. We use the same algorithm as in the proof of Theorem 2.2, with straightforward changes:
In step 1 of the preprocessing algorithm, it suffices to compute and store for just one representative set per equivalence class (since is multiplicity-invariant), and store for representative sets (since the value depends on the multiplicity vector, along with the cardinality of for the unique with ). Steps 2 and 3 are similar. The number of table entries is , since bounds the number of equivalence classes of sets of size at most .
The query algorithm is similar. Here, the number of table entries is , since bounds the number of equivalence classes of sets of size at least s contained in the query set .
Theorem 3.3. Let . Problem 3.1 can be solved in total deterministic time .
Proof. For each vector with a nonzero , additionally define for all sets with for each . For each vector with a nonzero , define for all sets with for each . Then and are multiplicity-invariant. For , we have .
3.2 Reducing 3SUM to Convolution in
Now we modify the algorithm in Section 2.2 using convolution over . When working in base r, we no longer seek disjointness of subsets corresponding to two numbers. Instead, we just want the two numbers to be summable without carries, so that summing the two numbers is equivalent to summing their corresponding vectors. With a larger base r, this turns out to happen with greater probability.
Theorem 3.4. Suppose Problem 3.1 can be solved in time.
Let be a constant. Given sets with and , we can determine whether for each , with error probability , in
where , and for . Note that , and so .
Proof. Assume d is divisible by r. We modify the proof of Theorem 2.3.
is dominated by if for all .
Algorithm. Let . Pick a random prime in . Let and and and (these are elements that are in non-singleton buckets when we hash modulo ). For each , if or , then report “yes” for .
Next, we repeat the following times, for a parameter to be determined:
- Pick random numbers with . Define functions :
Let where is the vector formed by the base-r representation of x.
-
Let and .
-
For each such that and is perfectly balanced, i.e., each number in occurs exactly times in the vector, compute
If and , then report “yes” for c.
If “yes” has not been reported for c in any of the trials, then report “no”.
Running time analysis. The analysis of the algorithm is similar, so we will only point out the differences.
Initially, sorting and takes time, as and .
In step 3, for the convolutions, we have to loop through all combinations of with , but this only increases the running time by an factor.
Note that a perfectly balanced vector has norm , and the number of perfectly balanced vectors is equal to the multinomial coefficient . The selected entries are are the vectors in that are perfectly balanced, and so . So, the running time now becomes . Eventually we will choose , and this will give the time bound stated in the theorem.
Error probability analysis. The mapping satisfies the property: if , then (this corresponds to “no-carry” addition of base- numbers).
Observe that if is a perfectly balanced vector, the number of vectors dominated by is equal to . Equation (1) then becomes
by choosing so that . This implies that . So, where .
Equation (2) becomes
We now choose . Remaining parts of the proof are similar.
Applying Theorem 3.3, we obtain an overall time bound of
for .
Let for a sufficiently small constant . Observe that (since the probability that a sum of independent, uniform random variables in is at most is at most by a Chernoff bound). On the other hand, is bounded by . Thus, the time bound becomes
For example, setting and implies:
Corollary 3.5. Given sets with and , we can determine whether for each , with error probability , in time for a sufficiently small constant .
The -SUM problem reduces to 3SUM in the unbalanced case when , , and (with and ), and so we immediately obtain:
Corollary 3.6. For any constant , the -SUM problem for polynomially bounded integers can be solved in for some constant by a Monte Carlo randomized algorithm.
4 Real APSP Derandomized
In this section, we present a truly subcubic-time deterministic algorithm for APSP for real input.
It is well known (by repeated squaring) that the real APSP problem reduces to computing the -product of two real matrices, which in turn reduces to instances of -product of and matrices:
Problem 4.1 (Rectangular (min, +) matrix multiplication). Given an real matrix and a matrix , compute for each .
For simplicity of presentation, we assume that there are no degeneracies (no two pairs of input numbers have equal sum); degenerate cases can be addressed by perturbation or by straightforward modifications.
Chan, Vassilevska Williams, and Xu's previous approach [CVX22] considered an intermediate “verification” problem:
Problem 4.2 (Verification). We are given an real matrix and a matrix and indices for each . For each , we want to decide whether there exists an index satisfying
and if yes, report one such .
If the answer is no, then is indeed the correct index for the -product entry .
Chan, Vassilevska Williams, and Xu showed that this verification problem can be reduced to Lopsided AE Sparse Triangle (and thus to selected-entries rectangular matrix multiplication), by adapting simple ideas found in previous slightly subcubic APSP algorithms such as [Fre76, Cha08, Cha10, Will18] (notably, "Fredman's trick").
To reduce the original problem to this verification problem, they applied a well-known random sampling approach: take a random subset of a certain size , compute for each (by brute force or by recursion). This gives us good candidates for verification, since for each , the number of with a smaller is expected to be around .
Unfortunately, we do not see a good way to derandomize this sampling approach. (Essentially, we want a small hitting set R for a certain set system which we cannot afford to generate explicitly.) We have unsuccessfully tried various sophisticated ideas, such as the method of conditional probabilities, or limited independence. In the integer case, Chan and Xu [CX24] suggested halving the input values, and recursively solving the problem in a smaller integer universe; this then gives us good candidates for verification. However, this approach inherently does not work for real input.
4.1 New Counting Problem
We describe a simple approach that gives a deterministic reduction. We first define the following “halving” problem, which is stronger than the verification problem:
Problem 4.3 (Halving). We are given an real matrix and a matrix and indices for each with . For each , we want to compute a new index satisfying
where denotes the rank of in .
By iterating times, we can immediately reduce the rectangular matrix multiplication problem to the halving problem:
Lemma 4.4. If Problem 4.3 can be solved in time, then Problem 4.1 can be solved in time.
To find an element with low rank, the key new idea is to find an interval with low average rank. This motivates the following “counting” problem:
Problem 4.5 (Counting). We are given an real matrix and a matrix , indices for each , and intervals of length at least for a given parameter . Let
A dyadic interval is an interval of the form for integers a and i. Without loss of generality, we may assume that d is a power of 2.
For each , we want to compute the following counts:
Note subtly that in the definition of sum-rank_{ij}(p_{ij}, I_{ij}), we are summing the “global” ranks rank_{ij}(k) relative to [d], not ranks relative to (and thus the index runs over [d], not ). From the above counts, we can then get:
We now show how to reduce the halving problem to the counting problem by a simple binary search: we just repeatedly shrink intervals while maintaining low average rank.
Lemma 4.6. For any constant , if Problem 4.5 can be solved in time, then Problem 4.3 can be solved in time.
Proof. Let . Observe that , and , and so , assuming .
For each , we maintain a dyadic interval such that and . At the beginning, we can set for all .
In each round, we divide the dyadic interval into its left half and its right half . Since and , we must have and , or and . We can tell which is the case by invoking an algorithm for Problem 4.5. We then reset to in the former case, or in the latter.
The total number of rounds is . When the length of drops below , we can return the index minimizing , which satisfies . Each such index can be found in time by a brute-force search. The total time is .
4.2 Reducing the Counting Problem to Selected-Entries Matrix Multiplication
We now describe how to solve our counting problem by using Lopsided #AE Sparse Triangle. This part will be similar to previous reductions by Chan, Vassilevska Williams, and Xu [CVX22].
Lemma 4.7. Problem 4.5 can be solved in time.
Proof. Fix an index and a dyadic interval of length at least . Let be a batch of up to pairs from .
We concentrate on computing for all . Computing is similar (and easier).
Sort , which has elements, in time. Let denote the rank of and denote the rank of in the sorted list . Note that
by the definition of sum-rank and Fredman's trick [Fre76, CVX22, CVX23] (i.e., the obvious equivalence of with ).
Define a tripartite graph G:
-
The left vertex set is , the right vertex set is , and the middle vertex set consists of tuples where , , and and are dyadic intervals in (we do not list all middle vertices exhaustively but generate only those incident to edges).
-
There is an edge between the left vertex and the middle vertex iff is in the left half of and is in the left half of .
• There is an edge between the right vertex and the middle vertex iff is in the right half of and is in the right half of .
• There is an edge between the left vertex and the right vertex iff .
Since any point belongs to at most dyadic intervals, there are a total of edges between the left part and the middle part, and between the right part and the middle part. Let denote the middle vertices of degree more than is . Let be the number of triangles containing and through vertices in . Let be the number of triangles between and not through vertices in . We compute for all in time. We compute for all by brute force in time. Then .
We repeat the above for all choices of and choices of , and a total of batches for . The total number of iterations is .
Combining all the preceding lemmas, we conclude:
Theorem 4.8. For any constant , Real APSP can be solved in deterministic time.
For example, using the fact [AW26, Table 2 in p. 40] that for , the above bound becomes for . Setting and yields the following (we did not try to optimize the exponent):
Corollary 4.9. Real APSP can be solved in deterministic time.
5 Real 3SUM Derandomized
In this section, we present a truly subquadratic-time deterministic algorithm for Real 3SUM. We use ideas similar to those in the previous section, in combination with Chan, Vassilevska Williams, and Xu's previous randomized reduction [CVX22], though the details become a bit more involved for 3SUM.
Given sets of elements, we solve the following slight extension of the 3SUM problem: for each , find the predecessor and successor of in the sumset . To this end, we first sort
Here, the predecessor of c in a set S is the largest element in S strictly less than than c, and the successor is the smallest element in S greater than or equal to c.
and and divide the sorted lists of and into sublists and of size , for a given parameter . Let denote the -th element of for each and , and denote the -th element of for each and . By ideas from known slightly subquadratic real 3SUM algorithms (originally due to Grønlund and Pettie [GP18], and continued by Chan [Cha20]), Chan, Vassilevska Williams, and Xu [CVX22] observed that the original problem reduces to the following problem (roughly, because for each , it suffices to search for in for pairs that form a monotone “staircase” in the grid):
Problem 5.1 (Real-3SUM Variant). We are given an real matrix and an real matrix . For each , we are also given a set of real numbers with .
For each and each , we want to find the predecessor and successor of the value among the elements in .
For simplicity of presentation, we again assume that there are no degeneracies (no two pairs have equal sum).
5.1 A New Counting Problem
Similar to the halving problem for Real APSP, we define an approximate halving problem for Real 3SUM, which shrinks the search space by some constant factor:
Problem 5.2 (Approximate Halving). We are given an real matrix and an real matrix . For each , we are also given a set of quintuples in with .
For each and each satisfying , we want to find a new quadruple satisfying , such that
where and is the rank of in .
By iterating times, we can immediately reduce Problem 5.1 to the approximate halving problem.
Lemma 5.3. If Problem 5.2 can be solved in time, then Problem 5.1 can be solved in time.
To solve Problem 5.2, we want to find a good “pivot” for which both and are small, i.e., its rank is close to
i.e., the following “potential” value is small:
Inspired by the earlier average rank idea, we will maintain an interval with low average potential value instead, which motivates the following new version of the counting problem:
Problem 5.4 (Counting). We are given an real matrix and an real matrix . For each , we are also given a set of quintuples, where each quintuple is of the form for some and is a dyadic interval in of length at least for a given parameter , with . Let
For each and each , we want to compute:
From these values, we can then get:
Lemma 5.5. For any constant , if Problem 5.4 can be solved in time, then Problem 5.2 can be solved in time.
Proof. Consider a quintuple . Let and , and . Observe that , and by straightforward calculations, and so , assuming .
For the quintuple , we maintain a dyadic interval such that and . At the beginning, we can set .
In each round, we divide the dyadic interval into its left half and its right half . Similar to before, and , or and . We can tell which is the case by invoking an algorithm for Problem 4.5. We then reset to in the former case, or in the latter.
The total number of rounds is . When the length of drops below for a quintuple , we find the predecessor and successor of in , and return for . This can be done by a binary search over for each , in time per quintuple in . The total time over a round is . To show correctness, note that there exists with , implying that and are both at most . It follows that .
The above counting problem can be simplified:
Problem 5.6 (Counting, Simplified). Let and be either or . We are given an real matrix and an real matrix . For each , we are also given a set of triples, where each triple is of the form for some and is a dyadic interval in of length at least for a given parameter , with . Let
For each and each , we want to compute:
Lemma 5.7. If Problem 5.6 can be solved in time, then Problem 5.4 can be solved in time.
Proof. Computing and , and thus , reduces to computing sum-rank-power and sum-rank-power .
Computing reduces to computing and by subtraction.
Given , computing reduces to computing and by subtraction, for all , since expands to .
5.2 Reducing the Counting Problem to Selected-Entries Matrix Multiplication
We now solve this simplified counting problem using Lopsided #AE Sparse Triangle, by adapting previous reductions by Chan, Vassilevska Williams, and Xu [CVX22].
Lemma 5.8. Problem 5.6 can be solved in time.
Proof. Fix a dyadic interval of length at least . Let be a batch of up to pairs from .
We concentrate on the case , since the cases and are easier. W.l.o.g., say is <. Then
Sort , which has elements, in time. Let denote the rank of and denote the rank of in the sorted list . By Fredman's trick,
Define a tripartite graph G:
- The left vertex set is , the right vertex set is , and the middle vertex set consists of tuples where and are dyadic intervals in (we do not list all middle vertices exhaustively but generate only those incident to edges).
• There is an edge between the left vertex and the middle vertex iff is in the left half of , is in the left half of , and is in the left half of .
-
There is an edge between the right vertex and the middle vertex iff is in the right half of , is in the right half of , and is in the right half of .
-
There is an edge between the left vertex and the right vertex iff .
Since any point belongs to at most dyadic intervals, there are a total of edges between the left part and the middle part, and between the right part and the middle part. Let denote the middle vertices of degree more than is . Let be the number of triangles containing and through vertices in . Let be the number of triangles containing and not through vertices in . We compute for all in time. We compute for all by brute force in time. Then .
We repeat the above for all choices of , and a total of batches for . The total number of iterations is .
Combining all the preceding lemmas, we conclude:
Theorem 5.9. For any constant , Real 3SUM can be solved in deterministic time.
For example, using the fact [AW26, Corollary 31 with and ] that for , the above bound becomes for . Setting and yields the following (we did not try to optimize the exponent):
Corollary 5.10. Real 3SUM can be solved in deterministic time.
The only primitive operations used on the input real numbers are comparisons of sums of pairs with a third number, and comparisons of sums/differences of two pairs.
We can also obtain a truly subcubic deterministic algorithm for Real Exact Triangle by using the same strategy, in combination with the previous reduction [CVX22] (in fact, Exact Triangle is a little easier to work with than 3SUM).
AI Disclosure
The results in this paper were obtained using ChatGPT Sol 6.1. Initial proofs were complicated and difficult to digest. This manuscript is completely human-written: we (the authors) rewrote the proofs from scratch, simplified many parts, and presented the solutions in our own way. We have verified the correctness and originality of all content, including references.
References
[AFK 24] Amir Abboud, Nick Fischer, Zander Kelley, Shachar Lovett, and Raghu Meka. New graph decompositions and combinatorial Boolean matrix multiplication algorithms. In Proc. 56th Annual ACM Symposium on Theory of Computing (STOC), pages 935–943, 2024. doi:10.1145/3618260.3649696.
[AW26] Josh Alman and Virginia Vassilevska Williams. Truly subquadratic 3SUM and truly subcubic APSP via triangles in sparse lopsided graphs, 2026. arXiv:2610.06783.
[BCD 14] David Bremner, Timothy M. Chan, Erik D. Demaine, Jeff Erickson, Ferran Hurtado, John Iacono, Stefan Langerman, Mihai Pătrascu, and Perouz Taslakian. Necklaces, convolutions, and . Algorithmica, 69(2):294–314, 2014. doi:10.1007/S00453-012-9734-3.
[BDP08] Ilya Baran, Erik D. Demaine, and Mihai Pătrascu. Subquadratic algorithms for 3SUM. Algorithmica, 50(4):584–596, 2008. doi:10.1007/S00453-007-9036-3.
[BFN21] Karl Bringmann, Nick Fischer, and Vasileios Nakos. Sparse nonnegative convolution is equivalent to dense nonnegative convolution. In Proc. 53rd Annual ACM Symposium on Theory of Computing (STOC), pages 1711–1724, 2021. doi:10.1145/3406325.3451090.
[BFN22] Karl Bringmann, Nick Fischer, and Vasileios Nakos. Deterministic and Las Vegas algorithms for sparse nonnegative convolution. In Proc. ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 3069–3090, 2022. doi:10.1137/1.9781611977073.119.
[BGSV19] Karl Bringmann, Fabrizio Grandoni, Barna Saha, and Virginia Vassilevska Williams. Truly subcubic algorithms for language edit distance and RNA folding via fast bounded-difference min-plus product. SIAM J. Comput., 48(2):481–512, 2019. doi:10.1137/17M112720X.
[BHK09] Andreas Björklund, Thore Husfeldt, and Mikko Koivisto. Set partitioning via inclusion-exclusion. SIAM J. Comput., 39(2):546–563, 2009. doi:10.1137/070683933.
[BHKK07] Andreas Björklund, Thore Husfeldt, Petteri Kaski, and Mikko Koivisto. Fourier meets Möbius: Fast subset convolution. In Proc. 39th Annual ACM Symposium on Theory of Computing (STOC), pages 67–74. ACM, 2007. doi:10.1145/1250790.1250801.
[BHKK10] Andreas Björklund, Thore Husfeldt, Petteri Kaski, and Mikko Koivisto. Trimmed Moebius inversion and graphs of bounded degree. Theory Comput. Syst., 47(3):637–654, 2010. doi:10.1007/S00224-009-9185-7.
[BN21] Karl Bringmann and Vasileios Nakos. A fine-grained perspective on approximating subset sum and partition. In Proc. ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1797–1815, 2021. doi:10.1137/1.9781611976465.108.
[Bri24] Karl Bringmann. Knapsack with small items in near-quadratic time. In Proc. 56th Annual ACM Symposium on Theory of Computing (STOC), pages 259–270, 2024. doi:10.1145/3618260.3649719.
[CDXZ22] Shucheng Chi, Ran Duan, Tianle Xie, and Tianyi Zhang. Faster min-plus product for monotone instances. In Proc. 54th ACM Symposium on Theory of Computing (STOC), pages 1529–1542, 2022. doi:10.1145/3519935.3520057.
[CH02] Richard Cole and Ramesh Hariharan. Verifying candidate matches in sparse and wildcard matching. In Proc. 34th Annual ACM Symposium on Theory of Computing (STOC), pages 592–601, 2002. doi:10.1145/509907.509992.
[CH20] Timothy M. Chan and Qizheng He. Reducing 3SUM to convolution-3SUM. In Proc. 3rd Symposium on Simplicity in Algorithms (SOSA), pages 1–7, 2020. doi:10.1137/1.9781611976014.1.
[Cha08] Timothy M. Chan. All-pairs shortest paths with real weights in time. Algorithmica, 50(2):236–243, 2008. doi:10.1007/S00453-007-9062-1.
[Cha10] Timothy M. Chan. More algorithms for all-pairs shortest paths in weighted graphs. SIAM J. Comput., 39(5):2075–2089, 2010. doi:10.1137/08071990X.
[Cha15] Timothy M. Chan. Speeding up the Four Russians algorithm by about one more logarithmic factor. In Proc. 26th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 212–217, 2015. doi:10.1137/1.9781611973730.16.
[Cha19] Timothy M. Chan. Orthogonal range searching in moderate dimensions: k-d trees and range trees strike back. Discret. Comput. Geom., 61(4):899–922, 2019. doi:10.1007/S00454-019-00062-5.
[Cha20] Timothy M. Chan. More logarithmic-factor speedups for 3SUM, (median, +)-convolution, and some geometric 3SUM-hard problems. ACM Trans. Algorithms, 16(1):7:1–7:23, 2020. doi:10.1145/3363541.
[CL15] Timothy M. Chan and Moshe Lewenstein. Clustered integer 3SUM via additive combinatorics. In Proc. 47th ACM Symposium on Theory of Computing (STOC), pages 31–40, 2015. doi:10.1145/2746539.2746568.
[CMWW19] Marek Cygan, Marcin Mucha, Karol Węgrzycki, and Michał Włodarczyk. On problems equivalent to (min, +)-convolution. ACM Trans. Algorithms, 15(1):14:1–14:25, 2019. doi:10.1145/3293465.
[Cop82] Don Coppersmith. Rapid multiplication of rectangular matrices. SIAM J. Comput., 11(3):467–471, 1982. doi:10.1137/0211037.
[CVX22] Timothy M. Chan, Virginia Vassilevska Williams, and Yinzhan Xu. Hardness for triangle problems under even more believable hypotheses: reductions from real APSP, real 3SUM, and OV. In Proc. 54th Annual ACM Symposium on Theory of Computing (STOC), pages 1501–1514, 2022. doi:10.1145/3519935.3520032.
[CVX23] Timothy M. Chan, Virginia Vassilevska Williams, and Yinzhan Xu. Fredman's trick meets dominance product: Fine-grained complexity of unweighted APSP, 3SUM counting, and more. In Proc. 55th Annual ACM Symposium on Theory of Computing (STOC), pages 419–432, 2023. doi:10.1145/3564246.3585237.
[CW21] Timothy M. Chan and R. Ryan Williams. Deterministic APSP, orthogonal vectors, and more: Quickly derandomizing Razborov-Smolensky. ACM Trans. Algorithms, 17(1):2:1–2:14, 2021. doi:10.1145/3402926.
[CX24] Timothy M. Chan and Yinzhan Xu. Simpler reductions from Exact Triangle. In Proc. ACM-SIAM Symposium on Simplicity in Algorithms (SOSA), pages 28–38, 2024. doi:10.1137/1.9781611977936.4.
[FKP24] Nick Fischer, Piotr Kaliciak, and Adam Polak. Deterministic 3SUM-hardness. In Proc. 15th Innovations in Theoretical Computer Science Conference (ITCS), pages 49:1–49:24, 2024. doi:10.4230/LIPICS.ITCS.2024.49.
[FPS26] Nick Fischer, Adam Polak, and Jonas Schmidt. 3SUM is really hard: A real-to-integer reduction, 2026. FOCS 2026, to appear. arXiv:2610.10153.
[Fre76] Michael L. Fredman. New bounds on the complexity of the shortest path problem. SIAM J. Comput., 5(1):83–89, 1976. doi:10.1137/0205006.
[GKLP17] Isaac Goldstein, Tsvi Kopelowitz, Moshe Lewenstein, and Ely Porat. Conditional lower bounds for space/time tradeoffs. In Proc. 15th International Symposium on Algorithms and Data Structures (WADS), pages 421–436, 2017. doi:10.1007/978-3-319-62127-2_36.
[GP18] Allan Grønlund and Seth Pettie. Threesomes, degenerates, and love triangles. J. ACM, 65(4):22:1–22:25, 2018. doi:10.1145/3185378.
[Jin24] Ce Jin. 0-1 knapsack in nearly quadratic time. In Proc. 56th Annual ACM Symposium on Theory of Computing (STOC), pages 271–282. ACM, 2024. doi:10.1145/3618260.3649618.
[Kar82] Richard M. Karp. Dynamic programming meets the principle of inclusion and exclusion. Oper. Res. Lett., 1(2):49–51, 1982. doi:10.1016/0167-6377(82)90044-X.
[KL26] Sankeerth Rao Karingula and Shachar Lovett. A simplified proof of polynomial improvements for 3SUM and APSP, 2026. arXiv:2610.15663.
[KPP16] Tsvi Kopelowitz, Seth Pettie, and Ely Porat. Higher lower bounds from the 3SUM conjecture. In Proc. 27th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1272–1287, 2016. doi:10.1137/1.9781611974331.CH89.
[KPS17] Marvin Künnemann, Ramamohan Paturi, and Stefan Schneider. On the fine-grained complexity of one-dimensional dynamic programming. In Proc. 44th International Colloquium on Automata, Languages, and Programming (ICALP), pages 21:1–21:15, 2017. doi:10.4230/LIPICS.ICALP.2017.21.
[Maj26] Ruhollah Majdoddin. Thin matrix products up to and lossless reductions for 3SUM, Exact Triangle and APSP, with 3SUM over abelian groups and a dichotomy for coordinatewise problems, 2026. arXiv:2610.17420.
[Mar71] John D. Markel. FFT pruning. IEEE Transactions on Audio and Electroacoustics, 19(4):305–311, 1971.
[Pät10] Mihai Pătrașcu. Towards polynomial lower bounds for dynamic problems. In Proc. 42nd ACM Symposium on Theory of Computing (STOC), pages 603–610, 2010. doi:10.1145/1806689.1806772.
[SB93] Henrik V. Sorensen and C. Sidney Burrus. Efficient computation of the DFT with only a subset of input or output points. IEEE Trans. Signal Process., 41(3):1184–1200, 1993. doi:10.1109/78.205723.
[Sch81] Arnold Schönhage. Partial and total matrix multiplication. SIAM J. Comput., 10(3):434–455, 1981. doi:10.1137/0210032.
[SY26] Barna Saha and Christopher Ye. Simple, faster (min, +) matrix multiplication and APSP, 2026. arXiv:2610.20297.
[VW13] Virginia Vassilevska Williams and Ryan Williams. Finding, minimizing, and counting weighted subgraphs. SIAM J. Comput., 42(3):831–854, 2013. doi:10.1137/09076619X.
[VW18] Virginia Vassilevska Williams and R. Ryan Williams. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5):27:1–27:38, 2018. doi:10.1145/3186893.
[VX20] Virginia Vassilevska Williams and Yinzhan Xu. Monochromatic triangles, triangle listing and APSP. In Proc. 61st IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 786–797, 2020. doi:10.1109/FOCS46700.2020.00078.
[Wil18] R. Ryan Williams. Faster all-pairs shortest paths via circuit complexity. SIAM J. Comput., 47(5):1965–1985, 2018. doi:10.1137/15M1024524.
[Yu18] Huacheng Yu. An improved combinatorial algorithm for Boolean matrix multiplication. Inf. Comput., 261:240–247, 2018. doi:10.1016/J.IC.2018.02.006.