R448 · AI-built software and its verification › Formal methods for AI-written code

The gate the headline skipped: four Lean-checked lattice papers, and the one project CI runs by hand

Read the original

formal-methodsleancryptographypost-quantumverificationciclaim-evaluation

A news story circulating on 30 November and 1 December 2026 says a frontier AI lab "cracked a form of advanced data protection encryption," with some wire copy going further: "a theoretical way to crack encryption that protects the internet." The primary artifact behind it is a public GitHub repository of machine-checked Lean 4 formalizations, Apache-2.0, last pushed 2026-11-30. Reading it changes the story in two directions at once, and the second one is the part worth an engineer's attention.

What the artifact actually contains

The repository holds five self-contained Lean projects. Four are submissions to a formalization challenge with a hard machine gate. The fifth, lattices/, is the one the coverage is about: four papers on lattice problems and lattice-based cryptography, with the headline result described in the repository's own words as galactic quasi-polynomial quantum algorithms for integral and module lattices, stated for programs of a quantum word RAM.

Three words in that phrase do most of the work:

ML-KEM and ML-DSA are the NIST post-quantum standards now being deployed. The repository's own notes on where the Lean statements differ from the printed papers add the threshold: the formal statements about schemes of that kind take effect at dimensions on the order of 2^29 or 2^30, numbers the papers themselves leave unnamed.

So the claim is a significant theoretical result about the hardness assumptions underneath post-quantum lattice cryptography, formally stated, with the authors explicitly disclaiming any effect on deployed parameters. The claim in the headline is a different claim, and the repository contradicts it.

The second story: the project everyone is reporting on is the one exempt from the gate

This is the part that generalizes beyond cryptography.

The other four projects in the repository pass a verification pipeline that is unusually hard, and specified in public:

That is close to the strongest automated claim-verification story available for mathematics today. It is also, read as an engineering artifact, a well-designed trust boundary: the pipeline tells you precisely which files you must read yourself and which it has checked for you.

And lattices/ is not in it. The repository says so directly: it is not submitted to the challenge for now, it has no submission manifest, and continuous integration verifies it only in a manual run, triggered by hand, at tool pins of its own.

The pins file explains why, and the reason is mundane and credible rather than evasive. In its own comments: the check takes three to four hours, so pull requests and pushes do not run it; and the build and each checker configuration are split into separate jobs because together they would come close to the six-hour limit a job may take. That is a CI-budget decision, not a statement about the proofs. The build on 12 cores already takes over an hour with 21 GB of disk.

But the consequence stands regardless of the reason. The four results nobody is writing about carry a per-commit, double-kernel, no-proof-holes guarantee. The one result that made the news carries a guarantee that someone has to remember to run. Nothing in the repository claims otherwise; the asymmetry is simply visible to anyone who reads the configuration files, which is a smaller set of people than the ones reading the headline.

What a reader has to trust, written down

The repository does something most verification claims skip: it enumerates its own trust boundary. The reader must trust the theorem statements and the definitions they are built from, the standard mathematics library, the statement files, the configuration files, and the checkers themselves. Everything inside that boundary is machine-checked. And then the honest limit, in the repository's own words: whether the formal statements say what the papers say is for the reader to judge — with the note that AI readers have compared the two.

That last sentence is the whole verification problem in miniature. The results were discovered by an internal model. The formalization was written by models. The check that the formalization matches the prose papers was performed by models. The machine-checked part is airtight and bounded; the part that connects it to the English sentence in the abstract is not machine-checked at all, and the repository says so rather than papering over it.

Which is also where the news cycle went wrong. The step that failed was not inside the Lean proofs. It was the same step the repository flags as unverified — translating a formal statement into a sentence in a natural language — performed by journalists instead of a kernel, on a result whose own authors had written the disclaimer one line below the theorem.

Where the formal statements are weaker than the printed ones

Worth noting if the numbers matter to you, because a formalization is never a transcription:

None of these is a defect. They are the ordinary cost of moving a result from prose to a kernel, and the value of the repository is that each one is listed in a file rather than discovered later by a reader.

Takeaways

  1. A "no sorry, two independent kernels, exact statement match" pipeline is a strong and reusable pattern for any claim you want others to be able to check without trusting you. Note the shape: a statement file you must read, a solution file the machine checks, and a named axiom list.

  2. Check whether the result you care about actually runs through the pipeline. A repository can hold a rigorous gate and a project exempted from it, for perfectly good reasons, and the exemption lives in a .env file rather than the README's headline.

  3. A verification cost of three to four hours is an architectural fact, not a footnote. It is what pushed this project out of per-commit CI and into manual dispatch. If your own correctness story costs hours, expect it to migrate out of the path that runs automatically.

  4. "Galactic" and "asymptotic" are load-bearing words. A quasi-polynomial bound with rank to the eighth in the exponent is a statement about the hardness assumption, not about anyone's current traffic.

  5. Enumerating your trust boundary is itself a deliverable. The most useful paragraph in the repository is the one listing what the machine did not check.

Connections

See R448 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.