Bergman's diamond lemma explained

In mathematics, specifically the field of abstract algebra, Bergman's Diamond Lemma (after George Bergman) is a method for confirming whether a given set of monomials of an algebra forms a

k

-basis. It is an extension of Gröbner bases to non-commutative rings. The proof of the lemma gives rise to an algorithm for obtaining a non-commutative Gröbner basis of the algebra from its defining relations. However, in contrast to Buchberger's algorithm, in the non-commutative case, this algorithm may not terminate.[1]

Preliminaries

Let

k

be a commutative associative ring with identity element 1, usually a field. Take an arbitrary set

X

of variables. In the finite case one usually has

X=\{x1,x2,x3,...,xn\}

. Then

\langleX\rangle

is the free semigroup with identity 1 on

X

. Finally,

k\langleX\rangle

is the free associative

k

-algebra over

X

.[2] [3] Elements of

\langleX\rangle

will be called words, since elements of

X

can be seen as letters.

Monomial Ordering

<

on the words i.e. monomials of

\langleX\rangle

. This has to be a total order and satisfy the following:
  1. For all words

u,u',v

and

w

, we have that if

w<v

then

uwu'<uvu'

.
  1. For each word

w

, the collection

\{v\in\langleX\rangle:v<w\}

is finite.

We call such an order admissible.[4] An important example is the degree lexicographic order, where

w<v

if

w

has smaller degree than

v

; or in the case where they have the same degree, we say

w<v

if

w

comes earlier in the lexicographic order than

v

. For example the degree lexicographic order on monomials of

k\langlex,y\rangle

is given by first assuming

x<y

. Then the above rule implies that the monomials are ordered in the following way:

1<x<y<x2<xy<yx<y2<x3<x2y<...

Every element

h\ink\langleX\rangle

has a leading word which is the largest word under the ordering

<

which appears in

h

with non-zero coefficient. In

k\langlex,y\rangle

if

h=x2+2x2y-y2x

, then the leading word of

h

under degree lexicographic order is

y2x

.

Reduction

Assume we have a set

\{g\sigma\}\sigma\subseteqk\langleX\rangle

which generates a 2-sided ideal

I

of

k\langleX\rangle

. Then we may scale each

g\sigma

such that its leading word

w\sigma

has coefficient 1. Thus we can write

g\sigma=w\sigma-f\sigma

, where

f\sigma

is a linear combination of words

v

such that

v<w\sigma

. A word

w

is called reduced with respect to the relations

\{g\sigma\}\sigma

if it does not contain any of the leading words

w\sigma

. Otherwise,

w=uw\sigmav

for some

u,v\in\langleX\rangle

and some

\sigma\inS

. Then there is a reduction

ru:k\langleX\rangle\tok\langleX\rangle

, which is an endomorphism of

k\langleX\rangle

that fixes all elements of

\langleX\rangle

apart from

w=uw\sigmav

and sends this to

uf\sigmav

. By the choice of ordering there are only finitely many words less than any given word, hence a finite composition of reductions will send any

h\ink\langleX\rangle

to a linear combination of reduced words.

Any element shares an equivalence class modulo

I

with its reduced form. Thus the canonical images of the reduced words in

k\langleX\rangle/I

form a

k

-spanning set. The idea of non-commutative Gröbner bases is to find a set of generators

g\sigma

of the ideal

I

such that the images of the corresponding reduced words in

k\langleX\rangle/I

are a

k

-basis. Bergman's Diamond Lemma lets us verify if a set of generators

g\sigma

has this property. Moreover, in the case where it does not have this property, the proof of Bergman's Diamond Lemma leads to an algorithm for extending the set of generators to one that does.

An element

h\ink\langleX\rangle

is called reduction-unique if given two finite compositions of reductions

s1

and

s2

such that the images

s1(h)

and

s2(h)

are linear combinations of reduced words, then

s1(h)=s2(h)

. In other words, if we apply reductions to transform an element into a linear combination of reduced words in two different ways, we obtain the same result.[5]

Ambiguities

When performing reductions there might not always be an obvious choice for which reduction to do. This is called an ambiguity and there are two types which may arise. Firstly, suppose we have a word

w=tvu

for some non-empty words

t,v,u

and assume that

w\sigma=tv

and

w\tau=vu

are leading words for some

\sigma,\tau\inS

. This is called an overlap ambiguity, because there are two possible reductions, namely

r1

and

rt

. This ambiguity is resolvable if

tr1

and

rtu

can be reduced to a common expression using compositions of reductions.

Secondly, one leading word may be contained in another i.e.

w\sigma=t\omega\tauu

for some words

t,u

and some indices

\sigma,\tau\inS

. Then we have an inclusion ambiguity. Again, this ambiguity is resolvable if

s1\circr1(w)=s2\circrt(w)

, for some compositions of reductions

s1

and

s2

.

Statement of the Lemma

The statement of the lemma is simple but involves the terminology defined above. This lemma is applicable as long as the underlying ring is associative.[6]

Let

\{g\sigma\}\sigma\subseteqk\langleX\rangle

generate an ideal

I

of

k\langleX\rangle

, where

g\sigma=w\sigma-f\sigma

with

w\sigma

the leading words under some fixed admissible ordering of

\langleX\rangle

. Then the following are equivalent:
  1. All overlap and inclusion ambiguities among the

g\sigma

are resolvable.
  1. All elements of

k\langleX\rangle

are reduction-unique.
  1. The images of the reduced words in

k\langleX\rangle/I

form a

k

-basis.

Here the reductions are done with respect to the fixed set of generators

\{g\sigma\}\sigma

of

I

. When any of the above hold we say that

\{g\sigma\}\sigma

is a Gröbner basis for

I

. Given a set of generators, one usually checks the first or second condition to confirm that the set is a

k

-basis.

Examples

Resolving ambiguities

Take

A=k\langlex,y,z\rangle/(yx-pxy,zx-qxz,zy-ryz)

, which is the quantum polynomial ring in 3 variables, and assume

x<y<z

. Take

<

to be degree lexicographic order, then the leading words of the defining relations are

yx

,

zx

and

zy

. There is exactly one overlap ambiguity which is

zyx

and no inclusion ambiguities. One may resolve via

yx=pxy

or via

zy=ryz

first. The first option gives us the following chain of reductions,

zyx=pzxy=pqxzy=pqrxyz,

whereas the second possibility gives,

zyx=ryzx=rqyxz=rqpxyz.

Since

p,q,r

are commutative the above are equal. Thus the ambiguity resolves and the Lemma implies that

\{yx-pxy,zx-qxz,zy-ryz\}

is a Gröbner basis of

I

.

Non-resolving ambiguities

Let

A=k\langlex,y,z\rangle/(z2-xy-yx,zx-xz,zy-yz)

. Under the same ordering as in the previous example, the leading words of the generators of the ideal are

z2

,

zx

and

zy

. There are two overlap ambiguities, namely

z2x

and

z2y

. Let us consider

z2x

. If we resolve

z2

first we get,

z2x=(xy+yx)x=xyx+yx2,

which contains no leading words and is therefore reduced. Resolving

zx

first we obtain,

z2x=zxz=xz2=x(xy+yx)=x2y+xyx.

Since both of the above are reduced but not equal we see that the ambiguity does not resolve. Hence

\{z2-xy-yx,zx-xz,zy-yz\}

is not a Gröbner basis for the ideal it generates.

Algorithm

The following short algorithm follows from the proof of Bergman's Diamond Lemma. It is based on adding new relations which resolve previously unresolvable ambiguities. Suppose that

w=w\sigmau=tw\tau

is an overlap ambiguity which does not resolve. Then, for some compositions of reductions

s1

and

s2

, we have that

h1=s1\circr1(w)

and

h2=s2\circrt(w)

are distinct linear combinations of reduced words. Therefore, we obtain a new non-zero relation

h1-h2\inI

. The leading word of this relation is necessarily different from the leading words of existing relations. Now scale this relation by a non-zero constant such that its leading word has coefficient 1 and add it to the generating set of

I

. The process is analogous for inclusion ambiguities.

Now, the previously unresolvable overlap ambiguity resolves by construction of the new relation. However, new ambiguities may arise. This process may terminate after a finite number of iterations producing a Gröbner basis for the ideal or never terminate. The infinite set of relations produced in the case where the algorithm never terminates is still a Gröbner basis, but it may not be useful unless a pattern in the new relations can be found.[7]

Example

Let us continue with the example from above where

A=k\langlex,y,z\rangle/(z2-xy-yx,zx-xz,zy-yz)

. We found that the overlap ambiguity

z2x

does not resolve. This gives us

h1=xyx+yx2

and

h2=x2y+xyx

. The new relation is therefore

h1-h2=yx2-x2y\inI

whose leading word is

yx2

with coefficient 1. Hence we do not need to scale it and can add it to our set of relations which is now

\{z2-xy-yx,zx-xz,zy-yz,yx2-x2y\}

. The previous ambiguity now resolves to either

h1

or

h2

. Adding the new relation did not add any ambiguities so we are left with the overlap ambiguity

z2y

we identified above. Let us try and resolve it with the relations we currently have. Again, resolving

z2

first we obtain,

z2y=(xy+yx)y=xy2+yxy.

On the other hand resolving

zy

twice first and then

z2

we find,

z2y=zyz=yz2=y(xy+yx)=yxy+y2x.

Thus we have

h3=xy2+yxy

and

h4=yxy+y2x

and the new relation is

h3-h4=xy2-y2x

with leading word

y2x

. Since the coefficient of the leading word is -1 we scale the relation and then add

y2x-xy2

to the set of defining relations. Now all ambiguities resolve and Bergman's Diamond Lemma implies that

\{z2-xy-yx,zx-xz,zy-yz,yx2-x2y,y2x-xy2\}

is a Gröbner basis for the ideal it defines.

Further generalisations

The importance of the diamond lemma can be seen by how many other mathematical structures it has been adapted for:

The lemma has been used to prove the Poincaré–Birkhoff–Witt theorem.

References

  1. Rogalski, D. (2014-03-12). "An introduction to Noncommutative Projective Geometry". arXiv:1403.3065 [math.RA].
  2. Bergman. George. 1978-02-01. The diamond lemma for ring theory. Advances in Mathematics. en. 29. 2. 178–218. 10.1016/0001-8708(78)90010-5. free. 0001-8708.
  3. Dotsenko. Vladimir. Tamaroff. Pedro. 2020-10-28. Tangent complexes and the Diamond Lemma. math.RA. 2010.14792. en.
  4. Lopatkin. Viktor. 2021-10-12. Garside Theory: a Composition--Diamond Lemma Point of View. math.RA. 2109.07595.
  5. Reyes, A., Suárez, H. (2016-12-01) "Bases for Quantum Algebras and skew Poincare-Birkhoff-Witt Extensions". MOMENTO No 54. ISSN 0121-4470
  6. Hellström, L (2002-10-22) "The Diamond Lemma for Power Series Algebras". Print & Media, Umeå universitet, Umeå. ISBN 91-7305-327-9
  7. Li. Huishi. 2009-06-23. Algebras Defined by Monic Gr\"obner Bases over Rings. math.RA. 0906.4396.
  8. Elias. Ben. 2019-07-24. A diamond lemma for Hecke-type algebras. math.RT. 1907.10571. en.
  9. Bokut. L. A.. Chen. Yuqun. Li. Yu. 2011-01-07. Gr\"obner-Shirshov bases for categories. math.RA. 1101.1563.
  10. Dotsenko. Vladimir. Khoroshkin. Anton. 2010-06-01. Gröbner bases for operads. Duke Mathematical Journal. 153. 2. 363–396. 10.1215/00127094-2010-026. 0812.4069. 12243016. 0012-7094.