Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The issue is that x, y still refer to the old variables in the polynomial ring with four variables. It works when adding the lines

x, y, s = R1.gens()


x, y = R2.gens()


For debugging MPolynomial_elements, the underlying .dict() field is helpful.