source: git/Tst/Short/bug_tr159.tst @ 564136

spielwiese
Last change on this file since 564136 was 6884f3, checked in by Hans Schoenemann <hannes@…>, 14 years ago
format git-svn-id: file:///usr/local/Singular/svn/trunk@13500 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.3 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4// NF was not 0 as expected - not enough searching in kFind...InS
5intmat m1[8][8] =
6 2, 2, 2, 4, 1, 1, 3, 3,
7 0, 0, 0,-1, 0, 0, 0, 0,
8 0, 0, 0, 0,-1, 0, 0, 0,
9-1, 0, 0, 0, 0, 0, 0, 0,
10 0,-1, 0, 0, 0, 0, 0, 0,
11 0, 0,-1, 0, 0, 0, 0, 0,
12 0, 0, 0, 0, 0,-1, 0, 0,
13 0, 0, 0, 0, 0, 0,-1, 0;
14ring R1 = 2, (b_2_1,b_2_2,b_2_3,c_4_8,a_1_0,b_1_1,b_3_4,b_3_5), M(m1);
15ideal I;
16I[1]=a_1_0^2;
17I[2]=a_1_0*b_1_1;
18I[3]=b_2_3*a_1_0+b_2_2*a_1_0;
19I[4]=b_2_1*b_1_1+b_2_2*a_1_0;
20I[5]=b_2_2*b_1_1+b_2_2*a_1_0;
21I[6]=a_1_0*b_3_4;
22I[7]=a_1_0*b_3_5;
23I[8]=b_2_2^2+b_2_1*b_2_3;
24I[9]=b_1_1*b_3_4;
25I[10]=b_2_2*b_3_4+b_2_1*b_3_5+b_2_1*b_2_2*a_1_0;
26I[11]=b_2_3*b_3_4+b_2_2*b_3_5+b_2_1*b_2_2*a_1_0;
27I[12]=b_3_4^2+b_2_1*b_2_3^2+b_2_1^2*b_2_3;
28I[13]=b_3_4*b_3_5+b_2_2*b_2_3^2+b_2_1*b_2_2*b_2_3;
29I[14]=b_3_5^2+b_2_3*b_1_1*b_3_5+b_2_3^3+b_2_1*b_2_3^2+c_4_8*b_1_1^2;
30qring Q1 = groebner(I);
31
32
33intmat m2[5][5] =
34 2, 2, 2, 1, 1,
35 0,-1,-1, 0, 0,
36 0, 0, 0,-1, 0,
37-1, 0, 0, 0, 0,
38 0,-1, 0, 0, 0;
39ring R2 = 2, (@b_2_1,@c_2_2,@c_2_3,@a_1_0,@b_1_1), M(m2);
40ideal I;
41I[1]=@a_1_0^2;
42I[2]=@a_1_0*@b_1_1;
43I[3]=@b_2_1*@a_1_0;
44I[4]=@b_2_1^2+@c_2_2*@b_1_1^2;
45qring Q2 = groebner(I);
46
47def Q = Q1+Q2;
48setring Q;
49Q;
50
51ideal t = a_1_0, b_1_1, b_2_1, b_2_2, b_2_3, b_3_4, b_3_5, c_4_8;
52option(prot);
53NF(b_2_1,t);
54
55tst_status(1);$
Note: See TracBrowser for help on using the repository browser.