source: git/Tst/Manual/Graded_commutative_algebras__SCA_.tst @ e74bb4

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 
1LIB "tst.lib"; tst_init();
2LIB "nctools.lib";
3ring 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:
6def S = superCommutative(3, 5, ideal(a*W + b*Q*x + z) ); setring S; S;
7ideal I = a*x*y + z*Q + b, y*Q + a; I;
8std(I); // Groebner basis is used here since > is global
9kill r;
10// Let's do the same but this time with some local commutative variables:
11ring r = 0,(a, b, x,y,z, Q, W),(dp(1), ds(1), lp(3), ds(2));
12def S = superCommutative(3, 5, ideal(a*W + b*Q*x + z) ); setring S; S;
13ideal I = a*x*y + z*Q + b, y*Q + a; I;
14std(I);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.