source: git/Tst/Short/bug_misc.tst @ 197c4e

fieker-DuValspielwiese
Last change on this file since 197c4e was 80b62c4, checked in by Hans Schoenemann <hannes@…>, 9 years ago
fix: tr. #701: OPT_RETURN_SB cannot be used in modulo (except ordering c)
  • Property mode set to 100644
File size: 1.6 KB
Line 
1LIB "tst.lib";
2tst_init();
3
4// tr.590 ------------------------------------------------------------------------------------
5proc f;
6f; // was: NULL deref which printing internal structure
7
8// tr.588 ------------------------------------------------------------------------------------
9// the functions syz, intersect, quotient return a standard base instead of a generating set if returnSB is set.
10option(returnSB);
11ring r=32003,(x,y,z),dp;
12
13module m=syz(ideal(x+y,x+z));
14attrib(m);
15m;
16std(m);
17
18ideal i=intersect(ideal(x+y),ideal(x2+z,y3));
19i;
20attrib(i);
21i=intersect(ideal(x+y),ideal(x2+z,y3),ideal(y));
22i;
23attrib(i);
24std(i);
25
26i=quotient(ideal(x+y,z5),ideal(z));
27i;
28attrib(i);
29i=quotient(ideal(x+y,z5),ideal(y,z));
30i;
31attrib(i);
32
33ideal h1=x,y,z;
34ideal h2=x;
35module m=modulo(h1,h2);
36print(m);
37attrib(m);
38print(std(m));
39
40// tr.579 -----------------------------------------------------------------------------------------
41// trying dumb things with minpoly
42ring rng = (0,a),x,dp;
43minpoly = a^2-1;
44minpoly = a^2-2;
45minpoly = a^2-2;
46
47// tr.576 -----------------------------------------------------------------------------------------
48// trying dumb things with minpoly (was: refering to undef memory)
49ring rng = 5^5,x,dp;
50ring rng = 5^2,x,dp;
51ring rng = 25,x,dp;
52ring rng = (integer,5^5),x,dp;
53basering;
54noether=1;
55ring rng = (integer,5^2),x,dp;
56basering;
57minpoly;
58noether;
59ring rng = (integer,5,2),x,dp;
60ring rng = 5^5,x,dp;
61ring rng = 5^2,x,dp;
62ring rng = 25,x,dp;
63ring rng = (integer,5^5),x,dp;
64basering;
65ring rng = (integer,5^2),x,dp;
66basering;
67minpoly;
68ring rng = (integer,5,2),x,dp;
69
70tst_status(1);$
71
Note: See TracBrowser for help on using the repository browser.