Complexity of real all-pairs shortest paths

All-pairs shortest paths asks for the distance from each vertex to every other vertex. For directed graphs with real edge weights and no negative cycles, the problem is closely tied to min-plus matrix multiplication.

Why it matters and what counts as progress

Why it matters: A truly subcubic algorithm improves a standard benchmark for shortest paths and related fine-grained complexity problems.

What counts as progress: Give a running time in terms of the number of vertices, with the real-operation model and any randomization stated. A truly subcubic bound has exponent at most 3−ε3-\varepsilon for fixed ε>0\varepsilon >0.

How the problem developed

  1. 2022 · Triangle reductions [3]

    Timothy M. Chan, Virginia Vassilevska Williams and Yinzhan Xu Developed reductions from real APSP to sparse triangle problems.

  2. 5 Oct 2026 · Truly subcubic Las Vegas algorithm [2]

    Josh Alman, Virginia Vassilevska Williams and Anthropic Combined earlier reductions with faster selected-entry matrix multiplication.

  3. 30 Oct 2026 · Deterministic real APSP [1]

    Timothy M. Chan, Reina Itakura, Zhiyuan Ma, Yuancheng Yu and ChatGPT Sol 6.1 Gave a deterministic O(n2⋅9997)O(n^{2}\cdot ^{9997}) algorithm from selected triangle counts.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

Faster integer 3SUM by subset convolution

Timothy M. Chan, Reina Itakura, Zhiyuan Ma, Yuancheng Yu

For three sets of n polynomially bounded integers, the subset-convolution algorithm solves 3SUM in O(n1⋅965)O(n^{1}\cdot ^{965}) Monte Carlo time with error probability O(1/n)O(1/n), without matrix multiplication or FFT. For every fixed odd k≥5k\ge 5, a vector-convolution extension solves k-SUM on polynomially bounded integers in O(n(⌈k/2⌉−εk))O(n^{(\lceil k/2\rceil -\varepsilon _{k})}) Monte Carlo time for some εk>0\varepsilon _{k}>0. Separate deterministic reductions to counting triangles through specified edges give O(n1⋅9998)O(n^{1}\cdot ^{9998}) for real 3SUM and O(n2⋅9997)O(n^{2}\cdot ^{9997}) for real APSP.

AI involvementAI-led
ImportanceNotable
Technical verificationFormal (human)
Human understandingExplained
Paper date:

Sources

  1. 3SUM Made Simpler (Without Matrix Multiplication), k-SUM Hypothesis Refuted for Odd k, and Real 3SUM/APSP Derandomized
  2. Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs
  3. Hardness for Triangle Problems under Even More Believable Hypotheses
Publication history