#9054: create a class for basic function_field arithmetic for Sage
---------------------------------------------------------------------------------+
    Reporter:  was                                                              
 |         Owner:  was          
        Type:  enhancement                                                      
 |        Status:  new          
    Priority:  major                                                            
 |     Milestone:  sage-wishlist
   Component:  algebra                                                          
 |    Resolution:               
    Keywords:                                                                   
 |   Work_issues:               
    Upstream:  N/A                                                              
 |      Reviewer:               
      Author:  William Stein, Robert Bradshaw, Maarten Derickx, Moritz Minzlaff 
 |        Merged:               
Dependencies:                                                                   
 |  
---------------------------------------------------------------------------------+

Comment(by saraedum):

 Entering the following at the sage prompt produces a `TypeError: Unable to
 coerce -u^2 (...) to Rational`.
 {{{
 K.<x> = FunctionField(QQ); R.<y> = K[]
 L.<y> = K.extension(y^2 - x)
 M.<u> = FunctionField(QQ); R.<v> = M[]
 N.<v> = M.extension(v-u^2)
 L.hom([u,v])
 }}}
 This is due to the fact that `hom()` determines the codomain by looking
 only at the first element of `[u,v]`.

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