3SUM and shortest paths get their first polynomial speedups

An algorithm found by Claude beats the textbook speed of two classic problems by a power of n

By Josh Alman and Virginia Vassilevska WilliamsAnnounced 5 Oct 2026 · Checked 8 Nov 2026

Is it true?

How we check
Confirmed

Yes for the speedups: two outside experts call them established. The exact exponents are not checked outside yet.

Verified by: Sankeerth Rao Karingula and Shachar Lovett ↗︎ · 11 Oct 2026

Get notified if this settles, plus the 3‑minute Saturday briefing.

Free · 1‑click unsubscribe

What was claimed

An algorithm found by Claude solves 3SUM, deciding whether three of n numbers add to zero, in O(n^1.9992) time and all-pairs shortest paths in O(n^2.9995) time, the first polynomial improvements over the textbook n² and n³ algorithms.

Claimed by Josh Alman and Virginia Vassilevska Williams, whose paper says "Claude, an AI model developed by Anthropic, discovered the algorithm" and that they then worked to understand, simplify, strengthen and extend it · AI: Anthropic internal research model, Claude

Who checked it (3)

  • partly checked:

    Timothy M. Chan, Reina Itakura, Zhiyuan Ma and Yuancheng Yu30 Oct 2026gave a different truly subquadratic randomized algorithm for integer 3SUM, without matrix multiplication and with no exponent stated

  • passed:

    Sankeerth Rao Karingula and Shachar Lovett11 Oct 2026gave a simplified proof, with weaker exponents, of the polynomial improvements for integer 3SUM and APSP "established by Alman and Vassilevska Williams"

  • partly checked:

    Lean, run by Anthropic6 Oct 2026proves the five headline claims, among them 3SUM in O(n^1.9992) and APSP in O(n^2.99942), about programs of a word RAM. Its Comparator settings allow only the standard axioms, but no Comparator run is recorded and we found no outside rebuild.

Sources

Our video

More claims

See all claims →