I have the instructions to compute the lcm of two multivariate polynomials ideals. My course follows the spirit of "Ideals, Varieties and Algorithms" by Cox et alii. However, my recipe doesn't convince me fully. Let me explain myself:
Given $F,G \in K[X_1,\ldots,X_n]$ polynomials with coefficient in a field, then it holds that $\langle F \rangle \cap \langle G \rangle = \langle lcm(F,G) \rangle$.
Therefore, to compute a $lcm(F,G)$ I should compute a Groebner basis of the intersection $\langle F \rangle \cap \langle G \rangle$. This can be done with following procedure:
- Compute the ideal $\langle TF,(1-T)G \rangle$ in $K[T,X_1,\ldots,X_n]$
- Then, given a Groebner basis $\mathbb{G}$ of $\langle TF,(1-T)G \rangle$ with respect to lexicographic order and variable ordering $T > X_1 > \ldots > X_n$, $\mathbb{G} \cap K[X_1,\ldots,X_n]$ is a Groebner basis of the intersection.
My question is: how does this imply that $\mathbb{G} \cap K[X_1,\ldots,X_n]$ is precisely the lcm of the two polynomials?
My thoughts
Ok, so reducing to a minimal Groebner basis solves the problem since in that case I would have that the generator element needs to be the lcm.