Debian Codegraph @

doc/bugs

raw
1 ------------------------------------------------------------------
2 07-08-14 JoeB: Binom doesn't check for positive characteristic,
3 which means errors when trying to (HOMOGENISEINPUT) in the
4 non-commmutative mode, like in RABBIT.
5 Actually, the characteristic modification in PolAlgRead is
6 rather ad hoc:
7 (COND ((AND Modulus (FIXP Modulus) (LESSP 0 Modulus))
8 (SETQ kk (REMAINDER kk Modulus))
9 (COND ((MINUSP kk)
10 (SETQ kk (PLUS2 kk Modulus))))))
11 which of course could be copied to Binom, but ought to be
12 replaced by uniform coefficient converter calls to
13 InCoeff2RedandCoeff, in all places. (In char 0 (and no SF), this
14 just replaces 0 with NIL.)
15 ------------------------------------------------------------------
16
17
18
19 ------------------------------------------------------------------
20 04-04-30 Kae,JoeB: The MODULEHSERIES from the test sequence now
21 gives an erroneous Hilbert series. (The error appeared between
22 versions 0.97 and 0.975.)
23 ------------------------------------------------------------------
24
25
26 ------------------------------------------------------------------
27 00-07-01 JoeB: First setting weights, then changing order doesn't
28 work. Probably similarly for setting variables before order.
29 Should it work? Else, we should warn!
30 ------------------------------------------------------------------
31
32
33
34 ------------------------------------------------------------------
35 99-07-02 SV, JoeB: Erroneous RETURN from PROGN in the anick
36 t_inout procedures anAssignSDPMode and anAssignTMstrings.
37 ------------------------------------------------------------------
38
39
40
41 ------------------------------------------------------------------
42 99-02-09 JoeB: Make mode changer alternatives for the pbseries
43 display procedure in pbseries; and check why turning it off by
44 redefinition in Roos's script for multi-input anick wasn't
45 successfull.
46 ------------------------------------------------------------------
47
48
49
50 ------------------------------------------------------------------
51 99-02-09 JoeB: primaux.sl doesn't compile nicely.
52 ------------------------------------------------------------------
53
54
55
56 ------------------------------------------------------------------
57 98-10-26 JoeB: Don't forget to fix an appropriate case conversion
58 update check in the make-bergman scripts!
59 ------------------------------------------------------------------
60
61
62
63 ------------------------------------------------------------------
64 98-10-23 SK: Some bugs related to case conversion were
65 found in mkbergman.
66
67 1. $src should be replaced by $bmsrc
68 2. In the "if" statement && should be replaced by ||
69 ------------------------------------------------------------------
70
71
72
73 ------------------------------------------------------------------
74 98-10-23 SK: After the loading of image file in version 0.926 the
75 message "bergman0.925.img" is displayed.
76 ------------------------------------------------------------------
77
78
79
80 ------------------------------------------------------------------
81 98-10-22: oldded is very badly used in NCPBHGROEBNER (topproc.sl).
82 ------------------------------------------------------------------
83
84
85
86 ------------------------------------------------------------------
87 98-10-21 JoeB: SETSETUP doesn't work well with
88 (STRATEGY (INTERRUPTION ORDINARY)).
89 ------------------------------------------------------------------
90
91
92
93 ------------------------------------------------------------------
94 98-02-05: $bmdomains/mkprimefile should be changed to $bmshells/mkprimefile
95
96 --- Done (JoeB) 1998-08-24 ---
97 ------------------------------------------------------------------
98
99
100
101 ------------------------------------------------------------------
102 97-10-24 JoeB: Staggering problems; e.g.:
103 pavidus[19]./bin/sun4/bergman
104 Bergman 0.922, 12-Oct-97
105 1 lisp> (stagsimple) vars x,y; x^2,x*y+y^2;
106 *** Function `STAGSIMPLE' has been redefined
107 *** Function `DEGREEENDDISPLAY' has been redefined
108 Now input in-variables and ideal generators in mapleform, thus:
109 vars v1, ..., vn;
110 r1, ..., rm;
111 where v1, ..., vn are the variables, and r1, ..., rm the generators.
112 SetupGlobals
113 ... done
114 % 2
115 x*y+y^2,
116 x^2,
117
118 *** Garbage collection starting
119 *** GC 1: 24-Oct-97 17:54:02 (~ 272 ms cpu time, gc : 18 %)
120 *** time 51 ms, 17438 occupied, 10929 recovered, 1682562 free
121 ***** Segmentation Violation in commMonTimes
122 Break loop
123 2 Bergman (with stag) break (1) > I
124 Backtrace, including interpreter functions, from top of stack:
125 INTERPBACKTRACE C!h!a!r0C!o!n!cP!o!lNM!o!nM!u!l!t
126 D!e!n!s!eC!o!n!t!e!n!tC!h!a!r0P!o!lL!i!nC!o!m!b R!e!d!u!c!eP!o!lS!t!e!p
127 R!e!d!u!c!eS!u!b!s!t!a!n!t!i!a!lP!o!l STAGGERKERNEL PROG STAGSIMPLE
128 STAGSIMPLE STANDARDLISP
129
130 --- Done (JoeB) 1998-08-24 ---
131 ------------------------------------------------------------------
132
133
134
135 ------------------------------------------------------------------
136 97-09-16 JoeB: Compiling yields the following warnings:
137 *** in C!h!e!c!kI!n!p!u!t: InRingFile declared fluid
138 C!h!e!c!kI!n!p!u!t
139 *** in C!h!e!c!kO!u!t!p!u!tGB: GbOutFile declared fluid
140 C!h!e!c!kO!u!t!p!u!tGB
141 *** in C!h!e!c!kO!u!t!p!u!tH!s: HsOutFile declared fluid
142 C!h!e!c!kO!u!t!p!u!tH!s
143 and
144 *** in ANICKDISPLAY: OldChan declared fluid
145 ANICKDISPLAY
146 ------------------------------------------------------------------
147
148
149
150 ------------------------------------------------------------------
151 97-08-27 JoeB: pbseries do not work with setweights. E. g.:
152 (setweights 2 1)
153 NIL
154 ...(simple) vars y,x; x*x-y, y^10;
155 Now input in-variables and ideal generators in algebraic form, thus:
156 vars v1, ..., vn;
157 r1, ..., rm;
158 where v1, ..., vn are the variables, and r1, ..., rm the generators.
159 +t^2*(z^2)
160 % 2
161 x*x-y,
162
163 *** Garbage collection starting
164 *** GC 5: 27-Aug-97 17:29:01 (~ 442 ms cpu time, gc : 34 %)
165 *** time 34 ms, 16898 occupied, 265 recovered, 1683102 free
166 +t^3*(z^2+z^3)
167 % 3
168 x*y-y*x,
169
170 *** Garbage collection starting
171 *** GC 6: 27-Aug-97 17:29:01 (~ 476 ms cpu time, gc : 39 %)
172 *** time 34 ms, 17012 occupied, 144 recovered, 1682988 free
173 +t^4*(z^3+z^4)
174 *** Garbage collection starting
175 *** GC 7: 27-Aug-97 17:29:01 (~ 493 ms cpu time, gc : 41 %)
176 *** time 17 ms, 17074 occupied, 144 recovered, 1682926 free
177 ***** Index `8' out of range for NIL in PNTH
178 Break loop
179 13 lisp break (1) > I
180 Backtrace, including interpreter functions, from top of stack:
181 INTERPBACKTRACE PNTH F!i!n!dN!e!wRMF!s2 F!i!n!dN!e!wRMF!s< F!i!n!dN!e!wRMF!s
182 F!i!xNG!b!e GROEBNERKERNEL PROG SIMPLE STANDARDLISP
183 NIL
184 ------------------------------------------------------------------
185
186
187 ------------------------------------------------------------------
188 97-08-17 A seemingly variable assignment depending bug in
189 bergman-under-Reduce:
190 Red/sun4/bergman
191
192 4: in "$bmsrc/redif.red";
193 COMMENT Reduce interface procedures. May be loaded from Reduce (with
194 normal Reduce syntax, no 'lisp-hook*'. Provides a rudimentary interface
195 for using bergman from Reduce.
196 All mode-changers - including setiovars - must be run symbolically.
197 Then bmgroebner may be called FROM ALGEBRAIC MODE, with a list of
198 polynomials as (single) argument. Each polynomial should be homogeneous,
199 and ONLY contain set bergman input variables. If all is well, bmgroebner
200 returns a reduced groebner basis (as a list of polynomials):
201 Right now, only integer or standard form coefficients are permitted;
202
203
204 SYMBOLIC;
205
206 .
207 .
208 .
209
210 !o!r!dbmgroebnerexpr
211
212
213
214
215
216 ON RAISE;
217
218
219 nil
220
221
222 ALGEBRAIC;
223
224
225
226 ;
227
228 END;
229
230 5: algebraic;
231
232 6: set := {(x+y)*(x-y),x*y};
233
234 2 2
235 set := {x - y ,x*y}
236
237 7: lisp (setinvars '(x y));
238
239 8: lisp getiovars();
240
241 ((x y))
242
243 9: bmgroebner(set);
244
245 {1,0,0}
246
247 It seems to work if setiovars is used. Perhaps a feature rather than
248 a bug.
249
250
251
252 Another bug:
253 pavidus[30]Red/sun4/bergman
254
255 4: noncommify(); setiovars '(x y);simple();
256
257 nil
258
259
260 nil
261
262 Now input in-variables and ideal generators in algebraic form, thus:
263 setinvars v1, ..., vn;
264 r1, ..., rm;
265 where v1, ..., vn are the variables, and r1, ..., rm the generators.
266 algebraic form (noncomm.) input> x^2-y^2,x*y;
267 ***** Segmentation Violation in algforminput
268
269
270 ^$$$2-y^2,x*y;
271
272 ***** Redundant operator
273
274 The same bug appears in commutative mode. Might be related to
275 the next bug:
276 ------------------------------------------------------------_____
277
278
279
280 -----------------------------------------------------------------
281 97-08-17 It appears a bug in examples without relations
282 a) in R-LISP syntax under Unix;
283 b) both in ordinary (lisp) and R-Lisp mode under Ms Dos.
284
285 This example was running under Unix:
286
287 43: simple();
288 Now input in-variables and ideal generators in algebraic form, thus:
289 setinvars v1, ..., vn;
290 r1, ..., rm;
291 where v1, ..., vn are the variables, and r1, ..., rm the generators.
292 algebraic form (comm.) input> setinvars x,y;
293 algebraic form (comm.) input> ;
294 ***** Segmentation Violation in listcopy
295
296 44: clearall();
297
298 nil
299
300 45: simple();
301 Now input in-variables and ideal generators in algebraic form, thus:
302 setinvars v1, ..., vn;
303 r1, ..., rm;
304 where v1, ..., vn are the variables, and r1, ..., rm the generators.
305 algebraic form (comm.) input> setinvars x,y;;
306 ***** Segmentation Violation in listcopy
307
308 46: lisp getiovars();
309
310 ((!x !y) !x !y)
311
312 ------------------------------------------------------------------_____
313
314
315
316 -----------------------------------------------------------------
317 96-12-05: Remove double surcing psl-names from shellenv files.
318
319 --- Done 1997-08-22 ---
320 -----------------------------------------------------------------
321
322
323 ---------------------------------------------------
324 1997-04-02: I may get erroneous print-out of (e.g.) the P-B series
325 of the associated monomial ring in other domain moods than char0,
326 since the print-out uses domain mode dependent procedures. (This
327 indeed happens in char2 mode.)
328 1997-04-04: PRELIMINARY FIXED, by re-defining appropriate
329 Char0Alg(First)TermPrint in inout.sl. However, these are not
330 declared exported; and should anyhow rather be renamed to or
331 replaced by general series handling printing auxiliaries.
332 ---------------------------------------------------
333
334
335 ---------------------------------------------------
336 1997-03-03: CfNegP not defined but used in adDP!_PRETTYPRINTSDP
337 (in ant_inout.sl).
338 ---------------------------------------------------
339
340
341 ---------------------------------------------------
342 1997-03-03: The large numbers in $bmauxil/primaux.sl seem not to
343 be legible under sun4 compilation.
344 Furthermore, the (LOAD "nbig30") therein should be replaced by
345 something else.
346 Besides, a variant NOT accepting bignums might be sensible, in
347 order to be able to create in situ tables without loading bignums.
348 ---------------------------------------------------
349
350
351 ---------------------------------------------------
352 1996-11-29: Warning *** in ANICKDISPLAY: OldChan declared fluid
353 during compilation.
354 ---------------------------------------------------
355
356
357 ---------------------------------------------------
358 1996-11-10: (OFF REDUCTIVITY) seems to give error in AmputeMons in
359 the non-commutative case.
360
361 1998-08-24: Seemingly, the reason is that we assume all interned
362 monomials to have lengths at least cDeg. PBSERIES on clearly is
363 in compatible with this; but even with PBSERIES off, the interned
364 MONONE (with PMon = (0)) causes a collaps already at the first
365 run of AmputeMons.
366 Suggested fix: Write a noncommAmputeMons, which only amputes
367 mons of exactly degree cDeg, skipping the preceeding degrees./JoeB
368 ---------------------------------------------------
369
370
371 ---------------------------------------------------
372 1996-08-29: Modify references to "MAPLE form" in the manual.
373 --- Done; but the tex files should be changed too. /JoeB 1997-08-22 ---
374 ---------------------------------------------------
375
376
377 ---------------------------------------------------
378 From [email protected] Thu Aug 29 11:42:53 1996
379
380 DEAR JOERGEN,
381 Here is bug report in trying setweights.
382 OUR comments starts from %
383
384 4: end;
385 Entering LISP ...
386 Bergman 0.9, 26-Aug-96
387
388 %attempt to use setweights
389
390 1 lisp> (SETWEIGHTS 1 2)
391 ***** Undefined function `copylist' called from compiled code
392 ------------------------------------------------------------------_
393
394
395 %attempt to redefine copylist and use setweights
396
397 2 lisp> (COPYD 'COPYLIST 'LISTCOPY)
398 copylist
399 3 lisp> (SETWEIGHTS 1 2)
400 nil
401
402 %attempt to use clearall to save the variables.
403
404 4 lisp> (simple)
405 Now input in-variables and ideal generators in algebraic form, thus:
406 setinvars v1, ..., vn;
407 r1, ..., rm;
408 where v1, ..., vn are the variables, and r1, ..., rm the generators.
409 algebraic form (comm.) input> setinvars x,y; x*y;
410 ***** Undefined function `!*' called from compiled code
411 5 lisp> (clearall)
412 nil
413 6 lisp> (SETWEIGHTS 1 2)
414 (1 2)
415
416 %now weights exists!
417
418 7 lisp> (simple)
419 Now input in-variables and ideal generators in algebraic form, thus:
420 setinvars v1, ..., vn;
421 r1, ..., rm;
422 where v1, ..., vn are the variables, and r1, ..., rm the generators.
423 algebraic form (comm.) input> setinvars x,y; x*y;
424 ***** Undefined function `!*' called from compiled code
425
426 % now try noncommutative version
427
428 8 lisp> (clearall)
429 nil
430 9 lisp> (noncommify)
431 nil
432 10 lisp> (SETWEIGHTS 1 2)
433 (1 2)
434 11 lisp> (simple)
435 Now input in-variables and ideal generators in algebraic form, thus:
436 setinvars v1, ..., vn;
437 r1, ..., rm;
438 where v1, ..., vn are the variables, and r1, ..., rm the generators.
439 algebraic form (noncomm.) input> setinvars x,y; x*y;
440 +t^2*(0)
441 +t^3*(z^2)
442 % 3
443 x*y,
444
445 Done
446 - All is OK (I hope). Now you may (e. g.):
447 - kill bergman with (QUIT); or
448 - interrupt bergman with ^Z; or
449 - clear the memory with (CLEARALL), and run a new (SIMPLE).
450 nil
451
452 %looks better, but ...
453
454 12 lisp> (clearall)
455 nil
456 13 lisp> (noncommify)
457 nil
458 14 lisp> (SETWEIGHTS 1 2)
459 (1 2)
460 15 lisp> (simple)
461 Now input in-variables and ideal generators in algebraic form, thus:
462 setinvars v1, ..., vn;
463 r1, ..., rm;
464 where v1, ..., vn are the variables, and r1, ..., rm the generators.
465 algebraic form (noncomm.) input> setinvars x,y; x*x-y;
466 ***** Segmentation Violation in noncommtotaldegree
467
468 % maybe problem in the pure variables in the relations?
469
470 16 lisp> (clearall)
471 nil
472 17 lisp> (noncommify)
473 nil
474 18 lisp> (SETWEIGHTS 1 2)
475 (1 2)
476 19 lisp> (simple)
477 Now input in-variables and ideal generators in algebraic form, thus:
478 setinvars v1, ..., vn;
479 r1, ..., rm;
480 where v1, ..., vn are the variables, and r1, ..., rm the generators.
481 algebraic form (noncomm.) input> setinvars x,y; x*x*x*x-y*y;
482 +t^2*(0)
483 +t^3*(z^2)
484 +t^4*(0)
485 % 4
486 -y*y+x*x*x*x,
487
488 +t^5*(z^2+z^3)
489 +t^6*(0)
490 % 6
491 -y*x*x*x*x+x*x*x*x*y,
492
493 +t^7*(z^3+z^4)
494 +t^8*(0)
495 Done
496 - All is OK (I hope). Now you may (e. g.):
497 - kill bergman with (QUIT); or
498 - interrupt bergman with ^Z; or
499 - clear the memory with (CLEARALL), and run a new (SIMPLE).
500 nil
501 20 lisp>
502
503 %Here GB is OK. But what about Poincare series?
504
505 %Another note. Do You know that Bergman does not likes empty list of relations?
506
507 Entering LISP ...
508 Bergman 0.9, 26-Aug-96
509 1 lisp> (simple)
510 Now input in-variables and ideal generators in algebraic form, thus:
511 setinvars v1, ..., vn;
512 r1, ..., rm;
513 where v1, ..., vn are the variables, and r1, ..., rm the generators.
514 algebraic form (comm.) input> setinvars x,y; ;
515 ***** Segmentation Violation in listcopy
516 2 lisp>
517
518
519 1998-08-24, JoeB: Most of the SETWEIGHTS troubles mentioned above
520 seem to be fixed now, except the incopatibility with series.
521 The empty list of relations bug remains, but ONLY in commutative
522 mode, and ONLY in bergman-under-reduce (!?).
523 -----------------------------------------------------------------
524
525
526 -----------------------------------------------------------------
527 96-07-13: Procedures used which are NOT documented in the Standard
528 Lisp document, nor defined in slext: LOAD.
529 -----------------------------------------------------------------
530
531
532 -----------------------------------------------------------------
533 96-06-24: EMDIM and inner embdim handling is bad and inconsistent.
534 Probably the best solution is to remove the user available variable
535 -----------------------------------------------------------------
536
537
538
539 -----------------------------------------------------------------
540 96-06-20: The treatment of the monomial 1 is bad commutatively
541 and catastrophal in the non-commutative case. Already
542 noncommMONINTERN assumes its argument not to represent 1.
543 In any case, SETINVARS sets a global variable InPMonOne to a
544 list of (# input variables) 0's. This gives a correct lispform
545 representation of 1 IN THE COMMUTATIVE CASE.
546 Perhaps I should intern an augmon representation of 1 in
547 some initialiser? But, it might be monreclaimed!?
548
549 98-08-24, JoeB: The confusion seems larger now. There is InPMonOne;
550 MONONE (in the non-commutative case); MonOne (in the s.a.w.s. case).
551 Unify!
552 -----------------------------------------------------------------
553
554
555 -----------------------------------------------------------------
556 96-06-17: The new standard forms coefficients mode seems not to
557 be made fully compatible with SETMODULUS mode changing. Actually,
558 I haven't decided on the appropriate way to handle modularity
559 together with Reduce coefficients. Thus SETMODULUS and
560 SETREDUCESFCOEFFS cancel the effects of each others.
561 -----------------------------------------------------------------
562
563
564 -----------------------------------------------------------------
565 94-11-21: I have done modularising too smart (?): I get complaints
566 about the application of exponent taking on a PB series coefficient
567 (running with modlogarithms and modulus 7):
568 -----------------------------------------------------------------
569 *** Function `DEGREEENDDISPLAY' has been redefined
570 SetupGlobals
571 ... done
572
573 % No. of Spolynomials calculated until degree 2: 0
574 % No. of ReducePol(0) demanded until degree 2: 0
575 % Time: 2669
576 *** Garbage collection starting
577 *** GC 3: 21-Nov-94 14:06:37 (~ 2720 ms cpu time, gc : 3 %)
578 *** time 51 ms, 36572 occupied, 501909 recovered, 9963428 free
579 ***** Subscript `17' in GetV is out of range
580 Break loop
581 6 lisp break (1) > I
582 Backtrace, including interpreter functions, from top of stack:
583 INTERPBACKTRACE R!e!d!o!rC!o!e!f!f2O!u!tC!o!e!f!f C!h!a!r0A!l!gR!e!d!o!rT!e!r!mP!r!i!n!t
584 ALGOUTLIST DEGREEPBSERIESDISPLAY TDEGREECALCULATEPBSERIES1
585 TDEGREECALCULATEPBSERIES PROGN DEGREEENDDISPLAY GROEBNERKERNEL PROG
586 NCPBHGROEBNER STANDARDLISP
587 -----------------------------------------------------------------