-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
Fraction field of Symmetric Functions and other integral domains which do not inherit from Ring #34347
Comments
comment:1
Once this is done, we can remove the check |
comment:3
Not every integral domain is a gcd domain. So I would guess there is no way to define a generic implementation. One might be possible that fails along the way, but more likely it would run forever by some infinite chain of ideals. Sage also is not 100% careful when it comes to fraction fields either:
See, e.g., this MathSE post. Although here this is sufficient (and possibly better due to the simplicity of the implementation) for doing computations, but strictly speaking, its fraction field is a subfield. That being said, in this case for For the @cached_method
def fraction_field(self):
"""
Return the fraction field of ``self``.
"""
from sage.rings.fraction_field import FractionField_generic
return FractionField_generic(self) Now the Yet, even with this change, it doesn't solve the problem for symmetric functions:
There are a few different fixes for this. The first two that come to mind are
(1) involves more stuff during the creation of the parent (e.g., needs a prime check when working over Z/nZ). (2) means it only gets checked when needed, but it puts a method in a "too general" category. Personally, I don't think (1) will happen that much, so it would be the route I would go. |
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @tscrim:
Sorry for that silly mistake. I modified the description of the ticket accordingly, but actually, this means we probably have two different tickets, one implementing factorization or at least gcd, and one for the category stuff. |
comment:6
For redemption, here is at least naive factorization code for symmetric functions.
|
comment:7
I would rather go via some infinite polynomial ring which implements factorization
|
comment:8
Is there an easy way to go from the polynomial to the symmetric function then? |
comment:9
Hmm, I did not succeed. Looks a bit broken. |
comment:10
If you use a finite set of variables (which is what the
This is not the most efficient way to do it, but it should be somewhat close. |
We currently have
However, all integral domains should come with at least a generic implementation
fraction_field
.Since the ring of symmetric functions is even a unique factorization domain, so at least we should have a gcd.
CC: @videlec @tscrim
Component: categories
Issue created by migration from https://trac.sagemath.org/ticket/34347
The text was updated successfully, but these errors were encountered: