Long-Standing 3SUM and APSP Conjectures Refuted by New Matrix Multiplication Algorithm

Subquadratic 3SUM and Subcubic APSP

Researchers present the first polynomial improvements over textbook algorithms for 3SUM and All-Pairs Shortest Paths, solving 3SUM on n integers in O(n^1.9992) time and APSP on directed graphs with polynomial weights in O(n^2.9995) time. This refutes the 3SUM and APSP hypotheses, along with several related conjectures. The breakthrough stems from a new algorithm for thin matrix products that exploits sparsity in lopsided graphs.

We give the first polynomial improvements over the textbook algorithms for 3SUM and All-Pairs Shortest Paths (APSP): we show how to deterministically solve 3SUM on n integers of polynomial size in O(n^1.9992) time and APSP on directed n-vertex graphs with polynomially bounded integer weights in O(n^2.9995) time.
  1. zone411

    I maintain an LLM-ranked list of the 500 most important open problems in math at https://www.proofatlas.ai/open-problems/. This problem was ranked #159, and it also resolved #244, "All-Pairs Shortest Paths in Truly Subcubic Time." It is formalized in Lean.

    But what's crazy is that within the last day or so, we've also gotten LLM-assisted solutions to #95, the Kannan–Lovász–Simonovits (KLS) conjecture, by three different authors in parallel (all extending Song–Zhang's key criterion introduced on Oct. 1), #278, the Mumford–Shah conjecture, and #227, Zauner's conjecture on SIC-POVM existence in every dimension, which also represents a major claimed advance on Hilbert's twelfth problem (#36) for real quadratic fields.

    This is likely because OpenAI's solutions to 100 open conjectures are expected to drop any day, so everyone is in a hurry not to get scooped.

  2. stephen_cagle

    The full title is "Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs". Is that the same thing as getting subqudratic time in general 3SUM? How much carrying is the Sparse Lopsided Graph doing here?

  3. djoldman

    > Claude, an AI model developed by Anthropic, discovered the algorithm that refutes the 3SUM, APSP, and Exact Triangle hypotheses. The authors then worked to understand, simplify, strengthen, and extend the algorithm, derive additional consequences, and make the presentation accessible. See “Acknowledgments and Methodology” for how the result was found and shared with the authors. The authors take full responsibility for this paper.

    > Claude also verified this paper’s main results using the Lean 4 proof assistant with the Mathlib library.

  4. vatsachak

    As a former mathematician, I'm kind of over them using the LLM for math. we know it works. I want them pointed at "data construction", like being libraries, theories and experiments. But I guess they are deduction machines and there is a lot of low hanging fruit with superhuman deduction in math.

  5. kevinwang

    Wow, can anyone give the TCS community context on this? Would most people have thought these to be possible, to be impossible, or would most people not have thought about this before?

More from this day

2026-10-06