fieker-DuValspielwiese
Last change
on this file since e74bb4 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
662 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "nctools.lib"; |
---|
3 | ring r = 0,(a, b, x,y,z, Q, W),(lp(2), dp(3), Dp(2)); |
---|
4 | // Let us make variables x = var(3), ..., z = var(5) to be anti-commutative |
---|
5 | // and add additionally a quotient ideal: |
---|
6 | def S = superCommutative(3, 5, ideal(a*W + b*Q*x + z) ); setring S; S; |
---|
7 | ideal I = a*x*y + z*Q + b, y*Q + a; I; |
---|
8 | std(I); // Groebner basis is used here since > is global |
---|
9 | kill r; |
---|
10 | // Let's do the same but this time with some local commutative variables: |
---|
11 | ring r = 0,(a, b, x,y,z, Q, W),(dp(1), ds(1), lp(3), ds(2)); |
---|
12 | def S = superCommutative(3, 5, ideal(a*W + b*Q*x + z) ); setring S; S; |
---|
13 | ideal I = a*x*y + z*Q + b, y*Q + a; I; |
---|
14 | std(I); |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.