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

Ideal membership for univariate polynomial #13999

Open
hivert opened this issue Jan 23, 2013 · 4 comments
Open

Ideal membership for univariate polynomial #13999

hivert opened this issue Jan 23, 2013 · 4 comments

Comments

@hivert
Copy link

hivert commented Jan 23, 2013

sage: R.<x> = PolynomialRing(ZZ)
sage: p, q = 4 + 3*x + x^2, 1 + x^2
sage: I = R.ideal([p, q])
sage: S = R.quotient_ring(I)
sage: S(p) == S(0)
False

This is plain wrong !

sage: p in I
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)

/tmp/<ipython console> in <module>()

/home/data/Sage-Install/sage-5.6.rc1/local/lib/python2.7/site-packages/sage/rings/ideal.pyc in __contains__(self, x)
    316     def __contains__(self, x):
    317         try:
--> 318             return self._contains_(self.__ring(x))
    319         except TypeError:
    320             return False

/home/data/Sage-Install/sage-5.6.rc1/local/lib/python2.7/site-packages/sage/rings/ideal.pyc in _contains_(self, x)
    322     def _contains_(self, x):
    323         # check if x, which is assumed to be in the ambient ring, is actually in this ideal.
--> 324         raise NotImplementedError
    325 
    326     def __nonzero__(self):

NotImplementedError: 

Florent

CC: @sagetrac-jakobkroeker

Component: algebra

Keywords: Ideal, univariate polynomial

Stopgaps: wrongAnswerMarker

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

@hivert hivert added this to the sage-5.11 milestone Jan 23, 2013
@hivert

This comment has been minimized.

@hivert
Copy link
Author

hivert commented Jan 24, 2013

comment:2

I left a todo in #12510 deactivating some generic tests (TestSuite) in

sage/rings/quotient_ring.py

Those generic test should be reinstated when this ticket is fixed.

Florent

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@sagetrac-jakobkroeker
Copy link
Mannequin

sagetrac-jakobkroeker mannequin commented Jul 9, 2016

Stopgaps: wrongAnswerMarker

@slel
Copy link
Member

slel commented Dec 7, 2021

comment:9

See also #23621.

@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
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

5 participants