source: git/Tst/Manual/normalC.tst @ 76ce4e6

fieker-DuValspielwiese
Last change on this file since 76ce4e6 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: 730 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 = normalC(i);
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;
15nor = normalC(i);  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;
22setring r;
23nor = normalC(i, "withGens", "prim");    // a different algorithm
24nor;
25tst_status(1);$
Note: See TracBrowser for help on using the repository browser.