#13303: is_unit and __invert__ for Polynomial Quotient Rings
-------------------------------------------------------+--------------------
       Reporter:  caruso                               |         Owner:  
AlexGhitza      
           Type:  defect                               |        Status:  
positive_review 
       Priority:  major                                |     Milestone:  
sage-5.6        
      Component:  algebra                              |    Resolution:         
         
       Keywords:  inversion quotient polynomial rings  |   Work issues:         
         
Report Upstream:  N/A                                  |     Reviewers:  Travis 
Scrimshaw
        Authors:  Xavier Caruso                        |     Merged in:         
         
   Dependencies:                                       |      Stopgaps:         
         
-------------------------------------------------------+--------------------
Changes (by caruso):

  * status:  needs_review => positive_review


Old description:

> As it was noticed in ticket #13215, inversion in Polynomial Quotient
> Rings does not work quite well:
>
> {{{
> sage: Z16x.<x> = Integers(16)[]
> sage: GR.<y> =  Z16x.quotient(x^2 + x + 1)
> sage: (2*y)^(-1)
> 15*y + 15
> sage: (2*y)*(2*y)^(-1)
> 2
> }}}
>
> I attach a small patch "fixing" this problem: with the patch, a
> NotImplemetedError is raised when the base ring is not a field.

New description:

 As it was noticed in ticket #13215, inversion in Polynomial Quotient Rings
 does not work quite well:

 {{{
 sage: Z16x.<x> = Integers(16)[]
 sage: GR.<y> =  Z16x.quotient(x^2 + x + 1)
 sage: (2*y)^(-1)
 15*y + 15
 sage: (2*y)*(2*y)^(-1)
 2
 }}}

 I attach a small patch "fixing" this problem: with the patch, a
 NotImplemetedError is raised when the base ring is not a field.

 Apply [attachment:trac_13303_invert_polynomial_quotient_rings.patch]

--

Comment:

 Thanks. I merged your review into my patch.

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