source: git/Tst/Short/bug_tr300.tst @ d4b25e

spielwiese
Last change on this file since d4b25e was a9a606c, checked in by Hans Schoenemann <hannes@…>, 13 years ago
test #300 git-svn-id: file:///usr/local/Singular/svn/trunk@13715 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 655 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4ring r = (integer, 4), (x,y), lp;
5poly f1 = 2*x*y;
6poly f2 = 3*y^3+3;
7poly f3 = x^2-3*x;
8ideal I = f1,f2,f3;
9ideal J = std(I); // is correct
10J;
11
12ideal F = f1,f2,f3;
13module SF = syz(F);
14print(SF);
15
16print(transpose(matrix(SF))*transpose(matrix(F)));
17
18ring r = (integer, 4), (x,y), (c,lp); // elim.mod.comp ordering
19poly f1 = 2*x*y;
20poly f2 = 3*y^3+3;
21poly f3 = x^2-3*x;
22ideal I = f1,f2,f3;
23ideal J = std(I); // correct
24ideal F = f1,f2,f3;
25module FF = f1*gen(1) + gen(2), f2*gen(1) + gen(3), f3*gen(1)+gen(4);
26print(std(FF));
27
28ideal G = f1,f2;
29module GG = f1*gen(1) + gen(2), f2*gen(1) + gen(3);
30print(std(GG));
31
32
33tst_status(1);$
Note: See TracBrowser for help on using the repository browser.