Claude’s original sparse-product algorithm enables 3SUM/APSP speedups; humans refine and extend it

Josh Alman, Virginia Vassilevska Williams

Claude’s original sparse-output thin-matrix multiplication algorithm, as presented in Section 2 and related to the certified 3SUM/APSP theorems. Human-optimized numerical parameters, new reductions, data structures and Hinted OMv extensions retain human credit.

Claim corrected. Read the correction.

What was already known

Prior general algorithms saved subpolynomial factors; the 3SUM and APSP hypotheses asserted no fixed polynomial improvement.

How the result developed

  1. 5 Oct 2026 · Manuscript date [1]

    Josh Alman and Virginia Vassilevska Williams reported the AI-assisted result in this manuscript.

  2. 11 Oct 2026 · Simplified proof [2]

    Sankeerth Rao Karingula and Shachar Lovett gave a simpler proof of polynomial improvements for integer 3SUM and all-pairs shortest paths, with weaker exponents.

  3. 14 Nov 2026 · Revised preprint [3]

    Timothy M. Chan, Reina Itakura, Zhiyuan Ma and Yuancheng Yu reported deterministic truly subquadratic 3SUM and truly subcubic all-pairs shortest paths algorithms for real-valued inputs in their revised preprint.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-autonomous
ImportanceMajor
Technical verificationFormal (Lean)
Human understandingExplained

AI involvement

Anthropic set Claude a problem about cryptographic constructions. The authors report that Claude instead developed the sparse matrix-product algorithm that led to the 3SUM and shortest-path speedups. They write, The session used 16M output tokens with no human input. Josh Alman and Virginia Vassilevska Williams then simplified and strengthened the algorithm and derived its data-structure version.

Importance

Changes the fine-grained algorithmic baseline and the conditional-hardness hypotheses built on these problems.

Technical verification

A completed rigorous check is documented for the scoped statement. Anthropic / reported Lean 4 with Mathlib certification: Theorems 19 and 22 and the zero-weight case of Corollary 39, with their dependencies, as specified in the paper’s Lean-certification paragraph. Original discovery and human strengthening are separately credited.

Human understanding

Named human researchers explain or reconstruct the scoped central mechanism in the cited paper/account; credit for that explanation is separate from technical checking. The paper explicitly credits Claude with discovering the core algorithm; the named authors understood, simplified, strengthened and extended it and take responsibility for the paper.

Human work and later research

Related public discussion

APSP in truly subcubic time and 3SUM in truly subquadratic time take away almost all fun of working in the area of fine-grained complexity. Truly remarkable results but it also opens up significant “new” issues of how future research will be done.

Quote from Gautam Kamath

A very interesting result, and a very interesting release scheme.

View original post on X
View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· correction

The original paper now establishes the AI discovery attribution left unassessed by the earlier artifact-only record. Correct original report date and distinguish the paper’s numerical bound from the formal project. Full update; no subscriber alerts.

· publication

Historical seed, researched for the initial catalog. Initial alerting disabled.