Ask Your Question

Revision history [back]

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]) sage: A(1).lift(I)

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

How to call a constant polynomial with lift()?

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

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

A(1).lift(I)

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

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])
sage: A(1).lift(I)

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

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])
+ y+1])
sage: A(1).lift(I)

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

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])
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).