Skip to content
DAH

APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integers

In progressTo verify: Expert reviewPosed by 3SUM hypothesis: Gajentaan and Overmars (1995); APSP hypothesis and subcubic equivalences: Vassilevska Williams and Williams (FOCS 2010); claimed refutation: Alman and Vassilevska Williams (arXiv:2610.06783, 5 October 2026, unrefereed)
AI-reviewed
On this page17 sections
Difficulty
32/100Hard
How far from a resolution. P vs NP = 100
Application value
24/100Indirect
Realistic practical impact if resolved. P vs NP = 100
Leverage
66/100Field-wide
How much other knowledge hinges on it. P vs NP = 100

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.

  1. 1Shortest paths need n³ steps for decades
  2. 23SUM needs n² steps for decades
  3. 3Hundreds of problems tied to them
  4. 4Hypothesis: no polynomial speed-up
  5. 52026 preprint claims one; unconfirmed

Statements. APSP hypothesis: for every ε>0\varepsilon>0, all-pairs shortest paths on nn-vertex directed graphs with integer edge weights in [−nc,nc][-n^c,n^c] (no negative cycles) cannot be solved in O(n3−ε)O(n^{3-\varepsilon}) time on a word RAM with O(log⁡n)O(\log n)-bit words. 3SUM hypothesis: for every ε>0\varepsilon>0, deciding whether nn integers in [−nc,nc][-n^c,n^c] contain three that sum to zero cannot be done in O(n2−ε)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 kk-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 n3/2Ω(log⁡n)n^3/2^{\Omega(\sqrt{\log n})} time (Williams 2014, with refinements by Chan and Williams 2016). For 3SUM the best was about n2(log⁡log⁡n)O(1)/log⁡2nn^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(n1.9992)O(n^{1.9992}) algorithm for 3SUM on polynomial-size integers and an O(n2.9995)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.

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 ε>0\varepsilon>0, all-pairs shortest paths on nn-vertex directed graphs with integer edge weights in [−nc,nc][-n^c,n^c] (and no negative cycles) cannot be solved in O(n3−ε)O(n^{3-\varepsilon}) time on a word RAM with O(log⁡n)O(\log n)-bit words. The 3SUM hypothesis states that for every ε>0\varepsilon>0, deciding whether nn integers in [−nc,nc][-n^c,n^c] contain a+b+c=0a+b+c=0 cannot be done in O(n2−ε)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 kk-Clique and hinted Online Matrix–Vector hypotheses that reduce to them. A refutation is an algorithm with running time O(n3−ε)O(n^{3-\varepsilon}) (APSP) or O(n2−ε)O(n^{2-\varepsilon}) (3SUM) for a fixed ε>0\varepsilon>0; 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)
Words on this page
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)
New to this? Read first

Built from

earlier problems → this one

The 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.

  1. Start with
  2. Step 2
  3. Then
    • APSP and 3SUM hypotheses: no n3−ε APSP or n2−ε 3SUM on polynomially bounded integersThis problem

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. 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 n3/2Ω(log⁡n)n^3/2^{\Omega(\sqrt{\log n})} time (Williams, STOC 2014 for real weights, with refinements by Chan and Williams, SODA 2016 via derandomisation), and for 3SUM the best was O(n2(log⁡log⁡n)O(1)/log⁡2n)O(n^2(\log\log n)^{O(1)}/\log^2 n) (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 O(n1.9992)O(n^{1.9992}) algorithm for 3SUM on polynomial-size integers and an O(n2.9995)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, the Exact Triangle hypothesis, the Zero-Weight kk-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 (3−0.00053-0.0005), 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 review

Only 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

Theory
85%
New mathematical or conceptual ideas
Engineering
0%
Building instruments, chips, systems, software, formal proofs
Compute
15%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Verification is mathematical (checking a long proof), with some computation to test exponents numerically.

Connected problems

Progress

  1. Oct 5, 2026
    Claimed refutation of the 3SUM and APSP hypotheses

    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.

    source
  2. May 31, 2014
    Faster APSP via circuit complexity

    Williams gave an n^3/2^(Ω(√log n))-type algorithm, the best truly sub-polynomial speedup known for decades.

    source
  3. Oct 1, 2010
    APSP subcubic equivalences

    Vassilevska Williams and Williams proved APSP is equivalent to several problems under subcubic reductions (FOCS 2010).

    source
  4. Oct 1, 1995
    3SUM-hardness in geometry

    Gajentaan and Overmars introduced 3SUM-hardness for computational-geometry problems (Comput. Geom., October 1995; day approximate).

    source