source: git/Tst/Long/classify_l.tst @ 0bc5ed4

spielwiese
Last change on this file since 0bc5ed4 was ef52d6, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Update testsuite wrt current master (320c4f5e64cad778b4ada9556a9b0a6c71cab83a) NOTE: some wrong/bad tests were removed... TODO: add the reset of these updates after updating LIB/
  • Property mode set to 100644
File size: 3.8 KB
Line 
1LIB "tst.lib";
2LIB "classify.lib";
3
4tst_init();
5
6
7"======================================================================";
8"// running tetst for corank<=2";
9ring r=0,(x,y),ds;
10poly f;
11map phi=r,y-x^2,x+y;
12
13  f=x^4+y2; // A[3]
14  classify(phi(f));
15
16"======================================================================";
17"// Step 3";
18  f=x2y+y3; // D[6]
19  classify(phi(f)); // D[6] // D[4]
20
21  f=x2y+y5; // D[6]
22  classify(phi(f));
23
24"======================================================================";
25"// Step 6-12";
26  f=x3+xy7+y10; // E[18]
27  classify(phi(f));
28
29  f=x3+xy5+y8; // E[13]
30  classify(phi(f));
31
32  f=x3+xy10+y14; // E[26]
33  classify(phi(f));
34
35  f=x3+x2y3+xy7+y9; // J[3,0]
36  classify(phi(f));
37
38  f=x3+x2y2+y11; // J[2,5]
39  classify(phi(f));
40
41"======================================================================";
42"// Step 13";
43  f=x4+x3y+x2y2+xy3; // X[1,0]
44  classify(f);
45
46  f=x4+y4; // T[4,4,2]
47  classify(phi(f));
48
49  f=x4+x3y+x2y2+y6; // X[1,2]
50  classify(phi(f));
51
52//f=x4+2x3y+x2y2+2x2y4+2xy5+y6+y8; // Y[1,2,2]
53"// The next step returns an error message. Y[1,p,q] cannot be recognized";
54  f=x4+2x3y+x2y2+x2y4+x2y7+2xy8+y9+y11; // Y[1,5,2]
55  classify(phi(f));
56
57"======================================================================";
58"// Step 17-24";
59  f=x3y+xy6+y8; // Z[17]
60  classify(phi(f));
61
62  f=x3y+xy8+y12; // Z[24]
63  classify(phi(f));
64
65  f=x3y+xy7+y9; // Z[19]
66  classify(phi(f));
67
68  f=x3y+x2y5+xy10+y13; // Z[3,0]
69  classify(phi(f));
70
71  f=x3y+x2y9+y29; // Z[7,4]
72  classify(phi(f));
73
74"======================================================================";
75"// Step 25-";
76f=x4+x2y3+xy4+y5; // W[24], step 27
77classify(phi(f));
78
79f=x4+x2y5+xy7+y10; // W[25], step 28
80classify(phi(f));
81
82f=x4+x2y7+xy11+y14; // W[3,0], step 30
83classify(phi(f));
84
85f=x4+x3y5+x2y9+y26; // W[4,8], step 31
86classify(f);
87
88f=x4+2x2y5+x2y7+y10+xy10; // W#[2,4], step 32
89classify(phi(f));
90
91f=x4+2x2y6+x2y7+y11+xy8; // W[29], step 34
92classify(phi(f));
93
94f=x4+x2y8+xy12+y15; // W[42], step 35
95classify(phi(f));
96
97f=x4+x3y2+x2y4+xy6; // X[2,0], step 37
98classify(phi(f));
99
100f=x4+x3y4+x2y8+y18; // X[4,2], step 38
101classify(phi(f));
102
103f=x4+2x3y4+x2y8+x2y10+x2y13+2xy14+y18+y23; // Y[4,2,5], step 39
104classify(phi(f));
105
106f=x4+x3y2+x2y7+xy9+xy10+y12; // Z[2,29], step 42, k=2, i=1
107phi=r,y-x,y+x;
108classify(f);
109
110f=x4+x3y2+x2y9+xy11+xy14+y16; // Z[2,36], step 43, k=2, i=2
111classify(f);
112
113f=(x+3y3)*(x3+xy18+y26); // Z[3,67], step 44,   k=3, i=5
114classify(f);
115
116f=(x+3y4)*(x3+x2y6+xy13+y18);  // Z[4,2,0], step 45, k=4, i=2
117classify(f);
118
119f=x4+x3y2+x2y7+x2y11+xy13+y18; // Z[2,3,1], step 46, k=2, i=3, p=1
120classify(phi(f));
121
122
123kill r;
124
125////////////////////////////////////////////////////////////////////////////////
126// Corang 3
127//
128"======================================================================";
129"// running tetst for corank=3";
130ring r=0,(x,y,z),ds;
131poly f;
132map phi=r,y-x^2,x+y,y-z;
133
134//f= ; // T[3,3,3], step 51
135//f= ; // T[3,3,], step 53
136//f= ; // T[3,,], step 55
137//f= ; // T[,,], step 57
138
139//f= ; // Q[], step 60
140//f= ; // Q[], step 61
141//f= ; // Q[], step 62
142//f= ; // Q[,0], step 64
143//f= ; // Q[,], step 65
144
145"======================================================================";
146"// steps 62-81 are not implemented => not tests";
147
148//f= ; // U[], step 84
149//f= ; // U[,0], step 86
150//f= ; // U[,], step 87
151//f= ; // U[], step 89
152
153"======================================================================";
154"// steps 91-96, fix bug in algorythme before implementation";
155
156//f= ; // V[1,0], step 99
157//f= ; // V[1,], step 100
158//f= ; // V#[1,0], step 101
159//f= ; // V#[1,], step 102
160
161//classify(f);
162
163"=====================================================================";
164example classify;
165"======================================================================";
166"// reomving database.";
167int i=system("sh", "/bin/rm -f NFlist.dir NFlist.pag");
168tst_status(1);$
Note: See TracBrowser for help on using the repository browser.