■ Change #101 · wiki.edited
APSP and 3SUM hypotheses: no n^(3−ε) APSP or n^(2−ε) 3SUM on polynomially bounded integers: Normalize Markdown to canonical form
body
− The **APSP hypothesis** states that for every $\varepsilon>0$, all-pairs shortest paths on $n$-vertex directed graphs with integer edge weights in $[-n^c,n^c]$ (and no negative cycles) cannot be solved in $O(n^{3-\varepsilon})$ time on a word RAM with $O(\log n)$-bit words. The **3SUM hypothesis** states that for every $\varepsilon>0$, deciding whether $n$ integers in $[-n^c,n^c]$ contain $a+b+c=0$ cannot be done in $O(n^{2-\varepsilon})$ time, even with randomisation. *Are these hypotheses true?* Hundreds of conditional lower bounds in graph algorithms, computational geometry and dynamic data structures rest on them, together with the Exact Triangle, Zero-Weight $k$-Clique and hinted Online Matrix–Vector hypotheses that reduce to them. A refutation is an algorithm with running time $O(n^{3-\varepsilon})$ (APSP) or $O(n^{2-\varepsilon})$ (3SUM) for a fixed $\varepsilon>0$; a proof would be an unconditional polynomial lower bound for a problem in P, far beyond current lower-bound techniques.+ The **APSP hypothesis** states that for every $\varepsilon>0$, all-pairs shortest paths on $n$-vertex directed graphs with integer edge weights in $[-n^c,n^c]$ (and no negative cycles) cannot be solved in $O(n^{3-\varepsilon})$ time on a word RAM with $O(\log n)$-bit words. The **3SUM hypothesis** states that for every $\varepsilon>0$, deciding whether $n$ integers in $[-n^c,n^c]$ contain $a+b+c=0$ cannot be done in $O(n^{2-\varepsilon})$ time, even with randomisation. _Are these hypotheses true?_ Hundreds of conditional lower bounds in graph algorithms, computational geometry and dynamic data structures rest on them, together with the Exact Triangle, Zero-Weight $k$-Clique and hinted Online Matrix–Vector hypotheses that reduce to them. A refutation is an algorithm with running time $O(n^{3-\varepsilon})$ (APSP) or $O(n^{2-\varepsilon})$ (3SUM) for a fixed $\varepsilon>0$; a proof would be an unconditional polynomial lower bound for a problem in P, far beyond current lower-bound techniques.
explainer.student
− **Statements.** *APSP hypothesis:* for every $\varepsilon>0$, all-pairs shortest paths on $n$-vertex directed graphs with integer edge weights in $[-n^c,n^c]$ (no negative cycles) cannot be solved in $O(n^{3-\varepsilon})$ time on a word RAM with $O(\log n)$-bit words. *3SUM hypothesis:* for every $\varepsilon>0$, deciding whether $n$ integers in $[-n^c,n^c]$ contain three that sum to zero cannot be done in $O(n^{2-\varepsilon})$ time, even with randomisation. The question: are they true?+ **Statements.** _APSP hypothesis:_ for every $\varepsilon>0$, all-pairs shortest paths on $n$-vertex directed graphs with integer edge weights in $[-n^c,n^c]$ (no negative cycles) cannot be solved in $O(n^{3-\varepsilon})$ time on a word RAM with $O(\log n)$-bit words. _3SUM hypothesis:_ for every $\varepsilon>0$, deciding whether $n$ integers in $[-n^c,n^c]$ contain three that sum to zero cannot be done in $O(n^{2-\varepsilon})$ time, even with randomisation. The question: are they true?− **Why they matter.** Hundreds of conditional lower bounds in graph algorithms, computational geometry and dynamic data structures rest on them, together with related hypotheses (Exact Triangle, Zero-Weight $k$-Clique and the hinted Online Matrix–Vector hypotheses) that reduce to them. APSP is *subcubic-equivalent* to several other problems, including min-plus matrix product, finding a negative triangle, and replacement paths (Vassilevska Williams and Williams, 2010): a truly subcubic algorithm for one gives it for all.+ **Why they matter.** Hundreds of conditional lower bounds in graph algorithms, computational geometry and dynamic data structures rest on them, together with related hypotheses (Exact Triangle, Zero-Weight $k$-Clique and the hinted Online Matrix–Vector hypotheses) that reduce to them. APSP is _subcubic-equivalent_ to several other problems, including min-plus matrix product, finding a negative triangle, and replacement paths (Vassilevska Williams and Williams, 2010): a truly subcubic algorithm for one gives it for all.**Before 2026.** The best APSP algorithm for polynomially bounded integers ran in $n^3/2^{\Omega(\sqrt{\log n})}$ time (Williams 2014, with refinements by Chan and Williams 2016). For 3SUM the best was about $n^2(\log\log n)^{O(1)}/\log^2 n$ (Chan 2018 and follow-ups). Neither was polynomially faster than the textbook bound. Carmosino et al. (2016) showed that if nondeterministic SETH holds, there are no deterministic fine-grained reductions from SAT to 3SUM or APSP, which is why these two have their own hypotheses.**The 2026 claim (unrefereed).** Alman and Vassilevska Williams (arXiv, 5 October 2026) state a deterministic $O(n^{1.9992})$ algorithm for 3SUM on polynomial-size integers and an $O(n^{2.9995})$ algorithm for APSP on directed graphs with polynomially bounded integer weights. By known reductions the authors say this also refutes the real-valued versions and several related hypotheses. The algorithms come from a new thin-matrix-product algorithm, built from a variant of Coppersmith's rectangular matrix multiplication; the paper credits an internal Anthropic model with discovering the core algorithm, which the authors then simplified and wrote up. The exponents are tiny improvements, but the point is that they are polynomial improvements. Experts had not yet confirmed the result when the wiki data was prepared.− **Meaning.** If the claim holds, a whole web of conditional lower bounds weakens at once, because the 'no polynomially faster algorithm' assumption underneath fails. If it does not, the hypotheses stand as before. A *proof* of either hypothesis in the usual model would require ruling out all algorithms, far beyond current lower-bound techniques.+ **Meaning.** If the claim holds, a whole web of conditional lower bounds weakens at once, because the 'no polynomially faster algorithm' assumption underneath fails. If it does not, the hypotheses stand as before. A _proof_ of either hypothesis in the usual model would require ruling out all algorithms, far beyond current lower-bound techniques.The link to matrix multiplication is important: both new algorithms build on fast rectangular matrix multiplication, tying this topic to the matrix multiplication exponent.
hash 2c938ab1bbc1f93afbe45f6073ad25967f6c87e1b62fd534b270e6829a2aeaca
previous 29d36e4d3f3b0a98220883e7db453a191fda6f8a11869146030059737f67471f