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

parametricGBMain -- compute a comprehensive Gröbner system using Kapur-Sun-Wang algorithm

Description

Implementation of Algorithm PGBMain of [1]. Given a polynomial ring $R = k[U][X]$, where $U$ is a set of parameters and $X$ a set of variables, and a list $F$ of polynomials in $R$, parametricGBMain returns a minimal comprehensive Gröbner system for $F$ on the whole parameter space. The strata $V(E_i)\setminus V(N_i)$ are disjoint and nonempty, and the leading coefficients of the polynomials in $G_i$ do not vanish on them.

i1 : U = QQ[a,b,c];
i2 : R = U[x,y];
i3 : F = {a*x - b, b*y - a, c*x^2 - y, c*y^2 - x};
i4 : netList parametricGBMain F

     +-------------------------------------------------+-------------------------------------------------+----------------------+
     |                                                 |    2         2       3     3   3     3   6    6 |                      |
o4 = |{0}                                              |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{1}                   |
     +-------------------------------------------------+-------------------------------------------------+----------------------+
     |    2         2       3     3   3     3   6    6 |                                                 |                      |
     |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{b}                                              |{b*x - a*c*y, b*y - a}|
     +-------------------------------------------------+-------------------------------------------------+----------------------+
     |                                                 |                                                 |    2         2       |
     |{b, a}                                           |{c}                                              |{c*x  - y, c*y  - x}  |
     +-------------------------------------------------+-------------------------------------------------+----------------------+
     |{c, b, a}                                        |{1}                                              |{x, y}                |
     +-------------------------------------------------+-------------------------------------------------+----------------------+

To compute a comprehensive Gröbner system on $V(E)\setminus V(N)$ instead, where $E$ and $N$ are lists of polynomials in $k[U]$, call parametricGBMain on the triple $\{E, N, F\}$.

i5 : netList parametricGBMain ({a, b}, {c}, F)

     +------+---+--------------------+
     |      |   |    2         2     |
o5 = |{b, a}|{c}|{c*x  - y, c*y  - x}|
     +------+---+--------------------+

The option Depth sets a bound on the recursion depth of the algorithm. See also comprehensiveGBMain. In each recursive call of the function, the algorithm considers a stratum on for which one of the leading coefficients $h_i$ of the minimal Dickson basis vanishes. When the function is about to recurse, the implementation checks the value of Depth: if it is zero then the function stops and returns the current system, otherwise it decrements Depth and recurses. So with Depth => 0, the only the branches found by the first call are returned. The default Depth is -1, which never reaches zero, so the full comprehensive Gröbner system is computed.

i6 : for i from 0 to 2 do print(i, netList parametricGBMain(F, Depth => i))
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |                                                 |    2         2       3     3   3     3   6    6 |                      |
(0, |{0}                                              |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{1}                   |)
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |    2         2       3     3   3     3   6    6 |                                                 |                      |
    |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{b}                                              |{b*x - a*c*y, b*y - a}|
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |                                                 |    2         2       3     3   3     3   6    6 |                      |
(1, |{0}                                              |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{1}                   |)
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |    2         2       3     3   3     3   6    6 |                                                 |                      |
    |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{b}                                              |{b*x - a*c*y, b*y - a}|
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |                                                 |                                                 |    2         2       |
    |{b, a}                                           |{c}                                              |{c*x  - y, c*y  - x}  |
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |                                                 |    2         2       3     3   3     3   6    6 |                      |
(2, |{0}                                              |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{1}                   |)
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |    2         2       3     3   3     3   6    6 |                                                 |                      |
    |{b*c  - b, a*c  - a, b c - a , a c - b , a  - b }|{b}                                              |{b*x - a*c*y, b*y - a}|
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |                                                 |                                                 |    2         2       |
    |{b, a}                                           |{c}                                              |{c*x  - y, c*y  - x}  |
    +-------------------------------------------------+-------------------------------------------------+----------------------+
    |{c, b, a}                                        |{1}                                              |{x, y}                |
    +-------------------------------------------------+-------------------------------------------------+----------------------+

Note. If Depth is not negative, then the output is a comprehensive Gröbner system on only part of the parameter space.

The algorithm discards the strata $V(E)\setminus V(N)$ that are empty, using the consistency checks of Section 5 of [1]. One of them decides whether $f \in \sqrt{\langle E\rangle}$ for $f \in N$, using the heuristic called ICheck in Algorithm 3 of [1], hence the name of the option. If ICheckLoops is a nonnegative integer $k$, then iCheck computes the normal forms of $f^{2^i}$ modulo $E$ for $i \le k$, and the algorithm falls back on the Rabinowitsch trick only if none of them is zero. The default value infinity uses the Rabinowitsch trick directly.

i7 : parametricGBMain(F, ICheckLoops => 2) === parametricGBMain F

o7 = true

References

Deepak Kapur, Yao Sun, and Dingkang Wang. 2013. An efficient algorithm for computing a comprehensive Gröbner system of a parametric polynomial system. In Journal of Symbolic Computation, 49, 27-44.

See also

Menu

Ways to use parametricGBMain:

  • parametricGBMain(List)
  • parametricGBMain(List,List)
  • parametricGBMain(List,List,List)

For the programmer

The object parametricGBMain 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:1161:0.