source: git/Tst/Short/bug_tr634.tst @ 3fec5d0

fieker-DuValspielwiese
Last change on this file since 3fec5d0 was 3a823d, checked in by Hans Schoenemann <hannes@…>, 9 years ago
fixes by pfister: tr #634, tr #682
  • Property mode set to 100644
File size: 669 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// raducal in alga.extensions
5LIB "primdec.lib";
6ring R=(0,a),(x,y,z),dp;
7minpoly=a2+a+1;
8
9poly L=x;
10poly u1=1;
11poly u2=1;
12poly v1=y;
13poly v2=z;
14poly g1a=(a+2)/(-3)*(u1*v1*a-u2*v2);
15poly g2a=(a+2)/(-3)*(u1*v1-u2*v2);
16poly g1=L*g1a;
17poly g2=L*g2a;
18poly v3=g1a+(a+1)*g2a;
19poly f1=(u1*u2*L^3+v1*v2*v3)/2;
20poly f2=(-u1*u2*L^3+v1*v2*v3)/2;
21
22poly F=g1^3-f1^2;
23ideal I=jacob(F);
24I=std(I);
25hilb(I);
26
27ideal I1=radical(I,"KL");
28I1=std(I1);
29hilb(I1);
30
31ideal I2=radical(I);
32I2=std(I2);
33hilb(I2);
34
35ideal I3=radicalEHV(I);
36I3=std(I3);
37hilb(I3);
38
39// the Hilbert functions of the radicals must coincide:
40hilb(I1,1);
41hilb(I2,1);
42hilb(I3,1);
43
44tst_status(1);$
Note: See TracBrowser for help on using the repository browser.