All stories

Claude model finds quantum Module-LWE algorithm

Anthropic has released four lattice-cryptography papers whose results were discovered by an internal Claude model, including a quasi-polynomial-time quantum algorithm for Module-LWE, with every main theorem machine-checked in Lean 4.

Anthropic published four papers on lattice problems and lattice-based cryptography in its formal-math repository. The repository says an internal research Claude model discovered the results, and AI models wrote the Lean 4 formalization. It is labeled a research artifact. It is not maintained and does not accept contributions.

The headline result is a single quantum program that solves search Module-LWE in quasi-polynomial time. It works for every fixed rank, all large degrees, moduli above a polynomial bound and almost all square matrices, with a running time of 2^(c·rank⁸·log²n) steps. Module-LWE is the hardness assumption behind the post-quantum standards ML-KEM and ML-DSA. However, the repository says the results are asymptotic and the algorithms "are not practical" at those schemes' parameter sets.

The formal package includes 132 main theorems, 190 intermediate statements and 63 theorems on the underlying machine model. That model is a quantum word RAM of about 1,000 lines, and the repository shows that it defines P, BPP, PSPACE and BQP. The main theorems assume no conjecture and no unformalized published result. A tool called Comparator checks the proofs against only three standard axioms and replays them in both Lean's kernel and the independent nanoda kernel. A full build takes just over an hour on 12 cores.

There are caveats. Two remarks are not formalized, and one corollary remains conditional on an open question. Readers still have to judge whether the Lean statements say what the papers say. The repository says only that "AI readers have compared them with the text."

A rumour earlier said OpenAI or Anthropic had polynomial-time factoring results. The released work is about lattices, not factoring.

Sources