Computing minimal generating systems for some special toric ideals
Dimitrios I. Dais, Ioannis Markakis

TL;DR
This paper discusses a method for efficiently computing minimal generating systems for certain toric ideals associated with lattice polytopes, simplifying the process to Gaussian elimination when boundary lattice points are at least four.
Contribution
It provides a straightforward approach to determine minimal generators of toric ideals for specific projective toric surfaces, reducing the problem to linear algebra techniques.
Findings
Minimal generating systems can be computed via Gaussian elimination.
Applicable when the boundary of the lattice polytope has at least four lattice points.
Simplifies the algebraic process for certain toric ideals.
Abstract
Let be the projective toric surface associated to a lattice polytope . If the number of lattice points lying on the boundary of is at least , it is known that is embeddable into a suitable projective space as zero set of finitely many quadrics. In this case, the determination of a minimal generating system of the toric ideal defining is reduced to a simple Gaussian elimination.
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
TopicsCommutative Algebra and Its Applications · Algebraic Geometry and Number Theory · Polynomial and algebraic computation
Computing minimal generating systems
for some special toric ideals
Dimitrios I. Dais and Ioannis Markakis
University of Crete, Department of Mathematics and Applied Mathematics, Division Algebra and Geometry, Voutes Campus, P.O. Box 2208, GR-70013, Heraklion, Crete, Greece
[email protected]/[email protected]
Abstract.
Let be the projective toric surface associated to a lattice polygon . If the number of lattice points lying on the boundary of is at least , it is known that is embeddable into a suitable projective space as zero set of finitely many quadrics. In this case, the determination of a minimal generating system of the toric ideal defining is reduced to a simple Gaussian elimination.
2010 Mathematics Subject Classification:
52B20 (Primary); 14M25, 14Q10 (Secondary)
1. Introduction
Let be a lattice polygon, i.e., a (convex, 2-dimensional) polygon, all of whose vertices belong to is known to be normal and very ample, and to have a canonical presentation
[TABLE]
where is the set of the facets (edges) of and the inward-pointing facet normal, i.e., the minimal generator of the ray The corresponding compact complex toric surface is therefore normal and projective, and
[TABLE]
is a very ample Cartier divisor on where is the Zariski closure of the orbit of the ray w.r.t. the natural Hom-action. (See [4, Corollaries 2.2.13 and 2.2.19 (b), pp. 70-71, (4.2.6), p. 182, and Proposition 6.1.10 (c), p. 269 ].) Setting the complete linear system induces the closed embedding ,
[TABLE]
with
[TABLE]
where is the character associated to the lattice point (with denoting the algebraic torus Hom), for all The image of under is the Zariski closure of Im in and can be viewed as the projective variety Proj where
[TABLE]
with is the semigroup algebra which is naturally graded by setting deg (For a detailed exposition see [4, Theorem 2.3.1, p. 75; Proposition 5.4.7, pp. 237-238; Theorem 5.4.8, pp. 239-240, and Theorem 7.1.13, pp. 325-326].) Equivalently, it can be viewed as the zero set of the homogeneous ideal Ker where
[TABLE]
and is the -algebra homomorphism
[TABLE]
Theorem 1.1** (Koelman [7]).**
If then is generated by all possible quadratic binomials, i.e.,
[TABLE]
Corollary 1.2** (Castryck & Cools [2, §2]).**
If and if we denote by the cardinality of any minimal system of quadrics generating the ideal then
[TABLE]
Proof.
If HP then the -vector space homomorphism
[TABLE]
has as kernel Ker the -vector space of homogeneous polynomials of degree which belong to and as image Im the linear span of (because every lattice point in is the sum of two lattice points of cf. [4, Theorem 2.2.12, pp. 68-69]). Taking into account Koelman’s Theorem 1.1, [8, Lemma 4.1, p. 31], and the fact that is not contained in any hyperplane of the equality gives (1.1). ∎
Examples 1.3**.**
(i) If are two positive integers, then the projective toric surface which is associated to the lattice quadrilateral
[TABLE]
(where “conv” stands for convex hull, and ), is isomorphic to the intersection of
[TABLE]
quadrics, i.e., to the rational normal scroll of type w.r.t. the homogeneous coordinates satisfying the “2-minors condition”
[TABLE]
In particular, for can be viewed as the classical (smooth) quadric hypersurface in (which is isomorphic to and birationally equivalent to cf. Figure 1).
(ii) Let be a positive integer. The -vector space
[TABLE]
has the set as one of its bases, where
[TABLE]
For each we write Setting
[TABLE]
we see that Tr and Tr because
[TABLE]
is a bijective map with On the other hand,
[TABLE]
If then using the homogeneous coordinates we conclude (by Koelman’s Theorem 1.1) that
[TABLE]
[TABLE]
i.e., that is isomorphic to the image of the so-called -uple Veronese embedding
[TABLE]
where the monomials are arranged in a prescribed manner (e.g., lexicographically). In fact, in this case,
[TABLE]
Note 1.4**.**
For a Magma code for the computation of a minimal generating system of the ideal defining the projective toric surface associated to an arbitrary lattice polygon (and of much more, like Betti numbers etc.), see [3]. In the above mentioned particular case (in which we deal only with quadrics) it is enough (as we shall see in §2) to collect all vectorial relations and to determine a -linearly independent subset of the set of the corresponding quadratic binomials by simply performing Gaussian elimination.
2. The algorithm
An algorithm, implemented in Python3 to compute a minimal generating set for the ideal , given the vertex set of the polygon is provided in the library toricIdeal.py. The algorithm is provided by the routine minGenSet, which receives a list of vertices and calls five subroutines to compute a minimal generating set of .
import numpy
def minGenSet(p):
intp=integerPoints(*vertToConst(p))
(basis,genBin)=genBinom(intp)
indepCol=findIndepCol(genBin)
binom=findBinom(basis,genBin,indepCol)
return(intp,binom)
More specifically, the first subroutine, vertToConst, produces a complete system of facet-defining inequalities from the list and lower and upper bounds for the coordinates of the points of the polygon. First, the facets are distinguished among the line segments connecting any two vertices, using the fact that the polygon lies entirely in one of the two closed half-planes bounded by their supporting lines and then a constraint is created for each facet.
def vertToConst(p):
A=[]
b=[]
for i in range(len(p)-1):
for j in range(i+1,len(p)):
big=True
small=True
coef=numpy.array([(p[i,1]-p[j,1]),
(p[j,0]-p[i,0])])
cst=numpy.inner(coef,p[j])
for point in p:
diff=numpy.inner(coef,point)-cst
if diff > 0:
small=False
elif diff <0:
big=False
if big :
A.append(coef)
b.append(cst)
if small :
A.append(-coef)
b.append(-cst)
A=numpy.array(A)
b=numpy.array(b)
x=[min(p[:,0]),max(p[:,0])]
y=[min(p[:,1]),max(p[:,1])]
return(A,b,x,y)
The second one, integerPoints, uses the constraints and by brute force finds the lattice points of the polygon.
def integerPoints(A,b,x,y):
intPoints=[]
for x0 in range(x[0],x[1]+1):
for y0 in range(y[0],y[1]+1):
point=numpy.array([x0,y0])
diff=numpy.dot(A,point)-b
inInterior=True
for coord in diff:
if coord<0:
inInterior=False
break
if inInterior:
intPoints.append(point)
intPoints=numpy.array(intPoints)
return(intPoints)
The third one, genBinom, orders the basis elements
[TABLE]
of the -vector space and finds a generating set for the ideal by collecting all vectorial relations of the form
[TABLE]
where . This is returned as a matrix containing the coefficients of the generating binomials w.r.t. the ordered basis .
def genBinom(intPoints):
basis=[]
for i in range(len(intPoints)):
for j in range(i,len(intPoints)):
bp=intPoints[i].tolist()+intPoints[j].tolist()
basis.append(bp)
basis=numpy.array(basis)
genBin=[]
for i in range(len(basis)):
for j in range(i+1,len(basis)):
if basis[i,0]+basis[i,2]==basis[j,0]+basis[j,2] and basis[i,1]+basis[i,3]==basis[j,1]+basis[j,3]:
row=numpy.zeros(len(basis),
dtype=numpy.int)
row[i]+=1
row[j]-=1
genBin.append(row)
genBin=numpy.transpose(numpy.array(genBin))
return(basis, genBin)
The fourth one, findIndepCol, performs a Gauss elimination on a matrix and finds a basis of its column space by collecting the non-zero columns of the row echelon form of it.
from scipy.linalg import lu
def findIndepCol(A):
U=lu(A,permute_l=True)[1]
indepCol=[]
for i in range(len(U)):
for j in range(len(U[i])):
if U[i,j]!=0:
indepCol.append(j)
break
return(indepCol)
Finally, the fifth subroutine, findBinom, uses the matrix given by genBinom and the list of -linearly independent columns found by findIndepCol to produce a set of -linearly independent generating binomials of the ideal .
def findBinom(basis,genBin,indepCol):
binom=[]
for i in indepCol:
j1=-1
j2=-1
for j in range(len(genBin)):
if genBin[j,i]==1:
j1=j
elif genBin[j,i]==-1:
j2=j
if j1!=-1 and j2!=-1:
break
binomial=”z_{{({},{})}}z_{{({},{})}}-z_{{({},{})}}z_{{({},{})}}”.format(basis[j1][0],basis[j1][1],basis[j1][2],basis[j1][3],basis[j2][0],basis[j2][1],basis[j2][2],basis[j2][3])
binom.append(binomial)
return(binom)
The complexity of the minGenSet is polynomial of the class , where is the number of vertices and an integer bounding absolutely the coordinates of the vertices.
3. Applications
Veronese surfaces. If (with as in 1.3 (ii)), then the algorithm produces the following minimal generating set of :
[TABLE]
Analogously, if (with ), then the quadrics
[TABLE]
generate minimally (cf. (1.2)).
Toric log del Pezzo surfaces. These are of the form where is the polar of an LDP-polygon dilated by its index . (An LDP-polygon is a convex polygon which contains the origin in its interior, and its vertices belong to and are primitive. The index of a polygon of this kind is defined to be
[TABLE]
Kasprzyk, Kreuzer & Nill [6, §6] developed an algorithm by means of which one creates an LDP-polygon, for given by fixing a “special” edge and following a prescribed successive addition of vertices, and produced in this way the long lists of all LDP-polygons for An explicit study for each of these LDP-polygons is available on the webpage [1].)
(i) Up to unimodular transformation the only reflexive hexagon (i.e., the only LDP-hexagon of index ) is
[TABLE]
having
[TABLE]
as its polar, and with minimally generated by the quadrics:
[TABLE]
(ii) For the LDP-triangle of index with vertex set
[TABLE]
we obtain
[TABLE]
and with minimally generated by the quadrics:
[TABLE]
(iii) For the LDP-pentagon of index with vertex set
[TABLE]
(which is unimodularly equivalent to the pentagon “” of [5]) we obtain
[TABLE]
and with minimally generated by a set of quadrics!
(iv) For the LDP-quadrilateral of index with vertex set
[TABLE]
we obtain and with minimally generated by a set of quadrics!
(v) Finally, the LDP-triangle of index with vertex set
[TABLE]
we obtain and with minimally generated by the following quadrics:
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Brown G. & Kasprzyk A.M. : The graded ring database homepage, online access via http://www.grdb.co.uk/ .
- 2[2] Castryck W. & Cools F.: A minimal set of generators for the canonical ideal of a non-degenerate curve , J. of the Australian Math. Soc. 98 (2015), 311-323.
- 3[3] by same author, canonical.m, Magma code accompanying the article [ 2 ] ; access via http://math.univ-lille 1.fr/~castryck/code/canonical.m .
- 4[4] Cox D.A., Little J.B. & Schenck H.K.: Toric Varieties , Graduate Studies in Mathematics, Vol. 124 , American Math. Soc., 2011.
- 5[5] Dais D.I. : Toric log del Pezzo surfaces with one singularity, https://arxiv.org/abs/1705.06359 , preprint, 2017.
- 6[6] Kasprzyk A.M., Kreuzer M. & Nill B.: On the combinatorial classification of toric log del Pezzo surfaces , LMS Journal of Computation and Mathematics 13 (2010), 33-46.
- 7[7] Koelman R.: A criterion for the ideal of a projectively embedded toric surface to be generated by quadrics , Beiträge zur Algebra und Geometrie 34 (1993), 57-62.
- 8[8] Sturmfels B.: Gröbner Bases and Convex Polytopes , University Lecture Series, Vol. 8 , American Math. Soc., 1996.
