Buchberger's criterion, the product criterion and the chain criterion full
This proof shows: statement.
We use the notation of the page. K is a field, > is a monomial order on K[x1,…,xn], and G={g1,…,gt} is a finite set of nonzero polynomials that generates the ideal I. For i=j let xγij=lcm(LM(gi),LM(gj)) and
S(gi,gj)=LT(gi)xγijgi−LT(gj)xγijgj. The two leading terms cancel, so S(gi,gj)=0 or LM(S(gi,gj))<xγij. A sum ∑lAlgl is an lcm-representation of S(gi,gj) when it equals S(gi,gj) and LM(Algl)<xγij for each l with Algl=0.
Lemma 1 (cancellation). Let gi1,…,gis be distinct elements of G, let c1,…,cs∈K, and let xα(1),…,xα(s) be monomials with xα(m)LM(gim)=xδ for each m. If p=∑mcmxα(m)gim is zero or has LM(p)<xδ, then p is a K-linear combination of the polynomials xδ−γimim+1S(gim,gim+1) for 1≤m<s, and each of these is zero or has leading monomial less than xδ.
Proof. Let pm=xα(m)gim/LC(gim), so LT(pm)=xδ, and let bm=cmLC(gim), so p=∑mbmpm. The coefficient of xδ in p is ∑mbm, and it is zero by the hypothesis. Summation by parts gives
p=m=1∑s−1(b1+⋯+bm)(pm−pm+1)+(b1+⋯+bs)ps=m=1∑s−1(b1+⋯+bm)(pm−pm+1). Both LM(gim) and LM(gim+1) divide xδ, so xγimim+1 divides xδ, and
pm−pm+1=LT(gim)xδgim−LT(gim+1)xδgim+1=xδ−γimim+1S(gim,gim+1). The leading terms of pm and pm+1 are both xδ, so they cancel, and pm−pm+1 is zero or has leading monomial less than xδ. □
Theorem A (Buchberger's criterion). G is a Gröbner basis of I if and only if each S(gi,gj), i<j, has an lcm-representation. In particular G is a Gröbner basis if and only if each S(gi,gj) has remainder zero on division by G.
Proof of "only if". Let G be a Gröbner basis. Each S(gi,gj) lies in I. By the equivalent conditions on the page Gröbner basis, division by G leaves remainder zero, so S(gi,gj)=∑lAlgl with LM(Algl)≤LM(S(gi,gj)) for each nonzero term, by the degree property of the division algorithm. If S(gi,gj)=0, its leading monomial is less than xγij, so this is an lcm-representation. If S(gi,gj)=0, the empty sum is one.
Proof of "if". Assume that each S(gi,gj) has an lcm-representation, and let f∈I be nonzero. We show that some LT(gi) divides LT(f), which is condition 2 on the page Gröbner basis.
Step 1. Because G generates I, there are representations f=∑i=1thigi. For such a representation let xδ=max{LM(higi):higi=0}. A monomial order is a well-order, so we can choose a representation for which xδ is the least possible. Fix it.
Step 2. LM(f)≤xδ, because each monomial of f is a monomial of some higi. If LM(f)=xδ, then xδ=LM(hi)LM(gi) for some i, so LT(gi) divides LT(f) and we are done. So assume, to reach a contradiction, that LM(f)<xδ.
Step 3. Let T={i:LM(higi)=xδ}. Write
f=i∈T∑LT(hi)gi+i∈T∑(hi−LT(hi))gi+i∈/T∑higi. Every term of the second and third sums has leading monomial less than xδ. Since LM(f)<xδ, the first sum p is zero or has LM(p)<xδ. Each LT(hi)=cixα(i) with xα(i)LM(gi)=xδ, and the gi with i∈T are distinct. By Lemma 1, p=∑memxδ−γmSm with em∈K, where each Sm is an S-polynomial of two elements of G and xγm is its lcm.
Step 4. By the hypothesis, Sm=∑lAmlgl with LM(Amlgl)<xγm. So xδ−γmSm=∑lxδ−γmAmlgl, and each term has leading monomial less than xδ−γmxγm=xδ, because a monomial order respects multiplication. Put this into the first sum of Step 3. The result is a representation f=∑lhl′gl in which every LM(hl′gl) is less than xδ. This contradicts the choice of xδ in Step 1. So LM(f)=xδ, and Step 2 ends the proof.
The second sentence of the theorem follows: a remainder of zero gives an lcm-representation, as in the proof of "only if", and if G is a Gröbner basis every remainder of an element of I is zero. □
Theorem B (product criterion). If LM(gi) and LM(gj) have no common variable, then S(gi,gj) has an lcm-representation in terms of gi and gj only.
Proof. Scaling gi and gj by nonzero constants changes neither the S-polynomial nor the condition, so assume LC(gi)=LC(gj)=1. Write gi=LM(gi)+ri and gj=LM(gj)+rj, where ri is zero or LM(ri)<LM(gi), and the same for rj. The two leading monomials are coprime, so xγij=LM(gi)LM(gj) and
S(gi,gj)=LM(gj)gi−LM(gi)gj=(gj−rj)gi−(gi−ri)gj=rigj−rjgi. If ri=0, then LM(rigj)=LM(ri)LM(gj)<LM(gi)LM(gj)=xγij. In the same way LM(rjgi)<xγij if rj=0. So rigj−rjgi is an lcm-representation. □
Theorem C (chain criterion). Let i,j,k be distinct, and assume that LM(gk) divides xγij. If S(gi,gk) and S(gj,gk) have lcm-representations, then so does S(gi,gj).
Proof. LM(gi) and LM(gk) both divide xγij, so xγik divides xγij. In the same way xγjk divides xγij. Then
xγij−γikS(gi,gk)−xγij−γjkS(gj,gk)=(LT(gi)xγijgi−LT(gk)xγijgk)−(LT(gj)xγijgj−LT(gk)xγijgk)=S(gi,gj). Multiply each term of the lcm-representation of S(gi,gk) by xγij−γik. Each leading monomial was less than xγik, so now it is less than xγij. Do the same with S(gj,gk). The difference is an lcm-representation of S(gi,gj). □
Corollary (use in an algorithm). Let B be a set of pairs {i,j}. Assume that for each pair not in B, either Theorem B applies, or S(gi,gj) has remainder zero on division by G, or there is a k with LM(gk)∣xγij such that the pairs {i,k} and {j,k} are not in B and were justified before {i,j} in some fixed order of the pairs. If B is empty, then G is a Gröbner basis.
Proof. Take the pairs in the fixed order. By induction on the position, each pair has an lcm-representation: the first two cases give one directly (Theorem B, or the "only if" argument for a remainder of zero), and the third gives one by Theorem C from the two earlier pairs. Theorem A then applies. ■
The order in the corollary is necessary. Without it, three pairs could each be removed by the other two, and nothing would be checked. The page gives an example.