Anthropic Internal Claude Cracks Lattice Cryptography with 385 Lean-Verified Theorems

By 梦晨Original title: 密码学突发大地震!Claude内部模型连发4篇论文,385个定理全部通过Lean验证
88AI Score

Anthropic has disclosed four theoretical breakthroughs in lattice cryptography produced by an unreleased internal research version of Claude, including a quantum algorithm that breaks a specific structured-lattice problem in quasi-polynomial time, with all 385 theorems formally verified in Lean. The draft was pre-circulated to leading cryptographers, whose joint statement urges accelerating post-quantum migration, maximizing ML-KEM/ML-DSA security parameters, and prioritizing unstructured-lattice schemes. It marks a landmark case of AI autonomously generating verifiable mathematical results that bear directly on post-quantum security standards.

Full Report

Contents7 sections

Directly Targeting "Post-Quantum Cryptography," Not the Rumored RSA/ECC Problem

Meng Chen, from Aofei Temple QuantumBit | WeChat Official Account Qbiai

Just now, Anthropic's cryptography breakthrough was made public, directly targeting "post-quantum cryptography," not the rumored RSA/ECC problem.

What a stir.

An internal research version of Claude that has not yet been publicly released achieved four theoretical breakthroughs in the field of lattice cryptography without any human-preset theorems.

Because the breakthrough was too sensitive, Anthropic secretly submitted the draft to a team of the world's top cryptographers for security evaluation on November 16, and only today did it officially open-source it to the world.

Lattice cryptography is humanity's "ultimate line of defense" for resisting future quantum computer attacks and safeguarding the digital world.

Among these results, Claude for the first time presented a quantum algorithm capable of breaking specific "structured lattice" hard problems in quasi-polynomial time.

Faced with this theoretical warning, the international cryptographers' alliance that participated in the advance review issued a "defense upgrade guide" to the global cybersecurity industry in a joint statement.

  • Post-quantum migration must never be delayed: The current "galactic-scale" new algorithm is far from enough to threaten existing NIST standards. If migration is delayed out of hesitation, it will only leave systems continuously exposed to extremely fragile traditional encryption (RSA/ECC);
  • Max out security parameters and build "crypto-agility": When deploying ML-KEM and ML-DSA, the highest security level should be selected whenever possible; at the same time, vigorously adopt hybrid encryption schemes that combine different mathematical foundations, and implement crypto-agility in system architecture so that if an algorithm is someday broken through optimization, the locks can be swapped with one click overnight;
  • Urgently elevate "unstructured" backups: The expert group strongly calls on standardization bodies such as NIST to prioritize incorporating more public-key cryptography based on unstructured lattices and other diverse mathematical designs into standards, "even at the cost of some operational efficiency, in exchange for a purer security foundation with fewer attack surfaces."

The Cost of Taking Shortcuts: The Algebraic Achilles' Heel of "Structured Lattices" Exposed

The online banking and WeChat chat encryption we use every day are all built on mathematical hard problems such as large-number factorization. But in the face of quantum computers with exponentially exploding computing power, these defenses are very fragile.

To prevent the arrival of a "quantum doomsday," the U.S. NIST, together with the global cryptography community, selected through extensive screening and ultimately chose lattice cryptography as the next-generation moat.

Mathematically, a "lattice" is an infinite, regular array of points extending through high-dimensional space. But within lattice cryptography, there have long been two major camps:

One camp is called unstructured lattices, characterized by being a solid, patternless block with extremely high security, but with the drawbacks of large keys and slow computation.

The other camp is called structured lattices (especially module lattices). To pursue extreme efficiency, elegant algebraic symmetry structures are artificially added to the grid.

Today, NIST's two core anti-quantum standards, ML-KEM (for encryption) and ML-DSA (for signatures), are both bet entirely on the structured lattice camp.

Human experts have always assumed: adding some algebraic structure surely won't turn into a fatal flaw, right?

Claude's first paper (P01.lean) directly gives the answer: Yes, humans, it will.

Not long ago, OpenAI had just produced a classical mildly subexponential-time attack on structured lattices by disproving the "Exponential Time Hypothesis (ETH)"; then Anthropic countered with a quantum algorithm that directly pushed the complexity down to quasi-polynomial time.

By relentlessly probing the symmetry vulnerabilities in algebraic structures, Claude found a quantum computing "shortcut" algorithm, successfully conquering multiple core hard problems on integer lattices and module lattices (including Ring-LWE, Module-LWE, Module-SIS, and the shortest vector problem on NTRU lattices).

So, is human encryption doomed?

Don't panic just yet, not at all. Cryptographers call the kind of algorithm Claude discovered a "galactic algorithm," meaning that it is astonishingly fast in asymptotic trend, but its constant factors are as huge as the Milky Way, making it completely impractical to run at real-world sizes.

External cryptographers specifically used AI models to help optimize and estimate the computational cost:

Even against the standards with the smallest parameters (ML-KEM-512 and ML-DSA-44), and even if the attacker is granted every favorable assumption, 2^1000 quantum operations would still be far from enough to make a dent in this algorithm.

The number of seconds since the birth of the universe is only about 258, so there is no need to worry for now.

But this is still a dangerous signal that changes the wind direction. It proves that "algebraic shortcuts" in structured lattices really exist. As the algorithm is further optimized by humans and AI in the future, a crack has already appeared in the long-term trustworthiness of structured lattices.

Countering by Forging a Shield: Unstructured Lattices Receive an "Epic Upgrade"

Of course, Claude did not come merely to cause destruction.

In the remaining three papers, it turned around and reinforced unstructured lattices, which have no special algebraic structure, to an unprecedented theoretical height.

In the process of trying to find vulnerabilities in unstructured lattices, Claude not only failed to break them, but also conveniently patched up several core theoretical holes that had plagued the cryptography community for years.

Step One: Bridging "Worst Case" to "Average Case"

Lattice cryptography is called the jewel in the crown of cryptography because it has a remarkable property: even if a hacker only wants to break a randomly generated "average-difficulty" cipher (such as SIS or LWE), the difficulty is equivalent to solving the "most extreme and most difficult" geometric problem in the entire high-dimensional space (such as the shortest vector problem, SVP).

In the second paper, Claude introduced a new approximation framework of "Minima Filtration" and "Smoothing Filtration."

It rigorously proves that the classic SIS, SIVP, and Subspace Avoidance Problem (SAP), as well as LWE and GapSVP in the quantum setting, can all be reduced from search-SVP with extremely high tightness.

Claude proved that a discrete random integer lattice, after being perturbed by Gaussian noise of width 2**-6n**, has a statistical distance of less than 2-4n from the perfect "Haar-random lattices" in continuous mathematics.

This directly provides an unshakable measure-theoretic foundation for average-case cryptographic hardness.

Step 2: Proving the "Converse of the Dual Attack" and Small-Noise Equivalence

In the offense-defense battle of lattice cryptography, the "Dual Attack" is one of the most commonly used decryption methods: it uses short vectors in the dual lattice to distinguish LWE encryption noise from pure random numbers. But does the converse hold? If there is a black-box circuit that can distinguish Gaussian noise, can it necessarily find a dual short vector?

In the third paper, Claude proved the Converse of the Dual Attack (Theorem_A and Abstract_converse)

On this basis, Claude established for the first time the quantum two-way equivalence between SIVP and LWE (Theorem_20_1) near the critical rank and at small noise rates, and proved the IND-CPA security of the classic Regev public-key encryption system.

Claude also gave an "impossibility theorem" in Section 21 (Abstract_exponents): in the classical reductions of SVP and SIVP, the exponent of the approximation factor γ cannot be reduced by a constant factor through black-box reductions or linear gate-count reductions.

Unless the SVP and SIVP of the entire unstructured lattice can be completely broken in quantum quasi-polynomial time.

Step 3: Completely Casting Off Quantum Assumptions, Building Public-Key Encryption Purely Classically

Since quantum reductions are so powerful, what about in the world of purely classical computers?

Claude's fourth paper, using only purely classical adaptive reduction techniques, proved that breaking the relevant public-key encryption system is at least as hard as solving the shortest vector decision problem under extremely stringent near-linear approximation accuracy.

Final conclusion:

Cutting away artificially added algebraic structure and returning to the purest unstructured lattices remains humanity's most reliable shield against quantum computing.

Building a Quantum Computer from Scratch Without Citing Any Known Theorem

Four whole papers filled with high-dimensional geometry, algebraic number theory, Haar measure, and quantum circuits—all written by AI. What if there is a "large-model hallucination" in some step?

Anthropic's solution: have the AI write all proofs as Lean 4 code, adhering to "Assume no conjecture and no published theorem".

In traditional mathematics papers, authors often write "by so-and-so's 1998 theorem, we know that...". But in Claude's Lean 4 code, it is not allowed to directly assume the truth of any theorem from any published paper.

Whenever a proof uses a conclusion from prior literature, the AI re-proves the prior theorem from beginning to end in code.

To prevent the AI from cheating on "time complexity" and "number of algorithm execution steps," the AI even used about 1,000 lines of code to define from scratch a standard 64-bit quantum word random-access machine (Quantum Word RAM).

In this virtual machine:

  • All mathematical objects (matrices, lattice bases, polytopes) are encoded as prefix-notation binary trees, split into 64-bit machine words (Words) and fed to the program;
  • The machine strictly defines the classical complexity classes P, BPP, PSPACE as well as the quantum BQP;
  • Every algorithm in the paper is not pseudocode on paper, but a runnable virtual-machine program, with time complexity precise to the number of instruction steps executed by the machine (including even the length of the program text itself).

Ultimately, behind these 385 cryptography and complexity theorems, only 3 basic logical axioms at the lowest level of Lean are used:

  • propext (propositional extensionality)
  • Classical.choice (the axiom of classical choice)
  • Quot.sound (soundness of quotient types)

One More Thing

At the same time Anthropic released its cryptographic breakthrough, founder Dario Amodei published a short essay titled "We Must Slow Down Part 2."

Dario announced that pretraining of the next-generation model has been delayed by at least 6 weeks. So, which generation is the model that achieved the cryptographic breakthrough?

You're the one stepping on the gas, and you're also the one shouting to brake.

Reference links: [1] https://github.com/anthropics/formal-math/tree/main/lattices [2] https://x.com/AnthropicAI/status/2127538548119339339