-
-
Notifications
You must be signed in to change notification settings - Fork 561
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
Ideal dimension wrong, depends on term order. #10708
Comments
comment:1
More fundamentally, a (Krull) dimension should not be negative, should it? |
comment:2
Well I don't mind denoting the dimension of the emtpy set at -1. Or, in this case, the supremum of the lengths of the elements of the empty set. Its of course more a matter of definition... |
comment:3
Apparently some other things go wrong :
This is obviously crazy. And membership inside an ideal should not depend on the term order:
|
comment:5
The problem could be caused by the fact that
This clearly is an infinite descending chain. |
comment:6
Thats definitely the problem, but how to fix it? |
comment:7
More generally, it seems that the problem occurs with all the "negated" term orders.
With "negdegrevlex":
With "negdeglex":
With "negwdegrevlex"
Digging deeper into this, it seems that we imported from singular the concepts of global and local orderings. The global ones match my own understanding of what a "monomial order" is. In singular they also allow a generalization thereof, by dropping the well-foundedness requirement (the "local" orderings are those such that 1 > x). Pretty much everything will eventually rely on the groebner basis computation routine, which apparently only works properly on "global" orderings. So a cheap fix would consist in raising an exception in Opinions? In fact, the page of the reference manual on term orderings specifies which orders are "global", but it does not specify what this means (this notion is not present in the textbooks I used to work with, and I suspect that some users won't know about it). It does not say that most routines are broken on the non-global orders. This could possibly be confusing to some users. We should at least mimic the singular documentation on term orderings, which is much more explicit and less confusing about all this. |
comment:8
I assume "local" here means "locally around (0,0)" (which is the only interpretation of the word "local" that makes sense to me in this context). Then these algorithms are not for the ring QQ[x,y], but for the localization (or maybe the completion) of that ring at (x,y), i.e., these algorithms assume that all polynomials f with f(0,0)!=0 are invertible. So the Groebner basis I don't know about the design of these PolynomialRing objects with " |
comment:9
While this "functionality" may have some use, it is very confusing. The content of an ideal should not depend on the term order. Either a given polynomial belongs to This (indirectly) surprised vbraun, the original author of the ticket, and I don't like it either. It looks like a computational hack is exposed to the user, and messes with the usual mathematical definitions. If the functionality is useful, we should probably not remove it, but we should at least be very explicit that contrarily to what one would expect following the usual textbooks, some orders will change the contents of your ideals. |
comment:10
In fact, we have two options :
I vote for the second one... Charles |
comment:11
I concur that "neglex" should not be allowed as a term order on a polynomial ring. Instead, we can have This looks like an abuse of terminology on the side of Singular. Probably one that is algorithmically very advantageous for them, but you clearly need to work very carefully with these rings, because there are now "units" in the ring for which the inverse is not expressible in the representation used:
I am sure the functionality in singular is very useful, but we can't expose it in the way we're doing here. |
comment:13
See new discussion about this on sage-devel. |
The dimension of an ideal, that is the Krull dimension of the quotient
R/I
, does not depend on the monomial order. ButI think this uses Singular "ls" ordering which is related to the localization at
<x,y>
though I have never used (or properly understood) that functionality in Singular.Maybe we need to change the term order to a global one internally?
CC: @sagetrac-Bouillaguet @malb @mstreng @sagetrac-jakobkroeker
Component: commutative algebra
Keywords: Singular ideal dimension
Issue created by migration from https://trac.sagemath.org/ticket/10708
The text was updated successfully, but these errors were encountered: