source: git/Tst/Old/gm.tst @ 2433c5

fieker-DuValspielwiese
Last change on this file since 2433c5 was 46976a6, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* added status check to regress.cmd * added tst_status(1); call to each tst file, just before quit git-svn-id: file:///usr/local/Singular/svn/trunk@2271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 5.2 KB
Line 
1//Testserie fuer std im Mora-Fall
2"              Testbeispiele Mora ";
3//timer=1;
4//test(0);
5" ";
6" ============= standard d - ==========================";
7"elem 19, dim 0, mult 312 ";
8";Sing 1.93 (test 3 4 15):4s, (test 3 10 15):6s; Quadra (test4 15): 1 sec";
9ring r1 = 32003,(z,y,x),ds;
10r1;
11poly s1=1x3y2+21328x5y+10667x2y4+21328x2yz3+10666xy6+10667y9;
12poly s2=1x2y2z2+3z8;
13poly s3=5x4y2+4xy5+2x2y2z3+1y7+11x10;
14ideal i=s1,s2,s3;
15ideal j=std(i);
16"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
17                                                + string(size(j));
18j;
19kill r1;
20" ============= (19,19,4) d - ==========================";
21"elem 28, dim 0, mult1040
22//Sing1/93, (10,15):60s, Quadra (10,15): 22s";
23ring r2 = 32003,(x,y,z),ds;
24r2;
25int a=19; int b=19; int c=4; int t=1;
26"a b c t = ",a,b,c,t;
27poly f=x^a+y^b+z^(3*c)+x^(c+2)*y^(c-1)+x^(c-1)*y^(c-1)*z3+x^(c-2)*y^c*(y2+t*x)^2;
28f;
29ideal i=diff(f,x),diff(f,y),diff(f,z);
30ideal j=std(i);
31"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
32                                                        + string(size(j));
33j;
34kill a,b,c,t,r2;
35" =========== (a,b,c,d,e,t) min=(9,9,15,5,6) d - =================";
36"elem 17, dim 0, mult 154 ?
37//Sing1/93, (test 10,15):60s, Quadra (test 10,15): 22s";
38ring r3 = 32003,(x,y,z),ds;
39r3;
40int a=9; int b=9; int c=13; int d=5; int e=5; int t=1;
41"a b c d e t = ",a,b,c,d,e,t;
42poly
43f=x^a+y^b+z^c+x^d*y^(e-5)+x^(d-2)*y^(e-3)+x^(d-3)*y^(e-4)*z^2+x^(d-4)*y^(e-4)*(y^2+t*x)^2;
44f;
45ideal i=diff(f,x),diff(f,y),diff(f,z);
46ideal j=std(i);
47"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
48                                                        + string(size(j));
49j;
50kill a,b,c,e,d,t,r3;
51" ============= cyclic_roots_5(isol) + ==========================";
52"deg 131, dim 0, elem 30, Ende im Grad 12
53//Macaulay 20 sec (SE/30), Quadra (4 10 15):5 sec";
54//Sing1/93:19 sec (test 4 12) (SE/30), 12sec (PowerBook)
55ring r4 = 32003,(a,b,c,d,e),ds;
56r4;
57int n=10;
58poly s1=a+b+c+d+e;
59poly s2=de+1cd+1bc+1ae+1ab;
60poly s3=cde+1bcd+1ade+1abe+1abc;
61poly s4=bcde+1acde+1abde+1abce+1abcd;
62poly s5=abcde;
63ideal i=s1,s2,s3,s4,s5,a^n,b^n,c^n,d^n,e^n;
64i;
65ideal j=std(i);
66"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
67                                                        + string(size(j));
68j;
69kill r4,n;
70" ============= cyclic_roots_6(homog) d- ==========================";
71"deg 120, dim 1, elem 38, Ende im Grad 14
72//Macaulay 17 sec (SE/30), 13 sec (PowerBook)
73//Sing1/93 10sec (test 4 12) SE/30, 7sec (PowerBook)";
74ring r5 = 32003,(a,b,c,d,e,f),ds;
75r5;
76poly s1=a+b+c+d+e;
77poly s2=de+1cd+1bc+1ae+1ab;
78poly s3=cde+1bcd+1ade+1abe+1abc;
79poly s4=bcde+1acde+1abde+1abce+1abcd;
80poly s5=f^5+1abcde;
81ideal i=s1,s2,s3,s4,s5;
82ideal j=std(i);
83"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
84                                                        + string(size(j));
85j;
86kill r5;
87" ============= standardzyx(homog) l1 d3- ==========================";
88"deg 720, dim 1, elem 109, Ende im Grad 53
89//Macaulay 11;48 min (SE/30)
90//Sing1/93c: 9;58min (test 4 12) (SE/30)";
91ring r7 = 32003,(t,z,y,x),(ls(1),ds(3));
92r7;
93poly s1=1x3y2t4+21328x5yt3+10667x2y4t3+21328x2yz3t3+10666xy6t2+10667y9;
94poly s2=1x2y2z2t2+3z8;
95poly s3=5x4y2t4+4xy5t4+2x2y2z3t3+1y7t3+11x10;
96ideal i=s1,s2,s3;
97i;
98ideal j=std(i);
99"dim: "+ string(dim(j)) +",  mult: "+ string(mult(j)) +",  elem: "
100                                                        + string(size(j));
101j;
102kill r7;
103"=================  NF w:1 1 1  -  ==================";
104//elem 5, dim 1, mult 4, Quadra (4 10 15):2 sec
105//Sing1;93, (10,15):0s,##elem2##, (3,10,15):16s (Powerbook)
106ring r10=32003,(x,y,z),(ws(1,1,1));
107poly s1=x2-y2;
108poly s2=y3;
109poly s3=y2-zyx;
110poly s4=xy2z;
111ideal i=s1,s3,s4;
112ideal j=std(i);
113//size(j);
114degree (j);
115reduce(s2,j);
116kill r10;
117"====================  parametric curves l -   ==================";
118//Zeit: (l,test 0) H7 0/59, W 26/53
119ring a1=32003,(x,y,z,t),ls;
120ideal i=
121x31-x6-x-y,
122x8-z,
123x10-t;
124ideal j=std (i);
125//size(j);
126degree (j);
127j;
128kill a1;
129"====================  standard char0  =============================";
130//      H7 l, char 0, test0,11,1: 61/31 ohne vollst; Reduktion
131ring r=
1320,(x,y),ls;
133poly f=x5+y11+xy9+x3y9;
134ideal i=jacob(f);
135ideal j=std( i);
136j;
137degree (j);
138//size(j);
139kill r;
140"=============== integer-programming2  l1 d8 - =================";
141//elem 26, dim 6, mult 4191
142//Sing 1;93 (4 15):2s, (3 4 15):2s (SE/30)
143ring a3=32003,(t,a,b,c,d,e,x,y,z),(ls(1),ds(8));
144ideal i=
145-y82a+x32z23,
146x45-y13z21b,
147y33z12-z41c,
148-y33z12d+x22,
149x5y17z22e,
150xyzt;
151i;
152ideal j=std (i);
153j;
154degree (j);
155//size(j);
156kill a3;
157"================ entartet d- =================";
158ring r=32003,(x,y,z),ds;
159int s=1;
160int t=1;
161int u=1;
162poly f=(xyz+s*xy+t*yz+u*xz)*(x+y+z)^2 +x12+y12+z12;
163ideal i=jacob(f);
164ideal j=std(i);
165degree(j);
166j;
167kill r;
168"====================  omega2 d -   ==================";
169ring M=32003,(x,y,z),ds;
170int o=167;
171int m=167;
172poly f1=xy+z^(o-1);
173poly f2=xz+y^(m-1)+yz2;
174poly fx=diff(f1,x);
175poly fy=diff(f1,y);
176poly fz=diff(f1,z);
177poly gx=diff(f2,x);
178poly gy=diff(f2,y);
179poly gz=diff(f2,z);
180module i=
181[f1,0,0],
182[0,f1,0],
183[0,0,f1],
184[f2,0,0],
185[0,f2,0],
186[0,0,f2],
187[fy,fz,0],
188[fx,0,-fz],
189[0,fx,fy],
190[gy,gz,0],
191[gx,0,-gz],
192[0,gx,gy];
193module j=std (i);
194j;
195//size(j)
196"dimension of omega 2 =";
197degree(j);
198LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.