English

Sorting and labelling integral ideals in a number field

Number Theory 2020-05-20 v1

Abstract

We define a scheme for labelling and ordering integral ideals of number fields, including prime ideals as a special case. The order we define depends only on the choice of a monic irreducible integral defining polynomial for each field KK, and we start by defining for each field its unique reduced defining polynomial, after Belabas. We define a total order on the set of prime ideals of KK and then extend this to a total order on the set of all nonzero integral ideals of KK. This order allows us to give a unique label of the form N.iN.i, where NN is its norm and ii is the index of the ideal in the ordered list of all ideals of norm NN. Our ideal labelling scheme has several nice properties: for a given norm, prime ideals always appear first, and given the factorisation of the norm, the bijection between ideals of norm NN and labels is computable in polynomial time. Our motivation for this is to have a well-defined and concise way to sort and label ideals for use in databases such as the LMFDB. We have implemented algorithms which realise this scheme, in Sage, Magma and Pari.

Keywords

Cite

@article{arxiv.2005.09491,
  title  = {Sorting and labelling integral ideals in a number field},
  author = {John Cremona and Aurel Page and Andrew V. Sutherland},
  journal= {arXiv preprint arXiv:2005.09491},
  year   = {2020}
}
R2 v1 2026-06-23T15:39:44.188Z