Macaulay2 » Documentation
Packages » ComprehensiveGBs » comprehensiveGB
next | previous | forward | backward | up | index | toc

comprehensiveGB -- compute a comprehensive Gröbner basis

Description

Implementation of the Algorithm proposed by Suzuki and Sato. Given a tower polynomial ring $R = k[U][X]$ for $U$ a set of parameters and $X$ a set of variables, and $F\subset R$ an ideal of variables and parameters, comprehensiveGB takes $F$ as input and returns a comprehensive Gröbner basis of $\langle F\rangle$ over the whole parameter space. The function computes a comprehensive Gröbner system with comprehensiveGBMain and returns the union of its Gröbner bases, together with a basis of the elimination ideal $\langle F\rangle\cap k[U]$. As above, the ring must be initialised as a tower ring, as in the following example.

i1 : R1 = QQ[a,b][x,y]

o1 = R1

o1 : PolynomialRing

Here $X = \{x,y\}$ and $U = \{a,b\}$. If we wanted to find a comprehensive Gröbner basis over $\QQ^2$ for $F = \langle ax+by\rangle$, we input the following.

i2 : F1 = {a*x+b*y}

o2 = {a*x + b*y}

o2 : List
i3 : comprehensiveGB F1

                  2
o3 = {a*x + b*y, a x + a*b*y}

o3 : List

The function comprehensiveGB has several options: ReduceStrata, Verbose, and Depth. The symbol ReduceStrata is an option to ignore computations on strata which have already been considered. This value is set to false by default. For smaller examples, changing this to true can reduce computation times, as for the following example. It will also give more easily parseable results.

i4 : R2 = QQ[a,b][x,y,z];
i5 : F2 = {x^2-a, y^3-b, x+y-z};
i6 : comprehensiveGB(F2, ReduceStrata => true)

                  2           2         2   2 3   1      2      1    4  
o6 = {x + y - z, y  - 2y*z + z  - a, y*z  - -z  + -a*y + -a*z - -b, z  -
                                            3     3      3      3
     ------------------------------------------------------------------------
                  2                   2
     8a*y*z + 2a*z  + 3b*y - 4b*z - 3a }

o6 : List

Setting Verbose to true will print whatever $F$ and $S$ that the algorithm is currently working on, as in the following example.

i7 : comprehensiveGB(F1, Verbose => true)
Computing CGB for F = {a*x+b*y} and S = {}
Computing CGB for F = {a*x+b*y} and S = {a}
Computing CGB for F = {a*x+b*y} and S = {b, a}

                  2
o7 = {a*x + b*y, a x + a*b*y}

o7 : List

The option Depth sets a bound on the recursion depth of the algorithm. With a non-negative value, the output may only be a comprehensive Gröbner basis on part of the parameter space, as in the following example.

i8 : comprehensiveGB(F1, Depth => 0)

o8 = {a*x + b*y}

o8 : List

See also

Ways to use comprehensiveGB:

  • comprehensiveGB(List)

For the programmer

The object comprehensiveGB is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/ComprehensiveGBs.m2:1080:0.