Algorithm Search⌘K

Proofs: Buchberger's criteria

These are the human proofs of Buchberger's criteria, at full length.

Buchberger's criterion, the product criterion and the chain criterion full

This proof shows: statement.

We use the notation of the page. KK is a field, >> is a monomial order on K[x1,…,xn]K[x_1, \ldots, x_n], and G={g1,…,gt}G = \{g_1, \ldots, g_t\} is a finite set of nonzero polynomials that generates the ideal II. For i≠ji \ne j let xγij=lcm⁡(LM⁡(gi),LM⁡(gj))x^{\gamma_{ij}} = \operatorname{lcm}(\operatorname{LM}(g_i), \operatorname{LM}(g_j)) and

S(gi,gj)=xγijLT⁡(gi)gi−xγijLT⁡(gj)gj.S(g_i, g_j) = \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_i)} g_i - \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_j)} g_j .

The two leading terms cancel, so S(gi,gj)=0S(g_i, g_j) = 0 or LM⁡(S(gi,gj))<xγij\operatorname{LM}(S(g_i, g_j)) < x^{\gamma_{ij}}. A sum ∑lAlgl\sum_l A_l g_l is an lcm-representation of S(gi,gj)S(g_i, g_j) when it equals S(gi,gj)S(g_i, g_j) and LM⁡(Algl)<xγij\operatorname{LM}(A_l g_l) < x^{\gamma_{ij}} for each ll with Algl≠0A_l g_l \ne 0.

Lemma 1 (cancellation). Let gi1,…,gisg_{i_1}, \ldots, g_{i_s} be distinct elements of GG, let c1,…,cs∈Kc_1, \ldots, c_s \in K, and let xα(1),…,xα(s)x^{\alpha(1)}, \ldots, x^{\alpha(s)} be monomials with xα(m)LM⁡(gim)=xδx^{\alpha(m)} \operatorname{LM}(g_{i_m}) = x^\delta for each mm. If p=∑mcmxα(m)gimp = \sum_m c_m x^{\alpha(m)} g_{i_m} is zero or has LM⁡(p)<xδ\operatorname{LM}(p) < x^\delta, then pp is a KK-linear combination of the polynomials xδ−γimim+1S(gim,gim+1)x^{\delta - \gamma_{i_m i_{m+1}}} S(g_{i_m}, g_{i_{m+1}}) for 1≤m<s1 \le m < s, and each of these is zero or has leading monomial less than xδx^\delta.

Proof. Let pm=xα(m)gim/LC⁡(gim)p_m = x^{\alpha(m)} g_{i_m} / \operatorname{LC}(g_{i_m}), so LT⁡(pm)=xδ\operatorname{LT}(p_m) = x^\delta, and let bm=cmLC⁡(gim)b_m = c_m \operatorname{LC}(g_{i_m}), so p=∑mbmpmp = \sum_m b_m p_m. The coefficient of xδx^\delta in pp is ∑mbm\sum_m b_m, and it is zero by the hypothesis. Summation by parts gives

p=∑m=1s−1(b1+⋯+bm)(pm−pm+1)+(b1+⋯+bs)ps=∑m=1s−1(b1+⋯+bm)(pm−pm+1).p = \sum_{m=1}^{s-1} (b_1 + \cdots + b_m)(p_m - p_{m+1}) + (b_1 + \cdots + b_s) p_s = \sum_{m=1}^{s-1} (b_1 + \cdots + b_m)(p_m - p_{m+1}).

Both LM⁡(gim)\operatorname{LM}(g_{i_m}) and LM⁡(gim+1)\operatorname{LM}(g_{i_{m+1}}) divide xδx^\delta, so xγimim+1x^{\gamma_{i_m i_{m+1}}} divides xδx^\delta, and

pm−pm+1=xδLT⁡(gim)gim−xδLT⁡(gim+1)gim+1=xδ−γimim+1S(gim,gim+1).p_m - p_{m+1} = \frac{x^\delta}{\operatorname{LT}(g_{i_m})} g_{i_m} - \frac{x^\delta}{\operatorname{LT}(g_{i_{m+1}})} g_{i_{m+1}} = x^{\delta - \gamma_{i_m i_{m+1}}} S(g_{i_m}, g_{i_{m+1}}).

The leading terms of pmp_m and pm+1p_{m+1} are both xδx^\delta, so they cancel, and pm−pm+1p_m - p_{m+1} is zero or has leading monomial less than xδx^\delta. □\square

Theorem A (Buchberger's criterion). GG is a Gröbner basis of II if and only if each S(gi,gj)S(g_i, g_j), i<ji < j, has an lcm-representation. In particular GG is a Gröbner basis if and only if each S(gi,gj)S(g_i, g_j) has remainder zero on division by GG.

Proof of "only if". Let GG be a Gröbner basis. Each S(gi,gj)S(g_i, g_j) lies in II. By the equivalent conditions on the page Gröbner basis, division by GG leaves remainder zero, so S(gi,gj)=∑lAlglS(g_i, g_j) = \sum_l A_l g_l with LM⁡(Algl)≤LM⁡(S(gi,gj))\operatorname{LM}(A_l g_l) \le \operatorname{LM}(S(g_i, g_j)) for each nonzero term, by the degree property of the division algorithm. If S(gi,gj)≠0S(g_i, g_j) \ne 0, its leading monomial is less than xγijx^{\gamma_{ij}}, so this is an lcm-representation. If S(gi,gj)=0S(g_i, g_j) = 0, the empty sum is one.

Proof of "if". Assume that each S(gi,gj)S(g_i, g_j) has an lcm-representation, and let f∈If \in I be nonzero. We show that some LT⁡(gi)\operatorname{LT}(g_i) divides LT⁡(f)\operatorname{LT}(f), which is condition 2 on the page Gröbner basis.

Step 1. Because GG generates II, there are representations f=∑i=1thigif = \sum_{i=1}^t h_i g_i. For such a representation let xδ=max⁡{LM⁡(higi):higi≠0}x^{\delta} = \max \{ \operatorname{LM}(h_i g_i) : h_i g_i \ne 0 \}. A monomial order is a well-order, so we can choose a representation for which xδx^\delta is the least possible. Fix it.

Step 2. LM⁡(f)≤xδ\operatorname{LM}(f) \le x^\delta, because each monomial of ff is a monomial of some higih_i g_i. If LM⁡(f)=xδ\operatorname{LM}(f) = x^\delta, then xδ=LM⁡(hi)LM⁡(gi)x^\delta = \operatorname{LM}(h_i) \operatorname{LM}(g_i) for some ii, so LT⁡(gi)\operatorname{LT}(g_i) divides LT⁡(f)\operatorname{LT}(f) and we are done. So assume, to reach a contradiction, that LM⁡(f)<xδ\operatorname{LM}(f) < x^\delta.

Step 3. Let T={i:LM⁡(higi)=xδ}T = \{ i : \operatorname{LM}(h_i g_i) = x^\delta \}. Write

f=∑i∈TLT⁡(hi)gi+∑i∈T(hi−LT⁡(hi))gi+∑i∉Thigi.f = \sum_{i \in T} \operatorname{LT}(h_i) g_i + \sum_{i \in T} (h_i - \operatorname{LT}(h_i)) g_i + \sum_{i \notin T} h_i g_i .

Every term of the second and third sums has leading monomial less than xδx^\delta. Since LM⁡(f)<xδ\operatorname{LM}(f) < x^\delta, the first sum pp is zero or has LM⁡(p)<xδ\operatorname{LM}(p) < x^\delta. Each LT⁡(hi)=cixα(i)\operatorname{LT}(h_i) = c_i x^{\alpha(i)} with xα(i)LM⁡(gi)=xδx^{\alpha(i)} \operatorname{LM}(g_i) = x^\delta, and the gig_i with i∈Ti \in T are distinct. By Lemma 1, p=∑memxδ−γmSmp = \sum_m e_m x^{\delta - \gamma_m} S_m with em∈Ke_m \in K, where each SmS_m is an S-polynomial of two elements of GG and xγmx^{\gamma_m} is its lcm.

Step 4. By the hypothesis, Sm=∑lAmlglS_m = \sum_l A_{ml} g_l with LM⁡(Amlgl)<xγm\operatorname{LM}(A_{ml} g_l) < x^{\gamma_m}. So xδ−γmSm=∑lxδ−γmAmlglx^{\delta - \gamma_m} S_m = \sum_l x^{\delta - \gamma_m} A_{ml} g_l, and each term has leading monomial less than xδ−γmxγm=xδx^{\delta - \gamma_m} x^{\gamma_m} = x^\delta, because a monomial order respects multiplication. Put this into the first sum of Step 3. The result is a representation f=∑lhl′glf = \sum_l h'_l g_l in which every LM⁡(hl′gl)\operatorname{LM}(h'_l g_l) is less than xδx^\delta. This contradicts the choice of xδx^\delta in Step 1. So LM⁡(f)=xδ\operatorname{LM}(f) = x^\delta, 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 GG is a Gröbner basis every remainder of an element of II is zero. □\square

Theorem B (product criterion). If LM⁡(gi)\operatorname{LM}(g_i) and LM⁡(gj)\operatorname{LM}(g_j) have no common variable, then S(gi,gj)S(g_i, g_j) has an lcm-representation in terms of gig_i and gjg_j only.

Proof. Scaling gig_i and gjg_j by nonzero constants changes neither the S-polynomial nor the condition, so assume LC⁡(gi)=LC⁡(gj)=1\operatorname{LC}(g_i) = \operatorname{LC}(g_j) = 1. Write gi=LM⁡(gi)+rig_i = \operatorname{LM}(g_i) + r_i and gj=LM⁡(gj)+rjg_j = \operatorname{LM}(g_j) + r_j, where rir_i is zero or LM⁡(ri)<LM⁡(gi)\operatorname{LM}(r_i) < \operatorname{LM}(g_i), and the same for rjr_j. The two leading monomials are coprime, so xγij=LM⁡(gi)LM⁡(gj)x^{\gamma_{ij}} = \operatorname{LM}(g_i) \operatorname{LM}(g_j) and

S(gi,gj)=LM⁡(gj)gi−LM⁡(gi)gj=(gj−rj)gi−(gi−ri)gj=rigj−rjgi.S(g_i, g_j) = \operatorname{LM}(g_j) g_i - \operatorname{LM}(g_i) g_j = (g_j - r_j) g_i - (g_i - r_i) g_j = r_i g_j - r_j g_i .

If ri≠0r_i \ne 0, then LM⁡(rigj)=LM⁡(ri)LM⁡(gj)<LM⁡(gi)LM⁡(gj)=xγij\operatorname{LM}(r_i g_j) = \operatorname{LM}(r_i) \operatorname{LM}(g_j) < \operatorname{LM}(g_i) \operatorname{LM}(g_j) = x^{\gamma_{ij}}. In the same way LM⁡(rjgi)<xγij\operatorname{LM}(r_j g_i) < x^{\gamma_{ij}} if rj≠0r_j \ne 0. So rigj−rjgir_i g_j - r_j g_i is an lcm-representation. □\square

Theorem C (chain criterion). Let i,j,ki, j, k be distinct, and assume that LM⁡(gk)\operatorname{LM}(g_k) divides xγijx^{\gamma_{ij}}. If S(gi,gk)S(g_i, g_k) and S(gj,gk)S(g_j, g_k) have lcm-representations, then so does S(gi,gj)S(g_i, g_j).

Proof. LM⁡(gi)\operatorname{LM}(g_i) and LM⁡(gk)\operatorname{LM}(g_k) both divide xγijx^{\gamma_{ij}}, so xγikx^{\gamma_{ik}} divides xγijx^{\gamma_{ij}}. In the same way xγjkx^{\gamma_{jk}} divides xγijx^{\gamma_{ij}}. Then

xγij−γikS(gi,gk)−xγij−γjkS(gj,gk)=(xγijLT⁡(gi)gi−xγijLT⁡(gk)gk)−(xγijLT⁡(gj)gj−xγijLT⁡(gk)gk)=S(gi,gj).x^{\gamma_{ij} - \gamma_{ik}} S(g_i, g_k) - x^{\gamma_{ij} - \gamma_{jk}} S(g_j, g_k) = \Big( \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_i)} g_i - \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_k)} g_k \Big) - \Big( \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_j)} g_j - \frac{x^{\gamma_{ij}}}{\operatorname{LT}(g_k)} g_k \Big) = S(g_i, g_j).

Multiply each term of the lcm-representation of S(gi,gk)S(g_i, g_k) by xγij−γikx^{\gamma_{ij} - \gamma_{ik}}. Each leading monomial was less than xγikx^{\gamma_{ik}}, so now it is less than xγijx^{\gamma_{ij}}. Do the same with S(gj,gk)S(g_j, g_k). The difference is an lcm-representation of S(gi,gj)S(g_i, g_j). □\square

Corollary (use in an algorithm). Let BB be a set of pairs {i,j}\{i, j\}. Assume that for each pair not in BB, either Theorem B applies, or S(gi,gj)S(g_i, g_j) has remainder zero on division by GG, or there is a kk with LM⁡(gk)∣xγij\operatorname{LM}(g_k) \mid x^{\gamma_{ij}} such that the pairs {i,k}\{i, k\} and {j,k}\{j, k\} are not in BB and were justified before {i,j}\{i, j\} in some fixed order of the pairs. If BB is empty, then GG 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. ■\blacksquare

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.

Back to Buchberger's criteria