2026-10-11 16:37 UTC

Alman and Vassilevska Williams's preprint reports the first truly subquadratic 3SUM (O(n^1.9992)) and truly subcubic APSP (O(n^2.9995)) algorithms β€” attributing the core thin-matrix-product algorithm to an Anthropic research model with Lean-formalized theorems β€” and expert acceptance of both the results and the AI-origin attribution would establish frontier models as originators of landmark theoretical-CS advances.

state: corroboratedheat: lowuncertainty: mediumconvergesscott: highai-for-math anthropic theoretical-cs lean-formalizationJosh AlmanVirginia Vassilevska WilliamsAnthropic
Surfaced 2026-10-06T08:11:06Z β€” Abstract: "We give the first polynomial improvements over the textbook algorithms for 3SUM and All-Pairs Shortest Paths (APSP): we show how β€” Alman and Vassilevska Williams's preprint reports the first truly subquadratic 3SUM (O(n^1.9992)) and truly subcubic APSP (O(n^2.9995)) algorithms β€” attributing the core thin-matrix-product algorithm to an Anthropic research model with Lean-formalized theorems β€” and expert acceptance of both the results and the AI-origin attribution would establish frontier models as originators of landmark theoretical-CS advances.

What is this?

Josh Alman (Columbia) and Virginia Vassilevska Williams (MIT) are among the leading figures in fine-grained complexity β€” the subfield that pins down exact running-time limits of problems like 3SUM and All-Pairs Shortest Paths β€” and are frequent co-authors: the snippets confirm Vassilevska Williams's MIT affiliation and fine-grained-complexity focus, her continued 3SUM work into 2026 (ICALP 2026 preprocessed-3SUM paper), and Alman's line of work at the complexity/transformers boundary ('Fundamental limitations on subquadratic alternatives to transformers', ICLR 2025). The new preprint itself (arXiv:2610.06783) and its AI attribution are NOT directly attested in the supplied snippets β€” the results and the acknowledgments crediting 'Claude, an AI model developed by Anthropic' with discovering the algorithm rest entirely on the case's own evidence trail (a retrieved arXiv HTML v1 and an HN commenter quoting the acknowledgments verbatim, both checkable against the public artifact but not corroborated by anything scraped here). If the attribution quote is accurate, the paper would be the first landmark fine-grained-complexity breakthrough credited to a frontier model, authored by precisely the two researchers whose careers are anchored to the conjectures it refutes β€” and the 3SUM/APSP refutation claim itself still awaits independent expert validation.

Why it matters to Scott

Converges with his idea-provenance canon: the field's two leading authorities crediting Claude in the primary artifact's acknowledgments ('Claude... discovered the algorithm... the authors then worked to understand, simplify, strengthen, and extend') is the strongest dated receipt yet for AI-as-originator β€” and the attribution itself was just corroborated by exactly his receipts-over-reputation method (Reddit paraphrase β†’ arXiv HTML β†’ verbatim quote), with the secondary Reddit framing now correctly demoted to the paper's narrower Claude-discovered/authors-refined wording. The open crux is his verification paradox at maximum leverage β€” provenance settled in hours, a 3SUM/APSP refutation still awaiting the external expert arbiter his challenger-never-arbiter framework demands β€” and the still-unconfirmed Lean claim is a second formalisation-bottleneck datapoint if it verifies; track the expert-validation line as the publishing window for the idea-provenance ebook.
ip:concept.idea-provenanceip:source.idea-provenance-ebookip:concept.verification-paradoxip:framework.challenger-never-arbiterip:concept.formalisation-bottleneckip:concept.human-ai-collaborationradar:kls-conjecture-proof-creditradar:claude-borsuk-counterexampleradar:anthropic-fermat-lean-formalizationradar:anthropic-cryptanalysis-capabilityradar:agmai-openai-math-release-adviceradar:alphaevolve-matrix-exponent-improvement
queries asked of Scott's wikis
  • AI as originator of landmark discoveries β€” idea provenance, credit, and who-actually-found-it
  • Lean formalization / proof verification of AI-generated mathematics
  • Anthropic Claude capability trajectory and research-discovery claims
  • model-proposes-human-verifies workflows β€” division of labor in agentic research
  • AI-for-math positions β€” theorem proving, conjecture refutation, expert acceptance
  • fine-grained complexity folklore β€” 3SUM/APSP conjectures as barriers

Measured heat

now 0 pts/hpeak 85 pts/hcomments 0/hpeers p14momentum: steady3 platformsage 171h
points/hour across evidence Β· reading as of 2026-10-12 02:59:37.977291+11:00 Β· deterministic, not a model opinion

How the heat travelled

10-04 13:00⭐ origin echo-reconstructedAbstract: "We give the first polynomial improvements over the textbook algorithms for 3SUM and All-Pairs Shortest Paths (APSP): we show how
Josh Alman (Columbia) and Virginia Vassilevska Williams (MIT) on paper (echo) Β· attributed from reddit.post.1wyw84m
β€”
10-06 03:34first on hacker news Β· published Β· +38.6hSubquadratic 3SUM and Subcubic APSP
procedurecall
β€”
10-06 07:16first on r/singularity Β· published Β· +42.3hInternal Anthropic model refuted the 3SUM and APSP hypotheses: first truly subquadratic 3SUM and truly subcubic APSP (Alman & Vassilevska Williams)
AMBNNJ
β€”
10-06 03:34amplified on hacker newshn.story.49973854
procedurecall
peak 33 Β· 4 comments Β· 9% of case engagement
10-06 07:16amplified on r/singularity πŸ‘‘reddit.post.1wyw84m
AMBNNJ
peak 309 Β· 64 comments Β· 51% of case engagement
10-06 12:31amplified on hacker newshn.story.49977437
mauriziocalo
peak 110 Β· 50 comments Β· 40% of case engagement
10-06 07:20our radar first saw it Β· +42.3hdiscovery anchor: reddit.post.1wyw84mβ€”
10-06 07:51reached heat=high Β· +42.9h Β· via ledgerβ€”β€”
pace: p86 vs 1188 stories at the 168h mark (now 171h old) β€” ahead of openai-agents-api (1.0x), behind isaacs-flock-alpr-lawsuit (1.0x)

Evidence (4) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditInternal Anthropic model refuted the 3SUM and APSP hypotheses: first truly subquadratic 3SUM and truly subcubic APSP (Alman & Vassilevska Williams)
singularity
Retrieved article excerpt

Open article Β· Retrieved 2026-10-06T07:24:15.179319+00:00

# 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](https://arxiv.org/search/cs?searchtype=author&query=Alman,+J), [Virginia Vassilevska Williams](https://arxiv.org/search/cs?searchtype=author&query=Williams,+V+V)

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](https://arxiv.org/pdf/2610.06783)
[HTML (experimental)](https://arxiv.org/html/2610.06783v1)
> 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: |
| Subjects: | Data Structures and Algorithms (cs.DS); Computational Complexity (cs.CC) |
| Cite as: | [arXiv:2610.06783](https://arxiv.org/abs/2610.06783) [cs.DS] |
|  | (or  [arXiv:2610.06783v1](https://arxiv.org/abs/2610.06783v1) [cs.DS] for this version) |
|  | <https://doi.org/10.48550/arXiv.2610.06783> Focus to learn more  arXiv-issued DOI via DataCite (pending registration) |

## Submission history

From: Josh Alman [[view email](https://arxiv.org/show-email/6de32e58/2610.06783)]

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

- [View PDF](https://arxiv.org/pdf/2610.06783)
- [HTML (experimental)](https://arxiv.org/html/2610.06783v1)
- [TeX Source](https://arxiv.org/src/2610.06783)

[license icon](http://creativecommons.org/licenses/by/4.0/ "Rights to this article")

### Current browse context:

cs.DS

[<Β prev](https://arxiv.org/prevnext?id=2610.06783&function=prev&context=cs.DS "previous in cs.DS (accesskey p)")
Β  | Β  
[nextΒ >](https://arxiv.org/prevnext?id=2610.06783&function=next&context=cs.DS "next in cs.DS (accesskey n)")

[new](https://arxiv.org/list/cs.DS/new)
 | 
[recent](https://arxiv.org/list/cs.DS/recent)
 | [2026-10](https://arxiv.org/list/cs.DS/2026-10)

Change to browse by:

[cs](https://arxiv.org/abs/2610.06783?context=cs)  
[cs.CC](https://arxiv.org/abs/2610.06783?context=cs.CC)

### References & Citations

- [NASA ADS](https://ui.adsabs.harvard.edu/abs/arXiv:2610.06783)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2610.06783)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2610.06783)

export BibTeX citation
Loading...

## BibTeX formatted citation

Γ—

loading...

Data provided by:

### Bookmark

[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2610.06783&description=Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2610.06783&title=Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs "Bookmark on Reddit")



Bibliographic Tools

# Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*

Connected Papers Toggle

Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*

Litmaps Toggle

Litmaps *([What is Litmaps?](https://www.litmaps.co/))*

scite.ai Toggle

scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*

Code, Data, Media

# Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*

Links to Code Toggle

CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*

DagsHub Toggle

DagsHub *([What is DagsHub?](https://dagshub.com/))*

GotitPub Toggle

Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*

Huggingface Toggle

Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*

ScienceCast Toggle

ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*

Demos

# Demos

Replicate Toggle

Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*

Spaces Toggle

Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*

Spaces Toggle

TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*

Related Papers

# Recommenders and Search Tools

Link to Influence Flower

Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*

Core recommender toggle

CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*

- 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**](https://info.arxiv.org/labs/index.html).

[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2610.06783) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html))
AMBNNJ30964
🟧 echo.paper ⭐Abstract: "We give the first polynomial improvements over the textbook algorithms for 3SUM and All-Pairs Shortest Paths (APSP): we show how Josh Alman (Columbia) and Virginia Vassilevska Williams (MIT)β€”β€”
🟧 hnSubquadratic 3SUM and Subcubic APSPprocedurecall334
🟧 hnSubquadratic 3SUM and Subcubic APSPmauriziocalo11050

Interpretation history

Decision trace