Inside Anthropic’s Lattice Cryptography Papers: Inspecting the Lean 4 Proofs, "Galactic" Quantum Bounds, and What They Mean for NIST PQC
Teardown of Anthropic’s Nov 30, 2026 release of 4 AI-discovered lattice cryptography papers & 385 Lean 4 theorems (anthropics/formal-math): why n >= 2^29 and 2^(c·rank^8·log²n) leave NIST ML-KEM/ML-DSA safe—and what AI + Lean 4 means for PQC.
Research Advisory: Anthropic Lattice Cryptography Suite (Nov 30, 2026) — github.com/anthropics/formal-math/lattices (Post-Quantum Cryptography • Structured Cyclotomic Module-LWE / Module-SIS vs. Unstructured Lattices)
Severity: INFORMATIONAL (GALACTIC ASYMPTOTIC QUANTUM ALGORITHM; > 2^1000 OPS FOR ML-KEM-512 / ML-DSA-44) (CVSS Informational / Theoretical Breakthrough (Zero Practical Threat to Production PQC or Classical Crypto))
Threat Actor: Anthropic Internal Research Claude Model (Lean 4 Verified); Independently Reviewed by 21-Member CIRG
Status: Public Research Artifact Released Nov 30, 2026; Dec 2 Joint Industry Statement Urges Continued PQC Migration
Affected Systems: Asymptotic structured-lattice theory (n >= 2^29 / 2^30); Production ML-KEM (n=256), ML-DSA, RSA, ECC & AES UNAFFECTED
Fixed In: No Patch Needed — Deploy Hybrid PQC (X25519MLKEM768), Higher Module Ranks & Crypto-Agility (CBOM)
On November 30, 2026, following a weekend of intense speculation and market rumors that modern encryption had been broken, Anthropic published a landmark open-source research artifact at github.com/anthropics/formal-math/tree/main/lattices: four theoretical lattice cryptography papers totaling 541 pages alongside a machine-checked Lean 4 formalization of their theorems. Discovered by an unreleased internal research version of Claude, the flagship 283-page paper ("Galactic quasi-polynomial quantum algorithms for integral and module lattices") introduces a novel asymptotic quantum algorithm targeting the structured cyclotomic module lattices underlying NIST’s post-quantum standards ML-KEM and ML-DSA. Yet inspecting the repository’s verbatim Lean 4 theorems—alongside the independent assessment of 21 cryptographers in the Cryptography Incident Review Group (CIRG)—makes the operational verdict unmistakable: the algorithm’s rank⁸ · log²(n) exponent and n >= 2²⁹ ring-degree thresholds leave real-world n = 256 deployments completely safe while signaling a historic inflection point in AI-authored, formally verified mathematics.

1. The "One Offense, Three Defense" Package (anthropics/formal-math/lattices)
Rather than a pure cryptanalytic attack, Anthropic’s release pairs one offense-oriented paper targeting structured module lattices with three reduction papers that actually strengthen the theoretical foundations of general (unstructured) lattice cryptography:
| Paper | Title & Lean Entry | Theorems (Main / Further) | Cryptographic Significance |
|---|---|---|---|
| Paper 1 (283 pp — Offense) |
Galactic quasi-polynomial quantum algorithms for integral and module latticesPaperDefs/P01.lean |
81 / 104 | Solves Lattice Isomorphism Problem for ℤᵐ, Module-SIS, and search Module-LWE over power-of-two cyclotomic rings in quantum time 2^(O(rank⁸ log² n)) asymptotically for large degrees n. |
| Paper 2 (Defense / Reduction) |
Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVPPaperDefs/P02.lean |
24 / 35 | Tightens worst-case to average-case reductions across core lattice problems (SVP, SIS, SIVP, LWE, GapSVP). |
| Paper 3 (Defense / Equivalence) |
A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise ratesPaperDefs/P03.lean |
19 / 35 | Proves a converse to the dual lattice attack and establishes quantum equivalence between SIVP and LWE in the small-noise regime. |
| Paper 4 (Defense / Unstructured PKE) |
Public-key encryption from GapSVP within Õ(n), classically: an adaptive reduction to decision LWE in dimension kn with exponential modulusPaperDefs/P04.lean |
8 / 16 | Strengthens classical worst-case foundations for public-key encryption built on unstructured lattices (reinforcing confidence in schemes such as FrodoKEM). |
In addition to the 132 main theorems and 190 intermediate statements across the four papers, Challenge/Machine.lean formalizes 63 machine-consistency theorems proving that Anthropic’s ~1,000-line quantum word RAM model accurately captures standard P, BPP, PSPACE, and BQP complexity classes.
2. Inspecting the Verbatim Lean 4 Theorems: Why ML-KEM and ML-DSA Remain Safe
Because the formal statements are publicly readable in PaperDefs/P01/Cases.lean, we do not have to guess what "galactic" means—we can read the exact mathematical bounds right out of the Lean 4 code.
1. Search Module-LWE (ModuleLWETheorem)
def ModuleLWETheorem : Prop :=
∃ program : QuantumProgram, ∃ c : ℕ, ∀ rank ≥ (1 : ℕ),
∀ᶠ n : ℕ in largePowersOfTwo, ∀ noise ≥ 1, ∀ q ∈ Set.Icc (11 * rank * noise ^ 2 * n) (2 ^ n),
ForAllButFraction (2 ^ (-(n : ℝ) / (240 * rank))) fun A : Fin rank → Fin rank → Fin n → Fin q =>
program.SolvesEveryInstance (moduleLWE A noise) (told := [n, rank, rank])
(time := 2 ^ (c * rank ^ 8 * n.log2 ^ 2))time := 2 ^ (c * rank ^ 8 * n.log2 ^ 2) Does Not Threaten NIST FIPS 203 / 204
Paper 1’s speedup is quasi-polynomial in the ring degree n only when holding rank fixed as n → ∞. Production ML-KEM and ML-DSA fix n = 256 (log2 n = 8, log2(n)² = 64) and scale security via module rank—which sits to the eighth power inside the exponent! Even assuming an impossibly tiny constant c = 1, ML-KEM-512 (rank = 2) evaluates to 2^(2⁸ × 64) = 2^16,384, and ML-KEM-768 (rank = 3) explodes to 2^(3⁸ × 64) = 2^419,904. Worse still for any attacker, ML-KEM’s actual modulus q = 3329 sits below the theorem’s minimum modulus bound 11 * rank * noise² * n ≥ 5632.2. Asymptotic Parameter-Family Bounds (MLKEMLike & MLDSALike)
Section 12.5 of Paper 1 lifts the NIST ML-KEM (q = 13n + 1) and ML-DSA (q = 32736n + 1) families to asymptotic ring degrees. Look at the explicit ring-degree floor encoded directly in PaperDefs/P01/Cases.lean:
namespace MLKEMLike
def KeyRecoveryInFamiliesTheorem : Prop :=
∃ program : QuantumProgram, ∃ c : ℕ, ∀ p ∈ parameterSets,
∀ n ≥ 2 ^ 29, n.isPowerOfTwo → ∀ q ∈ Set.Icc (13 * n) (2 ^ n), q.Prime →
program.SolvesAllInstancesButFraction (keyRecovery p n q) (told := [n, p.rank])
(time := 2 ^ (c * n.log2 ^ 2)) (fraction := 2 ^ (-(n : ℝ) / 2 ^ 17))
end MLKEMLike
namespace MLDSALike
def KeyRecoveryInFamiliesTheorem : Prop :=
∃ program : QuantumProgram, ∃ c : ℕ, ∀ p ∈ parameterSets,
∀ n ≥ 2 ^ 30, n.isPowerOfTwo → ∀ q ∈ Set.Icc (32736 * n) (2 ^ n), q.Prime →
program.SolvesAllInstancesButFraction (keyRecovery p n q) (told := [n, p.rows])
(time := 2 ^ (c * n.log2 ^ 2)) (fraction := 2 ^ (-(n : ℝ) / 2 ^ 15))
end MLDSALikeMLKEMLikeKey Recovery: Requires ring degreen ≥ 2²⁹(536,870,912) — over 2 million times larger than production ML-KEM’sn = 256.MLKEMLikeMessage Recovery &MLDSALikeKey Recovery: Requiren ≥ 2³⁰(1,073,741,824) — over 4 million times larger than production ML-DSA’sn = 256.- CIRG Concrete Evaluation: The 21-expert Cryptography Incident Review Group confirmed that even
2^1000quantum operations (≈ 10^301, vastly exceeding the≈ 10^80atoms in the observable universe) falls far short of breakingML-KEM-512orML-DSA-44. - Zero Classical Impact: No non-quantum speedup was found, and RSA, ECC, and AES are completely unaffected.
3. The Real Breakthrough: Machine-Checked AI Mathematics (Lean 4 + Comparator + nanoda)
While deployed encryption remains secure, November 30, 2026 marks a genuine milestone in computational science: an AI research model synthesized 541 pages of novel quantum lattice algorithms and worst-case reductions—and eliminated LLM proof hallucinations by formally verifying 385 theorems inside Lean 4 without assuming any unproved external theorems or conjectures.
Unreleased Claude Research Model (Multi-Agent Mathematical Synthesis)
│
▼
[1] 4 Research Papers (541 Pages)
└─► Even previously published cited lemmas are formalized from scratch!
│
▼
[2] Lean 4 Formalization (CryptoDefs/ + PaperDefs/ + PaperDetails/ + proof/)
├─► ~1,000-line Quantum Word RAM specification
├─► 132 main theorems + 190 intermediate statements + 63 machine theorems
└─► Relies ONLY on 3 standard axioms: propext, Classical.choice, Quot.sound
│
▼
[3] Independent Kernel Replay (Comparator + nanoda)
├─► lake build (~1 hr on 12 cores, 12 GB RAM, 21 GB disk)
└─► Replays Solution/ against Challenge/ in BOTH Lean 4 & independent nanoda kernel!# Reproduce the full formal verification locally on Linux (requires elan):
git clone https://github.com/anthropics/formal-math.git
cd formal-math/lattices
lake exe cache get
lake build
lake env lean scripts/PrintAxioms.lean
bash ../.github/scripts/comparator-check.sh4. Coordinated Disclosure Timeline & Enterprise PQC Action Plan
- November 16, 2026: Anthropic privately briefed U.S. government stakeholders and shared advance drafts with the 21-member Cryptography Incident Review Group (CIRG) (Stanford, MIT, IBM, and independent cryptographers).
- November 30, 2026: Public release of
anthropics/formal-math/latticesalongside CIRG’s independent report debunking pre-release RSA/PQC panic. Cloudflare, Trail of Bits, and IBM confirmed production traffic remains safe. - December 2, 2026: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle issued a joint statement supporting U.S. government/NSA guidance to continue and accelerate PQC migration.
What CISOs & Security Architects Should Do Now
- Stay the Course on NIST PQC Migration: Harvest-now, decrypt-later (HNDL) threats against classical RSA/ECC remain the immediate priority. Continue migrating to ML-KEM (FIPS 203) and ML-DSA (FIPS 204).
- Deploy Hybrid Modes & Favor Higher Module Ranks: Because Paper 1’s exponent scales with
rank⁸, deploy hybrid key exchange (X25519MLKEM768) and prefer higher module ranks (ML-KEM-768/1024,ML-DSA-65/87) where performance permits. Use hash-based signatures (SLH-DSA/ FIPS 205 orLMS/XMSS) for ultra-long-lived root CAs and firmware trust anchors. - Build True Crypto-Agility (CBOM): Theoretical attacks historically improve over time, and AI + Lean 4 just compressed the discovery cycle. Maintain a live Cryptographic Bill of Materials (CBOM) and ensure HSM/KMS abstractions can seamlessly swap in unstructured-lattice KEMs (like FrodoKEM—whose classical worst-case security was strengthened by Paper 4!) if future breakthroughs ever erode structured-lattice constants.