| 1 |
This file contains information for the user about the new |
| 2 |
commutative Hilbert series procedures. Since series handling is |
| 3 |
in a transitory phase, all this is not yet very fixed, whence |
| 4 |
most of it is NOT contained in the manual. |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
Before using the procedures, do (LOAD hseries). |
| 9 |
|
| 10 |
|
| 11 |
There are two main uses for the Hilbert series facilities: Stand alone |
| 12 |
and within the Hilbert series interrupt strategy minor mode. In the |
| 13 |
former case, you may get the Hilbert series of the residue class |
| 14 |
ring modulo a calculated Groebner basis or some user input |
| 15 |
monomial ideal, as a rational expression p(t)/(1-t)^q, or with |
| 16 |
the power series coefficient for some specified t degree(s). In |
| 17 |
the latter, you should communicate a Hilbert series limitation to |
| 18 |
the programme; it will automatically invoke the appropriate Hilbert |
| 19 |
series calculations. |
| 20 |
|
| 21 |
In either case, you may wish to inspect resulting series in situ |
| 22 |
(especially as there are few prepared good user interface procedures |
| 23 |
for this). You then should note that the global variables |
| 24 |
HILBERTNUMERATOR and HILBERTDENOMINATOR represent a calculated |
| 25 |
p(t)/(1-t)^q = (a_nt^n + a_(n-1)t^(n-1) + ... + a_0)/(1-t)^q |
| 26 |
by (the lisp items) ((n . a_n) (n-1 . a_(n-1)) ... (0 . a_0)) and q, |
| 27 |
respectively. |
| 28 |
|
| 29 |
|
| 30 |
A principal use of Hilbert series calculation is with the Hilbert |
| 31 |
series interrupt strategy (which is based on ideas by Ralf Froeberg; |
| 32 |
<insert reference to him and possibly other independents>). You then |
| 33 |
should provide a Hilbert series limitation. The limitation should be |
| 34 |
a representation of a function f from the set N = {0,1,2,...} to the |
| 35 |
union of N and the set {NIL, T, SKIPCDEG} of lisp constants. The |
| 36 |
default limitation function has the constant value NIL for each |
| 37 |
input. You may change the function with the SETHSERIES... procedures, |
| 38 |
and you may inspect the current limitation function or part thereof |
| 39 |
with the GETHSERIES... procedures, as explained below. |
| 40 |
|
| 41 |
When bergman is in the Hilbert series interrupt strategy minor mode |
| 42 |
and is about to start considering a new current degree d within the |
| 43 |
GROEBNERKERNEL execution, it extracts the limitation function value |
| 44 |
f(d) and proceeds as follows: |
| 45 |
|
| 46 |
- If f(d) is NIL, then GROEBNERKERNEL follows "procedures as |
| 47 |
usual" for the current degree d (with no non-ordinary |
| 48 |
constraints on the calculations). |
| 49 |
|
| 50 |
- If f(d) is T, then GROEBNERKERNEL is exited without any further |
| 51 |
calculations. (Thus we get an effect similar to a MAXDEG |
| 52 |
setting, but probable with some unnecessary critical pair |
| 53 |
calculation performed on degree d or higher.) |
| 54 |
|
| 55 |
- If f(d) is SKIPCDEG, then the current degree d is "skipped": |
| 56 |
critical pairs and input polynomials of degree d are removed, |
| 57 |
as if they (or the corresponding S-polynomials) were found to |
| 58 |
reduce to zero. (A new test is made for the next occurring |
| 59 |
degree.) |
| 60 |
|
| 61 |
- If f(d) is a non-negative integer, then calculation at degree |
| 62 |
d continues only until either all input polynomials and |
| 63 |
critical pairs of degree d are processed, or the associated |
| 64 |
quotient ring Hilbert series value for d, i.e., the vector |
| 65 |
space dimension of the degree d component of the residue class |
| 66 |
ring of the current polynomial ring modulo the ideal generated |
| 67 |
by the leading monomials of all (partial) groebner basis |
| 68 |
elements found so far, no longer exceeds f(d); the the |
| 69 |
remaining input polynomials and critical pairs of degree d |
| 70 |
(if any) are skipped (like in the SKIPCDEG case). |
| 71 |
|
| 72 |
An f(d) value either may be specified explicitly, or be calculated |
| 73 |
by a default expression. The latter may be a constant (an integer |
| 74 |
or one of NIL, T, and SKIPCDEG) or is considered as the definition |
| 75 |
part of a lisp EXPR with the single argument HSDEG. An explicitly |
| 76 |
specified value takes precedence over a default one. E.g., the |
| 77 |
default expression |
| 78 |
|
| 79 |
(COND ((GREATERP HSDEG 10) T) |
| 80 |
((LESSP HSDEG 3) SKIPCDEG) |
| 81 |
(T (PLUS HSDEG 2))) |
| 82 |
|
| 83 |
will make f(0) = f(1) = f(2) = SKIPCDEG, f(3) = 5, ..., f(10) = 12, |
| 84 |
and f(d) = T for all other legitimate d values, except for those d |
| 85 |
for which explicit values are given. |
| 86 |
|
| 87 |
|
| 88 |
Available high level procedures: |
| 89 |
|
| 90 |
Nota bene: The Hilbert series limitations may be set or |
| 91 |
unset at any time; but they will affect the Groebner basis |
| 92 |
calculation only when the Hilbert series limitation strategy |
| 93 |
minor mode is chosen. See MINHILBSTRATEGY and |
| 94 |
SETINTERRUPTSTRATEGY. |
| 95 |
|
| 96 |
|
| 97 |
(CALCPOLRINGHSERIES varno) : EXPR |
| 98 |
Initialises HILBERTNUMERATOR and HILBERTDENOMINATOR values to |
| 99 |
those for the present polynomial rings. Right now, varno isn't |
| 100 |
used; instead, the numbers of variables is extracted by means |
| 101 |
of GETVARNO. |
| 102 |
|
| 103 |
(CALCRATHILBERTSERIES) : EXPR |
| 104 |
Uses the calculated (full or partial) Groebner basis in order to |
| 105 |
calculate the Hilbert series for the residue class ring modulo |
| 106 |
the ideal generated by the leading monomials of the basis elements. |
| 107 |
Errs if no (partial) Groebner basis is stored in GBasis. |
| 108 |
|
| 109 |
(CLEARHSERIESMINIMA) : EXPR |
| 110 |
Restore the default (NIL) setting of the Hilbert series |
| 111 |
limitation. |
| 112 |
|
| 113 |
(GBASIS2HSERIESMONID) : EXPR |
| 114 |
Creates a special kind of lisp form representation of the |
| 115 |
monomial ideal generated by the leading monomials of the |
| 116 |
calculated (full or partial) Groebner basis. The format is a |
| 117 |
(printable) list of flagged monomials (FMon's), as described in |
| 118 |
the introduction to the source file hseries.sl. |
| 119 |
|
| 120 |
(GETHSERIESMINIMA) : EXPR |
| 121 |
Extract the full information about the pre-stored Hilbert |
| 122 |
series limitation, in a printable format acceptable as input to |
| 123 |
SETHSERIESMINIMA. |
| 124 |
|
| 125 |
(GETHSERIESMINIMUM tdeg) : EXPR |
| 126 |
Extract the information about the pre-stored Hilbert series |
| 127 |
limitation for degree tdeg, as an integer or as one of the |
| 128 |
constants NIL, T, and SKIPCDEG. (tdeg must be a non-negative |
| 129 |
integer; else, rather weird errors may occur.) |
| 130 |
|
| 131 |
(SETHSERIESMINIMA ...) : FEXPR |
| 132 |
Specify the Hilbert series limitations, as a sequence of |
| 133 |
dotted pairs or as a list of limitation constants, in either |
| 134 |
case optionally accompanied by a DEFAULT setting. In the |
| 135 |
dotted pair variant, each dotted pair antecedent ("CAR part") |
| 136 |
should be a non-negative integer or the identifier DEFAULT; |
| 137 |
the postcedent ("CDR part") when the CAR is an integer d |
| 138 |
should be the limitation for d (i.e., a non-negative integer |
| 139 |
or one of the constants NIL, T, and SKIPCDEG), and when |
| 140 |
the CAR is DEFAULT it should be of the |
| 141 |
SETHSERIESMINIMUMDEFAULT input form. In the sequence case, |
| 142 |
the items are considered as CDR parts corresponding to |
| 143 |
CAR parts 0, 1, 2, ... (in thgis order); everything after |
| 144 |
DEFAULT is considered as the DEFAULT CDR part (whether or |
| 145 |
not it is on list form). In either case, the default value |
| 146 |
or procedure is changed only if a new DEFAULT is specified. |
| 147 |
|
| 148 |
Example: (SETHSERIESMINIMA T SKIPCDEG NIL 6 7 8 9 DEFAULT 8) |
| 149 |
and (SETHSERIESMINIMA (0 . T) (1 . SKIPCDEG) (2) (3 . 6) |
| 150 |
(4 . 7) (6 . 9) (DEFAULT . 8)) |
| 151 |
have the same effects. (Note that in lisp, (2) and (2 . NIL) |
| 152 |
are considered as identical.) |
| 153 |
|
| 154 |
|
| 155 |
(SETHSERIESMINIMUMDEFAULT ...) : FEXPR |
| 156 |
Specify the Hilbert series limitation default value or |
| 157 |
procedure. (Explicitly specified values for specified |
| 158 |
degrees are not changed.) |
| 159 |
|
| 160 |
|
| 161 |
(TDEGREEHSERIESOUT PositiveInteger): EXPR |
| 162 |
Returns the Hilbert function (i. e. Hilbert series coefficient) |
| 163 |
for PositiveInteger (provided adequate series calculation up to |
| 164 |
that degree is done previously). |
| 165 |
|
| 166 |
------------------------------------------------------------- |
| 167 |
To document in protocol.txt: HSeriesCommify, ... . |
| 168 |
|
| 169 |
Recently defined/employed only in the non-commutative mode: |
| 170 |
DEGREEPBSERIESDISPLAY, PBINIT, TDEGREECALCULATEPBSERIES; |
| 171 |
!*IMMEDIATERECDEFINE, !*PBSERIES. |
| 172 |
|
| 173 |
|