1 /* ============================================================== */
6 /* this is the run for case 1 of ez gcd paper. */
10 g:d*(u^2-3*u*y^2-1)^2$
21 g:d*(u^2-3*u*y^2-1)^2$
32 g:d*(u^2-3*u*y^2-1)^2$
42 f:(-2+d)*(c+b+a+u+y+2)$
43 g:d*(u^2-3*u*y^2-1)^2$
56 /* this is the run for case 2. table 1 of ez gcd paper */
72 f:rat(d*(z^n+x^n+y^n-2))$
73 g:rat((z^n+x^n-y^n+2)*d)$
84 f:rat(d*(a^n+z^n+x^n+y^n-2))$
85 g:rat((a^n+z^n+x^n-y^n+2)*d)$
95 d:b^n+a^n+z^n+x^n+y^n+1$
96 f:rat(d*(b^n+a^n+z^n+x^n+y^n-2))$
97 g:rat((b^n+a^n+z^n+x^n-y^n+2)*d)$
105 d:c^n+b^n+a^n+z^n+x^n+y^n+1$
106 f:rat(d*(c^n+b^n+a^n+z^n+x^n+y^n-2))$
107 g:rat((c^n+b^n+a^n+z^n+x^n-y^n+2)*d)$
115 d:p^n+c^n+b^n+a^n+z^n+x^n+y^n+1$
116 f:rat(d*(p^n+c^n+b^n+a^n+z^n+x^n+y^n-2))$
117 g:rat((p^n+c^n+b^n+a^n+z^n+x^n-y^n+2)*d)$
128 /* this is the run for case 2, table 2 of ezgcd paper */
132 f:rat(d*(z^n+y^n-2))$
133 g:rat(d*(z^(n-1)+y^(n-1)+2))$
144 f:rat(d*(z^n+x^n+y^n-2))$
145 g:rat((z^(n-1)+x^(n-1)-y^(n-1)+2)*d)$
156 f:rat(d*(a^n+z^n+x^n+y^n-2))$
157 g:rat((a^(n-1)+z^(n-1)+x^(n-1)-y^(n-1)+2)*d)$
167 d:b^n+a^n+z^n+x^n+y^n+1$
168 f:rat(d*(b^n+a^n+z^n+x^n+y^n-2))$
169 g:rat((b^(n-1)+a^(n-1)+z^(n-1)+x^(n-1)-y^(n-1)+2)*d)$
175 d:c^n+b^n+a^n+z^n+x^n+y^n+1$
176 f:rat(d*(c^n+b^n+a^n+z^n+x^n+y^n-2))$
177 g:rat((c^(n-1)+b^(n-1)+a^(n-1)+z^(n-1)+x^(n-1)-y^(n-1)+2)*d)$
181 d:p^n+c^n+b^n+a^n+z^n+x^n+y^n+1$
182 f:rat(d*(p^n+c^n+b^n+a^n+z^n+x^n+y^n-2))$
183 g:rat((p^(n-1)+c^(n-1)+b^(n-1)+a^(n-1)+z^(n-1)+x^(n-1)-y^(n-1)
187 /* i let the rest of file */
191 /* this is the run for case 3 of the ez gcd paper */
204 d:rat(a^2+x^2*y^2+1)$
215 d:rat(b^2+a^2+x^2*y^2+1)$
217 g:(b^2+a^2+x^2-y^2-1)*d$
226 d:rat(c^2+b^2+a^2+x^2*y^2+1)$
228 g:(c^2+b^2+a^2+x^2-y^2-1)*d$
241 /* this is the run for case 4 of the ez gcd paper */
318 /* this is the run for case 5 of the ez gcd paper */
320 d:rat((z+1)*(y+1)-3)$
334 d:rat((z+1)*(y+1)*(x+1)-3)$
335 f:d*(z-2)*(y-2)*(x-2)$
336 g:d*(z+2)*(y+2)*(x+2)$
348 d:rat((z+1)*(y+1)*(x+1)*(a+1)-3)$
349 f:d*(z-2)*(y-2)*(x-2)*(a-2)$
350 g:d*(z+2)*(y+2)*(x+2)*(a+2)$
362 d:rat((z+1)*(y+1)*(x+1)*(a+1)*(b+1)-3)$
363 f:d*(z-2)*(y-2)*(x-2)*(a-2)*(b-2)$
364 g:d*(z+2)*(y+2)*(x+2)*(a+2)*(b+2)$