HN 日本語サマリー

← 一覧へ戻る
プログラミング

サブ二次時間3SUMとサブ立方時間APSP

Subquadratic 3SUM and Subcubic APSP (arxiv.org)

66 pointsby mauriziocalo23 コメント

要約

本論文は、3SUM問題と全対最短経路問題(APSP)に対する既存の教科書的なアルゴリズムを多項式時間で改善する最初の研究成果を発表します。具体的には、整数サイズのn個の整数に対する3SUM問題をO(n^1.9992)時間で、多項式的に有界な整数重みを持つ有向n頂点グラフ上のAPSP問題をO(n^2.9995)時間で決定論的に解くアルゴリズムを提案しています。これらの結果は、3SUM仮説とAPSP仮説を反証するものです。

全文翻訳

Computer Science > Data Structures and Algorithms

arXiv:2610.06783 (cs)

[Submitted on 5 Oct 2026]

Title: Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs

Authors:Josh Alman, Virginia Vassilevska Williams

View a PDF of the paper titled Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs, by Josh Alman and Virginia Vassilevska Williams

View PDF HTML (experimental)

Abstract:We give the first polynomial improvements over the textbook algorithms for $3$SUM and All-Pairs Shortest Paths (APSP): we show how to deterministically solve $3$SUM 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. This refutes the $3$SUM and APSP hypotheses. Using known reductions, we also refute the real-valued versions of the $3$SUM and APSP hypotheses, the Exact Triangle hypothesis, the Zero-Weight $k$-Clique hypotheses, and the three rectangular hinted Online Matrix--Vector conjectures of van den Brand, Nanongkai, and Saranurak, and we give polynomial speedups for a variety of other problems.
All of these results follow from a single new algorithm for thin matrix products. Let $X$ be an $N\times D$ integer matrix and $Y$ a $D\times N$ integer matrix with $D\le N^{1/18}$, and let $W$ be any set of at most $N^2/\sqrt D$ positions. We compute the entries $(XY)[I,J]$, $(I,J)\in W$, in $O(N^2/D^{0.063})$ operations, which is polynomially less than the time needed to write down $XY$ or to compute $N^2/\sqrt D$ inner products one by one. We design this algorithm by modifying a variant of Coppersmith's rectangular matrix multiplication algorithm, built from a ten-multiplication identity of Schönhage, to perform only the operations needed for the entries in $W$, and show that few operations are needed. Interpreted as a graph algorithm, this solves the All-Edges Sparse Triangle problem in truly subquadratic time on sparse lopsided tripartite graphs where two parts have $n$ vertices but one part has $n^{\varepsilon}$ vertices for $\varepsilon<0.12$. By known reductions, Exact Triangle, and hence $3$SUM and APSP, reduce to this problem. We also give a data structure version that answers queries for single entries of $XY$, not known in advance.

Comments:76 pages
Subjects:Data Structures and Algorithms (cs.DS); Computational Complexity (cs.CC)
Cite as:arXiv:2610.06783 [cs.DS]
(or arXiv:2610.06783v1 [cs.DS] for this version)
https://doi.org/10.48550/arXiv.2610.06783 arXiv-issued DOI via DataCite

Submission history

From: Josh Alman
[v1] Mon, 5 Oct 2026 17:44:29 UTC (93 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs, by Josh Alman and Virginia Vassilevska Williams

[画像: license icon] view license

Additional Features
Current browse context:

cs.DS

< prev | next >

new | recent | 2026-10

Change to browse by:

cs
cs.CC

References & Citations

Loading...

BibTeX formatted citation

loading...

Data provided by:

Bookmark

[画像: BibSonomy][画像: Reddit]

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

  • Author
  • Venue
  • Institution
  • Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)