-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
comparison of symbolic functions #18259
Comments
comment:1
This came up in #18092. |
comment:2
This is a consequence of how coercion and comparison are implemented:
So, A coerces into the parent of f (and not the other way around): That means that for equality testing, A is coerced into the parent of f and then the comparison is done: comparison testing in sage is defined to be "equal up to coercion" (which probably necessarily breaks in all kinds of particular cases). If you do not want these things to compare equal then you should break the coercion. That might be reasonable. Conversion can still exist. Currently you can do:
without coercion but with conversion, this would need to be:
which does not seem unreasonable to me. |
comment:3
Replying to @nbruin: Why not modifying the comparison codes for Callable function ring?
I definitely would like to be able to do Vincent |
comment:4
Replying to @videlec:
[...]
The second would probably still work if the integers still coerce into If you're going to change the comparison for the callable function ring you'd be letting The implementation of comparison tests on |
We have the following strange (wrong) behavior:
On the other hand we have
CC: @rwst @videlec
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/18259
The text was updated successfully, but these errors were encountered: