source: git/Tst/Manual/normal.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 693 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "normal.lib";
3printlevel = printlevel+1;
4ring s = 0,(x,y),dp;
5ideal i = (x2-y3)*(x2+y2)*x;
6list nor = normal(i, "withDelta", "prim");
7nor;
8// 2 branches have delta = 1, and 1 branch has delta = 0
9// the total delta invariant is 13
10def R2 = nor[1][2];  setring R2;
11norid; normap;
12printlevel = printlevel-1;
13ring r = 2,(x,y,z),dp;
14ideal i = z3-xy4;
15list nor = normal(i, "withDelta", "prim");  nor;
16// the delta invariant is infinite
17// xy2z/z2 and xy3/z2 generate the integral closure of r/i as r/i-module
18// in its quotient field Quot(r/i)
19// the normalization as affine algebra over the ground field:
20def R = nor[1][1]; setring R;
21norid; normap;
22tst_status(1);$
Note: See TracBrowser for help on using the repository browser.