-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
integral of multivariate polynomial #14334
Comments
Author: Frédéric Chapoton |
comment:1
Here is a patch.
|
comment:2
What is the desired (and actual) behaviour if the variable does not belong to the base rings as well? I.e. can I integrate an element of |
comment:3
With the patch applied, this gives :
or
Which means that once the bottom ring is reached, it just fails to provide an integral method. Do you think it is necessary to implement an integral method for any ring ? Maybe one just saying |
comment:4
Well, I think that top level function Also, with the patch I get
and somehow here it feels that the method should succeed, since
|
comment:5
ok, one should also add an integral method in multi_polynomial_libsingular.pyx (TODO) as far as I can tell, this does not exist in Singular, so it will not just be a matter of wrapping an existing method |
comment:6
Part of the problem is that the result is not living in the original ring. Maybe, afterall, the best approach is to keep things as is, letting integral method fail if there are issues with coefficients. Those who want to integrate a potentially problematic polynomial should use integral function which will drop to symbolic ring if calling methods fails. |
comment:7
I did not manage to make the following example work
The problem is that this is handled by singular. If the base ring is more complicated, everything works well. If somebody is able to implement a working integral method in multi_polynomial_libsingular.pyx, please do ! |
This comment has been minimized.
This comment has been minimized.
comment:9
ok, here is a patch that is doing the job. Needs review, please ! I have chosen to impose that the ring contains QQ, which seems a reasonable thing to do. |
Reviewer: Andrey Novoseltsev |
comment:12
The patch does not apply for me on 5.11.rc1 because of empty lines conflict - probably needs rebasing! |
Attachment: trac_14334_integration_multipoly-fc.patch.gz |
comment:13
rebased on 5.12.beta0 |
comment:14
This can be done later as well: Isn't it a bit overly restrictive to demand QQ is a subfield? Everything should be fine as long as factorial(degree(f,x)) is invertible in the base ring. Perhaps just try the computation:
|
Merged: sage-5.12.beta4 |
So far (in sage 5.10), the integral of multivariable polynomial is not clean, and belongs to the symbolic ring
But one can do this:
It would be much better to have a .integral attribute and to stay within polynomial rings, like it happens with just one variable
Component: commutative algebra
Keywords: integral of polynomials
Author: Frédéric Chapoton
Reviewer: Andrey Novoseltsev
Merged: sage-5.12.beta4
Issue created by migration from https://trac.sagemath.org/ticket/14334
The text was updated successfully, but these errors were encountered: