← LibraryClass Group and Unit Computation: the Computational ProblemEngineering · MathematicsLesson 301/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginclass groupunitsregulatorrelation collection

Class Groups, Units and Regulators

Class Group and Unit Computation: the Computational Problem

Why class group and unit computation are a single problem, what the combined algorithm produces, and how the results are verified.

Engineering / MathematicsClass Groups, Units and Regulators2 min readKV-MATH-0598

Class group and unit group are computed together, not separately. The same relation collection produces both, and separating them would duplicate the expensive part of the work.

Why they are one problem

Relations among ideal classes are collected by finding elements whose principal ideals factor over the factor base. A relation that turns out to be trivial in the class group corresponds to a principal ideal, and the generator of a principal ideal that is trivial in every coordinate is a unit.

Collect relationsSmith normal formTorsion gives the class groupKernel gives units

The combined output

What a complete run produces

Class groupInvariant factors plus generating ideals
Class numberProduct of the invariant factors
Unit rankKnown in advance from the signature
Fundamental unitsRecovered from trivial relations
RegulatorCovolume of the unit lattice
Roots of unityComputed separately and cheaply
ConditionalityWhether GRH was assumed

The pipeline

The combined class group and unit computation

  1. Build the factor basePrime ideals of norm below a chosen bound — see factor base selection.
  2. Collect relationsFind smooth principal ideals — see relation matrix construction.
  3. Reduce the matrixStructured elimination, then Smith normal form.
  4. Read the class groupFrom the invariant factors — see group structure.
  5. Recover unitsFrom the kernel — see regulator recovery.
  6. VerifyAgainst the analytic class number formula.

Two failure modes

How a class group computation can be wrong
FailureEffectDetection
Too few relationsComputed class number is a multiple of the truthAnalytic formula comparison
Factor base does not generateComputed group is a quotient of the truthAnalytic formula comparison; GRH bound rules it out

Cost

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 4.9.3. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Continue learning

Minkowski and Bach BoundsArticle · MathematicsNEXT LESSON →Quadratic Field Discriminants and Integral BasesArticle · MathematicsThe Regulator: Definition and ComputationArticle · MathematicsPrime Decomposition in Quadratic FieldsArticle · Mathematics