source: git/Tst/Short/normal.tst @ 564136

spielwiese
Last change on this file since 564136 was 71a293d, checked in by Hans Schönemann <hannes@…>, 15 years ago
*hannes: new libs git-svn-id: file:///usr/local/Singular/svn/trunk@11681 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.3 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB"normal.lib";
5
6ring r=31991,(a,b,c,d,e),dp;
7ideal i=
85abcde-a5-b5-c5-d5-e5,
9ab3c+bc3d+a3be+cd3e+ade3,
10a2bc2+b2cd2+a2d2e+ab2e2+c2de2,
11abc5-b4c2d-2a2b2cde+ac3d2e-a4de2+bcd2e3+abe5,
12ab2c4-b5cd-a2b3de+2abc2d2e+ad4e2-a2bce3-cde5,
13a3b2cd-bc2d4+ab2c3e-b5de-d6e+3abcd2e2-a2be4-de6,
14a4b2c-abc2d3-ab5e-b3c2de-ad5e+2a2bcde2+cd2e4,
15b6c+bc6+a2b4e-3ab2c2de+c4d2e-a3cde2-abd3e2+bce5;
16
17list pr=normal(i);
18pr;
19def r1=pr[1][1];
20setring r1;
21norid; normap;
22kill r,r1;
23
24ring r=32003,(x,y,z),wp(2,3,6);
25ideal i=zy2-zx3-x6;
26list pr=normalC(i);
27pr;
28def r1=pr[1][1];
29setring r1;
30norid; normap;
31kill r,r1;
32
33ring r=32003,(x,y,z),dp;
34ideal i=(x-y)*(x-z)*(y-z);
35
36list pr=normalC(i);
37pr;
38def r1=pr[1][1];
39def r2=pr[1][2];
40setring r1;
41norid; normap;
42kill r,r1;
43
44ring r=32003,(b,s,t,u,v,w,x,y,z),dp;
45
46ideal k=
47wy-vz,
48vx-uy,
49tv-sw,
50su-bv,
51tuy-bvz;
52ideal j=x2y2+x2z2+y2z2;
53ideal i=mstd(intersect(j,k))[2];
54list pr=normalC(i);
55pr;
56def r1=pr[1][1];
57def r4=pr[1][4];
58setring r1;
59norid; normap;
60setring r4;
61norid; normap;
62
63kill r,r1;
64
65
66example deltaLoc;
67example genus;
68
69tst_status(1);$
70
71
72// This is the example Theo 3 which is still broken due to the broken
73// minor command
74ring r=32003,(x,y,z),wp(3,5,15);
75ideal i=z*(y3-x5)+x10;
76list pr=normalC(i);
77pr;
78def r1=pr[1][1];
79setring r1;
80norid; normap;
81kill r, r1;
Note: See TracBrowser for help on using the repository browser.