spielwiese
Last change
on this file since 228e0b was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
455 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "dmodapp.lib"; |
---|
3 | ring r = 0,(x,y,z),dp; |
---|
4 | poly f = x^2*z - y^3; |
---|
5 | def A = annPoly(f); |
---|
6 | setring A; // A is the 3rd Weyl algebra in 6 variables |
---|
7 | LD; // the Groebner basis of annihilator |
---|
8 | gkdim(LD); // must be 3 = 6/2, since A/LD is holonomic module |
---|
9 | NF(Dy^4, LD); // must be 0 since Dy^4 clearly annihilates f |
---|
10 | poly f = imap(r,f); |
---|
11 | NF(LD*f,std(ideal(Dx,Dy,Dz))); // must be zero if LD indeed annihilates f |
---|
12 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.