source: git/Tst/Manual/lpIsPrime.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc was 7f5789, checked in by Karim Abou Zeid <karim23697@…>, 4 years ago
Fix fpaprops for ncgen and add tests
  • Property mode set to 100644
File size: 628 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "fpaprops.lib";
3
4// 1 (toeplitz) no
5ring r = 0,(y,x),Dp;
6ring R = freeAlgebra(r, 4);
7ideal I = y*x - 1;
8ideal J = twostd(I);
9lpIsPrime(J);
10
11kill r;
12kill R;
13
14// 2 (quadrowmm) no
15ring r = 0,(y,x),Dp;
16ring R = freeAlgebra(r, 4);
17ideal I = y*x-x*y,
18x*x,
19y*y;
20ideal J = twostd(I);
21lpIsPrime(J);
22
23kill r;
24kill R;
25
26// 3 (mon1) yes
27ring r = 0,(x,y),Dp;
28ring R = freeAlgebra(r, 4);
29ideal I = x*y*x,
30y*x*y;
31ideal J = twostd(I);
32lpIsPrime(J);
33
34kill r;
35kill R;
36
37// 4 (liP176E2_2) no
38ring r = 0,(x1,x2),Dp;
39ring R = freeAlgebra(r, 4);
40ideal I = x1*x2,
41x2*x1;
42ideal J = twostd(I);
43lpIsPrime(J);
44
45tst_status(1);$
Note: See TracBrowser for help on using the repository browser.