Characterization of Gaps and Elements of a Numerical Semigroup Using Groebner Bases
Guadalupe M\'arquez-Campos, Jos\'e M. Tornero

TL;DR
This paper explores the use of Groebner bases to analyze numerical semigroups, providing systematic characterizations of their gaps and elements, combining survey and original research.
Contribution
It offers a new systematic approach to characterize numerical semigroup elements using Groebner bases, advancing theoretical understanding.
Findings
Characterization of semigroup elements via Groebner bases
Systematic approach to gaps and elements of numerical semigroups
Proved new results on semigroup structure
Abstract
This article is partly a survey and partly a research paper. It tackles the use of Groebner bases for addressing problems of numerical semigroups, which is a topic that has been around for some years, but it does it in a systematic way which enables us to prove some results and a hopefully interesting characterization of the elements of a semigroup in terms of Groebner bases.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPolynomial and algebraic computation · Commutative Algebra and Its Applications · Advanced Numerical Analysis Techniques
Characterization of gaps and elements of a numerical semigroup using Groebner bases
Guadalupe Márquez–Campos
Departamento de Álgebra, Universidad de Sevilla. P.O. 1160. 41080 Sevilla, Spain.
and
José M. Tornero
Departamento de Álgebra, Universidad de Sevilla. P.O. 1160. 41080 Sevilla, Spain.
(Date: October, 2013)
Abstract.
This article is partly a survey and partly a research paper. It tackles the use of Groebner bases for addressing problems of numerical semigroups, which is a topic that has been around for some years, but it does it in a systematic way which enables us to prove some results and a hopefully interesting characterization of the elements of a semigroup in terms of Groebner bases.
Key words and phrases:
Numerical semigroups, Groebner bases
2010 Mathematics Subject Classification:
Primary: 20M14, 13B25; Secondary: 13P15
The authors were partially supported by the grants FQM–218 and P08–FQM–03894, FSE and FEDER (EU)
1. Numerical semigroups
This paper deals with a very special family of semigroups. Recall that a semigroup is a pair , where is a set and is an associative internal operation. Actually we will be considering monoids, that is, semigroups with unit element, but there are no substantial differences for our concerns. We will be particularly interested in the so–called numerical semigroups. Useful references for the basic concepts are [11, 4].
Definition 1.1**.**
A numerical semigroup is a semigroup .
Example 1.2**.**
The first natural example of a numerical semigroup is the semigroup generated by a set , which is the set of linear combinations of these integers with non–negative integral coefficients:
[TABLE]
It turns out that this example is in fact the general case for a numerical semigroup.
Proposition 1.3**.**
Let be integers such that . Let us write . Then there exists such that , for all .
Proof.
Let us write, from Bezout’s Identity
[TABLE]
for some and let
[TABLE]
We take an integer and write it as , for a certain . We divide by ,
[TABLE]
and then
[TABLE]
This finishes the proof, as and all their coefficients lie in , therefore . ∎
Remark 1.4*.*
If we had the situation would be pretty analogous, taking into account that we should work in the ring instead of . This is why, in the sequel, when we talk about numerical semigroups we will assume that generate as an additive group.
Corollary 1.5**.**
Every numerical semigroup can be written in the form .
Proof.
Clearly if we take then it must hold , so there is an as in the proposition for . Then it is clear that is generated by
[TABLE]
∎
As is nothing but the set of non–negative integers that can be written as a linear combination (with non–negative coefficients) of , the elements of are often called representable integers (w.r.t. ). In the same fashion the elements of the (finite) set are called non–representable integers.
Definition 1.6**.**
Some important invariants associated to a numerical semigroup are:
- •
The set of gaps, which is the finite set , noted .
- •
The genus of , noted , which is the cardinal of .
- •
The Frobenius number of which is the maximum of , noted .
- •
The set of sporadic elements, noted , which are elements of smaller than , that is .
- •
The cardinal of , noted (this invariant has not a properly stablished name in the literature).
- •
The multiplicity of , noted , which is the smallest non–zero element in (obviously a generator in any case).
- •
The dimension of , noted , which is the smallest possible cardinal of a set of generators.
- •
The conductor, noted , which is .
Remark 1.7*.*
The Frobenius number and its actual computation is a major problem in numerical semigroups. For semigroups of dimension , it was solved by Sylvester [13], who proved
[TABLE]
This problem, also known as the money–changing problem or the nugget problem has not an easy solution for . Some closed formulas are known for certain cases, but Ramírez–Alfonsín proved that the general problem is NP–hard under Turing reductions [10].
2. A characterization of elements and gaps in terms of Groebner bases
Remark 2.1*.*
The relationship between numerical semigroups and computational algebra tools can be traced back to the pioneering work of Herzog [5] and there is a great number of papers which build bridges between both subjects. This section is intended as a survey of a small subset of this rich relationship, containing the results we will be using afterwards in an organized and structured way.
Most results and related to Groebner bases can be found, for instance, in [1], along with some results from this section, whose proofs we have included for the convenience of the reader.
Let be a fixed natural number, a set of coprime non–negative integers, and a set of variables taking values in . We consider the equation:
[TABLE]
We introduce a new variable and rewrite the previous equation as:
[TABLE]
Next we introduce new variables , for , and we set , obtaining:
[TABLE]
where are still unknown.
Consider the polynomial ideal
[TABLE]
and let a minimal Groebner basis of (not necessarily a reduced one), with respect to the usual lexicographic ordering .
Let us note , the exponents of the polynomials ; and
[TABLE]
The main target is now to prove that there are one–to–one correspondences between
[TABLE]
in a very explicit way.
In order to do that we will use two closely related maps:
[TABLE]
and its extension
[TABLE]
Lemma 2.2**.**
.
Proof.
is clear. If we take we can perform Euclidean division w.r.t. to get an expression
[TABLE]
and must lie in , therefore . ∎
Lemma 2.3**.**
* is a binomial basis. Therefore the normal form of a monomial , which we will write , is always a monomial.*
Proof.
It is well–known that the Groebner basis of a binomial ideal is again binomial [3]. Now assume we have a monomial and we want to reduce it w.r.t. a binomial , being the leading term.
If we cannot perform reduction, there is nothing to do. Otherwise and then the remainder of the division is
[TABLE]
that is, a monomial. ∎
Lemma 2.4**.**
Let be an ideal in a polynomial ring , a Groebner basis of , and . Then if and only if .
Proof.
It is a straightforward consequence of the fact that the mapping
[TABLE]
is –linear. ∎
Theorem 2.5**.**
Let and let be the reduced Groebner basis of I w.r.t. the lexicographic order .
Then lies in if and only if there exists such that . Should this be the case
[TABLE]
Proof.
Assume . Then
[TABLE]
and therefore
[TABLE]
Now, as does not depend on , the elements of used in the computation of must have their leading terms in . But, as we are using the lex ordering, in fact they must lie completely in . Therefore .
Assume now . Then and therefore
[TABLE]
and doing we get . ∎
Corollary 2.6**.**
If then it is the image of a monomial .
Proof.
From the theorem if and only if , with . As we saw previously, must be a monomial. ∎
Remark 2.7*.*
Although we have chosen the lex ordering, one may note that in fact all we need for our argument is the fact that the ordering is an elimination one for the variable .
This idea will be most useful in the sequel, as it will allow us to change the ordering in order to meet our needs, and different orders will be used to tackle different problems.
Theorem 2.8**.**
Let , and as above, and let . Then
[TABLE]
Furthermore:
- •
If , then and .
- •
If , then , with and .
Proof.
Let . Then there are with
[TABLE]
and then
[TABLE]
that is, .
On the other hand, if , we know from the previous result
[TABLE]
and . We already know as well that, in this case, .
Now, if , we still know is a monomial, say
[TABLE]
As , , hence . As for all polynomials ,
[TABLE]
We do then and
[TABLE]
hence . ∎
We are now ready to prove the one–to–one correspondences mentioned above.
Theorem 2.9**.**
Let be a numerical semigroup. Consider
[TABLE]
and let be the reduced Groebner basis of I w.r.t. an elimination ordering for , with .
- •
The mapping
[TABLE]
is one–to–one.
- •
The mapping
[TABLE]
is one–to–one.
Proof.
Most of the results are more or less proved by now.
I. is surjective.
Let . Then there is some with
[TABLE]
Being a normal form, it must hold
[TABLE]
and we previously saw .
On the other hand, take
[TABLE]
so does not lie in any and therefore
[TABLE]
Consider now . Then
[TABLE]
From a previous proposition
[TABLE]
and the fact that such is not in comes from the unicity of the normal form and the characterization of elements in in the previous theorem.
II. is surjective.
The proof goes parallel with the previous, with some necessary adjustments. Let us first consider . Then there is some with
[TABLE]
Being a normal form, it must hold
[TABLE]
and we have to see . But we get this from the previous theorem.
Let us see now
[TABLE]
That is, for every , we will find with
[TABLE]
But
[TABLE]
We define and from we can see
[TABLE]
This already implies .
III. and are injective.
Should we have two non–negative integers with
[TABLE]
this implies . Then there are polynomials with
[TABLE]
and doing we get and . ∎
Example 2.10**.**
Let us see a simple example, for a semigroup of dimension , . Following Sylvester,
[TABLE]
and its set of gaps is
[TABLE]
We consider then the ideal
[TABLE]
and we compute the (minimal) Groebner basis of , using an elimination ordering for . We have chosen the lex ordering . The resulting Groebner basis is
[TABLE]
We can constuct now the sets
[TABLE]
with the exponents of the elements in (square points in the picture below):
[TABLE]
Now we check all elements from and their one–to–one correspondence with
[TABLE]
In order to do this, we compute the normal form of all monomials with , obtaining:
[TABLE]
These points can be seen in the lattice , as expected (round points in the picture).
Example 2.11**.**
Let us consider now an example of dimension . Let . The Frobenius number of this numerical semigroup is:
[TABLE]
and its set of gaps:
[TABLE]
We can take the binomial ideal:
[TABLE]
and find the Groebner basis , using an elimination ordering w.r.t. . For this example, we have taken the usual lexicographic ordering . With this particular choice we get:
[TABLE]
We have to consider then, where is the –th polynomial in , and take the corresponding set
[TABLE]
in order to establish our bijections and . In this case,
[TABLE]
Let us have a closer look to , so we are only interested in points of outside . In order to represent the points, we will consider the subcases , with . We have then:
- •
. In this hyperplane we find several corners , precisely
[TABLE]
These points determine the elements of , along with . As in the previous pictures, we will draw square points for points in , and round points for points outside , thus associated with a unique element of by means of :
- •
At these are the points which determine the set:
[TABLE]
- •
At , we have these points in
[TABLE]
- •
At , and , the only relevant point is the origin, as for
- •
Last, in we have , so this is, so to speak, the ceiling for variable .
If we compute the normal form of monomials , where is the –th gap, we get:
[TABLE]
Remark 2.12*.*
Therefore, for a given we have a representation
[TABLE]
which is unique, provided
[TABLE]
and which determines easily whether or not, simply by looking at .
Let us consider . A very interesting function related to (actually to the set ) is the so–called denumerant, which is defined by
[TABLE]
That is, is nothing but the number of different representations of as a non–negative integral linear combination of . The notion of denumerant was first introduced by Sylvester [14].
On the other hand, if we take , aside from the representation mentioned above, we might have lots of others, only all of them in . Just in case someone is tempted, where is no relationship between and
[TABLE]
as an easy example may show.
Take as before , and consider . The number of non–negative representations can be computed quickly, as all integral representations are given by
[TABLE]
Hence only are suitable, and therefore . Analogously for we get
[TABLE]
hence we get . However, both elements lie in the same quadrant , and only in this one.
3. A first application: a bound “á la Wilf”
One of the most celebrated open problems in numerical semigroups is the so–called Wilf’s Conjecture [16], which states a very simple relationship among three important invariants:
Wilf’s Conjeture.– Let be a numerical semigroup. Then
[TABLE]
That is to say, the conjecture fixes a lower bound for the proportion of sporadic elements among those non–negative integers smaller than the conductor of : they must represent, at least, of them.
The conjecture has been proved for a number of particular cases (see for instance [6, 12]). It has also been checked for semigroups of genus up to by M. Bras–Amorós [2].
What follows is our approximation to the problem of relating and , using the techniques introduced above, resulting in a couple of bounds of different nature.
Notation.– Given rational positive numbers , we define
[TABLE]
and
[TABLE]
That is, is the number of integral points in the tetrahedron limited by the coordinate hyperplanes and
[TABLE]
as is the same thing, but discarding the points in the coordinate faces.
The relationship between these two quantities is given by the following result.
Lemma 3.1**.**
Under the previous conditions, if we call
[TABLE]
then
[TABLE]
Proof.
Let us consider the following map:
[TABLE]
It is well–defined, as
[TABLE]
hence .
is clearly injective, but is also surjective because
[TABLE]
∎
The hunt for a good, simple estimate of and led to several results [7, 8, 9, 15, 17, 18, 19], finally put together in the GLY Conjeture, named after its authors Granville, Lin and Yau.
GLY Conjecture.– Assume and let be real numbers. Then:
- •
(Weak estimate) We have
[TABLE]
with equality if and only if .
- •
(Strong estimate) Given , there is a constant such that, for we have
[TABLE]
where are the Stirling numbers, and are polynomials in with degree .
The weak version was finally proved by Yau and Zhang [20]. In the same paper, the authors claim the strong version has been checked computationally up to . The fact is the conjecture might be checked for a particular , but the state–of–the–art has not changed since. According to the authors, the case took weeks to be completed.
Assume then we have a numerical semigroup and let us consider the binomial ideal associated to , as in the previous section
[TABLE]
Let us fix an elimination ordering for and let us compute the Groebner basis and the corresponding sets . As we know
[TABLE]
Therefore we may note
[TABLE]
which proves that is less or equal to the number of integral points in the tetrahedron defined by the coordinate hyperplanes and
[TABLE]
That is,
[TABLE]
and from the previous lemma and the Weak estimate of the GLY Conjecture,
[TABLE]
We have then proved:
Proposition 3.2**.**
Given a numerical semigrup , we have
[TABLE]
Hence we have actually proved a result which is, in certain sense, a reverse of Wilf’s Conjecture, as we have actually proved an upper bound for in terms of:
- •
, which is an upper bound for , although it can be assumed from the beginning to be .
- •
.
- •
The generators of .
Remark 3.3*.*
Note that, if we make in the statement above, we get
[TABLE]
from Sylvester’s result. So, in this case (where we cannot apply the GLY weak estimate, as it is valid for ), the formula is still valid. Not only that, but the bound turns out to be an equality.
Remark 3.4*.*
Accuracy of the bound. In the following tables there are some examples of numerical semigroups, with the relevant information concerning the previous result.
As it becomes plain, the bound gets less and less accurate as grows. A significant number of examples could be of help in order to look for a conjectural improvement, we are still far from that.
[TABLE]
[TABLE]
[TABLE]
We will try a different approach, taking advantage of the catalogue of Groebner basis at our disposal. Let us take the lexicographic elimination ordering given by
[TABLE]
Let us fix an integer , and consider
[TABLE]
so in particular . We also have, as before
[TABLE]
Let us call, without further mention of the bijection , the previous set, whose number of points is . Mind that
[TABLE]
Assume first that we have , the other case will be dealt with later and with some important differences. That is, for now we will consider
[TABLE]
We are going to compute a bound for the set in two stages:
- •
First, we will construct a truncated prism over a –hypercube, which will contain all points in with .
- •
After this, we will construct a pyramid which will contain the rest of the integral points in , and we will compute with no great difficulty the number of integral points inside this pyramid.
Let us construct . First note that the binomials , for all . As their exponents are
[TABLE]
we have that
[TABLE]
and then
[TABLE]
which is clearly a prism over a –hypercube.
This bound could fit for all the set , but we will try to do better in the following way. First, we will compute at which point(s) the prism hits the wall defined by
[TABLE]
If we set , then the (integral) boundary of and the wall meet at the point
[TABLE]
In order to construct a pyramid which is easier to work with, we will take a little more from before truncating it, so we will actually get out of . More precisely, we will get to the point
[TABLE]
So, for now, what we have is
[TABLE]
is contained in the truncated prism defined by
[TABLE]
Let us now build our pyramid , which will have as its basis a –convex on the hyperplane
[TABLE]
and its vertex at
[TABLE]
The precise description is
[TABLE]
Lemma 3.5**.**
Under the previous conditions, we have
[TABLE]
Proof.
Let us take an integral point , with
[TABLE]
and let us write
[TABLE]
and clearly . Obviously, we have to define
[TABLE]
in order to write as in the definition of .
It is straightforward that . On the other hand, one has that, being in ,
[TABLE]
and then, for ;
[TABLE]
which implies and therefore , for . ∎
We have finally proved:
Proposition 3.6**.**
With the previous definitions and assumptions, we have
[TABLE]
Corollary 3.7**.**
With the previous definitions and assumptions, we have
[TABLE]
The number of integral points in is easy to compute:
[TABLE]
If does not divide , we can alternatively express it as
[TABLE]
In order to find the number of integral points in , let us fix our attention in a –constant level of the pyramid. That is, fix such that
[TABLE]
and then the set
[TABLE]
is once again a –hypercube determined by the vertices
[TABLE]
which have therefore integral points.
All we need therefore is a precise description of the which verify
[TABLE]
There must then be a such that
[TABLE]
and this must verify , for
[TABLE]
to hold. As
[TABLE]
we have the number of points at the level determined by is
[TABLE]
and
[TABLE]
Theorem 3.8**.**
Let be a numerical semigroup, an integer. Then
[TABLE]
Corollary 3.9**.**
Let be a numerical semigroup, an integer. Then
[TABLE]
Proof.
Directly, extend the prism up to . Indirectly, as we have
[TABLE]
and therefore
[TABLE]
hence
[TABLE]
and finally this implies
[TABLE]
as stated. ∎
We have been working under the assumption . The other case or, otherwise said
[TABLE]
correspond to the following geometric situation: when we construct the prism, the –hypercube in the basis is already out of . We can still consider a pyramid , much in the same fashion as above, although we must not be very optimistic with respect to the accuracy of the bound.
In this case, it is enough to consider the –hypercube on to have side length .
We will not fill the technical details for this case, which are pretty similiar to the previous one. Let us mention that now the pyramid is:
[TABLE]
[TABLE]
In this case, we can simply consider a certain such that
[TABLE]
which determines as above a –constant level which is again a –hypercube, defined in this case by the points
[TABLE]
The equivalent result comes from adding up integral points in each – constant level and is therefore as follows:
Theorem 3.10**.**
Let be a numerical semigroup, an integer. Then
[TABLE]
Corollary 3.11**.**
In the above conditions,
[TABLE]
Proof.
As , we can take and we have that
[TABLE]
∎
Much work is yet to be done. Most probably a better version of the GLY Conjecture will lead to a more precise results and there might be wiser ways to bound than the ”prism + pyramid” method developed here.
We hope this work sheds some light to the power and usefulness of Groebner bases in the study of numerical semigroups.
4. Acknowledgments
Thanks are due to Jorge Ramírez–Alfonsín, who hosted the first author during her stay at Montpellier and has been tirelessly helpful.
The authors also thank Pedro García–Sánchez for his advice and for pointing out the reference [5] to them.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Adams, W.W.; Loustaunau, Ph.: An introduction to Gröbner bases. American Mathematical Society, 1994.
- 2[2] Bras-Amorós, M.: Fibonacci–like behavior of the number of numerical semigroups of a given genus. Semigroup Forum 76 (2008) 379–384.
- 3[3] Eisenbud, D.; Sturmfels, B.: Binomial ideals. Duke Math. J. 84 (1996) 1–45.
- 4[4] García–Sánchez, P.A.; Rosales, J.C.: Numerical semigroups . Springer, 2009.
- 5[5] Herzog, J.: Generators and relations of abelian semigroups and semigroup rings. Manuscripta Math. 3 (1970) 175–193.
- 6[6] Kaplan, N.: Counting numerical semigroups by genus and some cases of a question of Wilf. J. Pure Appl. Algebra 216 (2012) 1016–1032.
- 7[7] Lin, K.P.; Yau, S.T.: Analysis of sharp polynomial upper estimate of number of positive integral points in 4–dimensional tetrahedra. J. Reine Angew. Math. 547 (2002) 191–205.
- 8[8] Lin,K.P.; Yau, S.T.: Analysis of sharp polynomial upper estimate of number of positive integral points in 5–dimensional tetrahedra. J. Number Theory 93 (2002) 207–234.
