Can a small number of unusually large class groups make the average squared size of 3-torsion grow without bound? For quadratic fields, a paper by Carlo Pagano reports a proof developed with an internal version of Google Gemini 4 that rules out this possibility. Order the fields by absolute discriminant and average the squared size of their 3-torsion subgroups. The average stays bounded for imaginary fields and for real fields separately. With the classical Davenport–Heilbronn theorem, this shows that in each family a positive proportion of class numbers are divisible by three. The proof counts independent order-three classes through a system of quadratic equations. The predicted values of the two averages remain open.
Table of Contents
1. Quadratic Fields and the Hidden Structure of Their Class Groups
A quadratic field adjoins a square root of a squarefree integer to the rational numbers. It is real for and imaginary for . Its ring of integers consists of the elements satisfying monic polynomials with integer coefficients. An integral ideal is an additive subgroup of this ring closed under multiplication by its elements. A principal ideal is generated by a single element. The ideal class group records ideals up to principal scaling, with multiplication inherited from ideal multiplication. Its order is the class number.
The fundamental discriminant is the discriminant of the full ring of integers. It equals if , and otherwise. Thus the field generated by the square root of minus five has discriminant minus twenty.
For a field , write for its ideal class group and for the principal class. The 3-torsion subgroup is
Every nonidentity element in this subgroup has order three. With class multiplication as vector addition and taking powers as scalar multiplication, the subgroup is a vector space over , the field with three elements. Its size is therefore one, three, nine, twenty-seven, or another power of three.
For discriminant minus twenty-three, the reduced positive definite binary quadratic forms are , and . Each triple lists the coefficients of a form, and each represents one ideal class. There are three classes, so the class group is cyclic of order three and the entire group lies in its 3-torsion. This field contributes three to the first-moment sum and nine to the second-moment sum.
2. Why Knowing the Average 3-Torsion Was Not Enough

The first moment averages subgroup sizes. The second averages their squares. The variance is the second moment minus the square of the first, so the second moment constrains how far individual fields can typically lie from the average. Squaring gives the exceptional fields much greater weight, the central issue in this arithmetic statistics problem.
Consider two artificial distributions. In the first, sizes one and three each occur half the time. The mean is two and the second moment is five. In the second, size nine occurs one eighth of the time and size one occurs the rest of the time. The mean is still two, but the second moment is eleven.
Davenport and Heilbronn established the limiting first moments. The Cohen–Lenstra heuristics predict the limiting second moments shown below. To establish boundedness, the manuscript needs a single ceiling for the normalized sum as the cutoff grows. Identifying a limit requires more information about how the fields with larger subgroups are distributed.
3. The Mathematical Barrier: Why Previous Bounds Failed
Let and be the negative and positive fundamental discriminants of quadratic fields with absolute value at most . For , let . In a sum of squares, one factor in each summand can be bounded by the largest subgroup size in the family. The remaining sum is linear in by the first-moment theorem. This approach treats every field as if one factor were as large as in the most extreme case.
The Ellenberg–Venkatesh pointwise bound is for any . It gives a second-moment sum of order at most . Chan and Koymans improve the pointwise estimate, bringing the exponent slightly below four thirds by the same argument. Pagano’s Theorem 1.1 instead controls the combined contribution directly. For every real , it gives
The symbol denotes an upper bound up to a multiplicative constant, absolute here. The number of discriminants of each sign grows like . Dividing the sum by the number of fields therefore yields a bounded average.
4. Google Gemini 4’s Proof: An Intuitive Roadmap
- Count independent pairs through subgroups. The known first moment already pays for pairs confined to one cyclic subgroup. Every remaining pair generates a two-dimensional subgroup.
- Encode the four cyclic directions. Choose reduced ideals and record generators of principal products. Their relations turn the subgroup into a short list of integer coordinates.
- Handle zeros separately. Some coordinates make the reconstruction formulas singular. Factorizations and root bounds count those configurations before the general argument begins.
- Impose local congruences. For each tuple of primary coordinates, determine how primes restrict the remaining coordinates. Those restrictions put solutions in a family of lattices.
- Sum the lattice counts. Geometry controls how many points a lattice can contribute, while a sieve and character averages control how many lattices can occur.
- Return to fields. Sum over discriminant ranges, transfer the bound to real fields by reflection, and use the first moment to show that nontrivial 3-torsion occurs with positive lower density.
5. The Counting Identity That Transforms the Second Moment

Write and let count its subgroups isomorphic to . Every ordered pair of elements spans a subspace of dimension zero, one or two. The pair of identity elements accounts for dimension zero. There are lines, because each line contains two nonidentity elements and they generate the same line. Each line contributes eight pairs, its nine ordered pairs minus the pair of identities.
For dimension two, choose the plane. The first basis vector can be any of its eight nonzero vectors. Its second can be any of the six outside the span of the first. Hence each plane contributes forty-eight pairs, with every independent pair counted in its own plane. Putting the three contributions together gives
For a subgroup of size nine that is itself a plane, the check is
Davenport–Heilbronn controls the linear term after summation over fields. The new work is to count planes across fields at linear scale.
6. Relation Lattices: From Four Ideal Classes to Three Quadratic Equations
The companion 5-torsion paper encodes relations among powers of a cyclic class using a lattice of integer exponents. Here the relation lattice consists of exponent vectors for which the product of four ideal classes is principal. Choose independent classes . The four lines have representatives , , and . Lift these to reduced primitive integral ideals with norms . Inverse classes have reduced representatives with the same norm, so each line has a well-defined reduced norm. Put the line of maximal norm first. Divisions by in the cross-element formulas then use a denominator at least as large as any of the four ideal norms.
With conjugations dictated by the class relations, products of three ideals become principal. For instance, multiplying the last three classes gives . Write for a generator of that principal product. The three elements generate for . The chosen generators satisfy the cubic syzygy
Let and be the coefficients of in and . The auxiliary integers are the corresponding coefficients in the doubled cross-elements . Define the common cubic factor . Extracting imaginary parts and using the norm identities yields the symmetric system
The four primary integers are , and the three auxiliary integers form the vector . In the nondegenerate case these data recover the discriminant and subgroup. Counting admissible integer points can therefore bound the number of arithmetic objects even when an object admits multiple choices of coordinates.
7. Degenerate Strata and the Arithmetic of Bad Primes
The proof separates cases with , with after excluding the first case, and with at least one after excluding the first two. Vanishing changes what the equations determine. For example, when the cubic factor is zero, the three quadratics lose their norm terms, and the primary parameters satisfy the factorization constraint . Divisor counts, congruence lattices and bounds on the roots of low-degree polynomials give a power saving for each exceptional stratum.
For the remaining tuples, the proof examines the exponent of each prime dividing the cubic factor. Repeated factors and primes shared with the primary parameters can weaken the congruences obtained by reducing the quadratic equations. Ideal primitivity and integrality of the discriminant rule out some valuation patterns. Other borderline patterns force an extra linear congruence or a ternary polynomial congruence with no linear factor modulo the prime. These restrictions bring the sum over exceptional prime configurations under control. The count then proceeds in refined congruence lattices, with nonlinear constraints retained where needed.
8. The Geometry of Numbers and the Elimination of Logarithmic Losses
In the dyadic range , reduced ideal norms are . The norm equations bound the primary coordinates by and the auxiliary coordinates by . At generic sizes, the auxiliary box has volume comparable to , as does the covolume of a generic congruence lattice. Their ratio suggests a contribution on the scale of one point per lattice. Short lattice directions can nevertheless put many points in a thin portion of the region, and a tuple can produce several lattices.
Coupled quadratics constrain the region. Where they squeeze points near a curve, a sheared parallelepiped follows the local direction of the constraint and reduces wasted volume. In a complementary regime the proof avoids separately partitioning the smallest coordinate. Successive minima describe the lengths at which independent lattice directions become available. To control contributions from points lying in a plane, the proof embeds the fourth reduced ideal into the orthogonal complement of the auxiliary vector and compares its image with the dual lattice at borderline primes. These estimates give geometric decay away from the peak size ranges, so summing over dyadic boxes costs a constant.
The count of lattices also needs averaging. At good primes the local multiplicity is at most three and depends on a cubic-residue condition. Fixing three primary parameters makes the cubic factor linear in the fourth while preserving the relevant weight. Shiu’s Brun–Titchmarsh bound for multiplicative functions supplies an inverse-logarithmic factor that offsets the logarithmic growth from the prime product. An exponential-moment estimate for cubic character sums then controls the residual factor on average over another primary parameter. Together with the exceptional-stratum estimates, this gives pairs per discriminant range. Summing those ranges is geometric and yields .
9. Scholz’s Reflection Theorem: Extending the Proof to Real Quadratic Fields

The 3-rank is the dimension of over . For real , Scholz’s reflection theorem places the 3-rank of between the real field’s 3-rank and that rank plus one. Consequently the squared subgroup size for the real field is bounded by the corresponding imaginary value.
The reflected field has absolute fundamental discriminant when , and when . The outputs of the first branch are divisible by three and those of the second are coprime to three. Each branch is injective, so the whole map lands injectively in . Applying the imaginary bound gives Corollary 1.2.
10. Why a Positive Proportion of Class Numbers Are Divisible by Three
For a uniformly chosen field of one sign up to cutoff , set . By Cauchy’s theorem for finite groups, holds exactly when three divides the class number. Since vanishes outside this event, apply Cauchy–Schwarz to and the indicator of .
For sufficiently large cutoffs the numerator stays above a positive constant because the expectation of tends to one in the imaginary family and one third in the real family. The denominator remains bounded by the corresponding second-moment theorem. Corollary 1.3 therefore gives a strictly positive lower limit for the proportion in each family.
11. What Google Gemini 4’s Proof Establishes and What Remains Unsolved
The normalized second moments of 3-torsion in quadratic fields are bounded. Convergence to six and twenty-two ninths remains open. Shiu’s upper bound discards oscillation, while enclosing a fiber in a convex body bounds its count at a scale where the lattice error can be as large as the expected contribution. The manuscript calls for extracting a main term and proving cancellation across fibers, analogous in purpose to the global averaging used for the companion 5-torsion asymptotic.
Pagano reports that he generalized the lattice approach after the 5-torsion result and directed Cogentic to explore further averages. Cogentic produced the core argument using an internal Gemini 4 model. Pagano also used Aletheia 2 while assessing and rewriting the output. The project reports Lean 4 formalizations of the main theorems without custom axioms. At the repository check, the public source was still pending, so the reported check could not be independently reproduced from that release.
Follow Binary Verse AI for paper-first explanations of AI-assisted mathematics, including how the companion 5-torsion proof reaches an exact average.
What is 3-torsion in quadratic fields?
It is the subgroup of the ideal class group consisting of classes whose cube is the identity. Its size is a power of three, with the exponent equal to the number of independent order-three directions.
What did Google Gemini 4 prove about quadratic fields?
An internal version of Gemini 4 running in Cogentic, steered by Carlo Pagano, produced the core argument that the average squared size of the 3-torsion subgroup stays bounded. This holds separately for real and imaginary quadratic fields ordered by absolute discriminant.
What is the difference between the first and second moments of 3-torsion?
The first moment averages the subgroup sizes. The second moment averages their squares, giving greater weight to the fields with especially large subgroups.
Why is the bounded second moment of 3-torsion important?
It controls the combined effect of unusually large 3-torsion subgroups on the mean square. Together with the classical first-moment theorem, it implies that a positive proportion of fields of each sign have class numbers divisible by three.
Does the new proof establish the Cohen–Lenstra heuristics completely?
No. The heuristics predict limiting second moments of six for imaginary quadratic fields and twenty-two ninths for real quadratic fields. The proof gives a uniform upper bound, and convergence to those values remains open.
Has Google Gemini 4’s mathematical proof been formally verified?
The paper and project repository report Lean 4 verification of the main theorems through the Cogentic harness without custom axioms. At the repository check on December 4, 2026, the project still listed the source release as pending, so the reported verification could not yet be reproduced from the public repository.
