#20963: __invert__ for Laurent polynomial is wrong
------------------------------+-----------------------
       Reporter:  vdelecroix  |         Type:  defect
         Status:  new         |     Priority:  major
      Milestone:  sage-7.3    |    Component:  algebra
       Keywords:              |    Merged in:
        Authors:              |    Reviewers:
Report Upstream:  N/A         |  Work issues:
         Branch:              |       Commit:
   Dependencies:              |     Stopgaps:
------------------------------+-----------------------
 The parent of the inverse of a Laurent polynomial can be three different
 things
 {{{
 sage: R.<x> = LaurentPolynomialRing(ZZ)
 sage: parent(~x)
 Univariate Laurent Polynomial Ring in x over Integer Ring
 sage: parent(~(2*x))
 Univariate Laurent Polynomial Ring in x over Rational Field
 sage: parent(~(x+1))
 Fraction Field of Univariate Polynomial Ring in x over Integer Ring
 }}}

 This is against the principle: "the result of an arithmetic operation
 should only depend on the parent".

--
Ticket URL: <https://trac.sagemath.org/ticket/20963>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to