source: git/Tst/New/ringlocal.tst

spielwiese
Last change on this file was c25b56c, checked in by Adrian Popescu <adi_popescum@…>, 11 years ago
SB over rings with local ordering add: new tests
  • Property mode set to 100644
File size: 813 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4ring R = (integer,10),(x,y),ds;
5
6ideal i = 2;
7std(i);
8
9i = 3;
10std(i);
11
12i = 2x;
13std(i);
14
15i = 3x;
16std(i);
17
18i = x2+x3+x4;
19std(i);
20
21i = 2x2+2x3+2x4;
22std(i);
23
24i = 3x2y3+2x3y4+5x4y10;
25std(i);
26
27ring R = (integer,100),(x,y),ds;
28poly f1 = 5y3+2x5;
29poly f2 = 3x5y2+25x2y10;
30poly f3 = 10x13+50y6;
31ideal i = f1,f2,f3;
32ideal s=std(i);
33reduce(f1*f2+f3,s);
34reduce(2*f1*f2*f3+25,s);
35reduce(2*f1+3*f3+10*f2,s);
36reduce(f1+4,s);
37
38ring R = (integer,100),(x,y),ds;
39ideal i = 4y+25x5y3+27y13,x+76y14,2+84y10+75x13+67x4y13;
40std(i);
41
42ring R = (integer,44),(x,y),ds;
43ideal i = 2x,11y;
44i=std(i);
45poly f = 2x+22y;
46lift(i,f);
47
48ring R = (integer,44),(x,y),ls;
49poly f1 = 4y15+7xy3+2x10y4;
50poly f2 = xy+13x7y5+40x9;
51poly f3 = 4x16;
52ideal i = f1,f2,f3;
53i=std(i);
54poly f = f1+4*f2+13*f3;
55lift(i,f);
56
57
58tst_status(1);
59$
Note: See TracBrowser for help on using the repository browser.