← LibraryFactor Base Selection and SmoothnessEngineering · MathematicsLesson 331/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginfactor basesmoothnessbound selectiontrade-off

Sub-exponential Class Group Computation

Factor Base Selection and Smoothness

Choosing the factor base for class group computation, the smoothness trade-off, and how base size interacts with the linear algebra.

Engineering / MathematicsSub-exponential Class Group Computation2 min readKV-MATH-0628

The factor base is the set of prime ideals over which relations are expressed. Its size controls a trade-off that determines the entire running time of the algorithm.

The trade-off

The factor base size trade-off
Larger factor baseSmaller factor base
Relations easier to findRelations harder to find
More relations neededFewer relations needed
Larger matrix; harder linear algebraSmaller matrix
Higher smoothness probabilityLower smoothness probability

Construction

Building the factor base

  1. Choose a norm boundGuided by the theory and by measurement.
  2. Enumerate rational primesUp to the bound.
  3. Decompose eachFind the primes above it — see simple decomposition.
  4. Filter by normKeep prime ideals whose norm is below the bound; inert primes of high residue degree are usually excluded.
  5. IndexStore in a structure supporting fast smoothness testing.

The generation guarantee

Under GRH, prime ideals of norm below a bound proportional to the square of the logarithm of the discriminant generate the class group. This is what makes a small factor base sufficient — see Minkowski and Bach bounds.

Smoothness

An ideal is smooth over the base when its norm factors entirely over the corresponding rational primes and every prime ideal appearing is in the base.

Testing smoothness

Practical sizing

In practice the base is sized by measurement rather than by the theoretical optimum: run a short relation collection at several base sizes and extrapolate. The theoretical bound then serves as a completeness guarantee rather than as the operative sizing rule.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 6.5.2. 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

Ideal Reduction in Number FieldsArticle · MathematicsNEXT LESSON →Relation Matrix ConstructionArticle · MathematicsBuchmann's Sub-exponential Algorithm: OverviewArticle · MathematicsRegulator and Fundamental Unit RecoveryArticle · Mathematics