Ask Your Question

doremifasolatido's profile - activity

2020-12-14 15:53:50 +0200 received badge  Student (source)
2020-12-13 02:33:52 +0200 received badge  Scholar (source)
2020-12-12 21:50:28 +0200 received badge  Editor (source)
2020-12-12 20:55:32 +0200 asked a question How to call a constant polynomial with lift()?

I am trying to call a constant polynomial with lift(), but I get an error. The following is a minimal example of my input that produces an error:

sage: A.<x, y> = PolynomialRing(CC, 2, order='degrevlex')
sage: I = A.ideal([x + y, x + y + 1])
sage: A(1).lift(I)

When I input a non-constant polynomial (say, f = (x+y)^2), Sage executes lift(I) as expected. I only get an error for constant polynomials like A(1).