source: git/Tst/Manual/letterplace_reduce.tst @ 46a76b

spielwiese
Last change on this file since 46a76b was 46a76b, checked in by Karim Abou Zeid <karim.abou.zeid@…>, 5 years ago
Updated tests
  • Property mode set to 100644
File size: 441 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB"freegb.lib";
3ring r = 0,(x,y,z),Dp;
4def R = makeLetterplaceRing(10); setring R;
5ideal I = y*x*y - z*y*z, x*y*x - z*x*y, z*x*z - y*z*x, x*x*x + y*y*y + z*z*z + x*y*z;
6ideal J = std(I);
7poly p = y*x*y*z*y - y*z*z*y + z*y*z;
8poly q = z*x*z*y*z - y*z*x*y*z;
9reduce(p*p,J); // nonzero
10reduce(p*p - reduce(p*p,J),J); // zero
11reduce(q*q,J); // zero
12reduce(q*p,J); // zero
13reduce(q*p - p*q,J); // zero
14tst_status(1);$
Note: See TracBrowser for help on using the repository browser.