← LibraryClass Groups, Units and the RegulatorEngineering · MathematicsLesson 7/7← PrevNext →
GuidePublished 6 Aug 20264 min readBy Kevin JoginComputational Number TheoryNumber Fields IClass GroupClass Number
Skip to the main content

MathematicsNumber Fields I

Class Groups, Units and the Regulator

The two central invariants of a number field, why they are computed together, and the analytic identity that verifies both.

Executive summary

h and R are computed together and verified together

The class group measures the failure of unique factorisation; its order is the class number h. The unit group is finitely generated of rank r1 + r2 − 1, and the covolume of its logarithmic lattice is the regulator R. Both come out of the same relation-collection computation, and the analytic class number formula links their product to a residue that can be estimated independently — giving the verification step that this subject otherwise lacks.

Learning objectives

  • Define the class group and interpret a trivial class number.
  • State Dirichlet's unit theorem and define the regulator.
  • Use Minkowski's bound to obtain a generating set of ideal classes.
  • Apply the analytic class number formula as a verification tool.
  • Report results correctly with respect to GRH.

Section 01The class group

The class group is the quotient of the fractional ideals by the principal ones:

Cl(K) = I(K) / P(K),    h = |Cl(K)|

It is finite. Class number 1 means every ideal is principal, which is equivalent to unique factorisation of elements — so h is precisely the measure of how badly that property fails.

Minkowski's bound

Every ideal class contains an integral ideal of norm at most MK = (4/π)r2(n!/nn)√|dK|. Hence the primes of norm below MK generate the class group. This turns an infinite problem into a finite one — though for large discriminants the bound is far too big to use directly, which is why sub-exponential methods with GRH-conditional smaller bounds exist.

Section 02Units and the regulator

Dirichlet's unit theorem gives the structure of the unit group:

K× ≅ μK × ℤr,    r = r1 + r2 − 1

Here μK is the finite group of roots of unity. The logarithmic embedding sends a unit to the vector of log|σi(ε)| weighted by 1 or 2; the image is a lattice of rank r, and the regulator is the absolute value of the determinant of any r×r minor of a matrix of fundamental units.

Unit rank by field type
FieldSignatureRank rConsequence
(1, 0)0Units are ±1
Imaginary quadratic(0, 1)0Finite unit group — regulator is 1 by convention
Real quadratic(2, 0)1One fundamental unit; R = log ε
Complex cubic(1, 1)1One fundamental unit
Totally real cubic(3, 0)2Two fundamental units
Cyclotomic, p-th roots(0, (p−1)/2)(p−3)/2Grows with p
The index-2 trap

A computed system of units may generate only a finite-index subgroup of the true unit group, in which case the regulator comes out as an integer multiple of the true value. This is the characteristic error mode, and the multiple is most often 2. It is detected only by the analytic check below.

Section 03The analytic class number formula

The Dedekind zeta function has a simple pole at s = 1 whose residue packages every invariant at once:

lims→1 (s−1)ζK(s) = 2r1(2π)r2 hR / (w √|dK|)

The left side is estimated numerically from an Euler product over small primes; the right side contains the computed h and R. Agreement is strong evidence that both are correct; disagreement by a small integer factor is the signature of an incomplete relation set or a subgroup of units.

  1. Stage 01Collect relationsFind principal ideals factoring over the factor base, recording exponent vectors and the generating elements.
  2. Stage 02Extract hSmith normal form of the relation matrix gives the class group structure.
  3. Stage 03Extract RThe kernel of the relation matrix yields units; their logarithmic embeddings give the regulator.
  4. Stage 04VerifyCompare hR against the analytic estimate. If it is off by a factor k, continue collecting relations.
Report the GRH status explicitly

Sub-exponential algorithms use a factor base bounded by a GRH-conditional estimate, typically of order (log|dK|)2, far below Minkowski's bound. The results are correct under GRH; unconditional certification requires re-running with the Minkowski bound, which is usually infeasible. A computed class number should always carry its conditionality with it.

ReferenceFrequently asked questions

Why are h and R computed together?

Because a single relation-collection phase produces both: the relation matrix gives the class group, and its kernel gives the units. The analytic formula also constrains only the product, so verifying one requires the other.

What does class number 1 tell me?

That every ideal is principal and elements factor uniquely into irreducibles. It is a strong condition — only nine imaginary quadratic fields have it — and it makes many computations dramatically simpler.

Can the regulator be verified independently?

Partially. Lower bounds on the regulator exist in terms of the discriminant, and the analytic formula constrains the product hR. A regulator that is an exact small multiple of the analytically predicted value is the classic sign that a subgroup of units was found rather than the full group.

NavigateContinue in this stream

Curated next steps from this page. The site also surfaces algorithmically related reading below.

ProvenanceSources and further reading

This page is an original KEVOS explanatory article. It presents the underlying mathematics — definitions, algorithms, complexity results and selection criteria — in KEVOS editorial voice. No text is reproduced from any copyrighted source. Where numerical tables are relevant, KEVOS links to live authoritative databases rather than republishing static values.

Page ID
KV-MATH-0030
Taxonomy
ENG-MATH — Engineering / Mathematics
Collection
COL-CANT-001
Topic stream
CANT-NUMBER-FIELDS
Version
1.1.0 / content 2026.08
Last reviewed
2026-08-06

Continue learning

Decomposition of Prime Numbers in Number FieldsGuide · MathematicsOrders and Ideals in Number FieldsGuide · MathematicsDiscriminants and Integral BasesGuide · MathematicsTrace, Norm and the Characteristic PolynomialGuide · Mathematics