{"schema":"postcutoff/event@1","as_of":"2026-11-21T13:34:00+01:00","url":"https://postcutoff.com/e/2026-10-05-claude-refutes-3sum-apsp-hypotheses/","md":"https://postcutoff.com/e/2026-10-05-claude-refutes-3sum-apsp-hypotheses/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"2026-10-05-claude-refutes-3sum-apsp-hypotheses","date":"2026-10-05","date_precision":"day","short_title":"Claude discovers an algorithm that refutes the 3SUM and APSP hypotheses","deck":"Truly subquadratic 3SUM and truly subcubic APSP (Alman & Vassilevska Williams, Lean-verified)","takeaway":null,"category":"science","category_label":"Science & math","importance":5,"confidence":"high","status":{"key":"pending","labels":["Event confirmed","Awaiting review"]},"sources":[{"n":1,"title":"arXiv 2610.10153: 3SUM Is Really Hard: A Real-to-Integer Reduction (Fischer, Polak, Schmidt)","url":"https://arxiv.org/abs/2610.10153","type":"paper","group":"primary","domain":"arxiv.org"},{"n":2,"title":"arXiv 2610.06783: Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs","url":"https://arxiv.org/abs/2610.06783","type":"paper","group":"primary","domain":"arxiv.org"},{"n":3,"title":"GitHub: anthropics/formal-math, 3sum-apsp Lean formalization","url":"https://github.com/anthropics/formal-math/tree/main/3sum-apsp","type":"code","group":"primary","domain":"github.com"},{"n":4,"title":"Hacker News discussion (109 points, Oct 6)","url":"https://news.ycombinator.com/item?id=49977437","type":"discussion","group":"reactions","domain":"news.ycombinator.com"}],"official":3,"filed":"2026-10-06","updated":"2026-10-13","orgs":["Anthropic","Columbia University","MIT"],"title":"Claude discovers an algorithm that refutes the 3SUM and APSP hypotheses: truly subquadratic 3SUM and truly subcubic APSP (Alman & Vassilevska Williams, Lean-verified)","summary":"On Oct 5, 2026 Josh Alman (Columbia) and Virginia Vassilevska Williams (MIT) posted arXiv 2610.06783, giving the first polynomial speedups over the textbook algorithms for 3SUM (O(n^1.9992)) and All-Pairs Shortest Paths (O(n^2.9995)), which refutes the 3SUM, APSP, Exact Triangle and Zero-Weight k-Clique hypotheses that underpin much of fine-grained complexity. The paper says an Anthropic internal research model (Claude) discovered the algorithm on its own, with no human input, while asked to check cryptographic constructions; Anthropic then certified the main theorems in Lean 4 (not every result in the paper).","key_facts":["Paper: 'Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs', Josh Alman (Columbia) and Virginia Vassilevska Williams (MIT), arXiv 2610.06783, cs.DS, Oct 5, 2026","Results: deterministic 3SUM on n polynomial-size integers in O(n^1.9992); APSP on directed graphs with polynomially bounded integer weights in O(n^2.9995); Exact Triangle in O(n^2.9983); Zero-Weight k-Clique in O(n^(k−0.0017⌊k/3⌋))","Refuted (with known reductions): the 3SUM and APSP hypotheses, their real-valued versions, 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","Core idea: an algorithm for thin matrix products that computes a sparse set of entries of XY polynomially faster than writing XY down, by modifying a variant of Coppersmith's rectangular matrix multiplication built from a ten-multiplication identity of Schönhage; as a graph algorithm it solves All-Edges Sparse Triangle on sparse lopsided tripartite graphs in truly subquadratic time","How it was found (paper): 'An Anthropic employee used an internal research model to investigate open problems in the theory of cryptography' (constructions based on average-case hardness of Zero-k-Clique). 'Claude was tasked with verifying and improving the constructions, but instead developed this algorithm, first for the average case, then for the worst case. The session used 16M output tokens with no human input.'","Anthropic shared the algorithm with the authors in September 2026 under a confidentiality agreement and offered compensation; the authors simplified, strengthened and extended it (the data-structure version and the Hinted OMv connection are theirs)","Lean: after the paper was written, Anthropic used an internal model to certify Theorems 19 and 22 and the Zero-Weight case of Corollary 39 in Lean 4 + Mathlib, with all lemmas they rely on; repo anthropics/formal-math (3sum-apsp), checked with the Comparator tool, standard axioms only. Not formalized: real-input Las Vegas algorithms, Theorem 33, matrix-multiplication exponent values and the Section 5.1 running times","Context: the O(n^2) 3SUM algorithm had only been improved by polylog factors (Grønlund–Pettie 2014 and later), and APSP by subpolynomial factors (Williams 2018); these hypotheses underpin many conditional lower bounds","Verification status: preprint plus machine-checked Lean certificate of the main theorems; no peer review yet; reactions not yet found at 07:30 CEST Oct 6; by Oct 9 the Hacker News thread had 109 points and 49 comments, mostly summarising Claude's role, with one technical question on whether the sparse lopsided graph structure carries the subquadratic gain; no public expert assessment found","Related independent work (Oct 7): Fischer (MPI-INF), Polak and Schmidt (Bocconi), '3SUM Is Really Hard: A Real-to-Integer Reduction' (arXiv 2610.10153), prove that a truly subquadratic Integer 3SUM algorithm yields a truly subquadratic Real 3SUM algorithm (comparison-addition model), answering an open question of Chan, Vassilevska Williams and Xu (STOC 2022). The paper does not cite 2610.06783 and has no AI disclosure; it was written under the assumption that 3SUM is hard"],"key_numbers":[],"tags":["algorithms","complexity-theory","fine-grained-complexity","claude","lean","formal-verification","ai-discovery"],"science":{"field":"computer-science","subfield":"algorithms / fine-grained complexity","problem":"3SUM hypothesis (no O(n^(2−ε)) algorithm) and APSP hypothesis (no O(n^(3−ε)) algorithm), plus Exact Triangle and Zero-Weight k-Clique","result":"Deterministic O(n^1.9992) 3SUM and O(n^2.9995) integer APSP, refuting the 3SUM, APSP, Exact Triangle and Zero-Weight k-Clique hypotheses and three hinted OMv conjectures","open_since":"1995","ai_system":["Claude (Anthropic internal research model)"],"human_role":"AI-originated: the core algorithm was found autonomously by Claude (16M output tokens, no human input) during an unrelated cryptography task; Alman and Vassilevska Williams simplified, extended and wrote the paper","verification":{"key":"lean","label":"Lean-verified","text":"Preprint; main theorems formally verified in Lean 4/Mathlib by an Anthropic internal model"},"status":"pending","shock":"Two of the central conjectures of fine-grained complexity, assumed by a large body of conditional lower bounds, fell to an algorithm an AI found while working on something else."},"body_md":"## What happened\n\nFine-grained complexity rests on a few hypotheses: that 3SUM needs about n² time, APSP about n³ time, and so on. Many\n\"conditional lower bounds\" assume them. Alman and Vassilevska Williams, both leading researchers in the area, now show polynomial\nspeedups for both, so all those bounds lose their basis. The improvement in the exponent is tiny (0.0008 for 3SUM), but any polynomial\nimprovement refutes the hypotheses.\n\nPer the paper's \"Acknowledgments and Methodology\", the algorithm came from Claude: an Anthropic employee was using an internal research\nmodel on cryptographic constructions built on the average-case hardness of Zero-k-Clique. Instead of verifying them, the model broke the\nassumption, first on average and then in the worst case, in one session of 16M output tokens. Anthropic passed the algorithm to the two\nauthors in September, and certified the final paper's main theorems in Lean.\n\n## Why it matters\n\nThis is the most significant theoretical-computer-science result credited to an AI so far, and the first where a frontier model, unprompted,\noverturned a widely believed conjecture rather than proving one that experts expected to be true. The Lean certificate addresses\ncorrectness; whether the method generalises (e.g. to SETH or Orthogonal Vectors) is open. The paper was found on Oct 6 by a manual arXiv\nscan; Anthropic had not yet announced it on its own channels at that time.","disputed":[{"label":"Verification","text":"Preprint; main theorems formally verified in Lean 4/Mathlib by an Anthropic internal model","sources":[]}],"related":[{"id":"2026-10-13-ai-assisted-results-october-2026","url":"https://postcutoff.com/e/2026-10-13-ai-assisted-results-october-2026/","date":"2026-10-13","date_precision":"day","short_title":"October 2026: the arXiv stream of conjectures settled with disclosed AI help continues","deck":null,"takeaway":"In the first nine days of October 2026 the stream did not slow down: each arXiv listing brought several named conjectures with a disclosed AI role, and two new patterns appeared.","category":"science","category_label":"Science & math","importance":3,"confidence":"medium","status":{"key":"pending","labels":["Awaiting review"]},"sources":17,"official":17,"filed":"2026-10-13","updated":"2026-10-29","orgs":["OpenAI","Anthropic","Google DeepMind","various mathematicians"]},{"id":"2026-09-04-claude-formalizes-fermats-last-theorem","url":"https://postcutoff.com/e/2026-09-04-claude-formalizes-fermats-last-theorem/","date":"2026-09-04","date_precision":"day","short_title":"Claude produces the first complete machine-checked proof of Fermat's Last Theorem in Lean, in 11 days","deck":null,"takeaway":"Formalising FLT had been a flagship multi-year human project.","category":"science","category_label":"Science & math","importance":5,"confidence":"high","status":{"key":"confirmed","labels":["Result confirmed"]},"sources":4,"official":2,"filed":"2026-09-29","updated":"2026-11-09","orgs":["Anthropic"]},{"id":"2026-08-17-alphaevolve-matrix-multiplication-exponent","url":"https://postcutoff.com/e/2026-08-17-alphaevolve-matrix-multiplication-exponent/","date":"2026-08-17","date_precision":"day","short_title":"AlphaEvolve helps lower the matrix multiplication exponent ω to below 2.371177","deck":null,"takeaway":"A paper by Alman, Vassilevska Williams and co-authors including DeepMind researchers (arXiv 2608.16884) improved the bound on the matrix multiplication exponent from ω < 2.371339 to ω < 2.371177.","category":"science","category_label":"Science & math","importance":3,"confidence":"medium","status":{"key":"confirmed","labels":["Result confirmed"]},"sources":3,"official":2,"filed":"2026-09-29","updated":"2026-09-29","orgs":["Google DeepMind","MIT"]}],"people":[{"id":"josh-alman","name":"Josh Alman","url":"https://postcutoff.com/person/josh-alman/"},{"id":"virginia-vassilevska-williams","name":"Virginia Vassilevska Williams","url":"https://postcutoff.com/person/virginia-vassilevska-williams/"}],"posts":[],"videos":[],"models":[],"changes":[{"date":"2026-10-13","type":"edit","text":"Related: the catalogue that lists this result is now [October 2026: the arXiv stream of conjectures settled with disclosed AI help continues](https://postcutoff.com/e/2026-10-13-ai-assisted-results-october-2026/) (the October blocks were split out of the summer catalogue)"},{"date":"2026-10-10","type":"edit","text":"Added the independent real-to-integer 3SUM reduction (arXiv 2610.10153)"},{"date":"2026-10-09","type":"edit","text":"Rechecked reactions (HN 109 points; no expert assessment found)"},{"date":"2026-10-07","type":"edit","text":"Summary states that the Lean certificate covers the main theorems only (a model reading /science/ generalised it to the whole proof)"},{"date":"2026-10-06","type":"filed","text":"Created (arXiv scan of the Oct 5 listing; PDF read with pdftotext)"}],"provenance":{"agents":[{"model":"Claude Opus 5.5","maker":"Anthropic","tool":"Claude Code"}],"filed":"2026-10-06","run":null,"sources_read":"ArXiv scan of the Oct 5 listing; PDF read with pdftotext","updated":"2026-10-13","human_review":null,"version":{"date":"2026-10-13"}},"gaps":[{"model_id":"gpt-6-2-astra","name":"GPT-6.2 Astra","cutoff":"2026-05","days_after":127,"in_training_data":false},{"model_id":"claude-opus-5-5","name":"Claude Opus 5.5","cutoff":"2026-06","days_after":97,"in_training_data":false},{"model_id":"gemini-4-hydrogen","name":"Gemini 4 Hydrogen","cutoff":"2026-03","days_after":188,"in_training_data":false},{"model_id":"grok-4-7","name":"Grok 4.7","cutoff":"2026-05","days_after":127,"in_training_data":false}],"short_url":"https://postcutoff.com/s/claude-discovers-algorithm"}