qedbot

Breaking·First-hour kit

Lean formalisation of Truly Subquadratic 3SUM and Truly Subcubic APSP in anthropics/formal-math

D3 checkable Anthropic 6 Oct 2026

The result was written up by its human authors on arXiv the day before; Anthropic's release is the Lean formalisation with two Comparator configurations. No Anthropic post was found. Counted as one result although it concerns two hypotheses. Read the announcement.

The first hour

What is claimed, and how much can be inspected?

The Lean formalisation of the main results of Alman and Vassilevska Williams's paper refuting the 3SUM and APSP hypotheses, whose algorithm a Claude research model found. Of 1 result announced, 1 is named, 1 written up and 1 published with an artifact anyone can check.

Does the formal statement say what is claimed?

No formal statement is attached, so nothing yet fixes exactly what was proved.

Who did the work?

Graded A1 collaborative for who did the mathematics.

  • Claude (internal research model; version not stated) with Josh Alman, Virginia Vassilevska Williams: A1 collaborative. The paper's methodology section says an Anthropic employee had an internal research model work on cryptographic constructions from Zero-k-Clique, and that it instead developed this algorithm in a session of 16 million output tokens with no human input. Alman and Vassilevska Williams then simplified, strengthened and extended it and wrote the paper with Claude's help; the shared algorithm was essentially that of Section 2, with other parameters, so the published exponents are theirs. The register grades the result as published, which is that refinement by the human authors of an algorithm the model found, so collaborative (A1) rather than autonomous.
  • Claude (internal research model; version not stated) with Josh Alman, Virginia Vassilevska Williams: A1 collaborative. The paper's methodology section says an Anthropic employee had an internal research model work on cryptographic constructions from Zero-k-Clique, and that it instead developed this algorithm in a session of 16 million output tokens with no human input. Alman and Vassilevska Williams then simplified, strengthened and extended it and wrote the paper with Claude's help; the shared algorithm was essentially that of Section 2, with other parameters, so the published exponents are theirs. The register grades the result as published, which is that refinement by the human authors of an algorithm the model found, so collaborative (A1) rather than autonomous.

Who got there first?

Recorded: 4 precursors, 0 pieces of concurrent work and 0 disputes.

  • Baran, Demaine and Pătraşcu; Grønlund and Pettie; Chan: built on, 2008–2020: Speedups of the textbook O(n²) 3SUM algorithm by polylogarithmic factors only, which the paper cites as the state of the art. Source
  • Anka Gajentaan and Mark Overmars; Mihai Pătraşcu: built on, 1995–2010: The 3SUM hypothesis as a basis for conditional lower bounds, as the paper cites it. Source
  • Ryan Williams: built on, 2018: APSP in n³/2^Ω(√log n) time, the fastest previous algorithm the paper cites, a subpolynomial saving on cubic time. Source
  • Virginia Vassilevska Williams and Ryan Williams: built on, 2010: The subcubic equivalences between APSP, the (min,+)-product and Negative Triangle on which the APSP hypothesis rests, as the paper cites them. Source

What would move the grades

  • Evidence rises from V2 with an independent rebuild, by qed.bot or Palomar.
  • Fidelity rises from F0 with a formal statement of the result.

AI activity

How grades work
Claude (internal research model; version not stated)

5 Oct 2026·with Josh Alman, Virginia Vassilevska Williams

Refutes the 3SUM hypothesis: a deterministic algorithm solves 3SUM on n integers of polynomial size in O(n^1.9992) time on a word RAM with O(log n)-bit words. The same thin matrix product algorithm gives truly subcubic APSP and refutes the Exact Triangle and Zero-Weight k-Clique hypotheses; the real-valued 3SUM hypothesis is refuted only through known randomised reductions, which are not formalised. The gain over the textbook O(n²) is polynomial but small in the exponent.

full A1 V2 F0
Reasoning and sources

Autonomy

The paper's methodology section says an Anthropic employee had an internal research model work on cryptographic constructions from Zero-k-Clique, and that it instead developed this algorithm in a session of 16 million output tokens with no human input. Alman and Vassilevska Williams then simplified, strengthened and extended it and wrote the paper with Claude's help; the shared algorithm was essentially that of Section 2, with other parameters, so the published exponents are theirs. The register grades the result as published, which is that refinement by the human authors of an algorithm the model found, so collaborative (A1) rather than autonomous.

Details

announcement: anthropic-2026-10-06

published: arXiv v1 on 5 October 2026; the Lean formalisation was added to anthropics/formal-math on 6 October 2026 (commit e1a4e65, pull request 28).

lean: EndStatement.lean imports nothing, not even Mathlib, defines a word RAM and states five claims about its programs: Theorem 19 (Exact Triangle, O(n^(3−0.0017))), Theorem 22 for 3SUM (O(n^1.9992)) and for the (min,+)-product and APSP (O(n^2.99942)), and Corollary 39 for Zero-Weight k-Clique. PaperStatements.lean states further items of the paper. Lean v4.33.1, Mathlib v4.33.1; two Comparator configurations permit only the three standard axioms and enable nanoda.

ci: The repository's CI runs Comparator on both configurations with nanoda; the verify (3sum-apsp) job passed on e1a4e65. The project's own README records no Comparator run.

not_formalised: The hypotheses themselves are not defined, only running times; the real-input results (Theorem 35, Lemmas 36 and 37, Corollary 38 and the real half of Theorem 2), Theorems 33 and 34, and the running times of the reductions in Theorems 17 and 21 are not proved for any machine.

formalised_by: After the paper was written, Anthropic used an internal research model to formalise its main results, by the paper's account.

review: The human authors take full responsibility for the paper. Not refereed.

Claude (internal research model; version not stated)

5 Oct 2026·with Josh Alman, Virginia Vassilevska Williams

Refutes the APSP hypothesis: a deterministic algorithm computes all-pairs shortest paths on directed n-vertex graphs with polynomially bounded integer weights, and the (min,+)-product, in O(n^2.99942) time on a word RAM with O(log n)-bit words, by way of Exact Triangle in O(n^(3−0.0017)). The real-valued APSP hypothesis is refuted only through known randomised reductions, which are not formalised. It is a polynomial improvement on the cubic algorithms, by a small exponent.

full A1 V2 F0
Reasoning and sources

Autonomy

The paper's methodology section says an Anthropic employee had an internal research model work on cryptographic constructions from Zero-k-Clique, and that it instead developed this algorithm in a session of 16 million output tokens with no human input. Alman and Vassilevska Williams then simplified, strengthened and extended it and wrote the paper with Claude's help; the shared algorithm was essentially that of Section 2, with other parameters, so the published exponents are theirs. The register grades the result as published, which is that refinement by the human authors of an algorithm the model found, so collaborative (A1) rather than autonomous.

Details

announcement: anthropic-2026-10-06

published: arXiv v1 on 5 October 2026; the Lean formalisation was added to anthropics/formal-math on 6 October 2026 (commit e1a4e65, pull request 28).

bound: Theorem 22 states O(n^2.99942) for the (min,+)-product and APSP; the arXiv abstract rounds it to O(n^2.9995).

lean: EndStatement.lean imports nothing, not even Mathlib, defines a word RAM and states five claims about its programs, among them Theorem 22 for the (min,+)-product and for APSP (O(n^2.99942)) and Theorem 19 for Exact Triangle. Lean v4.33.1, Mathlib v4.33.1; two Comparator configurations permit only the three standard axioms and enable nanoda.

ci: The repository's CI runs Comparator on both configurations with nanoda; the verify (3sum-apsp) job passed on e1a4e65. The project's own README records no Comparator run.

not_formalised: The hypotheses themselves are not defined, only running times; the real-input results and Theorems 33 and 34 are not proved for any machine.

formalised_by: After the paper was written, Anthropic used an internal research model to formalise its main results, by the paper's account.

review: The human authors take full responsibility for the paper. Not refereed.

Provenance

Built on

  • Baran, Demaine and Pătraşcu; Grønlund and Pettie; Chan 2008–2020

    Speedups of the textbook O(n²) 3SUM algorithm by polylogarithmic factors only, which the paper cites as the state of the art. Source

  • Anka Gajentaan and Mark Overmars; Mihai Pătraşcu 1995–2010

    The 3SUM hypothesis as a basis for conditional lower bounds, as the paper cites it. Source

Built on

  • Ryan Williams 2018

    APSP in n³/2^Ω(√log n) time, the fastest previous algorithm the paper cites, a subpolynomial saving on cubic time. Source

  • Virginia Vassilevska Williams and Ryan Williams 2010

    The subcubic equivalences between APSP, the (min,+)-product and Negative Triangle on which the APSP hypothesis rests, as the paper cites them. Source

Sources

Citing this kit

qed.bot, “Lean formalisation of Truly Subquadratic 3SUM and Truly Subcubic APSP in anthropics/formal-math: first-hour kit”, https://qed.bot/a/anthropic-2026-10-06, as of 27 Nov 2026.

How the grades work