I'm a very beginner in Macaulay2, so I apologize if this question is too trivial...
I'm using Macaulay2 for a computation involving over $30$ variables. Roughly speaking I have a $4\times 4$ matrix where entries are polynomials while coefficients are also variables. It's (minor) determinants give certain conditions and should simplify the form of the matrix.
I'm trying to solve this by creating a huge ring with many variables, compute an (again huge) ideal generated by the given conditions, and use "trim" to express the ideal in a simple way.
One important part of this computation is that some of the variables are invertible, like say $x$ is invertible if I know $xy=0$ , then $y=0$. I tried to put this condition by adding one more auxiliary variable, say $z$ , and give the condition $xz-1 = 0$ (as what we usually do in commutative algebra).
However, I found that Macaulay2 does not do this job; when it has $xy$ in the ideal, it does not provide $y$ in the ideal and so the set of generators does not get simplified well.
Are there some other way to put this condition, so that Macaulay2 reflects the invertibility in its computation?