How to perform a complicated change of variables for a polynomial (in Mathematica)
I have an integer polynomial in four variables (w, x, y, and z) that I know can be written as an integer polynomial in these six variables: a = w z b = x y c = w^3 + z^3 d = x + y e = w^3 x + y z^3 f = w^3 y + x z^3 How can I use Mathematica (or maybe Java) to easily do this change of variables? Daniel Lichtblau Such rewriting can be done by forming a Groebner basis of the replacement polynomials, with respect to a variable order that favors using a-f over w-z. Then use PolynomialReduce with respect to the same order to rewrite your polynomial. Here is an example. I'll start with replacement