Anthropic has published four research papers on lattice cryptography, the family of maths behind the new post-quantum encryption standards, and says every result in them was discovered by an internal research Claude model. The papers went public on 30 November in the company's formal-math repository on GitHub, together with a Lean 4 formalization of their theorems that was also written by AI models.

The headline paper describes a quantum algorithm against module lattices, the structure used by the NIST post-quantum standards ML-KEM and ML-DSA. Anthropic states that the algorithm does not threaten those standards as they are deployed today.

The finding

The first paper, titled Galactic quasi-polynomial quantum algorithms for integral and module lattices, gives a quantum program that solves search Module-LWE, a core hard problem in lattice cryptography, in quasi-polynomial time for any fixed rank once the ring degree is large enough. The other three papers are more theoretical:

  1. A reduction showing that approximate search SVP (the shortest vector problem) can be turned into the SIS and SIVP problems and, on a quantum computer, into LWE and GapSVP.
  2. A converse of the well-known "dual attack", plus a quantum equivalence between SIVP and LWE when the noise rate is small.
  3. A classical construction of public-key encryption from GapSVP, through an adaptive reduction to decision LWE.

How it was done

According to the repository, the mathematical results came from an internal Claude research model; Anthropic does not name the model or its version. AI models then wrote the formal proofs in Lean 4, a language in which a computer checks every logical step.

The proofs do not lean on conjectures or on published theorems taken on trust: the earlier results they cite are proved in Lean as well. Algorithms are written as programs for a quantum word-RAM machine defined in about 1,000 lines, and running time is counted in that machine's steps. A tool called Comparator checks that the proofs establish exactly the stated theorems and replays them in Lean's kernel and in a second, independent kernel.

Results

What is checkedStatements
Main theorems of the four papers132
Intermediate theorems, remarks and detailed forms190
Theorems about the machine model (P, BPP, PSPACE, BQP)63

Paper 1 alone accounts for 81 main statements. The repository says a full build takes a little over an hour on 12 processor cores, and the code is released under the Apache 2.0 licence.

"The results are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA."Anthropic, formal-math repository

What reviewers said

A group of cryptographers calling itself the Cryptography Incident Review Group published an initial assessment on the same day. It says Anthropic shared the results with several of its members on 16 November. The group concludes that the new quantum attack currently needs far more computation than earlier attacks, which were themselves already out of practical reach, and calls its scale "galactic".

The reviewers add that the speed-up grows with the ring degree, while ML-KEM and ML-DSA keep the degree fixed at 256 and raise security by increasing the rank instead. They expect the attack to be improved, and say the open question is whether later versions could lower the cost of breaking practical systems. They also found that other results in the set strengthen the case for unstructured lattices. Their advice is to keep moving to post-quantum cryptography, choose the highest security level an application allows, and use hybrid schemes that can be swapped out quickly.

Limits stated by the authors

The repository lists where the Lean versions fall short of the printed papers. Some running-time bounds differ by logarithmic factors, two remarks (one heuristic, one with open questions) are not formalized, and one remark in paper 4 depends on an open question. Anthropic also notes that whether the Lean statements match the papers is for readers to judge, and that so far AI readers have made that comparison. The repository is marked as a research artifact that is not maintained and does not accept contributions.

Announced by Anthropic in its formal-math repository on GitHub: read the announcement

TopicsAI Safety & SecurityOpen-Source AIAnthropic