Truly subquadratic 3SUM and truly subcubic APSP, refuting two central fine-grained complexity hypotheses
A preprint by Josh Alman and Virginia Vassilevska Williams gives deterministic algorithms that solve 3SUM on polynomially bounded integers in time and all-pairs shortest paths with polynomially bounded integer weights in time , refuting the 3SUM and APSP hypotheses, from an algorithm the paper says an internal Anthropic model found on its own.
- Lab
- Anthropic
- Model
- Unreleased internal Anthropic research model (Claude), not named in the paper
- Field
- Computer science
- Date
- 2026-10-05
- Human collaborators
- Josh Alman, Virginia Vassilevska Williams
- Problem posed
- 1995 · open 31 yrs
What was found
Both hypotheses say the textbook algorithms are essentially optimal: 3SUM, deciding whether three of integers sum to zero, needs time , and APSP needs . Fine-grained complexity has used them, together with the Exact Triangle hypothesis, as the starting points of many conditional lower bounds, and the abstract describes these as the first polynomial improvements over the textbook algorithms. Everything follows from one new algorithm for thin matrix products: for an integer matrix and a matrix with , it computes the entries of at any set of at most prescribed positions in operations, by modifying a variant of Coppersmith's rectangular matrix multiplication algorithm built on a ten-multiplication identity of Schönhage. Read as a graph algorithm, it finds all triangles in sparse lopsided tripartite graphs in truly subquadratic time, and known reductions carry that to Exact Triangle, 3SUM and APSP, and further to the real-valued versions of 3SUM and APSP, the Zero-Weight -Clique hypotheses and three hinted Online Matrix-Vector conjectures. According to the paper's methodology section, an Anthropic employee had an internal research model working on cryptographic constructions based on the average-case hardness of Zero--Clique; asked to verify and improve them, it instead developed this algorithm, first for the average case and then for the worst case, in one session of 16 million output tokens with no human input. Anthropic shared it with the authors in September 2026, and they simplified, strengthened and extended it and derived the further consequences. After the paper was written, an internal Anthropic model produced a Lean 4 formalization of five headline running-time claims on a word RAM defined in Lean.
Novelty check
Read the abstract, the introduction and the 'Acknowledgments and Methodology' section of arXiv:2610.06783 v1 on 2026-10-16, and the README of the Lean formalization. The abstract presents these as the first polynomial improvements over the textbook algorithms for either problem, and Vassilevska Williams is a co-author of the 2010 work on subcubic equivalences through which the APSP hypothesis is usually stated, so the account of prior work comes from the area's own authorities. The registry had no entry citing this paper and none on either hypothesis. The two Hacker News threads on the preprint raise no technical objection.
Caveats and known objections
Graded author-verified rather than formal or claimed. The paper is by two researchers outside Anthropic who are leading figures in fine-grained complexity and who take full responsibility for it, which is the human check this grade records; nobody outside the author group is on record as having read the argument, and the preprint is unrefereed and eleven days old at entry. The Lean development is large, about 102,000 lines by vibemathed's count, and states the five headline claims in a 139-line file that imports nothing, but it was written by Anthropic, the party that found the algorithm, and no Comparator run or third-party registration is recorded; an independent replay against an audited statement file would support formal. The Lean machine is a word RAM with nine instructions and no division, shift or bitwise operation, which the formalization's documentation compares with the standard model point by point; a weaker machine only strengthens an upper bound. The running times for real-valued inputs and the printed running times of the two reduction theorems are not formalized. Autonomy is graded ai-led rather than autonomous: the account that the algorithm came out of one unsupervised session aimed at a different question rests on Anthropic alone and the session is not public, and the authors strengthened and extended what they were given, using known reductions in place of a different one that was shared with them. The paper says slightly better but more complicated algorithms generated with Claude were left out. Anthropic shared the algorithm under a confidentiality agreement, offered the authors compensation and gave them access to the public Claude model, all disclosed in the paper. The exponent savings are tiny and the algorithms are not practical; the consequence is for the conditional lower bounds that were derived from these hypotheses.
The open problem
388643
Nothing mechanically. It records what a problem says, what is known about it, and the standing of any claimed solution.
Also recorded at
Nothing mechanically. It is a parallel listing of the same result, carrying its own verification label rather than an independent check.
Nothing mechanically. It is a parallel listing of the same result, carrying its own verification label rather than an independent check.
Nobody outside the lab has checked this yet.
Reading the primary source closely enough to say whether it supports the claim counts as a check, and you are credited on the entry.
Or on GitHub: submit a check challenge the grade send a correction or send a pull request
Flag this for triage
Signals order the review queue and nothing else. They are never published, and they never move a grade: that takes a citation.
Entry history (1 event)
- AddedEntered the registry graded Author verified and AI-led.
Entries are never deleted. A grade that does not hold up is downgraded on the record, with the reason beside it.
Community discussion
Graded author verified for verification and ai-led for autonomy. What these mean.
Cite this entry
whataifound.org. (2026). Truly subquadratic 3SUM and truly subcubic APSP, refuting two central fine-grained complexity hypotheses. whataifound.org: A Registry of AI Scientific and Mathematical Discoveries. https://whataifound.org/finding/2026-10-05-3sum-apsp-hypotheses
BibTeX
@misc{whataifound-anthropic-2026-hypotheses,
title = {Truly subquadratic 3SUM and truly subcubic APSP, refuting two central fine-grained complexity hypotheses},
author = {{whataifound.org}},
year = {2026},
howpublished = {whataifound.org: A Registry of AI Scientific and Mathematical Discoveries},
note = {Result by Anthropic. Verification: Author verified. Autonomy: AI-led.},
url = {https://whataifound.org/finding/2026-10-05-3sum-apsp-hypotheses}
}