#2329: add interface to Pari's rnfisnorm
-----------------------------------------+----------------------------------
   Reporter:  craigcitro                 |       Owner:  craigcitro       
       Type:  enhancement                |      Status:  needs_work       
   Priority:  major                      |   Milestone:  sage-4.6.1       
  Component:  number fields              |    Keywords:  editor_craigcitro
     Author:  Craig Citro, Marco Streng  |    Upstream:  N/A              
   Reviewer:  Nick Alexander             |      Merged:                   
Work_issues:  bug in Pari 2.4.3          |  
-----------------------------------------+----------------------------------
Changes (by mstreng):

  * work_issues:  bug in Pari 2.3.5 => bug in Pari 2.4.3


Comment:

 The bug with non-integral elements in rnfisnorm was reported to pari by
 fwclarke, and I wrote a simple workaround for the time it takes a pari-fix
 to reach sage.

 Turns out there is another problem:
 {{{
 sage: K.<a> = NumberField(x^2 + x + 1)
 sage: Q.<X> = K[]
 sage: L.<b> = NumberField(X^3 + a)
 sage: K.pari_rnfnorm_data(L)
 PariError: incorrect type (11)
 }}}

 Again caused by something that works fine in pari 2.3.4 and is broken in
 pari 2.4.3 (alpha)
 {{{
 gp > bnf = bnfinit(y^2+y+1);
 gp > polrel = Mod(1, y^2 + y + 1)*x^3 + Mod(y, y^2 + y + 1);
 gp > rnfisnorminit(bnf, polrel)
   ***   at top-level: rnfisnorminit(bnf,po
   ***                 ^--------------------
   *** rnfisnorminit: incorrect type in RgX_RgXQ_eval.
   ***   Break loop: type 'break' to go back to GP
 }}}

 Ideas anyone?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2329#comment:20>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to