Lattice Based Cryptography: Claude’s Galactic Quantum Algorithm Rewrites the Rules

Give a quantum computer a badly skewed basis for a rotated integer grid. Can it recover the grid’s hidden right angles? Anthropic’s answer turns that geometric puzzle into a sampling tool for lattice based cryptography. Its November 2026 paper proves quasi-polynomial quantum time bounds for several structured lattice problems. These include approximating three standard geometric problems on low-rank cyclotomic modules and solving certain random instances of search Module-LWE. The paper concludes that its algorithms are impractical for the standardized ML-KEM and ML-DSA parameter sets. The mathematical advance is a new way to turn exact symmetries into information about short vectors, dense sublattices and noisy equations.

1. What Claude Discovered About Lattice Based Cryptography

Anthropic’s paper connects two apparently different problems. The first asks how to sample short vectors in the dual of an integral lattice. The second asks how to find the densest layers of a module lattice. Solve the first, and the resulting sampler makes the second computable in quasi-polynomial quantum time at low module rank. The layers then control how far a decoder can reach.

Paper 1 results and their input conditions
ResultWhat the Paper Establishes
Dual Gaussian samplerApproximate sampling on the dual of any integral lattice at the stated width.
Canonical filtrationComputes and certifies the densest layers of power-of-two cyclotomic module lattices.
SVP, SIVP and CVPApproximation factors linear in dimension, with quasi-polynomial quantum time at polylogarithmic module rank.
Search Module-LWERecovery or list recovery under explicit conditions on the modulus, noise and input distribution.
Standardized schemesThe paper finds its algorithms impractical for current ML-KEM and ML-DSA parameters.

Anthropic’s release credits an internal research Claude model with discovering the results and AI models with writing the Lean formalization. The roadmap reconstructs the proof’s mathematical logic.

2. The Mathematical Foundations of Lattice-Based Cryptography

A lattice consists of all integer combinations of a basis of linearly independent vectors. Its dimension is its rank over the integers. A lattice is integral when every pair of lattice vectors has an integer inner product. The dual lattice contains the vectors in the same real span that pair integrally with every vector of the original lattice.

Take the basis (2,1)(2,1) and (0,1)(0,1). Its integer combinations have even horizontal coordinates and arbitrary integer heights. Subtracting the second basis vector from the first gives the clearer basis (2,0)(2,0) and (0,1)(0,1). In the dual, horizontal coordinates can be half-integers and vertical coordinates must still be integers. The vector (0,1)(0,1) is shortest among the nonzero points. For a target at (1.6,0.35)(1.6,0.35), the closest point is (2,0)(2,0), found by rounding on each axis.

A rectangular lattice and its closest point The horizontal coordinates are even integers and the vertical coordinates are integers. A rust cross at (1.6, 0.35) connects by a dashed line to the ringed point at (2, 0). −202 20−2 xy Target Closest point
The rectangular lattice splits nearest-point search into two independent rounding decisions.

An ideal lattice comes from embedding an ideal of a number field into Euclidean space. The module lattices here have an action of R=ℤ[x]/(xn+1)R=\mathbb{Z}[x]/(x^n+1), with nn a power of two. Multiplication by xx preserves lengths and inner products. Polynomial arithmetic gives lattice based encryption and related constructions a compact representation. The same algebra gives the algorithm a symmetry it can use.

3. The Original Problem and Why It Was So Difficult

The shortest vector problem (SVP) asks for the shortest nonzero lattice vector. The shortest independent vectors problem (SIVP) asks for a full set of independent vectors with the smallest possible maximum length. The closest vector problem (CVP) introduces an external target and asks for the lattice point nearest to it. The rectangular example separates coordinate by coordinate. With a skewed basis in high dimension, rounding the basis coefficients can miss a much closer point.

Module learning with errors (Module-LWE) hides a secret behind noisy linear equations over a polynomial ring modulo an integer. The module short integer solution problem (Module-SIS) instead asks for a short nonzero vector in a modular kernel. The former is a recovery problem and the latter asks for a short relation. Classical lattice reduction has long traded running time for approximation quality.,

Section 9.8 compares earlier quantum progress on principal ideals, the rank-one setting, with the harder case of module rank two and above. General-purpose algorithms such as BKZ pay heavily for the full Euclidean dimension. One earlier quantum algorithm for rank two was heuristic and relied on a closest vector oracle. Anthropic’s approach instead builds a sampler directly from an integral Gram matrix.

4. Claude’s Quantum Breakthrough in Computational Complexity

Ring degree nn counts coefficients per ring element. Module rank kk counts independent directions over the ring’s fraction field. The lattice therefore has dimension knkn over the integers. For fixed module rank and input bit length polynomial in nn, the paper gives a representative bound on the number of steps for the geometric algorithms.

𝑻(𝒏)=𝒏𝑶(log⁡𝒏)\boldsymbol{T(n)=n^{O(\log n)}}

Polynomial time has a fixed exponent. Here the exponent can grow logarithmically, giving the equivalent bound 2O((log⁡n)2)2^{O((\log n)^2)}. This quasi-polynomial bound grows more slowly than 2cn2^{cn} for fixed c>0c>0. The paper also treats polylogarithmic module ranks, with stronger rank dependence in the bound. A galactic algorithm offers an asymptotic improvement with prohibitive costs on realistic inputs.

5. The Complete Proof Roadmap in Six Stages

  1. Represent the symmetry. A basis can obscure a lattice’s geometry. Encode many bases in a quantum class state so that the isometries of interest act as symmetries of the state.
  2. Find the hidden subgroup. Different cosets give orthogonal states. Combining copies reveals generators of a suitable subgroup, making reflections available as geometric information.
  3. Turn reflections into samples. Short residuals can be encoded as unit vectors in auxiliary integral lattices. Recover their reflections to decode nearby points, then use quantum decoding to sample from a dual lattice.
  4. Certify the densest layers. Sampling provides new integral forms. Weyl modules let those forms bound the densities of entire families of submodules, so the algorithm can certify the canonical filtration.
  5. Reduce geometry to decoding. Use those layers to bound how close a target must be for reliable decoding. Choose auxiliary modules with suitable ranks and reuse their filtrations to solve structured search problems.
  6. Track the guarantees. Convert the decoding and sampling bounds into approximation factors and time bounds. For noisy modular equations, the guarantees also depend on the modulus, noise and instance distribution.

6. Quantum Class States and Discrete Gaussian Sampling

	Two Gaussian plots show how a narrower width favors points near zero in lattice based cryptography.
Two Gaussian plots show how a narrower width favors points near zero in lattice based cryptography.

The class state records Gram matrices and residue classes of bases in superposition. In the finite group considered by the proof, elements of the hidden subgroup leave the state unchanged, while elements in different cosets produce orthogonal states. The subgroup computation combines many copies to extract generators. In an auxiliary integral lattice, a vector of norm one determines a reflection, turning short-vector information into symmetry information. Theorem 1.1 uses this machinery to recover an orthonormal basis when the input lattice is promised to be isometric to the integer grid.

A quantum step adapted from Regev’s reduction decodes a superposition of perturbed targets to produce samples on the dual. The proof iterates this step to obtain a shorter full-rank set of dual vectors, then uses the set as preprocessing advice for a sampler. In the centered, isotropic case the probability of a dual-lattice point uu is proportional to the following weight, where LL is the lattice being sampled and ss is the width.

𝑫𝑳,𝒔(𝒖)∝𝒆−𝝅‖𝒖‖2/𝒔2\boldsymbol{D_{L,s}(u)\propto e^{-\pi\lVert u\rVert^2/s^2}}

Corollary 1.5 gives widths as small as a constant times m\sqrt{m} for fixed statistical error and an integral primal lattice of dimension mm. The guarantee is absolute in that lattice’s metric. Narrowing the distribution concentrates mass on shorter vectors. The sampler covers duals of arbitrary integral lattices, including auxiliary lattices whose bases have no convenient coordinate representation.

7. Canonical Filtrations: The Central Structural Insight

	A rectangular grid and slope plot show how to identify the densest layer in lattice based cryptography.
A rectangular grid and slope plot show how to identify the densest layer in lattice based cryptography.

For a lattice XX of positive rank rr, its determinant is its fundamental cell volume measured in its span. The normalized determinant divides the volume scale across dimensions by taking the rrth root. Its negative natural logarithm is the slope. Denser layers have smaller normalized determinants and larger slopes. A lattice is semistable if no sublattice has smaller normalized determinant.

nd⁡(𝑿)=(det⁡𝑿)1/𝒓,𝝁(𝑿)=−ln⁡nd⁡(𝑿)\boldsymbol{\operatorname{nd}(X)=(\det X)^{1/r},\qquad \mu(X)=-\ln\operatorname{nd}(X)}

The Stuhler–Grayson filtration starts with the largest sublattice attaining the minimum normalized determinant. It repeats in the quotient, formed by orthogonally projecting away the first layer, and continues until it reaches the whole lattice. In the rectangular example the vertical line of lattice points has normalized determinant one, the whole lattice has normalized determinant 2\sqrt{2}, and the horizontal quotient has normalized determinant two. The uniqueness of the filtration makes its layers invariant under lattice isometries, so the cyclotomic action preserves them.

The canonical polygon of the rectangular lattice The polygon rises by zero from rank zero to rank one, then falls by the natural logarithm of two from rank one to rank two. Its bend marks the vertical layer of the rectangular lattice. Degree 0−ln 2 012Rank Vertical layer
The first segment records the vertical layer. The second records the horizontal quotient.

The difficulty is certifying that a more densely packed layer has not been missed. An integral form that lies close enough to the original metric bounds every sublattice slope. Weyl modules organize tensor products of exterior powers so that subspaces appear through vectors encoding their volumes. Those forms supply upper bounds for the canonical polygon, while actual submodules supply lower bounds. Tensor-product bounds, Gaussian samples and recursion down the tower of real cyclotomic rings tighten the gap. Theorem A gives a randomized procedure with a sampling oracle and a deterministic certificate verifier. Corollary 9.9 supplies the quantum running time once the sampler is available.

8. Solving Shortest Vector and Closest Vector Problems

Theorem B converts structural information into algorithms. A filtration gives a lower bound for the length of any nonzero vector via the minimum normalized determinant. Conversely, multiplying a nonzero vector repeatedly by xx gives nn independent vectors of the same length. The ring action thus turns one short vector into a full independent set in its rank-one span.

The proof reduces decoding to filtrations of auxiliary modules, including one with an extra module direction to encode the target. It then uses dual-lattice decoding in a quantum sampling step. For SIVP, it finds independent vectors with lengths bounded individually by a factor O(kn)O(kn) times their corresponding successive minima. The first vector therefore also gives an SVP approximation. For CVP, the algorithm bounds the returned distance by O(kn)O(kn) times the optimum and returns a lower bound on the true distance. Exact decoding has a separate, much smaller radius guarantee.

9. Module Learning With Errors, Module-SIS and NTRU

In the search version of Module-LWE, the input includes a public matrix AA and a vector bb over the ring modulo qq. Each row of AA gives one sample. The unknowns are a short secret ss and a small error vector ee.

𝒃≡𝑨𝒔+𝒆(mod𝒒)\boldsymbol{b\equiv As+e\pmod q}

Theorem C treats recovery as a decoding problem. It bounds the chance that the lattice attached to a uniform matrix has an unexpectedly dense sublattice, and bounds the chance that the planted secret and error lie beyond the decoding radius. The theorem requires a sufficiently large modulus and a sufficiently small weighted noise-to-modulus ratio. The noise scale is a geometric mean of the secret and error coefficient bounds, weighted by the secret rank and sample count.

More samples change those weights and increase the rank of the lattice the proof analyzes. It generally gives a short list containing the pair, with uniqueness under stronger conditions. Related clauses cover arbitrary secrets with extra samples and rounded samples under further hypotheses. For quasi-polynomial time the combined ranks must stay small, with the list-decoding parameter also affecting the auxiliary rank.

Theorem D bounds the length of a nonzero Module-SIS solution for an arbitrary input matrix. Whether the bound beats the trivial vectors of length qq depends on the modulus and matrix shape. For a rank-two module lattice, the theorem finds the unique saturated rank-one layer of smaller normalized determinant if it exists. In the paper’s NTRU setting, a key shorter than q\sqrt q in the paper’s norm suffices to put it in that layer. The certified output is the containing submodule.

10. Why Claude’s Galactic Quantum Algorithm Cannot Break Today’s Encryption

The ML-KEM-512 example shows the vast auxiliary sampling rank in a lattice based cryptography algorithm.
The ML-KEM-512 example shows the vast auxiliary sampling rank in a lattice based cryptography algorithm.

NIST’s ML-KEM establishes a shared secret, and ML-DSA produces digital signatures. Both fix the ring degree at 256. Section 12.5 analyzes hypothetical families inspired by the standards, with increasing ring degree and moduli meeting the paper’s conditions. The gap is visible in the paper’s own ML-KEM-512 example. The computation uses a module of rank five, yet some auxiliary Gaussian sampling instances have rank over the integers greater than 2104002^{10400}. This number measures auxiliary dimension. For standardized ML-DSA rounded samples, the paper’s bound on the probability of exceptional instances exceeds one.

This result concerns quantum cryptanalysis of particular structured lattices. RSA relies on integer factorization, Bitcoin signatures use elliptic-curve discrete logarithms, and AES is a symmetric block cipher. The paper gives no reduction from these problems to its lattice algorithms.

11. Lean Formalization and Verification of the Mathematical Proof

The Lean files state results for programs in a quantum word RAM, a mathematical machine model with classical operations and quantum gates. The repository describes separate checks for theorem statements and for explicit programs following the published algorithms. It documents differences from the paper. For example, the formal Part 2 statements discharge the sampler hypothesis, and step accounting can change bounds by logarithmic factors.

The simplified cases give a concrete example. The key-recovery theorem for ML-KEM-like families applies at powers of two starting at 2292^{29}, under its own modulus and instance conditions. The corresponding message-recovery statement starts at 2302^{30} and also constrains compression. These thresholds describe the formal statements for the extended families. The proof checks concern the specified machine and mathematical inputs. The repository documents how to replay them in Lean and in an independent kernel.

12. What This Breakthrough Means for the Future of Lattice-Based Cryptography

For lattice based cryptography, the paper changes the asymptotic picture for low-rank power-of-two cyclotomic modules, especially for approximation and search problems in favorable noise regimes. Institutions choosing post-quantum cryptography parameters still need concrete costs and coverage of the distributions those systems use. Open directions include reducing the auxiliary dimensions, sampling at narrower widths and extending the analysis to more rings or noisier instances.

The lasting result is that a quantum algorithm can recover symmetries, turn them into samples, and use those samples to certify geometry that the input basis conceals. Subscribe to Binary Verse AI for research explainers that follow the mathematics from the first definition to the final guarantee.

Has Claude broken lattice-based cryptography?

The result gives quasi-polynomial-time quantum algorithms for specific structured lattice problems. The paper concludes that the algorithms are impractical for the standardized ML-KEM and ML-DSA parameter sets.

What is Claude’s galactic quantum algorithm?

It is a family of quantum algorithms that uses lattice symmetries, Gaussian sampling and canonical filtrations. The paper calls the algorithms galactic because the running times improve asymptotically while the costs at realistic input sizes remain prohibitive.

Is Claude’s cryptography breakthrough simply a brute-force attack?

The algorithms exploit mathematical structure. Quantum class states reveal symmetries, which help produce discrete Gaussian samples. Those samples then help compute canonical filtrations and solve structured lattice problems.

Does Anthropic’s discovery compromise ML-KEM and ML-DSA?

The paper establishes results for hypothetical growing-degree families inspired by the standards. The standards themselves fix the ring degree at 256, and the paper gives no practical break of either standardized scheme.

Has Claude solved the shortest vector problem?

The paper gives a quantum algorithm for approximating the shortest vector problem on specified cyclotomic module lattices. Unrestricted exact SVP lies outside the result.

Does Claude’s quantum algorithm prove P = NP?

No. The results concern quantum running times for specific structured lattice problems. The P versus NP question concerns deterministic polynomial-time computation and remains open.

Is Anthropic’s cryptographic proof formally verified?

Anthropic published Lean formalizations of main theorems, supporting results and algorithmic resource bounds. Its repository records differences between the paper and the formal statements. The verification concerns the specified programs and mathematical claims.

Leave a Comment