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
Generic quotient yields wrong comparison #32291
Comments
Commit: |
comment:1
There is still something not quite right about what I pushed, but it is a start. New commits:
|
comment:2
|
comment:3
I am a firm -1 on this because the |
comment:4
That makes sense. However, we should at least document that the usage of generic ideals leads to unexpected results in quotient rings (see e.g. https://ask.sagemath.org/question/56243/quotients-of-exterior-algebras/). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
It looks like the perturbator is rather Long story short, the implementation of |
comment:7
I would propose to boil the comparison in case of equality down to the check |
comment:8
Should we also remove |
comment:9
This is an extract of https://doc.sagemath.org/html/en/reference/rings/sage/rings/quotient_ring.html#sage.rings.quotient_ring.QuotientRing. That means, the reduce function of an ideal is usually expected to return the normal form. This is currently not given. |
comment:10
I'm now slightly confused. The example given in your sage-devel post is now working for me in the GCA case.
I am running sage 9.4.beta5 so I'm not sure if it is fixed there or what is going on. On the other hand, the exterior algebra still has the same behavior as in the description. |
comment:11
Replying to @trevorkarn:
I was using my implementation in #32272. The class |
comment:12
We should not remove For example, the exterior algebra can use:
In some sense, all you need to do is linear algebra since the exterior algebra is finite dimensional. Compute a basis for the ideal as a subspace (again, finite dimensional), and then take the quotient as vector spaces. Of course, this is not likely to be fast, but it works with very minimal code needed to be added/changed. Note that in the second paper, the exterior polynomial algebra is the ungraded version of a graded commutative algebra. So that gives a Gröbner basis algorithm in that case if we also rewrite the GCA code with a more basic implementation. |
As reported in https://ask.sagemath.org/question/56243/quotients-of-exterior-algebras/, we currently have the following behavior for generic ideals and quotients:
Tracing that back, the comparison in
quotient_ring_element
is given by:Taking a look at
reduce
ofsage.rings.ideal.Ideal_generic
, it gets clear why the comparison fails:CC: @trevorkarn @tscrim @mkoeppe @jhpalmieri
Component: algebra
Branch/Commit: public/rings/turn_reduce_of_generic_ideals_into_abstract_method_32291 @
fb19506
Issue created by migration from https://trac.sagemath.org/ticket/32291
The text was updated successfully, but these errors were encountered: