Ticket #1183 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[with patch, with positive review] Residue fields are broken

Reported by: roed Owned by: was
Priority: major Milestone: sage-2.9
Component: number theory Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

The current implementation of residue fields for number fields is broken. It just takes the defining polynomial for the number field, factors it over Z/pZ, picks one factor and creates an extension using that factor. This breaks because elements of the ring of integers, when expressed in terms of the power basis of the number field can have denominators divisible by p.

The solution is to create a p-maximal order and do some linear algebra to come up with a map that doesn't break on denominators divisible by p. Pari's nfinit has a way to give it a partial factorization of the discriminant that will produce a p-maximal order.

If you want to implement this, talk to William Stein or David Roe for more details.

Attachments

trac-1183-supportforquo-step1and2.patch Download (15.6 KB) - added by was 2 years ago.
trac-1183-through_step_3.patch Download (4.2 KB) - added by was 2 years ago.
trac-1138-throughstep4.patch Download (14.3 KB) - added by was 2 years ago.
further work, but still some issues.…
trac-1183-step5.patch Download (4.6 KB) - added by was 2 years ago.
trac-1183-step6.patch Download (16.9 KB) - added by was 2 years ago.

Change History

Changed 2 years ago by mabshoff

Ifti did open #1185 for his specific problem. So in case this is solved and the status of #1183 remains unchanged please resolve that ticket, also.

Cheers,

Michael

Changed 2 years ago by was

Changed 2 years ago by was

Changed 2 years ago by was

further work, but still some issues....

Changed 2 years ago by was

NOT ready to be released yet.

Changed 2 years ago by was

Changed 2 years ago by was

Changed 2 years ago by was

Changed 2 years ago by craigcitro

  • summary changed from Residue fields are broken to [with patch, with positive review] Residue fields are broken

Changed 2 years ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed

Merged in 2.9.rc0.

Note: See TracTickets for help on using tickets.