source: git/Tst/Long/groebner_l.tst @ 2272157

fieker-DuValspielwiese
Last change on this file since 2272157 was 181baaf, checked in by Hans Schönemann <hannes@…>, 19 years ago
*hannes: more groebner examples git-svn-id: file:///usr/local/Singular/svn/trunk@8668 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.1 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4option(prot);
5//------------------------------------------------------------
6
7ring R=(0,w),(x1,y1,z1,x2,y2,z2,x3,y3,z3,l,d,xs,ys,zs,x,y,z), Dp;
8minpoly=w^2-3;
9poly s1=x1^2+y1^2+(2-z1)^2-9;
10poly s2=(-w-x2)^2+y2^2+(-1-z2)^2-9;
11poly s3=(w-x3)^2+y3^2+(-1-z3)^2-9;
12poly s4=(x-x1)*x+(y-y1)*y+(z-z1)*z;
13poly s5=(x-x2)*x+(y-y2)*y+(z-z2)*z;
14poly s6=(x-x3)*x+(y-y3)*y+(z-z3)*z;
15poly s7=(x1-x2)^2+(y1-y2)^2+(z1-z2)^2-12;
16poly s8=(x3-x2)^2+(y3-y2)^2+(z3-z2)^2-12;
17poly s9=(x1-x3)^2+(y1-y3)^2+(z1-z3)^2-12;
18poly s10=(x1+x2+x3)-3*x;
19poly s11=(y1+y2+y3)-3*y;
20poly s12=(z1+z2+z3)-3*z;
21poly s13=x^2-xs^2;
22poly s14=y^2-ys^2;
23poly s15=z^2-zs^2;
24poly s16=x^2+y^2+z^2-l^2;
25poly s17=y^2+z^2-d^2;
26poly s18=x-x1;
27poly s19=-3*d*ys-zs*6-3*d*y1;
28poly s20=-3*d*zs+ys*6-3*d*z1;
29poly s21=-2*l*xs+d*2*w+2*l*x2;
30poly s22=-6*ys*xs*w-6*d*l*ys+6*zs*l-6*d*l*y2;
31poly s23=-6*zs*xs*w-6*zs*d*l-6*ys*l-6*d*l*z2;
32poly s24=2*w*d+2*xs*l-2*l*x3;
33poly s25=6*w*ys*xs-6*ys*d*l+6*zs*l-6*d*l*y3;
34poly s26=6*w*zs*xs-6*zs*d*l-6*ys*l-6*d*l*z3;
35ideal I=s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18,s19,s20,s21,s22,s23,s24,s25,s26;
36ideal J=groebner(I);
37J;
38kill R;
39
40tst_status(1);$
Note: See TracBrowser for help on using the repository browser.