132 main theorems from four AI-found lattice papers come machine-checked in Lean 4, with the code to rerun the check, the release says

In short

132 main statements of the four papers; 190 intermediate theorems, remarks and detailed forms; 63 theorems about the machine model; 3 axioms behind every compared theorem

Why the checking is the story

The four papers run to 283, 114, 95 and 49 pages, by the page counts of the PDFs in the folder; that is 541 pages in all (our sum). Proofs of that length are slow for human referees to check, and an error can hide in any line. Once the statements are written down correctly in Lean, the computer checks every step, and a reader no longer has to trust the authors, human or AI, on the logic.

The README is also plain about what that does not settle: "That the statements say what the papers say is for the reader to judge; AI readers have compared them with the text."

What the papers claim

The papers are on lattice problems such as finding short vectors (SVP) and learning with errors (LWE). The README's counts per paper:

Paper 1 carries the headline result. Its abstract says it gives quasi-polynomial-time quantum algorithms for several lattice problems, among them, for module lattices of polylogarithmic rank over power-of-two cyclotomic rings, solving random instances of search Module-LWE with short secret and error, for suitable moduli of polynomial size. Module lattices underlie ML-KEM and ML-DSA, the post-quantum encryption and signature standards (our note). The same abstract states the limit: "The algorithms are galactic: the bounds on their running times are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA." The departures file adds that the Lean statements on schemes like ML-KEM and ML-DSA use thresholds of n ≥ 2^29 or 2^30, which the paper leaves unnamed.

How the check works

The repository follows a challenge-and-solution layout. In plain terms (our wording):

The three axioms are propext, Classical.choice and Quot.sound. These are Lean's standard foundational assumptions, roughly: equivalent statements are equal, the axiom of choice, and a rule for quotients (our gloss). A check that allows only these rules out a proof that quietly assumes the result it needs.

Running two kernels matters because the kernel is the small core program that has the final say on every proof step. Two kernels written separately are unlikely to share the same bug (our explanation).

Comparator comes from the Lean developers' own organisation; its README says it has since been merged into Lean core (v4.35.0) as lake comparator.

What a reader still has to trust

The README lists it: the statements and the definitions they use, the challenge files, the configuration files and the checkers, plus Mathlib, Lean's shared mathematics library. For the claim that explicit programs follow the printed algorithms, which lake build checks rather than Comparator, the statements in proof/ must be trusted too. If a definition were subtly wrong, the proofs could be valid and still not prove what the papers say.

One definition does a lot of work. Algorithms in the papers are programs for a "quantum word RAM", a model computer that the README says is defined in about 1,000 lines, with time counted as its steps. The 63 machine theorems tie this model to the standard complexity classes P, BPP, PSPACE and BQP, so that "polynomial time" on it means what it usually means.

The departures file lists where the Lean statements differ from the papers:

Terms in plain English

Where things stand

The README calls the folder a "Research artifact. Not maintained and not accepting contributions." The root README says lattices/ is not yet submitted to the Palomar registry, unlike the repository's other projects, and that its continuous-integration check runs only when started by hand. We did not run the build or the checker; the claim that every proof passes is the release's own, and the sources we read do not mention any peer review of the papers.

Sources

Sources

More from Number Ninjas

All stories from Number Ninjas