#20490: Hash error with multivariate Laurent polynomial rings
-------------------------+-------------------------------------------------
   Reporter:  tscrim     |            Owner:  tscrim
       Type:  defect     |           Status:  new
   Priority:  critical   |        Milestone:  sage-7.2
  Component:  misc       |         Keywords:  hash, multivariate Laurent
  Merged in:             |  polynomials
  Reviewers:             |          Authors:
Work issues:             |  Report Upstream:  N/A
     Commit:             |           Branch:
   Stopgaps:             |     Dependencies:
-------------------------+-------------------------------------------------
 We do not have equality implying equality of hashes for multivariate
 Laurent polynomial rings:
 {{{
 sage: R.<a,b> = LaurentPolynomialRing(ZZ)
 sage: elt = (a + b) * (~a + ~b) - a*~b - ~a*b - 1
 sage: elt == R.one()
 True
 sage: hash(elt) == hash(R.one())
 False
 }}}

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