The Division Algorithm and Buchberger's Criterion #
This file defines the multivariate division algorithm (normalForm) and proves
the main theorem of Gröbner basis theory: Buchberger's Criterion.
Main Definitions #
MvPolynomial.normalForm: Computes the remainder of a polynomialfupon division by a set of polynomialsB. This is often called the "normal form" off.MvPolynomial.IsGroebnerBasis: Defines a Gröbner basisGfor an idealIas a basis whose leading terms generate the initial ideal ofI.MonomialOrder.S_polynomial: The S-polynomial of two polynomialsfandg.
Main Results #
MvPolynomial.normalForm_spec: Guarantees that thenormalFormfunction satisfies the properties of the division algorithm (the division equation, the degree condition, and the remainder condition).MvPolynomial.normalForm_exists_unique: Shows that for a Gröbner basis, the remainder is unique.MvPolynomial.mem_Ideal_iff_GB_normalForm_eq_zero: A polynomialfis in an idealIif and only if its normal form with respect to a Gröbner basis ofIis zero.MonomialOrder.Spolynomial_syzygy_of_degree_cancellation: The crucial "Cancellation Lemma" used in the proof of Buchberger's Criterion.MvPolynomial.Buchberger_criterion: The main theorem. A basisGof an idealIis a Gröbner basis if and only if the S-polynomial of every pair of elements inGreduces to zero.
Equations
- MvPolynomial.quotients m hB f = ⋯.choose
Instances For
Equations
- MvPolynomial.normalForm m hB f = ⋯.choose
Instances For
This lemma states that the quotients and normalForm functions satisfy the properties
guaranteed by the division algorithm.
If normalForm m B hB f = 0, then in fact
f = ∑ (quotients m B hB f) • b.
Gröbner basis property.
For an ideal I and a finite set G, this means:
G ⊆ I, and⟨ LT(G) ⟩ = ⟨ LT(I) ⟩,
where LT(G) = { LT(g) | g ∈ G } and LT(I) = { LT(f) | f ∈ I \ {0} }.
Equations
- MvPolynomial.GroebnerBasis_prop m I G = (↑G ⊆ ↑I ∧ Ideal.span ((fun (g : MvPolynomial σ k) => m.leadingTerm g) '' ↑G) = m.leadingTermIdeal I)
Instances For
Removing 0 from G does not change the Gröbner basis property:
G satisfies G ⊆ I and ⟨ LT(G) ⟩ = ⟨ LT(I) ⟩
if and only if G \ {0} satisfies the same conditions.
Cox, Little, O'Shea, Ch 2, §5 Definition 5. Groebner_basis
A finite subset G of an ideal I is called a Gröbner basis (or standard basis) if
0 ∉ G, andG ⊆ I, and⟨ LT(G) ⟩ = ⟨ LT(I) ⟩(the ideal generated by the leading terms of the elements ofGequals the leading term ideal ofI).
We adopt the convention ⟨∅⟩ = {0}, so ∅ is a Gröbner basis of the zero ideal.
Equations
- MvPolynomial.IsGroebnerBasis m I G = ((∀ g ∈ G, g ≠ 0) ∧ MvPolynomial.GroebnerBasis_prop m I G)
Instances For
Proposition. If G is a Gröbner basis for I, then every f admits
a unique decomposition f = g + r with
g ∈ I, and- no term of
ris divisible by anyLT gᵢ.
§6 Corollary 2 Let $G = \{g_1,\dots,g_t\}$ be a Gröbner basis for an ideal $I \subseteq k[x_1,\dots,x_n]$ and let $f \in k[x_1,\dots,x_n]$. Then $f \in I$ if and only if the remainder on division of $f$ by $G$ is zero.
The S-polynomial.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lemma 5 (Cox, Little, O'Shea, Ch 2, §6, Lemma 5): Cancellation Lemma Suppose we have a sum P = ∑ pᵢ where all pᵢ have the same multidegree δ. If m.degree P < δ, then P is a linear combination of the S-polynomials S(pⱼ, pₗ), and each S(pⱼ, pₗ) has multidegree less than δ.
**(Cox, Little, O'Shea, Ch 2, §6, Exercise 7)
**(Cox, Little, O'Shea, Ch 2, §6, Exercise 8)
(Cox, Little, O'Shea, Ch 2, §6, Theorem 6): Buchberger’s Criterion :
Let I be a polynomial ideal and let G be a basis of I (i.e. I = ideal.span G).
Then G is a Gröbner basis if and only if for all pairs of distinct polynomials
g₁, g₂ ∈ G, the remainder on division of S_polynomial g₁ g₂ by G is zero.