3SUM 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). 1. 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). 2. 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 . 3. 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.
Create a lesson
Related papers
Compressed Boolean Matrix Multiplication using Bicliques
Shared title terminology · Nicolás Araya, José Zagal, Cecilia Hernández et al.
Dynamic Distances Without Matrix Inverse
Shared title terminology · Jan van den Brand, Adam Karczmarz, Aryan Patel
One partition function call to rule them all: Efficiently computing the equilibrium landscape of multiple nucleic acid strands
Shared title terminology · Ahmed Shalaby, Damien Woods
Size-Independent Survival Bounds for Routing Without a Map
Shared title terminology · Krišjānis Petručeņa
Long rational and Gaussian integer multiplication
Shared title terminology · Yuval Spiizer, Raphael S. Steiner
Faster Deterministic All-Pairs Shortest Paths with Real Edge Weights
Shared title terminology · Isaac Barouch Essayag, Aryeh Lev Zabokritskiy