source: git/Tst/Plural/doc-dim.tst @ c23373

fieker-DuValspielwiese
Last change on this file since c23373 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 419 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=0,(x,y,Dx,Dy),dp;
4matrix M[4][4]; M[1,3]=1;M[2,4]=1;
5def R = nc_algebra(1,M); // 2nd Weyl algebra
6setring R;
7dim(std(0)); // the GK dimension of the ring itself
8ideal I=x*Dy^2-2*y*Dy^2+2*Dy, Dx^3+3*Dy^2;
9dim(std(I)); // the GK dimension of the module R/I
10module T = (x*Dx -2)*gen(1), Dx^3*gen(1), (y*Dy +3)*gen(2);
11dim(std(T)); // the GK dimension of the module  R^2/T
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.