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 | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | ring R = (integer,10),(x,y),ds; |
---|
5 | |
---|
6 | ideal i = 2; |
---|
7 | std(i); |
---|
8 | |
---|
9 | i = 3; |
---|
10 | std(i); |
---|
11 | |
---|
12 | i = 2x; |
---|
13 | std(i); |
---|
14 | |
---|
15 | i = 3x; |
---|
16 | std(i); |
---|
17 | |
---|
18 | i = x2+x3+x4; |
---|
19 | std(i); |
---|
20 | |
---|
21 | i = 2x2+2x3+2x4; |
---|
22 | std(i); |
---|
23 | |
---|
24 | i = 3x2y3+2x3y4+5x4y10; |
---|
25 | std(i); |
---|
26 | |
---|
27 | ring R = (integer,100),(x,y),ds; |
---|
28 | poly f1 = 5y3+2x5; |
---|
29 | poly f2 = 3x5y2+25x2y10; |
---|
30 | poly f3 = 10x13+50y6; |
---|
31 | ideal i = f1,f2,f3; |
---|
32 | ideal s=std(i); |
---|
33 | reduce(f1*f2+f3,s); |
---|
34 | reduce(2*f1*f2*f3+25,s); |
---|
35 | reduce(2*f1+3*f3+10*f2,s); |
---|
36 | reduce(f1+4,s); |
---|
37 | |
---|
38 | ring R = (integer,100),(x,y),ds; |
---|
39 | ideal i = 4y+25x5y3+27y13,x+76y14,2+84y10+75x13+67x4y13; |
---|
40 | std(i); |
---|
41 | |
---|
42 | ring R = (integer,44),(x,y),ds; |
---|
43 | ideal i = 2x,11y; |
---|
44 | i=std(i); |
---|
45 | poly f = 2x+22y; |
---|
46 | lift(i,f); |
---|
47 | |
---|
48 | ring R = (integer,44),(x,y),ls; |
---|
49 | poly f1 = 4y15+7xy3+2x10y4; |
---|
50 | poly f2 = xy+13x7y5+40x9; |
---|
51 | poly f3 = 4x16; |
---|
52 | ideal i = f1,f2,f3; |
---|
53 | i=std(i); |
---|
54 | poly f = f1+4*f2+13*f3; |
---|
55 | lift(i,f); |
---|
56 | |
---|
57 | |
---|
58 | tst_status(1); |
---|
59 | $ |
---|
Note: See
TracBrowser
for help on using the repository browser.