News · · Two preprints from Google DeepMind on GitHub, December 2, 2026, not peer reviewed and not yet on arXiv; DeepMind says the main theorems are formalized in Lean 4 with only Lean's standard axioms, but the Lean code is not public, so I could not read or run it; no assessment by an outside number theorist found · Reported December 3, 2026
Google DeepMind says Gemini agents and Carlo Pagano proved the 1984 Cohen-Lenstra prediction for 5-torsion in imaginary quadratic fields
Google DeepMind posted two number theory papers on GitHub on the evening of December 2, 2026, and the first one, if it holds, settles one case of a prediction that has stood since 1984. The prediction, by the mathematicians Henri Cohen and Hendrik Lenstra, is about how prime factorization breaks down in certain number systems, and it says what one count, explained below, should average out to across infinitely many of them. The paper says that for the prime 5 the average is exactly 2, as predicted. The same prediction for the prime 3 has been a theorem since Harold Davenport and Hans Heilbronn proved it in 1971. For 5 and every larger prime, the paper says, nobody had even shown that the average stays bounded. The new paper does 5 only.
Both papers carry one name, Carlo Pagano of Google DeepMind and Concordia University in Montreal, a number theorist who works on exactly these questions. Both say the core mathematics came from Cogentic, a Google system that runs a team of AI agents on an internal version of Google's Gemini 4 model, with Pagano steering, and that Aletheia2, a second Google AI system, helped him digest and rewrite it.
These are preprints: not peer reviewed, and not yet on arXiv, which the paper says will come after Pagano improves the exposition. DeepMind's repository says the main theorems of both papers have been checked in Lean, a programming language in which a computer verifies every step of a proof, with no axioms beyond Lean's standard ones (an extra axiom would be an assumption the proof takes for granted). The Lean code itself "will be added here shortly", so for now no one outside DeepMind can compare the Lean statement with the paper or run the check. As of 1:40 a.m. Pacific time on December 3, I found no comment on the papers from a number theorist outside the project.
What the count is. In ordinary whole numbers, every number factors into primes in only one way. In larger number systems that can fail. Take all numbers a + b√-5 with a and b whole: there 6 is 2 times 3, and also (1 + √-5) times (1 - √-5), two genuinely different factorizations. The class group of such a system is a finite collection of objects that measures this failure; when it has a single element, factoring works as it does for ordinary numbers. An imaginary quadratic field is the number system made by adding the square root of one negative whole number to the fractions. Different numbers can give the same field (√-4 is just 2 times √-1), so the papers count each field once, and each field has one class group. The 5-torsion of a class group is the set of its elements that return to the starting point, the identity, after five steps. It always contains the identity, so its size is 1 when there is nothing else, and otherwise 5, 25 or some higher power of 5.
In 1984 Cohen and Lenstra proposed a model in which class groups behave like randomly chosen groups, with each group weighted by how symmetric it is. For imaginary quadratic fields the model predicts that, for every odd prime, the average size of that torsion is 2. Most fields have only the identity and count 1; a minority have 5, 25 or more. Averaged over all fields, taken in order of size, the count settles at 2, which works out to one extra element per field on average beyond the identity. Number theorists have tested the model numerically for decades, but proofs have come for only some cases, among them the prime 3, by Davenport and Heilbronn; the prime 2, which behaves differently, in Alexander Smith's work from 2017 on; and versions over function fields, a setting built from polynomials instead of whole numbers, by Jordan Ellenberg, Akshay Venkatesh and Craig Westerland and later Aaron Landesman and Ishan Levy. The paper writes that proving the prediction for any prime from 5 up "has increasingly obtained the reputation, among experts, of an intractable problem."
The second paper, 70 pages, stays with the prime 3. It proves that the average of the square of the 3-torsion's size is bounded, for imaginary fields directly and for real quadratic fields, made from square roots of positive numbers, through a 1932 theorem of Arnold Scholz. From that and Davenport and Heilbronn's average it deduces that a fixed positive fraction of quadratic fields, of both kinds, have class number (the size of the class group) divisible by 3.
The proof in the main paper runs to 191 pages and, near the end, uses tools from homogeneous dynamics, the study of flows on spaces of lattices, which rarely appear in this kind of counting. That is why the Lean check carries so much weight here, and why the first thing to read when the code appears is whether its statement says what the paper's main theorem says.
Status: two preprints from Google DeepMind on GitHub, not peer reviewed; DeepMind says the main theorems are formalized in Lean 4 with only standard axioms, but the code is not public yet.
The two theorems, how they were made, and what the Lean check covers
- The main theorem, exactly. Paper I, "The average 5-torsion in class groups of imaginary quadratic fields", Theorem 1.1: as X goes to infinity, the average of #Cl(K)[5] over the fields K = Q(√-D), where -D runs over the negative fundamental discriminants with 0 < D ≤ X, tends to 2. Here Cl(K)[5] is the 5-torsion of the class group, and "fundamental discriminant" means each imaginary quadratic field is counted once. The paper restates it as a count: the number of pairs (field, subgroup of order 5) is (3/(4π²))X + o(X), while the number of fields is (3/π²)X + O(X^(1/2)).
- Its corollary on quintic fields. Through class field theory the theorem becomes a count of fields of degree 5: the number of quintic fields with discriminant at most Y whose Galois closure has the dihedral group of order 10 as its symmetry group, and whose Galois closure is unramified over its imaginary quadratic subfield, is (3/(4π²))Y^(1/2) + o(Y^(1/2)). The paper notes the exponent 1/2 agrees with Gunter Malle's prediction for all quintic fields with this symmetry group. This is the same move by which Davenport and Heilbronn's theorem on 3-torsion is a theorem about cubic fields.
- What it covers, and what it does not. It is the first-moment, or average, case of the Cohen-Lenstra prediction for the prime 5, over imaginary quadratic fields. It does not give the full distribution Cohen and Lenstra predict (how often the 5-torsion has each possible size), and it does not cover real quadratic fields, where the model predicts a different average. Andrew Curran's post on X about the papers does not say "imaginary"; the 5-torsion theorem is for imaginary quadratic fields only.
- What was known before, as Paper I gives it. For 5, the best upper bound for the sum of #Cl(K)[5] over fields with D ≤ X was X^(5/4+ε), due to Kannan Soundararajan, which does not even show the average is bounded. The ℓ = 3 case is Davenport and Heilbronn's (1971); Manjul Bhargava's higher composition laws supply the "Bhargava cubes" the new proof builds on; his 2005 work on quartic fields proved the average of 2-torsion in the class groups of cubic fields, a different family. Over function fields, Ellenberg, Venkatesh and Westerland, and Landesman and Levy, proved Cohen-Lenstra statements in a limit where the field of constants grows; "No known analogue of such results exists over Q so far," the paper says.
- How the proof goes, as the paper outlines it. The new idea is to describe an element of order 5 together with its square, through a lattice of relations between them, which turns one relation of degree 5 into two relations of degree 3, the same degree as the 3-torsion case. The elements are then counted as whole-number points on a 7-dimensional variety built from two Bhargava cubes. The expected count gives exactly one extra element on average for every discriminant, "the origin of the value 2 = 1 + 1". Showing that the true count matches the expected one takes Eisenstein series, exponential sums, repeated Poisson summation and, last, a measure rigidity theorem from homogeneous dynamics, in the line of Elon Lindenstrauss and Marina Ratner.
- The second paper, exactly. Paper II, "The second moment of the 3-torsion in class groups of quadratic fields is bounded", Theorem 1.1: for all real X ≥ 1, the sum of (#Cl(K)[3])² over imaginary quadratic fields with D ≤ X is at most a constant times X. Corollary 1.2 gives the same for real quadratic fields, by Scholz's reflection theorem. Corollary 1.3: a positive proportion of imaginary quadratic fields, and a positive proportion of real ones, have class number divisible by 3. Before this, the paper says, the best second-moment bounds were about X^(4/3), from the work of Ellenberg and Venkatesh and of Stephanie Chan and Peter Koymans.
- A third result, announced. Paper I also announces a bound on the average 7-torsion, a sum of O(X^(6379/5000)), roughly X^1.276, and Paper II credits it to Aletheia2. Pagano writes that he "will be working on improving that bound until everything lands on the arXiv."
- Who did what, in the papers' own words. Paper I says Cogentic first showed the average 5-torsion is at most a power of log X, then that it is bounded; the author writes "we pushed for an asymptotic"; the agents showed the average is strictly above 1, then "finished it off using ergodic theory". Pagano then reformulated the agents' strategy as the relation-lattice method, and sent the agents back with it: they reproved Davenport and Heilbronn's theorem and proved the 3-torsion bound. Both papers call themselves results "of type [A]" in the scale Google DeepMind proposed in February (arXiv 2602.10177), where Level A means "The core mathematical content is fully AI-generated without any essential human intervention." That label is the authors' own; the same scale adds that human authors "are still ultimately responsible for the final paper content". Paper I's footnote says the results were "obtained semi-autonomously", and the repository's README describes the work as "steered by Pagano", who "found a flexible generalization of Cogentic's concepts to guide it to these results".
- What the Lean claim covers. The README: "The Lean 4 formalizations of the main theorems of both papers (verified with no custom axioms beyond Lean 4's standard axioms) were obtained entirely by the Cogentic harness. The Lean 4 code will be added here shortly." Paper I says its main theorem "has been end-to-end formalized in Lean". Both papers say the formalization was done after the final manuscript. With no code public, I cannot say which library it builds on, whether it contains any sorry (an unfinished step Lean accepts as a placeholder), or whether its statement matches Theorem 1.1. In November, the Lean code for Google's earlier Cogentic papers on factoring was also promised for later.
- Timing and the people. The papers went up on GitHub in commit cec5818b of google-deepmind/superhuman, authored at 6:31 p.m. Pacific time on December 2 and committed at 8:18 p.m.; both PDFs are dated December 3. The work is part of DeepMind's "Discovery Strike" effort, led by Thang Luong. Cogentic was built by Yang Cai, Vineet Gupta, Yanchen Jiang, Christopher Liaw, Aranyak Mehta, Grigoris Velegkas and Di Wang (arXiv 2609.40324). Pagano's earlier work includes, with Peter Koymans, a proof of Stevenhagen's conjecture on the negative Pell equation, and, with Chan, Koymans and Efthymios Sofos, work on 6-torsion in quadratic fields, which Paper I cites. Paper I thanks Koymans "for insightful conversations".
- What it would mean for the field, if it holds. By the paper's own survey of the literature, no Cohen-Lenstra average had been proved over the rational numbers for any prime from 5 up, so this would be the first, 55 years after Davenport and Heilbronn did 3 and 42 years after the prediction. Its corollary counts a family of dihedral quintic fields, with the exponent Gunter Malle's conjecture predicts for all such fields. The method is new: Paper I sets up the relation-lattice parametrization for every odd prime, reproves Davenport and Heilbronn along the way, and asks "to what extent this method can be pushed for general ℓ and for prime powers"; it also says the input from Ratner's theorem "does not allow easily for a level of distribution in the 5-torsion", a further challenge for 10-torsion. Paper II's positive proportion of quadratic fields with class number divisible by 3 is a statement about the fields themselves, not only averages. The practical side is small: class groups of imaginary quadratic fields have been proposed as a setting for cryptography, but neither paper mentions it, and an average says nothing about any one field.
- Reactions. As of 1:40 a.m. Pacific time on December 3 I found no comment from a number theorist outside the project. Curran's post reports that "Neon", Google's Gemini 4 Neon model, called the work a Fields Medal tier result; that is an AI model's opinion, and I have left it out of the assessment. I found no DeepMind blog post; Pagano's homepage did not load.
From the papers and the repository
“In this work it is proved that the average size of the 5-torsion subgroup of the class group of an imaginary quadratic field equals 2 as predicted by Cohen and Lenstra.”
“Even the boundedness of the average size of Cl(K)[ℓ] over imaginary quadratic fields K has remained open for ℓ ≥ 5.”
“Both the initial breakthrough and the subsequent advances were achieved by Cogentic, steered by Pagano, who (also with the help of Aletheia 2, a sequel to arXiv:2602.10177) found a flexible generalization of Cogentic's concepts to guide it to these results.”
README of the cohen_lenstra directory, google-deepmind/superhuman, December 2, 2026
“The Lean 4 code will be added here shortly.”
The full record: the dated log, with sources
The rest of the record
- Edit history: reported 1:40 a.m. Pacific time, December 3, 2026.
Sources
- https://github.com/google-deepmind/superhuman/tree/main/cohen_lenstra
- https://github.com/google-deepmind/superhuman/blob/main/cohen_lenstra/average_5_torsion.pdf
- https://github.com/google-deepmind/superhuman/blob/main/cohen_lenstra/second_moment_3_torsion.pdf
- https://github.com/google-deepmind/superhuman/commit/cec5818b73529a492d37c2cdc09e45d21dd368a0
- https://arxiv.org/abs/2609.40324
- https://arxiv.org/abs/2602.10177
- https://arxiv.org/abs/2201.13424
- https://arxiv.org/abs/2403.13359
- https://x.com/AndrewCurran_/status/2128405131612078227
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.