← LibraryIdeal Representation by Two ElementsEngineering · MathematicsLesson 289/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Jogintwo element representationideal generatorscompact representationDedekind domain

Orders, Ideals and Prime Decomposition

Ideal Representation by Two Elements

Representing an ideal by two generators, why two always suffice, and the trade-off against the canonical matrix form.

Engineering / MathematicsOrders, Ideals and Prime Decomposition2 min readKV-MATH-0586

Every ideal of the maximal order can be generated by two elements, one of which may be chosen to be a rational integer. This gives a far more compact representation than a full basis matrix, at the cost of canonicity.

The result

I = (a, b) with a a rational integer, usually the norm or a prime belowTwo generators always suffice in a Dedekind domain.

Finding the second generator

Constructing a two-element representation

  1. Fix the firstTake the norm, or the rational prime for a prime ideal.
  2. Choose a candidatePick a random element of the ideal.
  3. TestCheck whether the two generate the whole ideal, by computing the module they generate and comparing Hermite forms.
  4. RetryA random candidate succeeds with high probability; retry if not.

Trade-offs

Two-element versus Hermite representation
OperationTwo-elementHermite matrix
StorageTwo elementsn by n matrix plus denominator
MultiplicationFour products, then normaliseFull module product
Equality testNot directly possibleMatrix comparison
NormRequires conversionProduct of diagonal entries
MembershipRequires conversionTriangular reduction

Multiplication

The product of two ideals given by generators is generated by the four pairwise products. In practice the result is normalised back to two generators or converted to Hermite form, because the generator count would otherwise grow at every multiplication.

Prime ideals

Prime ideals are naturally produced in two-element form by decomposition algorithms: the rational prime below, together with a polynomial in the generator coming from a factor modulo that prime. See the simple decomposition algorithm.

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

Module Representation by Hermite Normal FormArticle · MathematicsNEXT LESSON →Ideal Multiplication and DivisionArticle · MathematicsIdeals of the Maximal OrderArticle · MathematicsIdeal Norm ComputationArticle · Mathematics