· By Javier
A galactic algorithm for lattices
On November 30, Anthropic published four mathematics papers on lattices, formalized in Lean 4. The main one presents a galactic-scale quantum algorithm.
Hello! Here is another edition of Pesos y Qubits.
A reading of official sources, without hallucinations. If a number is not on the official page, it does not appear here. Imagination is at the reader’s own risk.
On November 30, Anthropic published in its formal-math repository four mathematics papers on lattices, together with their formalization in Lean 4. The results were discovered by an internal Claude research model, and the proofs were formalized by AI models. Two weeks earlier, on November 16, they had shared them with the Cryptography Incident Review Group, CIRG.
The main paper is not about RSA or elliptic curves. It presents a quasi-polynomial-time quantum algorithm for problems on structured lattices, including some versions of Ring-LWE and Module-LWE. Those problems, in the module version, are the basis of the NIST post-quantum standards, ML-KEM and ML-DSA.
The title itself calls it a “galactic” algorithm, because the advantage is asymptotic. According to CIRG, Anthropic found no classical attack improvements on the lattice cryptosystems in common use, of either type, and no quantum attack improvements on unstructured ones. Other results in the report strengthen the theoretical foundation of the latter.
The figures, on the official pages, are as follows:
- even 21000 quantum operations would still fall well below the cost of the attack, on ML-KEM-512 and ML-DSA-44, even under assumptions favorable to the attacker
- the smallest ML-DSA instance targets 2128 security
- a direct implementation would require, according to Cloudflare, at least billions of logical qubits, compared with today’s machines, which have on the order of thousands of qubits
- 132 main theorems formalized in Lean 4, with no outstanding conjectures
One detail is worth keeping in mind. The asymptotic speedup appears when the ring degree, n, grows. ML-KEM and ML-DSA raise the security level by increasing the rank, k, and leave n fixed at 256. CIRG recommends continuing the post-quantum migration. Slowing it down would prolong the use of systems that can be broken with far fewer quantum resources than this algorithm.
The idea is not new in quantum cryptography. Shor’s and Grover’s algorithms have existed on paper since the 1990s, but they remain technically inapplicable today because the quantum hardware needed to run them at scale does not exist. Something similar is true of this result. The mathematical novelty has already been published, but any practical use depends on future technological support that does not yet exist.
There is another practical point. Almost no one deploys these post-quantum lattice algorithms on their own today. The vast majority of production implementations use hybrid cryptography, combining a post-quantum scheme with a classical one, so that a failure in one alone is not enough to break the protection. CIRG itself recommends keeping that hybrid approach and designing agile systems that can replace an algorithm quickly if it ever becomes necessary.
Sources: Anthropic, formal-math / lattices repository (30/11) · CIRG, “Initial Assessment of Anthropic’s Findings on Lattice Cryptography” (30/11) · Cloudflare, “Post-quantum cryptography is still safe” (1/12)
If you hear the rumor that internet cryptography has been broken, ask for the CIRG assessment and the Cloudflare analysis. The official recommendation is to continue the post-quantum migration.
If this was useful, forward it to someone. And if you want me to follow up on a topic, reply to this email — I read it.
Until next time, Pesos y Qubits · AI and quantum from the sources, with our feet on the ground.