source: git/Tst/Long/zeroset.tst @ 52ea3f

spielwiese
Last change on this file since 52ea3f was 52ea3f, checked in by Hans Schönemann <hannes@…>, 23 years ago
*hannes: zeroset, rinvar git-svn-id: file:///usr/local/Singular/svn/trunk@4864 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.4 KB
Line 
1// Test File for 'zeroset.lib"
2//
3// Implementation by : Thomas Bayer
4// Curretn Adress:
5// Institut fuer Informatik, Technische Universitaet Muenchen
6// www:    http://wwwmayr.informatik.tu-muenchen.de/personen/bayert/
7// email : bayert@in.tum.de
8//
9// Last change 10.12.2000
10//
11// written in the frame of the diploma thesis (advisor: Prof. Gert-Martin Greuel)
12// "Computations of moduli spaces of semiquasihomogenous singularities and an
13//  implementation in Singular"
14// Arbeitsgruppe Algebraische Geometrie, Fachbereich Mathematik,
15// Universitaet Kaiserslautern
16///////////////////////////////////////////////////////////////////////////////
17
18LIB "tst.lib";
19LIB "zeroset.lib";         
20
21tst_init();
22tst_ignore("CVS ID $Id: zeroset.tst,v 1.1 2000-12-11 16:07:30 Singular Exp $");
23
24
25// example 1
26
27ring R = 0,(x,y,z), lp;
28ideal I = x2-1,y3-1,z-2x;
29
30def S = ZeroSet(I);
31setring S;
32minpoly;
33id;
34zeroset;
35
36kill R;
37kill S;
38//tst_status();
39 
40// example 2
41
42ring R = 0,(x,y,z), lp;
43ideal I = x3-1,3y-x,z4-1;
44
45def S = ZeroSet(I);
46setring S;
47minpoly;
48id;
49zeroset;
50       
51kill R;
52kill S;
53//tst_status();
54
55// example 3
56
57ring R = 0, (x(1..5)), lp;
58ideal I = x(1)^2+1,x(2)^4-1,x(3)-x(4),x(4)^2+1,x(5)-x(4);
59
60def S = ZeroSet(I);
61setring S;
62minpoly;
63id;
64zeroset;
65
66kill R;
67kill S;
68//tst_status();
69
70// example 4
71
72ring R = (0,a),(x,y), lp;
73minpoly = a2+1;
74ideal I = x2-a,y-2x;
75
76def S = ZeroSet(I);
77setring S;
78minpoly;
79id;
80zeroset;
81
82kill R;
83kill S;
84//tst_status();
85         
86// example 5
87
88ring R = (0,a),(x,y,z), lp;
89minpoly = a2+a+1;
90ideal I = x3-1,a*y^2-x,z^2-a*y;
91
92def S = ZeroSet(I);
93setring S;
94minpoly;
95id;
96zeroset;
97
98kill R;
99kill S;
100//tst_status();
101
102// example 6
103
104ring R = (0,a),(x,y,z), lp;
105minpoly = a2+1;
106ideal I = x2-2,a*y^2-2*x,z^2 - a; // 2
107
108def S = ZeroSet(I);
109setring S;
110minpoly;
111id;
112zeroset;
113
114kill R;
115kill S;
116//tst_status();
117         
118// example 7
119
120ring R = (0,a),(x(1..5)), lp;
121minpoly = a2+a+1;
122ideal I = x(1)^2 - 2,x(2) -a*x(1), x(3)^2 + 1, x(4)^2 + a, a*x(5) - x(1);
123
124def S = ZeroSet(I);
125setring S;
126minpoly;
127id;
128zeroset;
129
130kill S;
131
132setring R;
133def S = ZeroSet(I, 1);
134setring S;
135minpoly;
136id;
137zeroset;
138
139kill R;
140kill S;
141
142//tst_status();
143
144// example 8
145
146ring R = (0,a),(s(1..4)), lp;
147minpoly = a2+1;
148ideal I = s(3)*s(4),s(2)*s(4),s(1)*s(3),s(1)*s(2),s(3)^8+s(4)^8-1,s(2)^8+s(4)^8-1,s(1)^8-s(4)^8,s(4)^9-s(4),s(1)*s(4)^8-s(1);
149
150def S = ZeroSet(I);
151setring S;
152minpoly;
153id;
154zeroset;
155
156kill S;
157
158setring R;
159def S = ZeroSet(I, 1);
160setring S;
161minpoly;
162id;
163zeroset;
164
165kill S;
166
167tst_status(1);$
Note: See TracBrowser for help on using the repository browser.