-
-
Notifications
You must be signed in to change notification settings - Fork 679
Description
The symbolic ring (SR) in Sage currently considers itself to be a field and therefore also an integral domain:
sage: SR.is_field()
True
sage: SR.is_integral_domain()
True
However, it is confused about its category:
sage: SR.category()
Category of commutative rings
sage: SR in PrincipalIdealDomains()
False
sage: SR in Fields()
True
The last command causes the category of SR to be refined, and running the same commands again gives a different output:
sage: SR.category()
Category of fields
sage: SR in PrincipalIdealDomains()
True
sage: SR in Fields()
True
This ticket makes SR.is_field() and SR.is_integral_domain() return False.
Because of this, one now has to indicate explicitly in the code when one takes the risk of treating the symbolic ring as a field. This is currently only done for a couple of linear algebra methods and for points on elliptic curves over the symbolic ring.
A few constructions (which were mathematically meaningless anyway) are now disallowed:
- quaternion algebras over the symbolic ring
- converting a symbolic expression into a rational function over the symbolic ring
- minimal polynomials of matrices over the symbolic ring
Depends on #18040
CC: @rwst
Component: symbolics
Keywords: symbolic ring category
Stopgaps: todo
Author: Peter Bruin
Branch/Commit: u/pbruin/11126-SymbolicRing_not_domain @ 82b9860
Issue created by migration from https://trac.sagemath.org/ticket/11126