gb(M, Hilbert => hf)If the input module is homogeneous (and its ring passes the checks in canUseHilbertHint), and one knows the Hilbert function of the module, then one can provide this information to the engine to prevent unnecessary S-pair reductions.
For example, if one considers a list of $m$ random forms in $n$ variables with $m \leq n$, one expects the ideal to define a complete intersection, so we can provide this Hilbert function to the engine. One provides the numerator of the Hilbert series of the module (or in the case of an ideal, of the corresponding quotient module) as provided by poincare. In the example below, we use a monomial complete intersection to easily provide this information.
|
|
|
|
|
|
However, obtaining the Hilbert function is not always easy to provide in this way. In this case, one must work with the degreesRing of the ring in question.
|
|
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/gb-doc.m2:371:0.