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

ComprehensiveGBs -- computing comprehensive Gröbner bases (CGBs)

Description

This package provides the implementations of two different algorithms for computing a comprehensive Gröbner system and a comprehensive Gröbner basis of a parametric ideal. In the following we refer to Section 2 of [1].

Let $k$ be a field, let $R$ be the polynomial ring $k[U]$ in the parameters $U=\{u_1,\ldots,u_m\}$, and let $R[X]$ be the polynomial ring over $R$ in the variables $X=\{x_1,\ldots,x_n\}$, with $X\cap U=\emptyset$. Denote by $L$ the algebraic closure of $k$. Given $a \in L^m$, the specialization homomorphism of $R$ induced by $a$ is the homomorphism $\sigma_a:R\rightarrow L$ defined by $\sigma_a(f)=f(a)$. The homomorphism $\sigma_a$ extends canonically to a homomorphism $\sigma_a:R[X]\rightarrow L[X]$ by applying $\sigma_a$ coefficient-wise. For $E\subseteq R=k[U]$, the variety defined by $E$ in $L^m$, denoted by $V(E)$, is $V(E)=\{a\in L^m :\sigma_a(f)=0 \text{ for all } f \in E \}.$

Let $F$ be a subset of $R[X]$, let $E_1,N_1,\ldots, E_t,N_t$ be subsets of $R=k[U]$, let $G_1,\ldots,G_t$ be subsets of $R[X]$, and let $S$ be a subset of $L^m$ such that $S\subseteq (V(E_1)\setminus V(N_1)) \cup \ldots \cup (V(E_t)\setminus V(N_t))$. A finite set $\mathcal{G} = \{(E_1,N_1,G_1),\ldots,(E_t,N_t,G_t)\}$ is called a comprehensive Gröbner system on $S$ for $F$ if for all $i=1,\ldots,t$ and for all $a \in V(E_i) \setminus V(N_i)$, $\sigma_a(G_i)$ is a Gröbner basis of the ideal $(\sigma_a(F))\subseteq L[X]$. Each $(E_i,N_i,G_i)$ is called a branch of $\mathcal{G}$. In particular, if $S=L^m$, then $\mathcal{G}$ is called a comprehensive Gröbner system for $F$.

Given a basis $S$ of the elimination ideal $(F)\cap k[U]$, a comprehensive Gröbner basis $\mathcal{B}$ for $F\subseteq R[X]$ is the union of all the sets $G_i$ in a comprehensive Gröbner system $\mathcal{G}$ for $F$ on $S$. Notice that $(\sigma_a(F))=(1)$ for any $a \in L^m \setminus V(S)$. Therefore, the set $\mathcal{G} \cup \{(\emptyset,S,S)\}$ is a comprehensive Gröbner system for $F$.

The function comprehensiveGBMain is the implementation of Algorithm CGBMain of [2]. The function parametricGBMain corresponds to the Algorithm PGBMain of [1].

As an illustrative example, consider the following system. Let $f = y+ux+v$ and $g = uy+x+v$ be polynomials in $\QQ[u,v][y,x]$, where $u$ and $v$ are parameters. For generic values of $u$ and $v$, the specialized system has a unique solution, but for some values of $u$ and $v$ it has no solutions or infinitely many solutions. A Gröbner basis computed over the fraction field $\QQ(u,v)$ only sees the generic case, whereas a comprehensive Gröbner system detects every case.

i1 : R = QQ[u,v][y,x, MonomialOrder => Lex];
i2 : F = {y + u*x + v, u*y + x + v};
i3 : netList parametricGBMain F

     +----------+-----------------+----------------------------------+
     |          |  2              |                2                 |
o3 = |{0}       |{u  - 1}         |{y + u*x + v, (u  - 1)x + u*v - v}|
     +----------+-----------------+----------------------------------+
     |{u - 1}   |{1}              |{y + x + v}                       |
     +----------+-----------------+----------------------------------+
     |          |           2     |                                  |
     |{u + 1}   |{u*v - v, u  - 1}|{1}                               |
     +----------+-----------------+----------------------------------+
     |{v, u + 1}|{u - 1}          |{y - x}                           |
     +----------+-----------------+----------------------------------+

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.

Akira Suzuki and Yosuke Sato. 2006. A simple algorithm to compute comprehensive Gröbner bases using Gröbner bases. In Proceedings of the 2006 International Symposium on Symbolic and Algebraic Computation (ISSAC '06), 326–331.

Menu

Authors

Version

This documentation describes version 1.0 of ComprehensiveGBs, released .

Citation

If you have used this package in your research, please cite it as follows:

@misc{ComprehensiveGBsSource,
  author = {Agustina Cagliero and Oliver Clarke and Woody Cohen and Lorenzo De Biase and Angelo El Saliby and Giulia Gaggero and Sam Knight and Weijia Wang},
  title = {{ComprehensiveGBs: computing comprehensive Gröbner bases (CGBs). Version~1.0}},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/Workshop-2026-Warwick/tree/CGBs}}
}

Exports

  • Functions and commands
  • Methods
    • comprehensiveGB(List) -- see comprehensiveGB -- compute a comprehensive Gröbner basis
    • comprehensiveGBMain(List) -- see comprehensiveGBMain -- compute a comprehensive Gröbner system
    • comprehensiveGBMain(List,List) -- see comprehensiveGBMain -- compute a comprehensive Gröbner system
    • comprehensiveGBOnGraph(List,ZZ) -- see comprehensiveGBOnGraph -- parametrized systems from a graph
    • minimalDicksonBasis(List) -- see minimalDicksonBasis -- compute a minimal Dickson basis
    • parametricGBMain(List) -- see parametricGBMain -- compute a comprehensive Gröbner system using Kapur-Sun-Wang algorithm
    • parametricGBMain(List,List) -- see parametricGBMain -- compute a comprehensive Gröbner system using Kapur-Sun-Wang algorithm
    • parametricGBMain(List,List,List) -- see parametricGBMain -- compute a comprehensive Gröbner system using Kapur-Sun-Wang algorithm
  • Symbols
    • CheckAssumption -- check the assumption on S in comprehensiveGBMain
    • Depth -- bound on the recursion depth of comprehensiveGBMain, comprehensiveGB and parametricGBMain
    • ICheckLoops -- number of squarings in the consistency checks of parametricGBMain
    • ReduceStrata -- ignore computations on strata which have already been considered

For the programmer

The object ComprehensiveGBs is a package, defined in ComprehensiveGBs.m2.


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