For decades, mathematicians had no proof that the average size of the 5-torsion subgroup of an imaginary quadratic class group stayed bounded. The Cohen–Lenstra heuristics predicted a specific value: two. Carlo Pagano’s manuscript, developed with the Cogentic research system using an internal version of Google Gemini 4, proves that the average converges to exactly that value. The proof begins with a change of algebraic coordinates. Instead of treating an ideal class through a single fifth-power relation, it tracks two related classes through two cubic relations. Two Bhargava cubes make those relations countable, and an argument from homogeneous dynamics controls the cancellations that turn the resulting density calculation into a theorem.
Table of Contents
1. What Are the Cohen–Lenstra Heuristics?
In 1984, Henri Cohen and Hendrik Lenstra proposed a probability model for class groups as the discriminant varies. For imaginary quadratic fields and a fixed odd prime, the model assigns each possible primary group a weight inversely proportional to the number of its automorphisms. This rule gives less weight to groups with more symmetries.
| Key Fact | What the Paper Establishes |
|---|---|
| Quantity averaged | Size of the subgroup killed by multiplication by five |
| Family | Imaginary quadratic fields ordered by absolute discriminant |
| Limiting average | Two, including the identity |
| Algebraic construction | Two partially symmetric Bhargava cubes glued along shared forms |
The first moment can be understood through surjections onto the cyclic group of prime order. The model predicts one such surjection on average. For a finite abelian group, the number of homomorphisms to a cyclic group of order prime equals the size of its -torsion subgroup, and precisely one of those maps is trivial. Thus the predicted subgroup size averages two.
2. Imaginary Quadratic Fields, Class Groups and 5-Torsion
An imaginary quadratic field is obtained by adjoining the square root of a negative rational number that is not a square. Its ring of integers consists of roots of monic integer polynomials within the field. An ideal is an additive subgroup closed under multiplication by ring elements. A principal ideal consists of all ring multiples of a single generator. Nonzero ideals factor uniquely into prime ideals, while elements of the ring can have inequivalent factorizations. The ideal class group measures this obstruction by identifying fractional ideals that differ by a principal fractional ideal.
Write and use for the field discriminant, with . A fundamental discriminant is the discriminant of the full ring of integers, which selects each field once and excludes its nonmaximal orders. Write for the classes whose fifth power is the identity. This subgroup is a vector space over the field with five elements. Its size is one, five, twenty-five, or another power of five.
For , the reduced positive definite forms have coefficient triples , and . The reduction inequalities exhaust the possibilities. There are five classes, so the class group is cyclic of order five and its entire group is 5-torsion. No individual field needs to have exactly two such classes for the average to approach two.
3. Why the 5-Torsion Problem Resisted Mathematicians for Decades
Choose an integral ideal representing a class killed by five. Its fifth power is principal, with a generator of the form for integers . Multiplying the generator by its conjugate and using multiplicativity of the ideal norm , which counts the residue classes modulo an integral ideal, gives the classical equation.
Even with a minimal-norm representative, the manuscript explains that can reach the scale . The resulting Diophantine equation produces too many candidate triples for a straightforward count. Soundararajan’s previous upper bound for the total was . Dividing by the number of fields gives an upper bound that still grows with . For 3-torsion, Davenport and Heilbronn already had an effective route through counting cubic fields via binary cubic forms. The fifth-power problem required a different parametrization.
4. Google Gemini 4’s Proof and an Intuitive Roadmap
- Replace the fifth power. Track a class and its square together. Two conditions involving three class factors each enforce the original order-five constraint.
- Build two compatible cubes. Translate each condition into a partially symmetric Bhargava cube, then match the quadratic forms attached to the same classes.
- Count geometric representatives. Work on the seven-dimensional space of matched pairs. Choose reduced forms to handle changes of basis and account for generator signs.
- Predict the count. Replace congruence counts by their expected densities. Integrate over the real region and impose the prime-by-prime conditions for fundamental discriminants.
- Control the discrepancy. Separate exceptional shapes and boundary contributions from the bulk. Transform the remaining error into a correlation that vanishes through measure rigidity.
- Restore the identity. Convert the count to nonidentity classes per field and add the one identity class present in every subgroup.
5. Relation Lattices Replace Degree Five With Degree Three
In additive class-group notation, record and . For a nonzero killed by five, the combinations that vanish form the relation lattice
The two rows below belong to the lattice and have determinant five. As the congruence kernel also has index five, those rows generate every relation.
The equations are and . Substitution gives , so . Conversely, assigning to any class killed by five satisfies both equations. The sum of the absolute values of the coefficients in each row is three. In ideals, the first relation makes the square of one ideal times the conjugate of the other principal. The second makes the square of the other times the first principal. Conjugating an ideal negates its class because the product with its conjugate is principal. Each cube can encode one of these relations with integral coordinates.
6. Bhargava Cubes Turn Ideal Classes Into Geometry

A Bhargava cube arranges eight numbers at the corners of a cube. Slicing it into opposite square faces gives two matrices. The determinant of their linear combination gives a binary quadratic form, a homogeneous degree-two polynomial in two variables. Three slicing directions yield three forms with a common discriminant. Partial symmetry identifies two of the forms and leaves six independent entries per cube.
The first cube carries the pair and the second carries . With denoting the two distinct form maps, the gluing equations are
Each equality matches three coefficients, but the equations are dependent through the common discriminant. Pairs of forms of equal discriminant have five parameters, and over the relevant rational locus the two generator choices add two dimensions. The resulting variety has dimension seven in twelve-dimensional affine space. For discriminants below minus four, each eligible reduced form pair representing and yields four integral points, one for each choice of generator signs. Restricting to fundamental discriminants and excluding the identity makes this a weighted count of the required classes.
7. Counting Integral Points and Calculating Local Densities
Fix the imaginary-part coordinates of the two generators. The paper introduces auxiliary coordinates from matrix minors and reexpresses integrality by a congruence in a box. On the relevant scales the modulus can be comparable to the box volume. A residue class can therefore contribute very few points, and replacing each fibre by its expected count can produce an error comparable to its contribution.
The proof first works with smooth weights that approximate sharp cutoffs and make Fourier analysis possible. It then defines an expected count by replacing actual solutions in each fibre with a density-weighted volume. The real integral measures the available coordinate region, including reduction and the smoothing weights. Local densities measure the proportion of viable residue classes at increasing powers of each prime. They enforce integrality and the required discriminant conditions. The analysis isolates finitely many small primes before averaging over the remaining ones, where factors of the form occur. With cutoffs removed in the order of Corollary 4.17, the real contribution is and the combined local contribution is . Their product gives in the count normalized for generator signs. The density calculation leaves the discrepancy with the actual count to be estimated.
8. Why the Average 5-Torsion Equals Exactly Two

The sign-normalized density computation predicts nonidentity classes in total to leading order. The number of negative fundamental discriminants of absolute value at most is . Once the discrepancy is shown to be , meaning its ratio to tends to zero, the average nonidentity contribution is one and the identity supplies the other one.
Every subgroup of order five has four generators, and each nonidentity element killed by five generates exactly one such subgroup. If counts those subgroups in a field, then
Summing over the family and dividing the nonidentity count by four gives the theorem’s equivalent counting formula.
The limiting mean subgroup count is one quarter.
9. Controlling the Error Terms in Four Regions
The expected count alone leaves open the possibility of a persistent bias in the occupied residue classes. The proof sorts the discrepancy by which feature of the count needs control.
| Counting Region | Technique and Role |
|---|---|
| Boundary and cusp window | Incomplete Eisenstein series average over equivalent forms and control the smoothing discrepancy far into the cusp. |
| Thin exceptional sets | Elementary counts and an a priori linear bound help control exceptional arithmetic loci and discriminant tails. |
| Atypical shapes | Exponential sums and average counts in four-dimensional lattices control fibres whose coordinates lie outside the typical ranges. |
| Generic bulk | Poisson summation and homogeneous dynamics control the signed error left after subtracting the expected count. |
The a priori bound controls the total count without yet identifying its coefficient. By taking the discriminant limit with the cutoffs fixed and then releasing the cutoffs in the paper’s prescribed order, the argument makes the regional error bounds arbitrarily small on the scale of .
10. Poisson Summation and the Ergodic Theory Breakthrough

Poisson summation exchanges a weighted lattice sum for a sum over its Fourier frequencies. Successive applications, combined with quadratic reciprocity and Gauss sum identities, turn the generic error into a correlation. For each modulus and invertible residue, one factor counts points in a planar congruence lattice. The other is an oscillating theta sum carrying a quintic Dickson phase. Cancellation in the theta sum by itself would be insufficient if large lattice counts systematically coincided with phases of the same sign.
The proof realizes these factors as functions on two homogeneous spaces, spaces built by quotienting symmetry groups by discrete arithmetic subgroups. The first function is a weighted lattice count. The second lives on a metaplectic cover, which retains a sign that would disappear on the underlying linear space. Auxiliary-prime Hecke symmetries act by multiplying the residue by a prime square and induce commuting transformations on both spaces. Empirical averages become invariant measures for this higher-rank action. Tightness, a mean-square bound and first-factor equidistribution justify passing to limiting measures, even though the theta function need not be bounded.
Appendix E classifies the ergodic components of these joint measures. On a product component, the correlation factors into a fixed lattice mean times a theta mean. On a component invariant under the central flip, the theta function changes sign while the lattice function stays fixed, so both the correlation and the theta mean vanish there. The theta mean of the entire limiting measure is zero by an independent exponential-sum estimate. Consequently the product components also contribute zero in aggregate. The normalized correlation tends to zero, giving the needed bulk saving after the reductions are reversed. The manuscript’s Section 6.6 invokes the classification with three or more auxiliary primes, while Theorem E.24 states it with 511. The auxiliary-prime selection in Section 6.6 allows that larger finite choice.
11. The Connection Between 5-Torsion and Dihedral Quintic Fields
A finite abelian group has equally many subgroups of order five and of index five, by duality. Class field theory sends each index-five subgroup to a cyclic extension of degree five that is unramified everywhere over . Complex conjugation acts on ideal classes by inversion, so it preserves the subgroup and acts by inversion on the quotient. The Galois group over the rationals is , the group of ten symmetries of a pentagon.
The five reflection subgroups are conjugate and their fixed fields give one quintic field up to isomorphism. The conductor-discriminant calculation gives . Thus a quintic discriminant bound of corresponds to a quadratic bound of and Corollary 1.2 gives
The exponent agrees with Malle’s prediction for the broader dihedral quintic family. The asymptotic here counts the family with imaginary quadratic subfield and unramified extension over it.
12. What the Proof Establishes and What Remains Unsolved
Theorem 1.1 gives the first moment for 5-torsion over imaginary quadratic fields. It leaves open the full group distribution and higher 5-torsion moments. Relation lattices extend algebraically to other odd primes, but controlling the integral-point count for each new variety is a separate problem. The manuscript reports a 7-torsion upper bound in companion work, with exponent for the sum. It also identifies prime powers and the second moment of 5-torsion as directions requiring further work.
Section 1.5 documents Cogentic’s progression from a logarithmic-power bound to boundedness, then a lower bound strictly above one, and finally the asymptotic using ergodic theory. Pagano steered the research and formulated the general relation-lattice framework around the agent’s strategy, also using the successor to Aletheia in the analysis and rewriting. The manuscript reports an end-to-end Lean 4 formalization of the main theorem. DeepMind’s repository reports verification with standard Lean axioms and says the code is forthcoming, so independent reproduction awaits the public files.
The Cohen–Lenstra heuristics now have an exact 5-torsion average in this family. The cancellation proof carries the prediction from local densities to actual fields. Follow Binary Verse AI for more research explainers that trace how AI-assisted proofs establish their results.
Related Binary Verse AI coverage includes Gemini’s work on integer factorization and Hadwiger’s covering conjecture, as well as proofs involving Diophantine equations, squarefree polynomial values, prime counting and Fermat’s Last Theorem in Lean.
What are the Cohen–Lenstra heuristics?
The Cohen–Lenstra heuristics are statistical predictions about the distribution of ideal class groups of number fields. For imaginary quadratic fields, they predict an average torsion subgroup size of two for each odd prime.
What did Google Gemini 4 prove about 5-torsion?
Carlo Pagano’s manuscript, developed with Cogentic using an internal version of Gemini 4, proves that the average size of the 5-torsion subgroup of imaginary quadratic class groups converges to two as the absolute discriminant bound grows.
Why is the average 5-torsion equal to two?
Every 5-torsion subgroup contains the identity. The proof shows that the average number of nonidentity 5-torsion elements tends to one, giving a total average of two.
Why was the 5-torsion problem so difficult to solve?
The classical fifth-power norm equation leaves too many candidate solutions for a direct count. The proof replaces that relation with two cubic relations encoded by Bhargava cubes. It calculates local densities and controls the counting error through exponential sums and homogeneous dynamics.
Has the entire Cohen–Lenstra conjecture been solved?
No. The paper proves the predicted first moment of 5-torsion for imaginary quadratic fields. The complete class-group distribution, higher moments and corresponding predictions for other primes remain broader challenges.
How was the Gemini 4 proof formally verified?
The manuscript reports that Cogentic formalized the main theorem end to end in Lean 4. The public repository reports verification using Lean’s standard axioms and says the source code is forthcoming. Independent reproduction awaits the public files.
Can this proof be extended to 7-torsion and other primes?
The relation-lattice parametrization extends to odd primes. The associated counting problem requires further analysis. The manuscript reports a stronger upper bound for 7-torsion in companion work, with the exact average still open.
