I want to infer the relationship between x and y (which is x == y) as the code (mathematica) below.
However l2 gives an empty set {} when I eliminate A, B.
I wonder what's the theorem beind it?
It is because situation A==B==0 ?
Is that possible to add an assumption of A!=0 && B !=0 when computating Groebner Basis?
l2 = {
x A - y B,
A - B
};
l3 = {
4 x - 4 y,
A - B
};
GroebnerBasis[l2, {}, {A, B}]
GroebnerBasis[l3, {}, {A, B}]
Got answer
{}
{x - y}
The assumptions $A \neq 0$ and $B \neq 0$ can taken into account by adding variables
Ainv, Binvfor the inverses ofAandB, and adding the polynomialsA*Ainv - 1, B*Binv - 1to the list of generators. EliminatingA, B, Ainv, Binvwill then yield{x - y}.