#11456: Make the Magma interface able to convert number field elements from 
Magma
to Sage
---------------------------+------------------------------------------------
   Reporter:  mstreng      |          Owner:  was                               
          
       Type:  enhancement  |         Status:  new                               
          
   Priority:  major        |      Milestone:  sage-4.7.1                        
          
  Component:  interfaces   |       Keywords:  magma interface number field 
element convert
Work_issues:               |       Upstream:  N/A                               
          
   Reviewer:               |         Author:                                    
          
     Merged:               |   Dependencies:                                    
          
---------------------------+------------------------------------------------

Comment(by nbruin):

 Beware that number fields in Magma can have bases that are not power
 bases:
 {{{
 > K<a,b>:=NumberField([x^2-2,x^2-3]:Abs);
 > Sqrt(K!6);
 -a*b
 > Eltseq(Sqrt(K!6));
 [ 0, 0, 0, -1 ]
 > OK:=LLL(IntegerRing(K));
 > L:=FieldOfFractions(OK); //this uses the basis of OK
 > Eltseq(Sqrt(L!6));
 [ 0, 1, 2, 0 ]
 }}}
 Number fields can be relative too, but that is the same in Pari.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11456#comment:1>
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