New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Free module equality, comparisons #11579
Comments
comment:1
One suggestion for a fix: (a) make comparisons raise a NotImplementedError for rings that are not fields and not ZZ - though I have not checked to see how important an ordering on free modules is. (b) use a pair of calls to I don't plan to pursue this one much further, but could review a fix. |
This comment has been minimized.
This comment has been minimized.
Stopgaps: todo |
comment:9
Be aware of #23978 Rich comparison for Modules |
comment:10
Looks fixed to me. |
comment:13
let us close |
comment:14
closing positively reviewed duplicates |
On #11553, mmarco gives an example that can be distilled to:
Root cause looks like an assumption that echelon form (Hermite form) over PIDs is unique, which may be insurmountable in general.
This also affects the ordering of free modules via the
__cmp__
method.Informative discussion at:
http://groups.google.com/group/sage-devel/browse_thread/thread/eda6f3ebc118b8b
CC: @sagetrac-fwclarke
Component: linear algebra
Stopgaps: todo
Issue created by migration from https://trac.sagemath.org/ticket/11579
The text was updated successfully, but these errors were encountered: