APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers
On this page17 sections
Difficulty 32: before October 2026 refuting either hypothesis would have sat near 78 (decades of only subpolynomial savings, much like SETH at 88 but with no P ≠ NP barrier); a refutation by the leading experts in the area, with a mechanism in established algebraic techniques, is now under review, so the remaining distance is mainly verification. This is a larger discount than UGC (70) received, because the claim is human-written by specialists rather than an unreviewed AI manuscript. If the preprint is confirmed the difficulty drops to about 5; if it fails it returns to the 75–80 band. Application value 24: the savings are tiny and the algorithms galactic, so the value is in redirecting algorithm design. Leverage 66: hundreds of conditional lower bounds depend on these hypotheses, below SETH (81) and ω (72).
The problem
Two beliefs, that shortest routes between all pairs need n³ steps and 3SUM needs n², behind hundreds of speed limits.
- 1Shortest paths need n³ steps for decades
- 23SUM needs n² steps for decades
- 3Hundreds of problems tied to them
- 4Hypothesis: no polynomial speed-up
- 52026 preprint claims one; unconfirmed
Statements. APSP hypothesis: for every , all-pairs shortest paths on -vertex directed graphs with integer edge weights in (no negative cycles) cannot be solved in time on a word RAM with -bit words. 3SUM hypothesis: for every , deciding whether integers in contain three that sum to zero cannot be done in 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 -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 time (Williams 2014, with refinements by Chan and Williams 2016). For 3SUM the best was about (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 algorithm for 3SUM on polynomial-size integers and an 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.
The link to matrix multiplication is important: both new algorithms build on fast rectangular matrix multiplication, tying this topic to the matrix multiplication exponent.
Go deeper
The full technical text.
The APSP hypothesis states that for every , all-pairs shortest paths on -vertex directed graphs with integer edge weights in (and no negative cycles) cannot be solved in time on a word RAM with -bit words. The 3SUM hypothesis states that for every , deciding whether integers in contain cannot be done in 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 -Clique and hinted Online Matrix–Vector hypotheses that reduce to them. A refutation is an algorithm with running time (APSP) or (3SUM) for a fixed ; a proof would be an unconditional polynomial lower bound for a problem in P, far beyond current lower-bound techniques.
Words on this page (10)
- all-pairs shortest paths (APSP)
- Finding the shortest route between every pair of nodes in a weighted network.
- 3SUM
- The problem of finding three numbers in a list that add up to zero.
- conditional lower bound
- A statement that an algorithm cannot be sped up unless some widely believed hypothesis is false.
- fine-grained reduction
- A translation between problems that preserves running times, so a speed-up for one transfers to the other.
- word RAM
- A standard model of a computer with memory words of about log n bits and unit-time basic operations.
- min-plus product
- Matrix multiplication where sums replace products and minimum replaces sums; it is equivalent to APSP.
- matrix multiplication
- Combining two tables of numbers row by column; fast methods underlie many graph algorithms.
- unrefereed preprint
- A paper posted online that independent experts have not yet checked.
- Big-O notation
- A way of describing how running time grows with input size, ignoring small constants.
- subcubic equivalence
- Two problems are subcubic-equivalent if a truly faster-than-n³ algorithm for either gives one for the other.
New to this? Read first (3)
- 3SUM (Wikipedia)A clear description of the problem and its role in geometry.
- Floyd–Warshall algorithm (Wikipedia)The classic cubic-time method for all-pairs shortest paths.
- Shortest path problem (Wikipedia)Background on the variants of the problem.
Built from
earlier problems → this oneThe earlier problems this one is built from. “Builds on” means it needs their progress or tools. “Generalizes” means they are special cases that come first. “Implies” means they are weaker results on the way. On the right is what builds on this problem.
- Start with
- Cap sets in 𝔽₃ⁿ: the growth constant, between 2.2202 and 2.7552Combinatorics · D58
- Step 2
- Matrix multiplication exponent: is ω = 2, i.e. n2+o(1) operations for n×n products?Complexity Theory · D82
- Then
- APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integersThis problem
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- Fast matrix multiplicationAlgorithm
- Step 4
- Then
- APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integersThe problem
State of the art
Status before the claim. The best APSP algorithm for polynomially bounded integers before 2026 ran in time (Williams, STOC 2014 for real weights, with refinements by Chan and Williams, SODA 2016 via derandomisation), and for 3SUM the best was (Chan, 2018 and follow-ups). Neither was truly subpolynomially faster than the textbook bound, and Abboud, Vassilevska Williams and others had built an extensive web of equivalences (APSP is subcubic-equivalent to min-plus product, negative-triangle and replacement paths; Vassilevska Williams and Williams, FOCS 2010). Carmosino et al. (2016) showed that nondeterministic SETH rules out deterministic fine-grained reductions from SAT to 3SUM or APSP.
The 2026 claim (unrefereed). Alman and Vassilevska Williams (arXiv:2610.06783, submitted 5 October 2026) state that they refute the 3SUM and APSP hypotheses with a deterministic algorithm for 3SUM on polynomial-size integers and an algorithm for APSP on directed graphs with polynomially bounded integer weights. By known reductions, the authors say this also refutes the real-valued versions, the Exact Triangle hypothesis, the Zero-Weight -Clique hypotheses and three rectangular hinted Online Matrix-Vector conjectures of van den Brand, Nanongkai and Saranurak. The algorithms come from a new thin-matrix-product algorithm, built by modifying a variant of Coppersmith's rectangular matrix multiplication (from a ten-multiplication identity of Schönhage); via known reductions it solves All-Edges Sparse Triangle on lopsided tripartite graphs in truly subquadratic time. The paper credits an internal Anthropic model with discovering the core algorithm, which the authors then simplified and extended, and Aaronson's 7 October post repeats this attribution. The authors state that SETH and Orthogonal Vectors are unaffected. As of 15 October 2026 it is an unrefereed preprint by leading experts in the area; no independent verification or published expert assessment was found. The status is therefore IN_PROGRESS: a credible refutation under review, not an accepted one.
Realistic applications
If correct, conditional lower bounds based on these hypotheses are void and algorithm designers should look for truly subcubic and subquadratic algorithms for many problems (replacement paths, negative-triangle, nearest-point problems, 3SUM-hard geometric problems). The exponents are tiny (), and the algorithms are galactic because they rest on rectangular fast matrix multiplication, so no immediate practical speed-up is implied.
What counts as solved
Resolved negatively (hypotheses false) when a truly subcubic APSP or truly subquadratic 3SUM algorithm for polynomially bounded integers is accepted by experts, for example the Alman–Vassilevska Williams algorithms after refereed publication or independent verification. Resolved positively only by an unconditional proof of the stated lower bounds. If a flaw is found in the 2026 preprint, both hypotheses revert to open with no credible claim.
How it gets verified
To verify: Expert reviewOnly expert review of the argument is possible today.
Refuting the hypotheses needs a truly subcubic APSP or truly subquadratic 3SUM algorithm, which is an algorithm with a proof; proving them needs unconditional lower bounds beyond current techniques. No formal running-time framework exists in Mathlib, so experts verify the manuscript. If the 2026 preprint has a flaw, both hypotheses revert to open.
Claims
Where the work is
Verification is mathematical (checking a long proof), with some computation to test exponents numerically.
Connected problems
- This problem builds on Matrix multiplication exponent: is ω = 2, i.e. n2+o(1) operations for n×n products?The claimed refutation builds on a variant of Coppersmith's rectangular matrix multiplication, so its exponents are tied to rectangular matrix multiplication bounds.
- This problem is related to The Hyperclique Hypothesis: is finding a k-clique in an h-uniform hypergraph (h ≥ 3) as hard as brute force?Same family of fine-grained hypotheses, and the November 2026 preprints describe their algorithms as algebraic, like the claimed refutation of the APSP and 3SUM hypotheses; the k-AP Hypothesis ties hyperclique to arithmetic-progression problems.
- This problem is related to The k-Clique Hypothesis: does finding a k-clique in a graph need nωk/3 time?Same family of fine-grained hypotheses (k-Clique, APSP, 3SUM, OV) from which conditional lower bounds are derived.
- This problem is related to Strong Exponential Time Hypothesis: no (2−ε)ⁿ-time algorithm for k-SAT as k → ∞SETH, APSP and 3SUM are the three base hypotheses of fine-grained complexity; under NSETH there are no deterministic fine-grained reductions from SAT to 3SUM or APSP (Carmosino et al.), and the 2026 preprint refuting the APSP and 3SUM hypotheses states that SETH is unaffected.
Progress
- Oct 5, 2026Claimed refutation of the 3SUM and APSP hypothesessource
Alman and Vassilevska Williams posted deterministic O(n^1.9992) 3SUM and O(n^2.9995) APSP algorithms for polynomially bounded integers, refuting both hypotheses if correct; unrefereed.
- May 31, 2014Faster APSP via circuit complexitysource
Williams gave an n^3/2^(Ω(√log n))-type algorithm, the best truly sub-polynomial speedup known for decades.
- Oct 1, 2010APSP subcubic equivalencessource
Vassilevska Williams and Williams proved APSP is equivalent to several problems under subcubic reductions (FOCS 2010).
- Oct 1, 19953SUM-hardness in geometrysource
Gajentaan and Overmars introduced 3SUM-hardness for computational-geometry problems (Comput. Geom., October 1995; day approximate).