Skip to content
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

Wrong results when using singular functions #24377

Closed
enriqueartal opened this issue Dec 15, 2017 · 1 comment
Closed

Wrong results when using singular functions #24377

enriqueartal opened this issue Dec 15, 2017 · 1 comment

Comments

@enriqueartal
Copy link
Contributor

In sage (version 8.1, but 8.0 has the same issue) I have the following code:
R.<x,y>=PolynomialRing?(QQ,order='neglex')
f=(y2+x3)(y2+x3+x2y)
singular.lib("all.lib")
f.singular().bernstein()

I guess this is equivalent to the following singular code
LIB "all.lib";
ring r=0,(x,y),ds;
poly f=(y2+x3)*(y2+x3+x2y)
bernstein(f)

The results differ: -11/7 is a root in the first case, while -4/7 in the second (and I think there are theoretical results that ensure the second one is correct); moreover in both cases, when using bfct -4/7 is the root (bfct uses another algorithm to compute the Bernstein-Sato polynomial). The Singular computations are done using both an external Singular installation and the Sage one.

In other cases I had communication problems between singular and sage leading to output errors, but in this case it produces (a non evident) mathematical wrong result.

Upstream: Reported upstream. No feedback yet.

Component: algebraic geometry

Keywords: singular

Issue created by migration from https://trac.sagemath.org/ticket/24377

@enriqueartal
Copy link
Contributor Author

comment:1

After discussion with upstream, it is related to the dependence on orderings of the rings, so I guess it can be closed.

@fchapoton fchapoton removed this from the sage-8.2 milestone Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants