source: git/Tst/Manual/annPoly.tst @ 228e0b

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 
1LIB "tst.lib"; tst_init();
2LIB "dmodapp.lib";
3ring r = 0,(x,y,z),dp;
4poly f = x^2*z - y^3;
5def A = annPoly(f);
6setring A;    // A is the 3rd Weyl algebra in 6 variables
7LD;           // the Groebner basis of annihilator
8gkdim(LD);    // must be 3 = 6/2, since A/LD is holonomic module
9NF(Dy^4, LD); // must be 0 since Dy^4 clearly annihilates f
10poly f = imap(r,f);
11NF(LD*f,std(ideal(Dx,Dy,Dz))); // must be zero if LD indeed annihilates f
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.