Open a32a02b0-cb97-434b-855a-6f35619c0d03 opened 10 years ago
Maybe we could also fix the following at the same time?
sage: QQbar.is_subring(QQbar)
...
NotImplementedError
sage: RR.is_subring(RR)
..
NotImplementedError
sage: CC.is_subring(CC)
..
NotImplementedError
etc.
I propose this to close as "won't fix/not valid" for the reason that if R is isomorphic to a subring of S, we don't have that R is canonically identified with a subring of S. There can be a choice of isomorphism.
It may be OK to consider R a subring of S if sage has an injective coercion from R to S registered, but I'm not even sure this should always be the case even then.
I opened #17287 separately for my issue, just in case.
Stopgaps: wrongAnswerMarker
For example (each example was computed on the cloud):
Returns true while
Returns false.
Perhaps we need to have a proper subring? No, that's still a problem.
and
Both return false, even though
Returns true. Perhaps this is related to the fact that
Returns a NotImplementedError? Of course a full resolution to these errors would be better, but throwing up a NotImplementedError in each case would be much better.
CC: @sagetrac-jakobkroeker
Component: commutative algebra
Keywords: rings, homset
Stopgaps: wrongAnswerMarker
Issue created by migration from https://trac.sagemath.org/ticket/15878