Opened 4 years ago

#21297 new defect

Ideals in a polynomial ring don't have meaningful hashes

Reported by: kedlaya Owned by:
Priority: major Milestone: sage-7.4
Component: algebra Keywords: hashing, polynomial rings, ideals
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #21272, #21284 Stopgaps:

Description

This came up in the course of addressing #20511:

sage: R.<x,y,z> = PolynomialRing(QQ, 3)
sage: hash(R.ideal([x]))
0
sage: hash(R.ideal([x,y]))
0

But hashing for individual polynomials is itself broken (see #21272 and #21284), so probably best to fix that first.

Change History (0)

Note: See TracTickets for help on using tickets.