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

Equality test for zero ideals fails #795

Closed
HechtiDerLachs opened this issue Nov 8, 2021 · 1 comment · Fixed by #811
Closed

Equality test for zero ideals fails #795

HechtiDerLachs opened this issue Nov 8, 2021 · 1 comment · Fixed by #811

Comments

@HechtiDerLachs
Copy link
Collaborator

Try running this code:

  R, v = QQ["x", "y"]
  x = v[1]
  y = v[2] 
  f = (x^2 + y^2)
  I = ideal(R, zero(R))
  Q, _ = quo(R, I)
  I == modulus(Q)

It fails. Doing the same with

  I = ideal(R, f)

has no problem.

@thofma
Copy link
Collaborator

thofma commented Nov 12, 2021

Looking into this, this is fun!

thofma added a commit that referenced this issue Nov 12, 2021
The shortcut for zero-ideals used the wrong order.
@fingolfin fingolfin linked a pull request Nov 12, 2021 that will close this issue
fingolfin pushed a commit that referenced this issue Nov 12, 2021
The shortcut for zero-ideals used the wrong order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants