source: git/Tst/Short/bug_primdec.tst @ 3fec5d0

fieker-DuValspielwiese
Last change on this file since 3fec5d0 was 2ce9848, checked in by Jakob Kröker <kroeker@…>, 10 years ago
removed gnir1 redefining
  • Property mode set to 100644
File size: 927 bytes
Line 
1LIB "primdec.lib";
2ring  r = 32003,(x,y,z),dp;
3poly  p = z2+1;
4poly  q = z4+2;
5ideal i = p^2*q^3,(y-z3)^3,(x-yz+z4)^4;
6list pr= prepareAss(i);
7pr;
8
9////////////////////////////////////////////////////////////////
10// test that one more 'is no standard basis' warning is gone away
11system("random",1452807367);
12proc primdecMinpolyExample()
13{
14    ring rng = (7,vv),(x,y,z,u),dp;
15    minpoly =  vv^2+vv+3;
16    ideal I = (-3*vv-1)*u^2+2,2*x*z+(2*vv-2)*x+(2*vv+1),(vv+2)*x^2*u+(2*vv+1)*z^2*u+(vv)*z*u^2;
17    list result = minAssGTZ (I);
18}
19
20// increase call depth:
21proc testPrimdecMinpolyExample()  {    return( primdecMinpolyExample() );   }
22testPrimdecMinpolyExample();
23
24// check that redefinig gnir1 is gone away:
25system("random",1463736066);
26ring rng2 = (0),(x,y,z,u,w),dp;
27ideal I2 = -28*1*x*z*w*1-15*y*z*u*w,-28*1^2*x*u+14*1*x^2*y*w*1+17,12*1*u*w^2*1+18*x*y^2*w;
28list result2 = primdecGTZ (I2);
29
30
31LIB "tst.lib"; tst_status(1);
32$
Note: See TracBrowser for help on using the repository browser.