source: git/Tst/Short/normal.tst @ 9fd5f8

spielwiese
Last change on this file since 9fd5f8 was 24e847, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* Gerhar's changes to normal.lib git-svn-id: file:///usr/local/Singular/svn/trunk@2381 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.2 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];
20setring r1;
21KK; PP;
22kill r,r1;
23
24ring r=32003,(x,y,z),wp(2,3,6);
25ideal i=zy2-zx3-x6;
26list pr=normal(i);
27pr;
28def r1=pr[1];
29setring r1;
30KK; PP;
31kill r,r1;
32
33ring r=32003,(x,y,z),dp;
34ideal i=(x-y)*(x-z)*(y-z);
35
36list pr=normal(i);
37pr;
38def r1=pr[1];
39def r2=pr[2];
40setring r1;
41KK; PP;
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=normal(i);
55pr;
56def r1=pr[1];
57def r4=pr[4];
58setring r1;
59KK; PP;
60setring r4;
61KK; PP;
62
63kill r,r1;
64
65tst_status(1);$
66// This is the example Theo 3 which is still broken due to the broken
67// minor command
68ring r=32003,(x,y,z),wp(3,5,15);
69ideal i=z*(y3-x5)+x10;
70list pr=normal(i);
71pr;
72def r1=pr[1];
73setring r1;
74KK; PP;
75kill r, r1;
Note: See TracBrowser for help on using the repository browser.