Proof. (a,c) We will prove the theorem by induction on
. The theorem holds for
with
, and
(misprint in Cox p. 477). Now assume that it holds for
and
.
If
is even,
Using (15.13), we obtain
To simplify, we write
.
Then, using
,
that is
where
Verification : with
, we obtain
, which gives the tripling formula (15.17).
If
is odd,
Then(15.13) gives
With the same notations as in the even case, and with
,
that is
where
The induction is done, and the induction formulas concerning
are
Note that we can take
( and
).
We give a Sage function to compute
:
R.<u> = ZZ[]
def divisionPolynomial(n):
P0, Q0 = 0, 1
P1, Q1 = 1, 1
for i in range(n):
if i % 2 != 0:
S = Q1^2 + u * (1-u) *P1^2
P2 = -P0 * S + 2 * (1-u) * P1 * Q1 * Q0
Q2 = Q0 * S
else:
S = Q1^2 + u * P1^2
P2 = -P0 * S + 2 * P1 * Q1 * Q0
Q2 = Q0 * S
D = gcd(P2,Q2)
(P2, Q2) = (P2/D, Q2/D)
(P0, Q0) = (P1, Q1)
(P1, Q1) = (P2, Q2)
return (P0,Q0)
P5, Q5 = divisionPolynomial(5); P5,Q5
P5.factor(), Q5.factor()
(b) Since
is a UFD, the same is true for
by Theorem A.5.6. Thus we can write
, where
and
are relatively prime.
Since
, then
, where
are integers, thus
.
If
, we are done, and if
We replace
by
, which satisfy all conditions of Theorem 15.2.5. □