I have polynomials {A1,B1} and then I find their Groebner basis to be {g1,g2,g3,g4}.
Is there a way for me to express each polynomial g1,g2,g3,g4 in terms of A1, B1? (ie have g1= h1 A1 + h2 B1 where h1,h2 are some polynomial)
I also have the following relation(if it helps), where {k1,k3,j1,j2,j3} are polynomials.
A1 = k1 g1 + k3 g3
B1 = j1 g1 + j2 g2 + j3 g3
Side note: The answer in the similar post was for a different question, and the article linked was too difficult for me to understand and use. Any help would be greatly appreciated.
Edit: Example Request
$A1=-\frac{(M - t)^2 (M + t)^2 (-1 + M t) (1 + M t) (M^2 + t^2)^2 (1 + M^2 t^2)}{M^6 t^6}$
$B1=-\frac{(-1 + M) (1 + M) (1 + M^2) (M - t) (M + t) (-1 + M t) (1 + M t) (M^2 + t^2) (1 + M^2 t^2) (-M^4 + t^4 - M^2 t^4 - M^6 t^4 + M^8 t^4 - M^4 t^8)}{M^{10} t^8}$
The solution given by Michael works wonderfully once I get rid of the denominator. (Though I will have to see whether this affects my problem or not.)