source: git/Tst/Long/sres_l.tst @ 0bc5ed4

spielwiese
Last change on this file since 0bc5ed4 was 7496bd, checked in by Hans Schönemann <hannes@…>, 15 years ago
*hannes: test bit git-svn-id: file:///usr/local/Singular/svn/trunk@11861 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 3.0 KB
Line 
1LIB "tst.lib";
2tst_init();
3//option(prot);
4"========= Alex4";
5ring h4=32003,(t,x,y,z,w),(dp,c);
6ideal j=
74t4z3y+6z4x3t5+5x5z7,
85t6z3y3x+5x2z4t3y7+4x5t5y,
96z7t5y+6z3y2t4+2t8z6;
10ideal i=homog(j,w);
11timer=1;
12i=std(i);
13list I=sres(i,0);
14betti(I);
15kill h4;
16
17"======== standard";
18ring rh2=32003,(w,x,y,z),(dp,c);
19poly p1 = 1x3y2+21328x5y+10667x2y4+21328x2yz3+10666xy6+10667y9;
20poly p2 = 1x2y2z2+3z8;
21poly p3 = 5x4y2+4xy5+2x2y2z3+1y7+11x10;
22ideal j= p1,p2,p3;
23ideal i=homog(j,w);
24timer=1;
25i=std(i);
26list I=sres(i,0);
27betti(I);
28kill rh2;
29
30"== f(11,10,3,1)";
31ring rh3=32003,(w,x,y,z),(dp,c);
32int a =11;
33int b =10;
34int c =3;
35int t =1;
36poly 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;
37ideal j= jacob(f);
38ideal i=homog(j,w);
39timer=1;
40i=std(i);
41list I=sres(i,0);
42betti(I);
43kill b,c,t,a,rh3;
44
45"======== h(6)";
46ring rh4=32003,(w,x,y,z),(dp,c);
47int a=6;
48poly f =xyz*(x+y+z)^2 +(x+y+z)^3 +x^a+y^a+z^a;
49ideal j= jacob(f);
50ideal i=homog(j,w);
51timer=1;
52i=std(i);
53list I=sres(i,0);
54betti(I);
55kill a,rh4;
56
57"======== h(7)";
58ring rh5=32003,(w,x,y,z),(dp,c);
59int a =7;
60poly f=xyz*(x+y+z)^2 +(x+y+z)^3 +x^a+y^a+z^a;
61ideal j= jacob(f);
62ideal i=homog(j,w);
63timer=1;
64i=std(i);
65list I=sres(i,0);
66betti(I);
67kill a,rh5;
68
69"======== g(6,8,10,5,5;0)";
70ring rh7=32003,(w,x,y,z),(dp,c);
71int a= 6;
72int b= 8;
73int c =10;
74int alpha=5;
75int beta= 5;
76int t=0;
77poly f =x^a+y^b+z^c+x^alpha*y^(beta-5)+x^(alpha-2)*y^(beta-3)+x^(alpha-3)*y^(beta-4)*z^2+x^(alpha-4)*y^(beta-4)*(y^2+t*x)^2;
78ideal j =jacob(f);
79ideal i=homog(j,w);
80timer=1;
81i=std(i);
82list I=sres(i,0);
83betti(I);
84kill a, b, c, alpha ,beta, t, rh7;
85
86"======== (max5)^2";
87ring so2=32003,(h,w,x,y,z,t),(dp,c);
88ideal in =wx2y2z2t2+w,w2xy2z2t2+x,w2x2yz2t2+y,w2x2y2zt2+z,w2x2y2z2t+t;
89ideal i = homog(in,h)^2;
90timer=1;
91i=std(i);
92list I=sres(i,0);
93betti(I);
94kill so2;
95
96"==randomSyz1";
97ring ra=32003,(a,b,c,d,e,f),(dp,c);
98ideal i=
996739a3+1039a2b-7486ab2+3718b3-11069a2c+6473abc-5891b2c-12382ac2+1623bc2
100+4363c3-5151a2d+15452abd+13118b2d-7061acd+4295bcd+204c2d-12178ad2+7928bd2+14cd2
101+5562d3-6285a2e-10789abe+1785b2e+687ace+11524bce+12733c2e+8483ade-11294bde-3594cde
102+12201d2e-7682ae2+3312be2-268ce2-13575de2+5144e3,
1034250a3-5177a2b+13404ab2+426b3+11302a2c-15885abc+12078b2c-1036ac2-1799bc2
104-7475c3-9907a2d-6162abd+10416b2d+2042acd+15283bcd+11998c2d+575ad2+719bd2-7042cd2
105+4028d3+8193a2e-9701abe-3251b2e+12458ace-10367bce+3348c2e+10191ade+13321bde
106+13623cde-5183d2e+9584ae2-10484be2-6235ce2-15629de2+2327e3,
1076550a3+4965a2b+12096ab2-12270b3-14859a2c+2541abc-8313b2c-13376ac2-2239bc2
108+2634c3-1804a2d-9400abd-15441b2d+4784acd+7087bcd-10294c2d+8698ad2-6351bd2-387cd2
109-11534d3-13666a2e+14767abe+5618b2e+8275ace+675bce+11539c2e-3124ade-14915bde
110+15670cde-7223d2e-1840ae2-14459be2+895ce2-12702de2+2068e3,
11115942a3+4739a2b-5019ab2-6691b3+600a2c-1561abc+14937b2c-14659ac2-8392bc2
112+12410c3+3327a2d-14426abd+7985b2d-10298acd-2630bcd-4528c2d-12983ad2+8567bd2
113-14036cd2+10885d3-7763a2e-3366abe-3579b2e+2908ace-5392bce-336c2e+10534ade-11990bde
114+12114cde-4105d2e+14357ae2-3578be2-5592ce2+13057de2+10409e3;
115timer=1;
116i=std(i);
117list I=sres(i,0);
118betti(I);
119kill ra;
120tst_status(1);$
Note: See TracBrowser for help on using the repository browser.