#252: Make number fields work when polynomial not integral or not monic.
-------------------------------------+-------------------------------------
       Reporter:  was                |        Owner:  davidloeffler
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  number fields      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Peter Bruin        |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/pbruin/252-number_fields         |  d1227146064d0e4ebcaf313f6eeec5c70713dde3
   Dependencies:  #18740             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by pbruin):

 The underlying problem seems to be converting PARI ideals in Hilbert
 normal form to Sage ideals:
 {{{
 sage: F.<a> = NumberField(2*x^3+x+1)
 sage: Fp = F.pari_nf()
 sage: I = F.ideal(2)
 sage: Ip = I.pari_hnf()
 sage: fact = Fp.idealfactor(Ip)
 sage: Jp = fact[0, 0]
 sage: Fp.idealnorm(Jp)
 2
 sage: J = F.ideal(Jp)
 sage: J.norm()
 1/2             # should be 2, like Fp.idealnorm(Jp)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/252#comment:29>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to