AI Proved What?

AN10 (Specials; a paper credited to Anthropic, results by an internal Claude model, Lean by AI models; companion AN11), November 2026

A quantum attack on module lattices?

Anthropic’s 283-page paper claims quasi-polynomial quantum algorithms for integral and module lattices, among them random search Module-LWE, the problem behind ML-KEM and ML-DSA, as the ring degree grows. The paper itself calls the algorithms galactic: not practical for the standards. Not peer reviewed; the Lean passed Anthropic’s own CI hours after release.

10:58. English captions available. The video loads from YouTube when you press play.

Disclosure. Anthropic makes Claude, which helps make this series. These results are Anthropic’s, credited to an internal Claude model, and the Lean was written by AI models: we hold them to the same standards as any lab’s, using only public sources. AI Proved What? is independent, not affiliated with Anthropic beyond using its product Claude, and not affiliated with the Cryptography Incident Review Group or its members.

Chapters

  1. 0:00The question
  2. 3:04The claim
  3. 5:44How it works
  4. 8:56Where it stands

The question

This is AN10. Before we start: Anthropic makes Claude, which helps make this series. This claim is Anthropic’s, its results are credited to an internal Claude model, and its Lean proof was written by AI models, so we hold it to the same standards as any lab’s, using only public sources. We are not affiliated with Anthropic, beyond using Claude, or with the cryptographers who reviewed it. On November 30, 2026, Anthropic added four papers on lattices, and their Lean formalization, to its formal-math repository on GitHub. Each byline reads simply: Anthropic. This episode is about the first paper, 283 pages of quantum algorithms. Its title begins with the word galactic, and its abstract says they are not practical for ML-KEM and ML-DSA, the new lattice-based standards for public-key cryptography. AN11 covers the other three papers. So what is claimed, why does it matter, and why is it not a break?

A lattice is a grid of points: all whole-number combinations of a few basis vectors. Here is one, with a long, skewed basis. Our brute-force search finds its shortest vector: minus three times the first plus two times the second, of length √2. In hundreds of dimensions, the best known algorithms take time exponential in the dimension, and lattice cryptography bets on that. Learning with errors, LWE, makes it a puzzle: you see random rows a, and for each, a·s plus a small error, modulo q, for a secret s. Without the errors, linear algebra finds s at once; with them, it is believed hard. In our toy, q is 23 and six rows carry errors of at most one; of all 529 secrets, exactly one fits. In Module-LWE, every entry is a polynomial with n coefficients, multiplied modulo xⁿ + 1, so xⁿ wraps around to minus one. The rank counts the polynomials in the secret. ML-KEM and ML-DSA, standardized by NIST in August 2024, fix n at 256, with ranks from two to seven.

What was known? For ideal lattices, the rank-one case, the paper cites quantum algorithms that find generators of principal ideals in polynomial time, and, for some cyclotomic fields under number-theoretic hypotheses, short vectors within factors e^√n, up to log factors in the exponent. Rank two and higher, it says, are widely believed to be harder. Quantum claims here have a history: in April 2024, Yilei Chen posted a polynomial-time quantum algorithm for LWE with certain parameters; eight days later, a bug was found in it, and Chen wrote that the claim does not hold. Quasi-polynomial means a running time like 2^(log² n): faster-growing than any polynomial, such as n³, but growing far more slowly than an exponential, such as 2ⁿ.

The claim, in plain words

The claim. All the algorithms are quantum, with running times quasi-polynomial in the dimension and polynomial in the input length. For integral lattices, where inner products are whole numbers, it samples discrete Gaussians on the dual lattice at widths down to order √m, for rank m, and finds an orthonormal basis of any rotation of ℤ^m. For ideals of cyclotomic fields, it finds short vectors within polynomial factors. For module lattices of polylogarithmic rank, over polynomials modulo xⁿ + 1, with n a power of two, it approximates shortest and closest vectors within a factor linear in the dimension. There, it recovers the secret in random search Module-LWE instances whose secret and error are short, for suitable moduli bounded by a polynomial, and finds the dense submodule that holds a short enough NTRU key.

In the paper’s terms (Overview, p. 3; Theorem 9.1, p. 42): over ℤ[x]/(xⁿ + 1), n a power of two, and for all sufficiently large n, the algorithms recover the secret in random search Module-LWE instances of rank d ≤ log^O(1) n, given d samples, whose secret and error coefficients are independent and lie in [−σ, σ] for some σ ≥ 1, for prime moduli q with Cdσ²n ≤ q ≤ 2ⁿ; Theorem 9.1 bounds the steps by 2^(C(k² log n + k⁴)²) β^C, where k = d + m (here 2d). A bound is quasi-polynomial in m if it is at most 2^(log^O(1) m) (p. 4).

The Lean file Cases.lean states eight results of the paper in a few lines each. The one on Module-LWE says, in our words: one quantum program and one constant c work for every rank, all large enough powers of two n, every noise bound, and every modulus from 11·rank·noise²·n up to 2ⁿ. For all but a tiny fraction of matrices, and every secret and error with bounded coefficients, it recovers the secret, with probability at least two thirds, within 2^(c·rank⁸·log² n) steps. For fixed rank, that is quasi-polynomial in n. Not stated there: how large n must be, and the value of c.

Our paraphrase follows ModuleLWETheorem in Cases.lean, compared by Comparator as QL.Minimal.moduleLWE_exists. The file’s companion statements for scheme-like families of ML-KEM and ML-DSA (Section 12.5 of the paper) require n ≥ 2^29 or 2^30; per departures.md, these thresholds are ones “that the paper leaves unnamed”.

Why it matters, why it is not a break, and what is not claimed

Why it matters: module lattices of small rank are the structure behind the new standards, and this claims a quantum attack on them far below exponential time, as n grows. Why it is not a break: see the paper itself. For ML-KEM-512, some of its sampling steps work in lattices of rank above 2^10400. Even for rotations of ℤ^m, at rank 1,024, one run of the circuit inside its decoder prepares about 2^840 copies of a quantum state. The Lean statements on scheme-like families start at n of 2^29 or 2^30, over half a billion; the standards use 256, and add security by raising the rank, while this algorithm’s advantage grows with n. Not claimed: any classical speedup; anything for LWE or SIS without module structure; the decision versions; other rings; larger error-to-modulus ratios; the Module-SIS side of ML-DSA; or Falcon’s keys.

How it works

How it works, at the level of the paper’s introduction. Part one: integral lattices. A rotation of ℤ^m is given only by its Gram matrix, the inner products of some basis, and the task is to find an orthonormal basis. In our example the Gram matrix is five, three, three, two, and the vectors of length one, up to sign, form the square basis. Each vector of length one gives a reflection of a very restricted kind. The paper builds a quantum class state, a superposition over bases of the lattice, which hides a group of such symmetries; it recovers the group from quasi-polynomially many copies, by linear algebra over the field with two elements, in the style of Simon’s algorithm and Kuperberg’s sieve. Then, by Kannan’s embedding, the offset to a lattice point within one half of a target becomes a vector of length one in a slightly larger lattice. That gives a decoder. Put into the quantum step of Regev’s reduction, it yields discrete Gaussian samples, hence shorter dual vectors, shrinking by √2 each round.

Part two turns Module-LWE into a question about density. For random A, with high probability, the lattice of pairs y and Ay modulo q has no unusually dense submodule, and then the secret and error show up as the densest piece of a lattice one rank higher. The densest piece, then the densest piece of what remains, and so on, form the canonical filtration of Stuhler and Grayson. In the paper’s small example, with orthogonal vectors of lengths one quarter, one, one and two, plot each sublattice’s rank against minus the log of its determinant: the upper boundary bends at the first vector, then at the first three. Theorem A computes this filtration for module lattices, with the Gaussian sampler, and returns a certificate. Part three proves it, with forms on Weyl modules of rank above n^(52k²), for module rank k: that is where the galactic sizes come from. We did not follow Part three’s proofs, about 80 pages, and cannot vouch for them.

The Lean formalization, and what we compared

Then the Lean: 4,328 Lean files, about 895,000 lines, by our count. Algorithms are programs of a quantum word RAM, and time is its number of steps. Per the README, cited results are formalized too. For paper one, the comparator lists 185 statements, including the eight in Cases.lean, with only Lean’s three standard axioms. Whether the statements say what the papers say, the README adds, is for the reader to judge; AI readers have compared them. We compared the Cases statements and Theorems 1.1 and 9.1 with the paper, by reading: they match in shape, with some thresholds made explicit. We did not check the definitions underneath. Automatic checks skip this folder; in a manual run started at 23:12 UTC, the full build and all three comparator checks passed by 01:48 UTC, with Lean’s kernel and the independent checker nanoda. We read the logs; we did not build or run anything.

Where it stands

Public
On GitHub: anthropics/formal-math, folder lattices, added by pull request #66 (merged November 30, 2026, 22:47 UTC; commit 44431b0, authored 00:51 UTC that day; merge commit 487d559). Four papers with the byline “Anthropic”, dated November 2026, and no individual authors; this episode covers paper 1 (283 pages). The README: “The results were discovered by an internal research Claude model.”
On arXiv or IACR ePrint
Not found (last searched about 22:45 PST, November 30, 2026). The repository README says the folder is “not submitted to Palomar for now.”
Under expert review
Not yet
Peer reviewed
No.
Lean, by AI models
Public; “The formalization was written by AI models.” 4,328 files, 894,633 lines (our count), Lean v4.34.1; algorithms are programs of a quantum word RAM. Comparator for paper 1 lists 185 statements, among them the eight of Cases.lean; permitted axioms propext, Classical.choice and Quot.sound; sorry only in Challenge/. Differences from the paper: docs/departures.md. Anthropic’s CI skips this folder on pull requests and pushes (its pins file sets MANUAL_ONLY=1: “The check takes three to four hours”); in the manual run started at 23:12 UTC, Comparator on the machine configuration passed, on papers 2–4 passed, on paper 1 passed, and the full build (9,045 jobs) passed, by 01:48 UTC on December 1; the logs report that nanoda and Lean’s kernel accept each solution (logs read by us). As of December 1, 2026, about 06:45 UTC it is still the latest run, with no newer commits to the folder. Not built or run by us.
Expert response: CIRG
The initial assessment of the Cryptography Incident Review Group (November 30, 2026; credited to the group, whose site lists 21 cryptographers serving in a personal capacity). Anthropic shared the results with several members on November 16. For ML-KEM and ML-DSA the attack needs “vastly more computation than the best previously known attacks”, and “the scale of the new attack is galactic”; even 2^1000 quantum operations would be far below its cost for ML-KEM-512 and ML-DSA-44; the significance is asymptotic, and, it says, the attack can reasonably be expected to “be improved in the near future”. Recommendations: “We recommend continuing the transition to post-quantum cryptography.”, the highest security level an application can support, hybrids, agility, more diverse NIST standards. An initial assessment, not a check of the proofs.
Anthropic’s announcement
A post on X (November 30, 23:01 UTC): “The results do not have practical, real-world consequences for today’s security systems”; per the post, the results lower Anthropic’s long-term confidence in structured lattices, while the other three papers increase its confidence in unstructured lattices; found with unreleased Claude models and shared in draft with outside cryptographers and the US government. No post on anthropic.com found (about 22:45 PST, November 30, 2026).
Other reactions
Press coverage (WIRED, NPR, Reuters, the Guardian) and Hacker News threads on the assessment and the paper. Since the release: Cloudflare’s blog, “Post-quantum cryptography is still safe” (December 1), calls the attack galactic and says it poses no current practical threat; Justin Thaler (a16z; a CIRG member) calls it “a major asymptotic advance” but says the best estimates of quantum security for ML-KEM and ML-DSA have not changed; Chris Peikert posted a thread on X; Scott Aaronson updated his pre-release blog post, noting that the cost grows exponentially in a polynomial of the rank. No bug claim, NIST statement, IACR ePrint response or public Lean Zulip discussion found (about 22:45 PST, November 30, 2026).

Last checked November 30, 2026, about 22:45 PST (December 1, 06:45 UTC). Not built or run by us.

This is a Specials episode. AN11 covers the other three papers; the assessment says Anthropic’s other findings strengthen the foundations of unstructured lattices. AN09, AN08 and AN03 come from the same repository; episode 378 covered OpenAI’s claimed refutation of the Exponential Time Hypothesis, which, the assessment notes, underlies recent classical attacks on structured lattices, separate from this one. If it holds, module lattices have a quantum weakness that grows with the ring degree, far beyond what was known, at a galactic scale that leaves ML-KEM and ML-DSA, as standardized, untouched. Once more: Anthropic makes Claude, which helps make this series. See AN11, AN09, AN08, AN03 and 378.

The numbers in the video

  • Ours: the lattice with basis (5, 3), (7, 5) (determinant 4); by brute force its shortest nonzero vector is (−1, 1) = −3·(5, 3) + 2·(7, 5), of length √2, while the basis vectors have lengths 5.831 and 8.602.
  • Ours: a toy LWE instance modulo 23 with secret (3, 18), six rows and errors in {−1, 0, 1}; of all 529 possible secrets, exactly 1 fits.
  • Ours: in ℤ[x]/(x⁴ + 1), x³·(1 + x) = x³ + x⁴ = −1 + x³.
  • The standards (FIPS 203 and 204, August 2024): n = 256; ML-KEM-512/768/1024 have rank 2, 3, 4 and q = 3329 = 13·256 + 1; ML-DSA-44/65/87 have matrices 4×4, 6×5, 8×7 and q = 8380417 = 32736·256 + 1.
  • The paper’s own sizes: for ML-KEM-512 some sampling instances have rank over ℤ greater than 256^(52·5²) = 2^10400 (pp. 49, 78; Remark 23.9); for rotations of ℤ^1024 one run of the decoder’s circuit prepares about 2^840 copies of the class state, and the copies fall below the heuristic classical 2^(0.146 m) only for m above about 8,800 (p. 40).
  • Lean thresholds: the scheme-like families start at n ≥ 2^29 = 536,870,912 (ML-KEM keys) or 2^30 = 1,073,741,824 (ML-KEM messages, ML-DSA keys): 2^21 = 2,097,152 and 2^22 = 4,194,304 times the standards’ 256.
  • Ours, schematic: log₂ of n³, 2^((log₂ n)²) and 2ⁿ, constants set to 1.
  • The paper’s Example 10.2 (p. 53): orthogonal vectors of lengths 1/4, 1, 1, 2; the upper boundary of the points (rank, −ln det) bends at ⟨e₁⟩ and ⟨e₁, e₂, e₃⟩, the canonical filtration, with quotients of normalized determinant 1/4, 1 and 2.
  • Ours, text only: 4,328 Lean files, 894,633 lines in lattices/; sorry only in the three Challenge files; no axiom declarations or native_decide.

Read the source

AI Proved What? is independent and not affiliated with Anthropic beyond using its product Claude, or with the Cryptography Incident Review Group or its members.

Transcript

Read the full script

0:00The question

This is AN10. Before we start: Anthropic makes Claude, which helps make this series. This claim is Anthropic’s, its results are credited to an internal Claude model, and its Lean proof was written by AI models, so we hold it to the same standards as any lab’s, using only public sources. We are not affiliated with Anthropic, beyond using Claude, or with the cryptographers who reviewed it. On November 30, 2026, Anthropic added four papers on lattices, and their Lean formalization, to its formal-math repository on GitHub. Each byline reads simply: Anthropic. This episode is about the first paper, 283 pages of quantum algorithms. Its title begins with the word galactic, and its abstract says they are not practical for ML-KEM and ML-DSA, the new lattice-based standards for public-key cryptography. AN11 covers the other three papers. So what is claimed, why does it matter, and why is it not a break? A lattice is a grid of points: all whole-number combinations of a few basis vectors. Here is one, with a long, skewed basis. Our brute-force search finds its shortest vector: minus three times the first plus two times the second, of length √2. In hundreds of dimensions, the best known algorithms take time exponential in the dimension, and lattice cryptography bets on that. Learning with errors, LWE, makes it a puzzle: you see random rows a, and for each, a·s plus a small error, modulo q, for a secret s. Without the errors, linear algebra finds s at once; with them, it is believed hard. In our toy, q is 23 and six rows carry errors of at most one; of all 529 secrets, exactly one fits. In Module-LWE, every entry is a polynomial with n coefficients, multiplied modulo xⁿ + 1, so xⁿ wraps around to minus one. The rank counts the polynomials in the secret. ML-KEM and ML-DSA, standardized by NIST in August 2024, fix n at 256, with ranks from two to seven. What was known? For ideal lattices, the rank-one case, the paper cites quantum algorithms that find generators of principal ideals in polynomial time, and, for some cyclotomic fields under number-theoretic hypotheses, short vectors within factors e^√n, up to log factors in the exponent. Rank two and higher, it says, are widely believed to be harder. Quantum claims here have a history: in April 2024, Yilei Chen posted a polynomial-time quantum algorithm for LWE with certain parameters; eight days later, a bug was found in it, and Chen wrote that the claim does not hold. Quasi-polynomial means a running time like 2^(log² n): faster-growing than any polynomial, such as n³, but growing far more slowly than an exponential, such as 2ⁿ.

3:04The claim

The claim. All the algorithms are quantum, with running times quasi-polynomial in the dimension and polynomial in the input length. For integral lattices, where inner products are whole numbers, it samples discrete Gaussians on the dual lattice at widths down to order √m, for rank m, and finds an orthonormal basis of any rotation of ℤ^m. For ideals of cyclotomic fields, it finds short vectors within polynomial factors. For module lattices of polylogarithmic rank, over polynomials modulo xⁿ + 1, with n a power of two, it approximates shortest and closest vectors within a factor linear in the dimension. There, it solves random instances of search Module-LWE with short secret and error, for suitable moduli of polynomial size, and finds the dense submodule that holds a short enough NTRU key. The Lean file Cases.lean states eight results of the paper in a few lines each. The one on Module-LWE says, in our words: one quantum program and one constant c work for every rank, all large enough powers of two n, every noise bound, and every modulus from 11·rank·noise²·n up to 2ⁿ. For all but a tiny fraction of matrices, and every secret and error with bounded coefficients, it recovers the secret, with probability at least two thirds, within 2^(c·rank⁸·log² n) steps. For fixed rank, that is quasi-polynomial in n. Not stated there: how large n must be, and the value of c. Why it matters: module lattices of small rank are the structure behind the new standards, and this claims a quantum attack on them far below exponential time, as n grows. Why it is not a break: see the paper itself. For ML-KEM-512, some of its sampling steps work in lattices of rank above 2^10400. Even for rotations of ℤ^m, at rank 1,024, one run of its decoder prepares about 2^840 copies of a quantum state. The Lean statements on scheme-like families start at n of 2^29 or 2^30, over half a billion; the standards use 256, and add security by raising the rank, while this algorithm’s advantage grows with n. Not claimed: any classical speedup; anything for LWE or SIS without module structure; the decision versions; other rings; larger error-to-modulus ratios; the Module-SIS side of ML-DSA; or Falcon’s keys.

5:44How it works

How it works, at the level of the paper’s introduction. Part one: integral lattices. A rotation of ℤ^m is given only by its Gram matrix, the inner products of some basis, and the task is to find an orthonormal basis. In our example the Gram matrix is five, three, three, two, and the vectors of length one, up to sign, form the square basis. Each vector of length one gives a reflection of a very restricted kind. The paper builds a quantum class state, a superposition over bases of the lattice, which hides a group of such symmetries; it recovers the group from quasi-polynomially many copies, by linear algebra over the field with two elements, in the style of Simon’s algorithm and Kuperberg’s sieve. Then, by Kannan’s embedding, the offset to a lattice point within one half of a target becomes a vector of length one in a slightly larger lattice. That gives a decoder. Put into the quantum step of Regev’s reduction, it yields discrete Gaussian samples, hence shorter dual vectors, shrinking by √2 each round. Part two turns Module-LWE into a question about density. For random A, with high probability, the lattice of pairs y and Ay modulo q has no unusually dense submodule, and then the secret and error show up as the densest piece of a lattice one rank higher. The densest piece, then the densest piece of what remains, and so on, form the canonical filtration of Stuhler and Grayson. In the paper’s small example, with orthogonal vectors of lengths one quarter, one, one and two, plot each sublattice’s rank against minus the log of its determinant: the upper boundary bends at the first vector, then at the first three. Theorem A computes this filtration for module lattices, with the Gaussian sampler, and returns a certificate. Part three proves it, with forms on Weyl modules of rank above n^(52k²), for module rank k: that is where the galactic sizes come from. We did not follow Part three’s proofs, about 80 pages, and cannot vouch for them. Then the Lean: 4,328 Lean files, about 895,000 lines, by our count. Algorithms are programs of a quantum word RAM, and time is its number of steps. Per the README, cited results are formalized too. For paper one, the comparator lists 185 statements, including the eight in Cases.lean, with only Lean’s three standard axioms. Whether the statements say what the papers say, the README adds, is for the reader to judge; AI readers have compared them. We compared the Cases statements and Theorems 1.1 and 9.1 with the paper, by reading: they match in shape, with some thresholds made explicit. We did not check the definitions underneath. Automatic checks skip this folder; in a manual run started at 23:12 UTC, the full build and all three comparator checks passed by 01:49 UTC, with Lean’s kernel and the independent checker nanoda. We read the logs; we did not build or run anything.

8:56Where it stands

Where it stands, on the evening of November 30. The papers are PDFs in Anthropic’s repository, with no individual authors, on neither arXiv nor the IACR ePrint archive, and not peer reviewed. The same day, the Cryptography Incident Review Group, whose site lists 21 cryptographers serving in a personal capacity, posted an initial assessment. Anthropic had shared the results with several of them on November 16. For ML-KEM and ML-DSA, they write, the attack needs vastly more computation than the best previously known attacks; even 2^1000 quantum operations would be far below its cost for the smallest parameter sets. Its significance, they say, is asymptotic, and improvements are to be expected. They recommend continuing the move to post-quantum cryptography, at the highest security level each application allows. It is an initial assessment, not a check of the proofs. Anthropic’s own post on X says the results have no practical consequences for today’s security systems, but lower its long-term confidence in structured lattices. We found no statement from NIST. This is a Specials episode. AN11 covers the other three papers, which, the assessment says, strengthen the foundations of unstructured lattices. AN09 and AN03 come from the same repository; episode 378 covered OpenAI’s claimed refutation of the Exponential Time Hypothesis, which, the assessment notes, underlies recent classical attacks on structured lattices, separate from this one. If it holds, module lattices have a quantum weakness that grows with the ring degree, far beyond what was known, at a galactic scale that leaves ML-KEM and ML-DSA, as standardized, untouched. Once more: Anthropic makes Claude, which helps make this series.

Spot a mistake?

This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.