ToricIdealBasis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Groebner

  

ToricIdealBasis

  

compute Groebner bases of toric ideals

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

ToricIdealBasis(A, v, T, opts)

Parameters

A

-

integer Matrix defining a toric ideal

v

-

list of variables

T

-

a MonomialOrder or ShortMonomialOrder

opts

-

optional arguments of the form keyword=value

Description

• 

The ToricIdealBasis command computes a reduced Groebner basis of the toric ideal defined by the integer matrix A with respect to the monomial order T.  Let a[i] denote the i-th column of A. Then ToricIdealBasis(A, v, T) computes the reduced Groebner basis with respect to T of the elimination ideal <v[1] - x^(a[1]), ..., v[n] - x^(a[n])> intersected with K[v].

• 

The first argument A must be a Matrix with integer entries.  Otherwise an error is returned.

• 

The optional argument method=hs or du specifies the algorithm to be used by ToricIdealBasis. 'hs' denotes the algorithm of Hosten and Sturmfels (GRIN), while 'du' denotes the algorithm by Di Biase and Urbanke. The default algorithm is 'hs'.

• 

The optional argument grading=table([v[1]=w[1], ..., v[n]=w[n]]) is used to specify a system of weights for the variables v. The Hosten and Sturmfels algorithm assumes that the toric ideal is homogeneous with respect to a grading that has a positive weight on each variable. An obvious weight system is given by a row of A containing all positive entries. The 'hs' algorithm will detect and use this weight system automatically, however you can also specify your own weights using this option. The weights w[i] must all be positive integers.

Examples

Primitive partition identities by Groebner basis of Lawrence lifting:

withGroebner&colon;

AMatrix6&comma;8&comma;1&comma;1&comma;1&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1&comma;2&comma;3&comma;4&comma;0&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;0&comma;1&comma;0&comma;0&comma;0&comma;1

A111100001234000010001000010001000010001000010001

(1)

zsseqzi&comma;i=1..8

zsz1&comma;z2&comma;z3&comma;z4&comma;z5&comma;z6&comma;z7&comma;z8

(2)

grdtableseqzsi=1&comma;i=1..8

grdtablez3=1&comma;z2=1&comma;z1=1&comma;z8=1&comma;z7=1&comma;z6=1&comma;z4=1&comma;z5=1

(3)

ToricIdealBasisA&comma;zs&comma;plexopzs&comma;method=hs&comma;grading=grd

z2z4z72z32z6z8&comma;z1z4z6z7z3z5z8z2&comma;z1z42z73z33z5z82&comma;z1z3z62z22z5z7&comma;z12z4z63z23z52z8

(4)

To demonstrate, we recompute this basis using F4 and the Groebner walk.

sysseqzsimulxjAj,i&comma;j=1..6&comma;i=1..8

sysx1x2x3+z1&comma;x1x22x4+z2&comma;x1x23x5+z3&comma;x1x24x6+z4&comma;z5x3&comma;z6x4&comma;z7x5&comma;z8x6

(5)

Xseqxj&comma;j=1..6

Xx1&comma;x2&comma;x3&comma;x4&comma;x5&comma;x6

(6)

Gremovehas&comma;Basissys&comma;lexdegX&comma;zs&comma;method=direct&comma;X

Gz2z4z72z32z6z8&comma;z1z4z6z7z3z5z8z2&comma;z1z3z62z22z5z7&comma;z1z42z73z33z5z82&comma;z12z4z63z23z52z8

(7)

WalkG&comma;tdegopzs&comma;plexopzs

z2z4z72z32z6z8&comma;z1z4z6z7z3z5z8z2&comma;z1z42z73z33z5z82&comma;z1z3z62z22z5z7&comma;z12z4z63z23z52z8

(8)

Example 12.7 in Sturmfels' Groebner Bases and Convex Polytopes:

BMatrix4&comma;8&comma;1&comma;2&comma;3&comma;4&comma;0&comma;1&comma;4&comma;5&comma;2&comma;3&comma;4&comma;1&comma;1&comma;4&comma;5&comma;0&comma;3&comma;4&comma;1&comma;2&comma;4&comma;5&comma;0&comma;1&comma;4&comma;1&comma;2&comma;3&comma;5&comma;0&comma;1&comma;4

B12340145234114503412450141235014

(9)

ToricIdealBasisB&comma;zs&comma;plexopzs

z44z6z83&comma;z34z5z73&comma;z2z82z43&comma;z2z4z6z8&comma;z22z8z6z42&comma;z23z62z4&comma;z1z72z33&comma;z1z3z5z7&comma;z12z7z32z5&comma;z13z3z52

(10)

References

  

Di Biase, Fausto, and Urbanke, Rudiger. "An Algorithm to Calculate the Kernel of Certain Polynomial Ring Homomorphisms." Experimental Mathematics, (1995): 227-234.

  

Hosten, Serkan, and Shapiro, Jay. "Primary Decomposition of Lattice Basis Ideals." Journal of Symbolic Computation, (May 2000): 625-639.

  

Sturmfels, B. "Groebner Bases and Convex Polytopes." University Lecture Series, No. 8. Providence, Rhode Island: American Mathematical Society, 1996.

See Also

algcurves[implicitize]

Basis

IntegerRelations[LLL]

LinearAlgebra[HermiteForm]

Walk