Toggle light / dark theme

How lattice encryption works

For non-cryptographers: what a lattice is, why finding the closest point gets hard as dimensions grow, how Learning With Errors hides a secret behind small errors, why lattices were chosen for the post-quantum standards, and why the standards keep alternatives.

This is a corrected version, uploaded on 1 December 2026. It replaces • How lattice encryption works and takes account of the Cryptography Incident Review Group’s assessment of 30 November 2026, which reports a quantum algorithm from Anthropic for some structured lattice problems: https://cirg.org/statements/1/

The encryption scheme shown is a simplified illustration with toy numbers, not ML-KEM’s exact procedure. The animations are drawn from code. The narration voice is synthetic.

Sources: cryptography incident review group, \

Initial Assessment of Anthropic’s Findings on Lattice Cryptography

🔍 Did Anthropic just break post-quantum cryptography? (Spoiler: No.)

Peter Shor, you can reserve your X rants for next time—today’s encryption is still safe.

After breaking a long stretch of radio silence on X yesterday, the creator of Shor’s algorithm might be watching the quantum space closely, so here is what actually happened with Anthropic’s big cryptographic announcement:

Anthropic just released four theoretical papers exploring lattice cryptography—the complex mathematical backbone meant to protect our digital infrastructure against future quantum computers. Using unreleased Claude models, they discovered a quantum algorithm that attacks two major NIST post-quantum standards (ML-KEM and ML-DSA).

The big question: Should anyone panic?

No. Here is why real-world encryption remains intact:

* Impractical for real-world sizes: The new attack is only faster theoretically at key sizes vastly larger than anything used in reality. For actual deployed key sizes, it is dramatically slower than existing methods.

* Galactic scale required: Even for the smallest parameter sets, the quantum computational resources required are vastly beyond practical reach.

Why mathematicians must rely on machines to check new results

This article from The Economist highlights a profound shift in modern mathematics: while large language models are brilliant at generating creative ideas and proposing complex proofs, they are inherently “fuzzy and statistical”—prone to occasional hallucinations or subtle leaps in logic.

To bridge this gap, mathematicians are increasingly pairing AI with Lean, an interactive theorem prover and programming language designed around formal logic. Why Lean and Formal Verification Matter.

* The Remorseless Kernel: At the heart of Lean is a tiny, rigorously audited program called the *kernel*. It accepts a mathematical proof only if every single step follows faultlessly from established axioms and rules of logic.

* The AI-Human-Machine Partnership: Modern AI systems can propose thousands of candidate proofs and synthesize ideas across massive libraries (like Lean’s ‘Mathlib‘, containing hundreds of thousands of pre-checked theorems). The AI generates, Lean judges with absolute literalness, and human mathematicians provide the taste, direction, and evaluation of what theorems actually matter.

* The Catch: While Lean can verify that a proof is logically airtight, verification is not the same as understanding. Mathematicians are increasingly facing a surreal new reality: having a machine-checked proof for monumental problems (such as recent strides on the Riemann Hypothesis or Navier-Stokes equations) that is undeniably correct, yet so complex that humans are still racing to decode what it actually teaches them.

Lean’s kernel verifies proofs by treating mathematical truth as a compiler type-checking problem. There is no probability, guessing, or neural network inside the kernel—only deterministic, mechanical rules.

This architecture rests on the Curry-Howard correspondence, which establishes an exact equivalence between logic and programming:

Michel Talagrand’s Webpage

When an Abel Prize Medalist’s mathematical problems meet AI…

Michel Talagrand, one of the world’s most distinguished mathematicians and the recipient of the 2024 Abel Prize, recently made a rather remarkable statement on his homepage:

“I no longer offer prizes for solving my problems. In any case A.I. almost solved them all.”

It is a humorous remark, perhaps, but one with serious implications.

Talagrand is known for profound contributions to probability theory, functional analysis, and the geometry of high-dimensional spaces. His mathematical problems were not ordinary exercises. Some were questions that had resisted the efforts of researchers for years.

Consider his convexity conjecture, proposed in 1995. For decades, it remained unresolved.

In a recent development, mathematician Antoine Song and his student Dongming (Merrick) Hua made progress toward resolving it. They encountered a difficult technical step and turned to ChatGPT for assistance. The AI produced a proof of a proposition that helped bridge the gap.

New research establishes fundamental complexity limit for quantum circuit optimization

Quantum circuit optimization is an important research area, as the computational resources required to execute quantum algorithms remain a major challenge. In particular, two-qubit operations are generally associated with higher error rates than single-qubit gates on current quantum hardware, making reducing the number of two-qubit gates an important objective.

Clifford circuits are constructed from Hadamard, phase and controlled-NOT (CNOT) gates. Although these circuits can be simulated efficiently using classical computers, finding their most resource-efficient implementation presents a fundamentally different challenge.

New research from Kvantify establishes that deciding whether a given Clifford operator can be implemented using at most a specified number of CNOT gates, while allowing an unlimited number of single-qubit Clifford gates, is NP-complete. The result provides a theoretical explanation for the difficulty of optimal Clifford circuit synthesis and has important implications for quantum algorithm development.

Michael Levin: Hidden Reality of Alien Intelligence & Biological Life | Lex Fridman Podcast #486

Michael Levin is a biologist at Tufts University working on novel ways to understand and control complex pattern formation in biological systems.
Thank you for listening ❤ Check out our sponsors: https://lexfridman.com/sponsors/ep486-sb.
See below for timestamps, transcript, and to give feedback, submit questions, contact Lex, etc.

Transcript:

Transcript for Michael Levin: Hidden Reality of Alien Intelligence & Biological Life | Lex Fridman Podcast #486

CONTACT LEX:
Feedback — give feedback to Lex: https://lexfridman.com/survey.
AMA — submit questions, videos or call-in: https://lexfridman.com/ama.
Hiring — join our team: https://lexfridman.com/hiring.
Other — other ways to get in touch: https://lexfridman.com/contact.

EPISODE LINKS:
Michael Levin’s X: https://twitter.com/drmichaellevin.
Michael Levin’s Website: https://drmichaellevin.org.
Michael Levin’s Papers: https://drmichaellevin.org/publications/
- Biological Robots: https://arxiv.org/abs/2207.00880
- Classical Sorting Algorithms: https://arxiv.org/abs/2401.05375
- Aging as a Morphostasis Defect: https://pubmed.ncbi.nlm.nih.gov/38636560/
- TAME: https://arxiv.org/abs/2201.10346
- Synthetic Living Machines: https://www.science.org/doi/10.1126/scirobotics.abf1571

SPONSORS:
To support this podcast, check out our sponsors & get discounts:
Shopify: Sell stuff online.
Go to https://lexfridman.com/s/shopify-ep486-sa.
CodeRabbit: AI-powered code reviews.
Go to https://lexfridman.com/s/coderabbit-ep486-sa.
LMNT: Zero-sugar electrolyte drink mix.
Go to https://lexfridman.com/s/lmnt-ep486-sa.
UPLIFT Desk: Standing desks and office ergonomics.
Go to https://lexfridman.com/s/uplift_desk-ep486-sa.
Miro: Online collaborative whiteboard platform.
Go to https://lexfridman.com/s/miro-ep486-sa.
MasterClass: Online classes from world-class experts.
Go to https://lexfridman.com/s/masterclass-ep486-sa.

Machine-learning models can detect elevated psychopathy and sadism from reactions to funny pictures

Your reactions to internet memes and cartoons may carry a hidden personality signal. Researchers trained algorithms on picture ratings and identified elevated psychopathy, sadism, and narcissism, though cold, calculating Machiavellianism left no trace at all.

Quantum computing’s first real-world payoff may come in energy, not drug discovery

For years, the case for quantum computing has rested on ambitious promises, from discovering new drugs by simulating how molecules behave to optimizing supply chains and airline schedules. Many of the biggest aims are still likely to be years, if not decades, away.

But quantum software, which uses algorithms designed to solve complex problems faster than conventional computers, is already being tested on a more immediate challenge: the energy transition, from keeping power grids stable to finding better materials for solar cells and hydrogen production.

Cathy O’Neil on Weapons of Math Destruction: How Big Data Threatens Democracy

“Algorithms are opinions embedded in code.”

Cathy O’Neil told me that in 2019, back when most people still assumed math was neutral and #BigData would make our decisions cleaner, fairer, and smarter.

She had good reason to doubt it. Harvard PhD in mathematics. MIT postdoc. Then a quant at the hedge fund D.E. Shaw in the middle of the credit crisis, where she watched math get weaponized from the inside. What she saw there became Weapons of Math Destruction.

Seven years on, those models have learned to talk. They read résumés, score borrowers, flag “high-risk” neighborhoods, and now they can write a confident explanation for every call they make. We traded blind faith in big data for blind faith in #AI. Did we fix anything, or did we just make the opinions more persuasive?

In our 90-minute conversation, we get into:

Manifest Destiny, American exceptionalism, and why we don’t count the dead the Facebook memo arguing that connecting people is “de facto good,” even when it costs lives what predictive policing software like PredPol is really predicting whether #DataScience needs its own Hippocratic oath why I believe Instagram may be the worst weapon of math destruction of them all.