| 1 |
280a281,283 |
| 2 |
> |
| 3 |
> |
| 4 |
> |
| 5 |
377a381 |
| 6 |
> (SETCHAINSTARTS ( BMI!- (ADD1(GETINVARNO)) NMODGEN) (GETINVARNO)) %VU |
| 7 |
402c406 |
| 8 |
< (PROG ( !*USERMODE) |
| 9 |
--- |
| 10 |
> (PROG ( TMP !*USERMODE) |
| 11 |
404,405c408,415 |
| 12 |
< ((NOT (EQ (GETOBJECTTYPE) 'FACTORALGEBRA)) |
| 13 |
< (SETFACTALGOBJECT) |
| 14 |
--- |
| 15 |
> % ((NOT (EQ (GETOBJECTTYPE) 'FACTORALGEBRA)) |
| 16 |
> % (SETFACTALGOBJECT) |
| 17 |
> % (TERPRI) |
| 18 |
> % (PRIN2 "*** We turn on the FACTORALGEBRA mode") |
| 19 |
> % (TERPRI) |
| 20 |
> % ) |
| 21 |
> ((NOT (EQ (GETOBJECTTYPE) 'MODULE)) |
| 22 |
> (SETMODULEOBJECT) |
| 23 |
407c417 |
| 24 |
< (PRIN2 "*** We turn on the FACTORALGEBRA mode") |
| 25 |
--- |
| 26 |
> (PRIN2 "*** We turn on the MODULE mode") |
| 27 |
424,425c434,457 |
| 28 |
< (COND ( (EQ LENG 0) (bnmScreenInput )) |
| 29 |
< |
| 30 |
--- |
| 31 |
> (COND ( (EQ LENG 0) |
| 32 |
> (SETQ bnmScInput T) |
| 33 |
> (PRIN2 "Input the Maximum Degree you want to calculate")(TERPRI) |
| 34 |
> (SETMAXDEG (READ)) |
| 35 |
> (PRIN2 "Now input all ring variables, a dummy variable (D),") |
| 36 |
> (TERPRI) |
| 37 |
> (PRIN2 "and copies of the ring variables (in this order), in this manner:") |
| 38 |
> (TERPRI) |
| 39 |
> (PRIN2 " vars x1, ..., xn, D, y1, ..., yn;") |
| 40 |
> (TERPRI) |
| 41 |
> (PRIN2 "(where x1,..., xn are the ring varables,") |
| 42 |
> (TERPRI) |
| 43 |
> (PRIN2 "and y1,...,yn their copies)") |
| 44 |
> (TERPRI) |
| 45 |
> (PRIN2 "Then input the ring ideal relations (in ordinary algebraic form);") |
| 46 |
> (TERPRI) |
| 47 |
> (PRIN2 "but the factor algebra relations in the form") |
| 48 |
> (TERPRI) (PRIN2 " D*r1, ..., D*rm,") (TERPRI) |
| 49 |
> (PRIN2 "where r1, ..., rm are the relations.") |
| 50 |
> (PRIN2 "Finally, input the dummy commutators") |
| 51 |
> (TERPRI) |
| 52 |
> (PRIN2 " y1*D-D*x1, ..., ym*D-D*ym;") |
| 53 |
> (TERPRI) |
| 54 |
> (ALGFORMINPUT) ) |
| 55 |
435a468,472 |
| 56 |
> |
| 57 |
> %added by VU |
| 58 |
> (SETQ TMP (ADD1 (BMI!/ (GETINVARNO)2))) |
| 59 |
> (SETCHAINSTARTS TMP TMP) |
| 60 |
> %end added VU |
| 61 |
464c501 |
| 62 |
< (PROG ( !*USERMODE) |
| 63 |
--- |
| 64 |
> (PROG ( !*USERMODE TMP1 TMP2) |
| 65 |
498c535,546 |
| 66 |
< |
| 67 |
--- |
| 68 |
> |
| 69 |
> %added by VU% |
| 70 |
> (SETQ TMP2 (BMI!- (GETINVARNO) NLMODGEN)) |
| 71 |
> (SETQ TMP1 (BMI!- TMP2 NRMODGEN)) %NALGEN |
| 72 |
> |
| 73 |
> (SETCHAINSTARTS (ADD1 TMP1) TMP2) |
| 74 |
> (SETCHAINENDS 1 TMP1) |
| 75 |
> (SETLMODNORMALMONSTARTS 1 TMP1) |
| 76 |
> (SETLMODNORMALMONENDS (ADD1 TMP2) (GETINVARNO)) |
| 77 |
> %end adding |
| 78 |
> |
| 79 |
> |