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

spielwiese
Last change on this file since e74bb4 was e74bb4, checked in by Hans Schoenemann <hannes@…>, 5 years ago
fix: lpNF test
  • Property mode set to 100644
File size: 409 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "freegb.lib";
3ring r = 0,(x,y,z),dp;
4int d =5; // degree
5def R = makeLetterplaceRing(d);
6setring R;
7ideal 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;
8ideal J = std(I); // compute a Letterplace Groebner basis
9poly p = y*x*y*z*y - y*z*z*y + z*y*z;
10poly q = z*x*z*y*z - y*z*x*y*z;
11lpNF(p,J);
12reduce(p,J);
13lpNF(q,J);
14reduce(q,J);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.