#7711: integral() does not reduce coefficients in finite field
-----------------------------------+----------------------------------------
   Reporter:  zimmerma             |       Owner:  malb    
       Type:  defect               |      Status:  new     
   Priority:  major                |   Milestone:  sage-4.3
  Component:  commutative algebra  |    Keywords:          
Work_issues:                       |      Author:          
   Upstream:  N/A                  |    Reviewer:          
     Merged:                       |  
-----------------------------------+----------------------------------------
 Consider the following example:
 {{{
 sage: P.<x,z> = PolynomialRing(GF(2147483647))
 sage: Q.<y> = PolynomialRing(P)
 sage: p=x+y+z
 sage: p.integral()
 1/2*y^2 + (x + z)*y
 }}}
 Note the leading coefficient 1/2 is not reduced mod 2147483647.

 For smaller p this seems to work:
 {{{
 sage: P.<x,z> = PolynomialRing(GF(2147483629))
 sage: Q.<y> = PolynomialRing(P)
 sage: p=x+y+z
 sage: p.integral()
 -1073741814*y^2 + (x + z)*y
 }}}
 It works also when the smaller ring P has only one variable:
 {{{
 sage: P.<x> = PolynomialRing(GF(2147483647))
 sage: Q.<y> = PolynomialRing(P)
 sage: p=x+y
 sage: p.integral()
 1073741824*y^2 + x*y
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7711>
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