source: git/Tst/Old/weight2.tst @ 46976a6

spielwiese
Last change on this file since 46976a6 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: 7.0 KB
Line 
1ring h2=32003,(t,x,y,z),dp;
2ideal i=
32t3x5y2z+x2t5y+2x2y,
42y3z2x+3z2t6x2y+9y2t3z,
52t5z+y3x2t+z2t3y2x5;
6intvec e=weight(i);
7e;
8//ring r=32003,(a,b,c,d),wp(e[1],e[2],e[3],e[4]);
9//map f=h2,a,b,c,d;
10//ideal k=f(i);
11//ideal k0=std(k);
12//"//size "+string(size(k0))+
13//", dim "+string(dim(k0))+", mult "+string(mult(k0))+
14//", lastdeg "+string(ord(k0[size(k0)]));
15//kill r;
16kill h2,e;
17ring s6=32003,(x,y,z),dp;
18int a =6;
19int b =8;
20int c =10;
21int alpha =5;
22int beta= 5;
23int t= 0;
24poly f =x^a+y^b+z^c+x^alpha*y^(beta-5)+x^(alpha-2)*y^(beta-3);
25f=f+x^(alpha-3)*y^(beta-4)*z^2+x^(alpha-4)*y^(beta-4)*(y^2+t*x)^2;
26ideal i= jacob(f);
27i=i,f;
28intvec e=weight(i);
29e;
30//ring r=32003,(u,v,w),wp(e[1],e[2],e[3]);
31//map f=s6,u,v,w;
32//ideal k=f(i);
33//ideal k0=std(k);
34//"//size "+string(size(k0))+
35//", dim "+string(dim(k0))+", mult "+string(mult(k0))+
36//", lastdeg "+string(ord(k0[size(k0)]));
37//kill r;
38kill s6,e,a,b,c,alpha,beta,t;
39
40ring s12=32003,(x,y,z,w),dp;
41ideal i0=x2-z10-z20,xy3-z10-z30,y6-xy3w40;
42ideal i=interred(i0^3);
43intvec e=weight(i);
44e;
45//ring r=32003,(u,v,a,b),wp(e[1],e[2],e[3],e[4]);
46//map f=s12,u,v,a,b;
47//ideal k=f(i);
48//ideal k0=std(k);
49//"//size "+string(size(k0))+
50//", dim "+string(dim(k0))+", mult "+string(mult(k0))+
51//", lastdeg "+string(ord(k0[size(k0)]));
52//kill r;
53kill s12,e;
54
55ring pa= 32003,(k,h,g,f,e,d,c,b,a),dp;
56ideal i0= af2-f5,bg2-f4g,c3-f3gh,k-fgh3,df-fh4,ef-h5;
57ideal i=i0^2;
58intvec E=weight(i);
59E;
60//ring r=32003,(u,v,w,x,y,z,l,m,n),
61//wp(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]);
62//map g=pa,u,v,w,x,y,z,l,m,n;
63//ideal k0=g(i);
64//ideal j=std(k0);
65//"//size "+string(size(j))+
66//", dim "+string(dim(j))+", mult "+string(mult(j))+
67//", lastdeg "+string(ord(j[size(j)]));
68//kill r;
69kill pa,E;
70
71ring r5=32003,(a,b,c,d,e),dp;
72ideal i =
73   47b6+94b3c2-71b3e2+91ab3-22b4+47c4+71b3d-67b3e-71c2e2-2e4+91b3+91ac2-22bc2
74+71c2d-67c2e-21ae2-80be2+4de2+82e3+53a2-23ab-47b2+91c2+21ad+80bd-2d2+55ae+18be
75-82de-26e2+106a-23b+21d+55e+53,
76   -98b6-196b3c2+4b3e2-54ab3-81b4-98c4-4b3d-87b3e+4c2e2-51e4-54b3-54ac2-81bc2
77-4c2d-87c2e+22be2+102de2+92e3-28a2-53ab+70b2-54c2-22bd-51d2+86ae+27be-92de+73e2
78-56a-53b+86e-28,
79   49b6+98b3c2-49b3e2-54ab3+90b4+49c4+49b3d+57b3e-49c2e2-21e4-54b3-54ac2+90bc2
80+49c2d+57c2e+18ae2-67be2+42de2-23e3+26a2-50ab+28b2-54c2-18ad+67bd-21d2-74ae+2be
81+23de+58e2+52a-50b-18d-74e+26,
82   34b6+68b3c2-74b3e2-30ab3-56b4+34c4+74b3d+21b3e-74c2e2+9e4-30b3-30ac2-56bc2
83+74c2d+21c2e-77ae2+66be2-18de2-26e3-69a2+38ab+26b2-30c2+77ad-66bd+9d2+50ae+29be
84+26de-121e2-138a+38b+77d+50e-69,
85   -29b6-58b3c2+68b3e2+28ab3+89b4-29c4-68b3d-52b3e+68c2e2+13e4+28b3+28ac2+89bc2
86-68c2d-52c2e-17ae2+87be2-26de2+32e3-100a2-41ab-75b2+28c2+17ad-87bd+13d2+79ae-
8787be-32de+33e2-200a-41b+17d+79e-100;
88intvec E=weight(i);
89E;
90//ring r=32003,(u,v,w,x,y),wp(e[1],e[2],e[3],e[4],e[5]);
91//map g=r5,u,v,w,x,y;
92//ideal k0=g(i);
93//ideal j=std(k0);
94//"//size "+string(size(j))+
95//", dim "+string(dim(j))+", mult "+string(mult(j))+
96//", lastdeg "+string(ord(j[size(j)]));
97//kill r;
98kill r5,E;
99
100ring p1=32003,(t,x,y,z,a,b,c,d,e),dp;
101ideal i =
102-y82a+x32z23,
103x45-y13z21b,
104y33z12-z41c,
105-y33z12d+z22,
106x5y17z22e-1,
107xyzt-1;
108intvec ew=weight(i);
109ew;
110//ring r=32003,(s,u,v,w,h,l,m,n,o),
111//wp(ew[1],ew[2],ew[3],ew[4],ew[5],ew[6],ew[7],ew[8],ew[9]);
112//map g=p1,s,u,v,w,h,l,m,n,o;
113//ideal k0=g(i);
114//ideal j=std(k0);
115//size(j);
116//ord(j[size(j)]);
117//kill r;
118kill p1,ew;
119
120test(9);
121option(weightM);
122ring vc= 32003,(x,y,z,t),ds;
123degBound=1;
124ideal i=
12549y5-9y4+41x2z+12y3+33y2+11y+73t,
12633y4+21x2y+17x2z+63y3+11xy+77y2+91y+1t,
12726y2+44xz+12y+9t;
128ideal k=i^2;
129ideal j = std(k);
130//"//size "+string(size(j))+
131//", dim "+string(dim(j))+", mult "+string(mult(j))+
132//", lastdeg "+string(ord(j[size(j)]));
133degBound=0;
134kill vc;
135
136int N=3;
137ring ra3=32003,x(1..N),ds; 
138ideal i0=
139  -7*x(1)^6-49*x(1)^5*x(2)+16*x(1)^4*x(2)^2+27*x(1)^3*x(2)^3-
14038*x(1)^2*x(2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x(2)^2*x(3)-27*x(1)^2*x(2)^3*x(3)+28*x(1)*x(2)^4*x(3)+71*x(2)^5*x(3)+
15677*x(1)^4*x(3)^2-71*x(1)^3*x(2)*x(3)^2-63*x(1)^2*x(2)^2*x(3)^2-
15722*x(1)*x(2)^3*x(3)^2+17*x(2)^4*x(3)^2+58*x(1)^3*x(3)^3+31*x(1)^2*x(2)*x(3)^3+
15819*x(1)*x(2)^2*x(3)^3-36*x(2)^3*x(3)^3-15*x(1)^2*x(3)^4-9*x(1)*x(2)*x(3)^4+
15942*x(2)^2*x(3)^4-61*x(1)*x(3)^5-67*x(2)*x(3)^5+31*x(3)^6;
160ring r=32003,(a,b,c),ds;
161map ff=ra3,a+b2,b2-c3,c;
162ideal i=ff(i0);
163ideal j=std(i);
164//"//size "+string(size(j))+
165//", dim "+string(dim(j))+", mult "+string(mult(j))+
166//", lastdeg "+string(ord(j[size(j)]));
167kill ra3,r,N;
168
169ring r1=32003,(t,x,y,z),ds;
170ideal i=
1715t3x2z+2t2y3x5,
1727y+4x2y+y2x+2zt,
1733tz+3yz2+2yz4;
174ideal j=std(i);
175//"//size "+string(size(j))+
176//", dim "+string(dim(j))+", mult "+string(mult(j))+
177//", lastdeg "+string(ord(j[size(j)]));
178kill r1;
179 
180ring r2=32003,(x,y,z),ds;
181poly p1 = 1x3y2+21328x5y+10667x2y4+21328x2yz3+10666xy6+10667y9;
182poly p2 = 1x2y2z2+3z8;
183poly p3 = 5x4y2+4xy5+2x2y2z3+1y7+11x10;
184ideal i=p1,p2,p3;
185ideal j=std(i);
186//"//size "+string(size(j))+
187//", dim "+string(dim(j))+", mult "+string(mult(j))+
188//", lastdeg "+string(ord(j[size(j)]));
189kill r2;
190
191ring r12=32003,(x,y,z,w),ds;
192ideal i=x2-z10-z20,xy3-z10-z30,y6-xy3w40;
193ideal j=std(i);
194//"//size "+string(size(j))+
195//", dim "+string(dim(j))+", mult "+string(mult(j))+
196//", lastdeg "+string(ord(j[size(j)]));
197kill r12;
198
199ring r17=32003,(x,y,z),ds;
200ideal i=
2011x3+1y4+2xz3+1z5+32000x4y2+2z6+3z7,
2021xz3+32001x4y2+1z6+2z7,
2039x3z2+18x2z5+31998z7+12x4y2z2+42x2z6+40x3y2z4+7z9+24x3y2z5,
20431999y3z3+31991x6y+32x3y5+32001x4yz3,
20512xy3z2+6x5yz2+24y3z5+20x4yz4+56y3z6+12x4yz5;
206ideal j=std(i);
207//"//size "+string(size(j))+
208//", dim "+string(dim(j))+", mult "+string(mult(j))+
209//", lastdeg "+string(ord(j[size(j)]));
210kill r17;
211
212ring r18=32003,(t,x,y,z),ds;
213ideal i=
2144t2z+6z3t+3z3+tz,
2155t2z7y3x+5x2z4t3y+3t7,
2166zt2y+2x8+6z2y2t+2y5;
217ideal j=std(i);
218//"//size "+string(size(j))+
219//", dim "+string(dim(j))+", mult "+string(mult(j))+
220//", lastdeg "+string(ord(j[size(j)]));
221kill r18;
222 
223ring r5=32003,(x,y,z),ds;
224int a=7;
225poly f =xyz*(x+y+z)^2 +(x+y+z)^3 +x^a+y^a+z^a;
226ideal i= jacob(f);
227test(-9);
228ideal j=std(i);
229//"//size "+string(size(j))+
230//", dim "+string(dim(j))+", mult "+string(mult(j))+
231//", lastdeg "+string(ord(j[size(j)]));
232kill r5;
233LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.