Download User's Guide to Pari/GP - PARI/GP Development Headquarters
Transcript
3.7.46 thue(tnf , a, {sol }). Returns all solutions of the equation P (x, y) = a in integers x and y,
where tnf was created with thueinit(P ). If present, sol must contain the solutions of Norm(x) = a
modulo units of positive norm in the number field defined by P (as computed by bnfisintnorm).
If there are infinitely many solutions, an error will be issued.
It is allowed to input directly the polynomial P instead of a tnf , in which case, the function
first performs thueinit(P,0). This is very wasteful if more than one value of a is required.
If tnf was computed without assuming GRH (flag 1 in thueinit), then the result is unconditional. Otherwise, it depends in principle of the truth of the GRH, but may still be unconditionally
correct in some favourable cases. The result is conditional on the GRH if a 6= ±1 and, P has a
single irreducible rational factor, whose associated tentative class number h and regulator R (as
computed assuming the GRH) satisfy
• h > 1,
• R/0.2 > 1.5.
Here’s how to solve the Thue equation x13 − 5y 13 = −4:
? tnf = thueinit(x^13 - 5);
? thue(tnf, -4)
%1 = [[1, 1]]
In this case, one checks that bnfinit(x^13 -5).no is 1. Hence, the only solution is (x, y) = (1, 1),
and the result is unconditional. On the other hand:
? P = x^3-2*x^2+3*x-17; tnf = thueinit(P);
? thue(tnf, -15)
%2 = [[1, 1]] \\ a priori conditional on the GRH.
? K = bnfinit(P); K.no
%3 = 3
? K.reg
%4 = 2.8682185139262873674706034475498755834
This time the result is conditional. All results computed using this particular tnf are likewise
conditional, except for a right-hand side of ±1. The above result is in fact correct, so we did not
just disprove the GRH:
? tnf = thueinit(x^3-2*x^2+3*x-17, 1 /*unconditional*/);
? thue(tnf, -15)
%4 = [[1, 1]]
Note that reducible or non-monic polynomials are allowed:
? tnf = thueinit((2*x+1)^5 * (4*x^3-2*x^2+3*x-17), 1);
? thue(tnf, 128)
%2 = [[-1, 0], [1, 0]]
Reducible polynomials are in fact much easier to handle.
The library syntax is GEN thue(GEN tnf, GEN a, GEN sol = NULL).
227