#7711: integral() does not reduce coefficients in finite field
---------------------------------------+------------------------------------
       Reporter:  zimmerma             |         Owner:  malb        
           Type:  defect               |        Status:  needs_review
       Priority:  major                |     Milestone:  sage-5.0    
      Component:  commutative algebra  |    Resolution:              
       Keywords:                       |   Work issues:              
Report Upstream:  N/A                  |     Reviewers:              
        Authors:  Alex Ghitza          |     Merged in:              
   Dependencies:                       |      Stopgaps:              
---------------------------------------+------------------------------------

Comment (by zimmerma):

 Alex,

 there is something I don't understand with your patch. You check that
 {{{right}}} is in the base
 ring, but not {{{1/right}}}, thus what happens the base ring is not a
 field? Compare for example:
 {{{
 sage: P.<x,z> = PolynomialRing(ZZ)
 sage: Q.<y> = PolynomialRing(P)
 sage: p=x+y+z
 sage: t=p/2
 sage: t.parent()
 Univariate Polynomial Ring in y over Multivariate Polynomial Ring in x, z
 over Rational Field
 sage: u=p.integral()
 sage: u.parent()
 Univariate Polynomial Ring in y over Fraction Field of Multivariate
 Polynomial Ring in x, z over Integer Ring
 }}}
 Why do t and u have different parents?

 Paul

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