J
OURNAL DE
T
HÉORIE DES
N
OMBRES DE
B
ORDEAUX
J
ÜRGEN
K
LÜNERS
On computing subfields. A detailed description
of the algorithm
Journal de Théorie des Nombres de Bordeaux, tome
10, n
o2 (1998),
p. 243-271
<http://www.numdam.org/item?id=JTNB_1998__10_2_243_0>
© Université Bordeaux 1, 1998, tous droits réservés.
L’accès aux archives de la revue « Journal de Théorie des Nombres de Bordeaux » (http://jtnb.cedram.org/) implique l’accord avec les condi-tions générales d’utilisation (http://www.numdam.org/conditions). Toute uti-lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte-nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
On
Computing
Subfields.
A
Detailed
Description
of
the
Algorithm
par JÜRGEN KLÜNERS
RÉSUMÉ. Soit
Q(03B1)
un corps de nombres défini par lepolynôme
minimal de 03B1. Nous nous intéressons à déterminer les sous-corpsQ(03B2)
CQ(03B1)
dedegré
donné.Chaque
sous-corps est décrit en donnant lepolynôme
minimal g
de03B2
et leplongement
de 03B2
dansQ(03B1)
donné par unpolynôme h
tel queh(03B1) =
03B2.
Il y a unebijection
entre lessystèmes
de blocs du groupe de Galois def
etles sous-corps de
Q(03B1).
Cessystèmes
de blocs sont calculés en utilisant les sous-groupescycliques
du groupe de Galoisqui
sontobtenus à
partir
du critère de Dedekind.Lorsqu’un système
de blocs est connu, on calcule le sous-corpscorrespondants
par desméthodes
p-adiques.
Nouspresentons
ici unedescription
détaillée del’algorithme.
ABSTRACT. Let
Q(03B1)
be analgebraic
number fieldgiven by
the minimalpolynomial
f
of a. We want to determine all subfieldsQ(03B2)
~Q(03B1)
ofgiven
degree.
It is convenient to describe eachsubfield
by
a pair(g, h)
~Z [t]
xQ[t]
such that g is the minimalpolynomial
of03B2
=h(03B1) .
There is abijection
between the blocksystems of the Galois group of
f
and the subfields ofQ(03B1).
These block systems arecomputed using cyclic
subgroups
of the Galoisgroup which we get from the Dedekind criterion. When a block
system is known we compute the
corresponding
subfieldusing
p-adic methods. Wegive
a detaileddescription
for all parts of thealgorithm.
1. INTRODUCTION
Let E =
Q(a)
be analgebraic
number field ofdegree
n, where a is a root of a monic irreduciblepolynomial
f
EZ[t].
In this article a method isdeveloped
fordetermining
all subfields L =Q(/3)
of E of fixeddegree
mover
Q.
We describe each subfield Lby
the minimalpolynomial g
of~3
and theembedding
of3
intoE,
which isgiven by
apolynomial h
EQ[t]
withLemma 1.1. 1. Each
subfield
Lof
E has arepresentation
as apair
(g, h)
E xQ[t],
such thatg o h = 0
modjZ[t].
2. A
pair
(g, h)
EZ[t]
xQ[t]
suchthat g
o h - 0 mod and girre-ducible describes a
subfield
Lof
E.Note that the coefficients of the
embedding
Polynornial h
are notneces-sarily integral
because theequation
order is ingeneral
notintegrally
closed.
W.l.o.g.
we assume that thedegree
of h is less than n, otherwise wereplace h by
its remainder modulof .
The lemma is used to check if apair
(g, h)
presents
a subfield L of E. Such a subfield L isrepresented
inthe form hence
isomorphic
fields are notdistinguishable
by g
alone.
Example
1.2. We determine allsubfields
Lof
E =of degree
3. There are three
subfields
withcharacterizing
pairs
(t3 108, t2), (t3
-108,
i2 t5
+2 t2 )
and(t3 -
108, -12 t5
+2 t2 ) .
In all cases the minimalpoly-nomial
of ~3
is the same;however,
we are able todistinguish
the threeisomorphic subfields by
theirembedding polynomials.
There are several other
algorithms
[1,
3, 8, 9, 12, 14,
15]
forcalculating
subfields. In this article we
improve
the methods described in[12].
Thegenerating polynomials
are constructedby
factorizations ofpolynomials
over finite fields and Hensellifting
overp-adic
fields. Wegive improved
algorithms
for thecomputations
inp-adic
fields. In the combinatorialpart
of thealgorithm
we can reduce the number ofpossibilities
dramatically.
Three other methods
[9,
14,
15]
need factorizations ofpolynomials
overnumber
fields, respectively
factorizations ofpolynomials
over the rationalintegers
of muchhigher degree
than thedegree
of thegiven
field. The methodpresented
in[1]
needs hard numericalcomputations
and lattice reductionalgorithms.
Although
thealgorithm
in[3]
computes
subfields it is notguaranteed
that all subfields will be found. Acomparison
ofrunning
times is
given
in section 8.This paper is
organized
as follows. In the next section we focus onalgorithms
forcomputations
inp-adic
fields. The blocksystems
of a Galois group and their relation to subfields ispresented
in section 3. In section4 and 5 we
develop
methods tocompute
generating polynomials
resp. theembedding
of a subfield via its blocksystem.
In the last section we discussthe
efficiency
of thealgorithm
andgive
someexamples.
This paper containsthe results
concerning
the subfieldcomputation
of the dissertation[11]
of the author.2. UNRAMIFIED p-ADIC EXTENSIONS
The subfield
computation
is based onp-adic
methods. Therefore wegive
a detaileddescription
of thealgorithms
we aregoing
to use forcomputation
in the
p-adic
fields.2.1. Introduction. In the
following
we recall some fundamentalproper-ties of unramified
p-adic
extensions. Theproofs
can be found e.g. in[2, 17].
In the
following
let .~ and E be unramified extensions ofQp
with maximal orders OF, os andprime
ideals p,fl3, respectively.
Thecorresponding
residue class fields are denotedby 0
andE.
Lemma 2.1. For every extension there exists an
unique
unramified
extension such that9
andFq
areisomorphic.
The extensionEIJ7
iscyclic
withisomorphic to
Lemma 2.2. Let
9/.F
be anunrarraified p-adic
extensionof degree
s.If
pi, ... , PS arerepresentatives
of
a basisof
thenthey
are aof-basis
of
0,,.Using
thislemma,
it isstraightforward
to construct aow-basis
of o£. Let15 E
Y[t]
be a monic irreduciblepolynomial
ofdegree
s and w E withw - 15 mod p. Then the
equation
ordero~-~p~
= o Jr + o Jrp + ... + =o£, where is a zero of w.
The
following
lemmagives
a method to reduce elements of os modulo.
Lemma 2.3.
Let £1 F
be anunramified
extensions withintegral
basisand k E N. Then we have x E
q3 k
if
andonly if
xi Epk
(1
is).
Proof.
Since 93
= pos it follows thatfl3*’
=pkoe
and the assertion is aneasy consequence. 0
2.2. Arithmetic in unramified
p-adic
extensions.Using
Lemmata 2.2and 2.3 we are able to
generate p-adic extensions,
such that theirequation
orders are maximal. Now weexplain
how tocompute
the sum and theproduct
ofp-adic
numbers. This will be done in the same way as thearithmetic in
algebraic
number fields. In thefollowing
let x =Ei=O
Xipi
and y =
Es-1
yip’
be elements of os(xi, y2
E of(0
is)).
Then wehave:
The
product
of xand y
can beeasily
described viapolynomial
operations.
that xy = We have to solve the
problem
to find a basisrepre-sentation of xy. We define
P~y
:= mod w. Sincew(p)
= 0 it followsthat
Pxy(p)
= xy anddeg(Pxy)
s. From.
We note that we need no divisions to reduce the
product
modulo w sincew is monic. We
need s2
multiplications
and additions in OF tocompute
and
s (s - 1)
multiplications
and additions in OF to reduce the result modulo w. This leads to thefollowing
lemma.Lemma 2.4. The sum
of
two numbers x, y E oE can becomputed
using s
additions in OF. The
product of
two numbers x, y E oE can becomputed
using 2s2 -
smultiplications
and additions in OF.We remark that it is
possible
to divide two numbers x, y E oE in ananalogue
way to the number field case.Now we
explain
how to reduce ap-adic
number modulop~,
where p isan odd
prime
and k E N. Letk-1
Then we define x mod
pk
asE
zip2,
which can beinterpreted
as aninteger
i=oin
{ ~, ... ,
Since we needfrequently
to embed small(negative)
integers
into thep-adic
field,
we chose thesymmetric
residue system. In ourapplications
thisyields usually
smallerrepresentatives.
Using
Lemma 2.3we are able to reduce
arbitrary
p-adic
numbers moduloprime
ideal powers. 2.3. Hensellifting.
Letf
EZ[t]
be a monic irreduciblepolynomial
andp t disc( f )
be aprime.
Letf
be theimage
off
under the canonicalembedding
fromZ[t]
toZp[t] .
Our aim is tofactorize f
over an unramifiedextension Since
f
mod p has nomultiple
factors we know thatf
has no
multiple
factors in,~’~t~.
The factorization can be done up to anarbitrary p-adic
precision
using
thefollowing
lemma. Lemma 2.5.(Hensel
lemma)
Let R be a commutative
ring
with 1 and b an idealof R.
Letf,
andf2,o
bemonic,
non-constantpolynomials
with thefollowing
properties:
1.
f
--_fl,o.f2,o
modb [t]
2. There exist
R[t], i
=l, 2, ao,o E
withal,ofl,o
+ =1 + ao,o .
Then
for
every k E N there existpolynomials
fl,k,
and ao,k ER[t]
withfj,k
monic andnon-constant,
and(i
=1, 2)
andit]
such that thefollowing
conditions hold:1.
f -
f l,xfz,k
mod[t]
2.fi,x
mfi,o
mod3. +
a2,kf2,k
= 1 +ao , k.
A
proof
can be found in e.g.[18].
In ourexamples
the ideal b isalways
aprime
ideal and a finite field. Therefore we cancompute
the ai,ousing
the extended Euclideanalgorithm
forpolynomials
over finite fields.An
algorithm
tocompute
the Hensellifting
can be found in[4, 18].
These
algorithms
areonly
formulated for two factors.Using
induction this can be extended to more factors. This will be demonstratedby
thefollowing
example.
Example
2.6. Letf - flf2f3 mod p. Define
fi,2
:=flf2
anddeter-mine the
following factorization
using
Hensel’s lemma:f -
fl,2f3
MO dp k
Now compute
fi,2
=11 12
modpk.
Combining
these results weget
f
-mod
pk.
Now we are able to
give
a first method to factorize apolynomial f
Eover an extension 7 modulo
pk:
1. Factorizef
f, ... fr
mod p.2.
Compute f m 11 ... fr
mod~k using
Hensellifting.
The
disadvantage
of this method is that allcomputations
are carried out in7.
Assuming
thedegree
of0/Qp
is10,
we need 190multiplications
inZp
to
multiply
two elements of oT. Weimprove
thisapproach by computing
some factorizations over smaller fields. This will be demonstrated in the
following procedure:
1. Factorize
f - 11 ... fs
mod p.2.
Compute f *
fi ...
fs mod pk using
Hensellifting
inZp[t].
3. For i =1, ... ,
s do:(a)
Factorize h
=fi,l ~ ~ ~ fi,ri
mod p.(b)
Compute fi
m fj,i ... h,ri
modp*’
using
Hensellifting
in 4. Combine the results:f
=/i,i -’ -
modpk.
We demonstrate this
by
thefollowing
example:
Example
2.7. Letf (t)
= t12
+ tll -
40t9
+180t$
+426t7
+89t6
-444t5 -
75t3
+27t2
+ llt + l. We want tofactorize f over
anun-rdmified
extension7/Q3
of
degree 3
modulop2.
In afirst
step
wecompute
In a second
step
wecompute
the Hensellifting of
eachfactor
in modulop2,
where F isgenerated by
a zero pof
v(t)
=t3-t+1.
We use the notation[a,
b,
c]
for
a +bp
+cp2
andget:
.
We have factorized a
polynomial
ofdegree
12 but we haveapplied
theHensel
lifting
over 7only
forpolynomials
ofdegree
3. Animportant
factwas that it was
easily possible
to embedZp
in o x.Suppose
we have apoly-nomial of
degree
4 overZp
and we want to factorize it over an unramifiedextension £ of
degree
4. Since theunique
extension £ iscyclic
overQp ,
f
factorizes in four linear factors over E. We know that E has a subfield F
of
degree
2. We know thatf splits
over o x into twoquadratic
factors. A natural idea is first to factorizef
over o Jr and then to factorize the factorsover o£. If we want to do this we have to solve the
problem
in which waywe can embed the elements of o Jr in o£. It suffices to
give
animage
of allelements of a basis of
Instead of
simple p-adic
extensions of~p
we rather consider towers ofextensions.
Doing
this we can embedtrivially
the elements of o z in o£.Definition 2.8. Let p E
P, n
=pr with pi E P and
p2
...pT. We call an extension 0 = over
Qp
=Fo
successively generated, if
= where Ti is a zeroof
an irreducible and monicpolynomial
vi E
[t]
of degree
pi(1 ~
ir).
We denote theprime
ideals inwith
_ _
The
following
lemma followsimmediately.
Lemma 2.9. Let p E P and
Tr/Qp be
successively generated.
Then thereis a canonical
embedding from
to oyi(1
ir).
Now we
give
the wholealgorithm.
Algorithm
2.10.(Hensel lifting)
Input:
p Ef
EZp[t],
successively generated.
Output:
Factorizationof f
in[t]
modulopT .
Step
l:Compute
thefactorization of f
=fo,l ~ ~ ~
10,80
modpk.
Step
2: For i =1, ... ,
r do1.
Compute
thefactorizations of
fi-,,j
in modp
(1
2.4. The
generalized
Newtonlifting.
Let F be analgebraic
numberfield and R an order in F. The
special
case F= Q
and R = Z ispossible.
Let
f, g
ER[t]
be irreduciblepolynomials
ofdegree
n resp. m. A zero a off
generates the number field E =F(a).
Furthermore we know a modulop-approximation
00 E
R of a zero of g, that means 0 modpR.
In the
following
we use the notation modpk
instead of modpkR.
Wedenote with
1 ( f)
theprincipal
ideal in Rgenerated by
disc( f ).
We choosea
prime
p such thatgcd(pR,
a( f )c~(g))
= R.Using
the extended Euclideanalgorithm
we cancompute
an element wo e oE such thatwog’(00)
= 1mod p
holds. In thefollowing
we construct elements with thefol-lowing
properties:
We use the
following
double iteration:The correctness can be
easily
verified[10].
We remark that it ispossible
tosolve our
problem using
thefollowing
iteration:The
disadvantage
of thisapproach
is that divisions are much morecom-plicated
tocompute.
If weanalyze
the double iteration we notice that theevaluations and are the most
expensive
steps.
Using
Horner’sscheme we need
(m - 1)
+(m - 2)
= 2m - 3multiplications
ofalgebraic
numbers ofdegree n
where m =deg(g).
We need2n2 - n
multiplications
in R to
multiply
two numbers in E. Therefore we need(2m -
3) (2n2 -
n)
multiplications
in R tocompute
their evaluations.It is better to first
compute
1,
~~, ... ,
/3"k
which can be doneusing
m -1multiplications
in E. After this we need m +(m - 1)
multiplications
of elements of F with elements of E tocompute
the evaluations.Altogether
we need
(m -
1) (2n2 - n)
+n(2m - 1)
=(2m -
2)n2
+ mnmultiplications
have not looked at the size of the coefficients. Practical
experience
shows that the secondapproach
is about50%
faster than the first one.Algorithm
2.11.(Newton lifting)
Step
4: Print,Q~
and terminate.In the
following
wegive
a variant of thisalgorithm.
In ourapplication
of the Newton
lifting
we want to find an element,~
E E with = 0. Weknow estimates for the numerators and denominators of the coefficients of
0.
In this case thefollowing
lemma is very useful.Lemma 2.12. Let such that
(U, M)
= 1 andsuppose that there exists a
pair
of
integers
(C,
D)
such that C - DU(mod
M)
with D > 0 and DM/2.
Then thepair
isuniquely
determined and there exists anefficient algorithm to
compute
it.The
proof
and thealgorithm
can be found in[5].
We remark thatalge-braic numbers are reconstructed
by applying
the lemma to all coefficients. If we know estimations for the numerators and denominators we are ableto
compute
{3
from Since the apriori
estimates we use areusually
notsharp,
we want to use a smaller k in the Newtonlifting
process tocompute
{3.
One idea is tocompute
anelement 0 from flk using
Lemma 2.12. Now it can be checked ifg(,(3)
= 0.Unfortunately
it turns out that an evaluationwith a
"wrong" {3
is veryexpensive.
Therefore we need agood
test whichis
likely
to detect(3
=~3 at
anearly
stage.
This is used in thefollowing
algorithm.
3. BLOCKS OF IMPRIMITIVITY
In this section we
develop
someproperties
about blocks ofimprimitivity.
We recall a
correspondence
between blocks andsubfields,
which is veryuseful for the
computation.
In thefollowing
letf
EZ[t]
be an irreduciblemonic
polynomial
with roots{a
=aI, ... , in a suitable extension. The
Galois group G =
Gal( f )
operates
transitively
on S2 :={al, ... ,
3.1. Introduction.Definition 3.1.
(Blocks
ofimprimitivity)
1.
0
~
A C S2 is called block(of imprimitivity),
if
A- fl 0 E{0, Al
for
aIlTEG.
2. A =
(1 ~
in)
and A = S2 are called trivial blocks. G is calledimprimitive
if
there exists a non-trivial block. Otherwise G is calledprimitive.
3. Blocks
~1,... ,
Am
withAi =,4
ij
m)
are called a(complete)
blocksystem,
if
the set remains invariant under G.If A is a block it is easy to see that A’ is a
block,
too. It follows that each block is contained inexactly
one blocksystem.
The number of elements in a block or the number of elements of a block of a blocksystem
is called the size of a block or a blocksystem.
The
proof
of thefollowing
theorem can be found in[20,
Theorem2.3].
Combined with the main theorem of Galois
theory
weget
acorrespondence
Theorem 3.2. The
correspondence A
HGA
:=(T
EG ~ I
~ 7 =Al
is abijection
between the setof
blocks which contain ce and the setof subgroups
of
Gcontaining
theisotropy
subgroup
Ga
of
a.The
following diagram
illustrates our situation:We have a
bijection
between subfields L of E and blocks A which contain cx. In this case we say that Lcorresponds
to A. Theproof
of thefollowing
lemma can be found in[20].
Lemma 3.3. Let
Bl
andB2
two blocks which contain a withcorresponding
subfields
L1
andL2
of
E. Then B :=Bl
flB2
is a block which contains a.It
corresponds
to asubfield
L =LlL2
of
E. FurthermoreLl
is asubfield
of
L2
if
andonly if
B2
CBl.
This lemma is very useful if some subfields are
already
known. This willbe discussed later.
Suppose
that we know acomplete
blocksystem
O1, ... ,
whichcor-responds
to a subfield L. From H := weget
L =Fix(H).
DefineTherefore we
get
61
EFix(H)
= L. Furthermorethe 6j
(1
im)
are allis the characteristic
polynomial
of61
E L overQ.
Thispolynomial
is of the formg(t)
with j
EN and §
irreducible. In the casethat g
is irreducible we have found aprimitive
element of L. Otherwise thepolynomial g
hasmultiple
roots which can beeasily
checked. In this case we make a lineartransformation
f (t)
t-f (t - a)
with a E Z andcompute
a new g. Later wewill prove that at most n substitutions leads to
multiple
roots for g.3.2. The Dedekind criterion. We have reduced the
problem
ofcom-puting
subfields to theproblem
ofcomputing
blocksystems
of the Galoisgroup of G. This reduction is
only
theoretical since the Galois groupcom-putation
is a very difficultproblem
forhigher degrees.
We want to use theknowledge
ofcyclic subgroups
of the Galois group which weget
from thefollowing
theorem.Theorem 3.4.
(Dedekind Criterion)
Let R be a
UFD, p
aprime
ideal inR,
R :=R/p
its residue classring,
f
ER[t]
andf
ER[t]
withf -
f
mod p.If
f
issquare-free,
itfollows
that G =Gal( f )
isisomorphic
to asubgroup of
G =Gal(f).
The Dedekind criterion allows us to determine
cyclic subgroups
of G which aregenerated by
apermutation
7r E G. Let 7r = be thedecomposition
of 7r intodisjoint
cycles and ni
=11ril
the number of zerospermuted by
~ri(1 ~
iu).
We say that 7r is ofcycle
type
[7~1,... , nuls
andw.l.o.g.
we can assume...
nu. In our situation we choose aprime
p t
disc( f )
to obtain a congruence factorizationf - fl - ... fu mod
pZ [t].
It follows that n2
(i
=1, ... ,
u)
coincides with thedegree
of thepolynomial
fi.
Thecycles
~ripermute
the roots offi.
Example
3.5. Letf (t)
= t4
+ 2 be agenerating
podynomial of
K andLet p denote the modulus. In the
first
case p divides the discriminantand the Dedekind criterion is
of
no use. In the other cases weget
cycles of
cycle
type
~1, 1, 2~, [4]
and~2, 2~.
In allof
these cases the roots canonly
beidentified
modulo p in a suitablefinite field.
3.3. Potential block
systems.
In thealgorithm
we aretrying
toenu-merate all block
systems
withoutknowing
the Galois group G. So weenumerate a
larger
set ofpotential
blocksystems
that can be defined withthe
knowledge
of acyclic
subgroup
of G. Thissubgroup
can be obtainedFix an
arbitrary
7r E G. Let 1f = 1fl ... be thedecomposition
of 1f intodisjoint cycles
oflength
l1fil
= ni(1
iu).
Definition 3.6. A subset A C 52 with d elements is called
potential
blockof
sized,
if
A1rj
fl A Efor
1 j ~
1(1f)I.
Asystem
AI,... Am of
potential
blocksof
size d is calledpotential
blocksystem
of
sized, if
Remark 3.7. The
definitions potential
block andpotential
blocksystem
depend
on 7r. A block isalways
apotential
block and a blocksystem
isalways
apotential
blocksystem.
Our
goal
is to determine allpotential
blocksystems
(for
one7r).
In thefollowing
wegive
some usefulproperties
ofpotential
blocksystems.
We saythat a
cycle
7ri contains an element cx if this element is not fixed under thiscycle
or 7ri =(a) .
Theorem 3.8. Let A be a
potential
blockcorresponding
to 7r and k be thesmallest
positive
integer
such thatA11"k
= A.If
acycle
7rl
of length
nlcontains an element
of A,
then k divides nl and 7rl containsexactly
elements
of A.
Proof.
Since A is apotential
block it follows that there exists a k withA 11"J
n A= 0
for 1j
1~ andA 11" k
= A.Suppose
that cx is contained in A and 7rl. It follows that all elements of theform
a1rck
(c
EN)
are contained in A and 7rl. Froma11"nz
= a we see that kdivides nl. Furthermore 7rl contains
exactly )
elements of A. DDefinition 3.9. The number k
from
theorem 3.8 is called inertiadegree of
thepotential
block.Theorem 3.10. Let
AI, ... ,
Am
be apotential
blocksystem
corresponding
to 7r
of
inertiadegrees I~1, ...
km.
If
Ai
andAj
contain an elementof
the samecycle,
it follows
that ki
=kj.
In this caseAi
contains an elementof
the
cycle
~-tif
andonly if
Aj
contains an elementof
the samecycle.
Proof.
There exists a minimal number c E N such thatAic
n0.
Fromthe definition of a
potential
blocksystem
it follows thatAYc
-Aj.
Theassertion follows
immediately.
DDefinition 3.11. Let
A1, ... ,
Am
be a(potential)
blocksystem
of inertia
degrees
1~ W ~ ...
. We callA 2 ~ A" i > ...
a(potential)
block cluster¿From
theorem 3.10 weget
that all blocks of a(potential)
block clusterhave the same inertia
degree.
The
preceding
two theorems are veryimportant
for the construction ofpotential
blocksystems.
We will constructsystems
of subsetsA1, ... ,
C S2 of size d andcorresponding
inertiadegrees
I~~ , ...
with thefollowing
properties:
1.2. If
Ai
contains elements of acycle
7rl, thenAi
containsexactly ni
elements of this
cycle.
- J v . v i
5. All
potential blocks
of apotential
block cluster are contained inA~, ... , ,Am,
that meansAij
e{~4.i,... ?
(0 ~j
A
system
of subsetsAI, ... ,
Am
is apotential
blocksystem
if andonly
if it has the above
properties.
Theseproperties
are sufficient togive
anefhcient
algorithm
tocompute
allpotential
blocksystems
and therefore all blocksystems.
To
compute
the minimalpolynomial
g of aprimitive
element of a subfieldL we need a method to
compute
the zeros which are contained in apotential
block. Let p E P with
p f
disc( f )
andf
EIFp [t]
be theimage
off
under the canonicalmapping
from Z toFp.
We denote the zeros off
in a suitable extensionFq
ofFp
withaI, ... ,
an. Furthermore letf =
EFp
[t]
be acomplete
factorization.Suppose
that 7r = iscomputed
using
Dedekind’s criterion 3.4. We know that ~r2
permutes
the zeros off¿.
Let
A1, ... ,
Ak
be apotential
block cluster of inertiadegree
1~.W.I.o.g.
we assume that it contains the zeros of TTi,... , that means thepotential
blocks contain the zeros of
11, ... , Iv.
LetThen permutes the zeros of
(1 j G k,
1 i v).
Thereforeall these zeros are contained in one
potential
block. We want tocompute
equation
(9).
Therefore we areonly
interested in theproduct
of the zerosof which is
equal
to That means that there is no reason to factorf over
alarger
finite field.Definition 3.12.
(Polynomial
representation
ofpotential
blocks and blocksystems)
Let A be a set
of polynorraials.
We say that A is aPotential
block inpolynomial
representation
if
the setof
zerosof
thepolynomials
in A is apotential
block. We say that apotential
blocksystem
isgiven
inpolynomial
A
potential
block cluster isgiven
inpolynomial
representation
if
all its blocksare
given
inpolynorrzial
representation.
The
polynomials
of apolynomial
representation
are notnecessarily
lin-ear. Now we can formulate ouralgorithm
tocompute
potential
blocksys-tems.
Algorithm
3.13.(ComputePotentialBlockSystems)
Input:
Generating polynomial f of E,
the block size d and aprime
-
p ~
disc( f ).
Output:
A listof
allpotential
blocksystems
of
size d inpolynomial
rep-resentation.Step
1:Compute
f (t)
modStep
2: Set Z :={!1,...
and callComputeBlockCluster(Z,
d,
0).
Algorithm
3.14.(ComputeBlockCluster)
Input:
A set Zconsisting
of
r irreduciblepolynomials fi
inFp[t],
a-
block size d E N‘ and a set Y
consisting
of already
computed
block clusters in
polynomial
representation.
Output:
A listof potential
blocksystems
of
size d inpolynomial
repre-sentation.Step
1: Set k := 1and ni
:=deg(fi) (1
ir).
Step
2: Determine all B C{2,... , r}
(including 0)
with dk - nl =EBEB nb
and kfor
all b E B.Step
3: For allcomputed
B do:1.
2. Set Y := Y U
{Z’}.
3.
If Z = Z’,
callPrintBlockSystem(Y’, d);
otherwise call
ComputeBlockCluster(Z B
Z’,
d,
Y).
4.
Set Y := Y B {Z’}.
Step
4:Terrraanate,
if k
= nl. Otherwise set k :=minfl
Ek and go to
Step
2.Algorithm
3.15.(PrintBlockSystem)
Input:
A set Yconsisting
of
r setsYi
of
block clusters inpolynomial
representation
and a block size d.Output:
A listof
allpotential
blocksystems
inpolynomial
representation
The above
algorithm
computes
allpotential
blocksystems
~4.i,...
Am.
EachAi
contains irreduciblepolynomials
which aregiven
over anex-tension of
IFp .
The block consistsexactly
of the zeros of thesepolynomials.
We have remarked that we are
only
interested in theproduct
of the zeros.It is
possible
thatpolynomials
in different blocks aregiven
over differentextension
fields,
but in a block cluster allpolynomials
aregiven
over the same extension field. LetA1, ... , Ak
be a block cluster. Then we have(compare
(10)):
1
3.4. The intersection of block
systems.
For thecomputation
of po-tential blocksystems
we have used theknowledge
of a 7r E G. If we do notfind a
"good"
7r, we have to consider a lot ofpotential
blocksystems
which are not blocksystems.
We have seen in Lemma 3.3 that the intersection of two blocks is a block.
We want to use this in two ways.
Firstly
we are able tocompute
new blocksystems
fromexisting
ones.Secondly
we want to reduce the number ofpotential
blocksystems
to consider. That means, we need one(or more)
criteria to
distinguish "wrong"
potential
blocksystems
from blocksystems.
Definition 3.16. The intersectionof
two(potential)
blocksystems
A 1, - - - ,
and,~ 1, ...
im are
the(potential)
blocks which are contained in the setfAi
1
i m,1 j
{0}.
Lemma 3.17. The intersection
of
two blocksystems
~1, ... , Am
andO1, ... , Am
is a blocksystem
of
size c E N. The intersectionof
two blocksAi
and0~
is theempty
set or contains c el ements(1 ~
im, 1 j
m) .
Proof.
The assertion follows from the fact that a block is contained inexactly
one blocksystem.
DIn the
following
letO1, ... , Am
be a blocksystem
andA1, ... ,
Ar
apotential
blocksystem.
W.l.o.g.
we assume that cxfl A1
and c =In the
sequel
we willgive
some more necessary conditions forpotential
blocksystems
to be blocksystems.
We will use this to reducethe number of
wrongly
computed
generating polynomials
andembeddings.
Thefollowing
lemma is an immediate consequence of the last lemma. Lemma 3.18. Let M1
1 im, 1
j
r~ ~ {0}.
If
M contains an elementof
size notequal
c, itfollows
thatAI,... , Ar
is not ablock
system.
Definition 3.19. The number c
of
the last lemma is called intersectionnumber.
If
there is an elementof
size notequal
to c inM,
the intersectionnumber is
defined
to be 0. The intersection numberof
apotential
blockcluster is
defined
in ananalogues
way.Let us consider the intersection
O1, ... ,
of two blocksystems
Ai , ... ,
Am
and~,1, ... , Om.
We know that the intersection is a blocksystem,
too. LetAl, ... ,
Ar
be apotential
blocksystem.
We want totest if
~4i,... ,
Ar,.t
can be a blocksystem.
A naturalquestion
to ask if itis necessary to intersect
AI,... , Am
with all known blocksystems
toget
maximal information.
Example
3.20. Tosimplify
we consideronly
the indicesof
the zeros.Let Q
- 1, ... ,12}.
Suppose
we know two blocksystems ( 1 ,
2, 7,
8},
~3,
4,
9, 10}, ~5, 6, 11, 12}
and{I,
2, 3, 4, 5,
6}, {7,
8,
9, 10, 11, 12}.
Theinter-section
of
these blocksystems
is{I, 2,}, ~3, 4}, {5, 6}, {7, 8}, {9, 10},
{II, 12}.
We consider the
potential
blocksystem
f 1,
2,
3,10,11, 12},
{4,
5, 6, 7, 8,
91.
Looking
at the intersection with thefirst
two blocksystems
weget
nocontra-diction. But we
have ~ 1, 2, 3,10,11,12~ n {1,2} == {1,2} a~ {1,2,3,10,11,
12}
n{3,4} = {3}.
This proves thatA1, ... ,
Ar
is not apotential
blocksys-tem.
This
example
shows that it is useful to consider all known blocksystems.
With this method we can decide for mostpotential
blocksystems
thatthey
are not blocksystems.
We summarize what we have done up to now.Let
L1, ... ,
L~,
be the known subfields and B be a set ofpotential
blocksystems.
1.
Compute
the set S’containing
the blocksystems
corresponding
to2.
Compute
the intersection of all blocksystems
in S and add thenon-trivial ones to S.
3. Set T
:= 0
and for allpotential
blocksystems
Å1, ... , Am
contained in B do:(a)
IntersectA1, ... ,
Am
with each blocksystem
from S’ andapply
Lemma 3.18.(b)
IfAI, ... ,
Am
passes alltests,
then add it to T.4. Print T.
The block
systems
which arecomputed
insteps
1 and 2 are known inmost cases. Now we
give
a method how tocompute
a blocksystem
if weknow a subfield and the zeros of
f
in somerepresentation.
Thisalgorithm
is useful if some subfields are known or if we want to
change
theprime
p. Thefollowing
lemma can beeasily proved.
Lemma 3.21. Let al, ... , on be the zeros
of f and ~31, ... , {3m
be the zerosof
ggiven
in the samecompletion. If
arepairwise
distinct,
then~1,...
Am
withis the
corresponding
blocksystem.
The intersection method allows us
easily
to detect manypotential
blocksystems
which are not blocksystems.
In thefollowing
wegive
conditions toexclude a lot of block
systems
with one intersection. If we look atalgorithm
3.15 we see that
potential
blocksystems
consist of rpotential
block clusters.We want to
give
conditions that apotential
block cluster cannot be apart
of a block
system.
We denote the inertiadegrees
of the block clusters withJ~1, ... ,
k.
If weanalyze
algorithm
3.15 we see that each block clusterconsists
of si
modulo p factors off . Suppose
that Tl
(1 i r)
is a set of all constructed block clusters. In the laststep
of thealgorithm
allpotential
blocksystems
are constructed in thefollowing
way:We have used the
notation vi
for~z,i?.’.
(1
ir).
The number of elements ofv
only
depend
on ki
and si. Weget:
The
algorithm
generates
I
potential
blocksystems.
Suppose
we are able to show that apotential
block cluster vl EVl
cannot bepart
ofa block
system.
In this case we have decreased the number ofpossibilities
by
~Y2 ~ ’ ’ ’ ~ Vr ~.
Furthermore weonly
combine block clusters with the sameintersection number
(Definition
3.19).
We want to use all known blocksystems
toget
maximal information. We denote with(ci, ... ,
cw)t
the intersection numbers of apotential
block cluster with tb blocksystems,
Algorithm
3.22.(Intersection algorithm)
defined
in the above text. w known blocksystems.
Set
of potential
blocksystems,
such that there is no contradic-tion with the known blocksystems.
(a)
SetWi,j
to the intersection numberof
vi,j with the known blocksystems.
(b)
If
oneof
thecomponents
of
Wi,j
equals
0,
setVi
:=Compute
allpotential
blocksystems
Vl,j1 , ... , vr,jr withW1,j1 =
... =
W,,j,
and vi,ji Ev
(1
ir)
andcomputed
ones.
Terminate the
algorithm.
4. THE COMPUTATION OF GENERATING POLYNOMIALS
We call a minimal
polynomial
of aprimitive
element of an extension agenerating polynomial.
As in the last sections let E =Q(a),
f
be the minimalpolynomial
of cx, and{c~
= al, ... , be the roots off .
TheGalois group G
operates
transitively
on the roots off .
In the last sectionwe have seen how to
compute
potential
blocksystems
corresponding
toa
permutation
7r. In this section we willexplain
how toget
generating
polynomials
from a blocksystem.
As abyproduct,
weget
more necessaryconditions for
potential
blocksystems
to be blocksystems.
Nevertheless,
we will not
get
sufficient conditions.Wrong
systems
remaining
after thisstep
willfinally
be removed in theconcluding
step,
thecomputation
of theembedding.
Let Ai, ... ,
Am
be a blocksystem
consisting
of zeros off ,
where the zeros ofAj
are in thesplitting
field N of E. Furthermore letq3
be anarbitrary
prime
ideal of oNlying
over p. We denote with E =Nq3
thep-adic completion.
Let (D be the canonicalembedding
from N to E. Now letf
andal , ... ,
be the zerosof f
inE,
where 4P (ai)
=a2 .
Letting
Aj
( 1 i m)
we define:Theorem 4.1. Let
O1, ... ,
be a blocksystem
and 9 and 9
asdefined
in(11)
and(12),
then= g.
Supposing
thatO1, ... ,
isonly
apotential
blocksystem
correspond-ing
to 1r we stillget 9
EZp[t] ,
where pcorresponds
to 1r. We remark that wehave no method to
compute $ explicitly.
We know that for each extensionthere exists a
unique
unramified p-adic
extension£ /Qp
such that theresidue class field
equals
IF9.
In the last section we havedeveloped
analgo-rithm to
compute
potential
blocksystems
Ai , ... ,
Am.
We have identified the zeros resp.the b2
in a suitable finite field.Using
thep-adic
methodspresented
in section 2 it ispossible
tocompute
these values modulopk.
Thefollowing
lemma is an immediate consequence.Lemma 4.2. Let
g, g
E £(1 ~ i ~ m)
be asdefined
in(11)
and(12).
Furthermore be the maximal idealof
o£.SuPposing
8i
= 8
modpk
(1 ~
i
m)
andg(t) =
8i)
wemodpk.
Thus we
have 9 ==
9 modpk.
Let M be a bound for the size of the coefficients
of 9
and supposep*’
> 2M. Then it follows that choose thesymmetrical
residuesystem
{ 2
... , for the coefficients ofg.
Thefollowing
lemmagives
us an estimation for M. It is an immediate consequence of[4,
Lemma3.5.2].
Lemma 4.3. Let
g(t) _
defined
as in(12).
Weget:
¿From
the construction of g we know that = 1 andbo
= ~ f (0).
Supposing
theknowledge
of an upper bound for B it is easy tocompute
an upper bound for the absolute size of the coefficients of g. One way is to
compute
approximations
of the roots off
in C to derive a bound B. If wedo not want to
compute
the zeros off
in C we can use an estimation ofMignotte
[16,
Theorem1].
Lemma 4.4. Letf (t)
we have:
It remains to discuss the case when g is not
irreducible, i.e. g
hasmultiple
roots. As remarked
above,
we use linear transforms onf :
/(~)~2013/(~+a).
The next lemma shows that this
procedure
willyield
irreduciblepolynomi-als g.
Lemma 4.5. There are at most n linear substitutions to
f
such that the constructedpolynomial
g(12)
hasmultiple
roots.Proof.
For 1 i m we define:These
polynomials
arepairwise
distinct sincethey
have different zeros. Allpolynomials
havedegree
d. This means that at most d evaluations of twopolynomials
can coincide. Ifthe b2
in(12)
are notpairwise distinct,
theneach 6j
is amultiple
rootsince g
is a characteristicpolynomial.
There-fore there are at most
d(m - 1)
= n - d evaluations values a E Z such thatDi(a)
for 2 i m. If we choose another a E Z for the transformation weget
thatall 6j
arepairwise
distinct. D This lemma remains valid if theground
field is a finite field. We needthe additional
assumption
that the finite field containsenough
elements. Thefollowing
lemma is an immediate consequence.Lemma 4.6. Let p > n and suppose that
p f
disc(f).
Then there are at most n linear substitutionsfor f
such that pdisc(g).
For our
embedding algorithm
it isimportant
to havep t disc(g).
There-fore we chooseprimes
p > n in ouralgorithm.
Now we
give
analgorithm
tocompute
generating
polynomials
for the subfieldscorresponding
to a blocksystem.
Algorithm
4.7.(ComputeGeneratingPolynomial)
Input:
Agenerating
polynomial f of
a numberfield
E. Aprime
p > n-
and a
Potential
blocksystem
O1, ... ,
Am
inpolynomial
repre-sentation.
Output:
Agenerating
polynomial
gof
apotential subfield L,
or the mes-sage, thatAi,... ,
Am
is not a blocksystem.
Step
1:Compute
the inertiadegrees
ki
(1
im)
of
the blocksAll
... ,- _
Step
2: Set I :=lcm(kl, ... , km).
Step
3:Compute
with Lemma4.3
a bound Mfor
the absolute sizeof
the
coefficients of
g.Step
4: Factorizef - fl ... fr
modpk
over anunramified
p-adic
exten-sionof
degree
Iof
Qp,
wherepk
> 2M.Step
5: Set :=I
1 ir, it
existsa f
EAj
withStep
6: For i =1, ... ,
mcompute
theproduct b2 of
thezeros, which are
~
contained in
Di.
Step
7:Compute
Ji
(modulo
p k).
If
the absolute valueof
this sum~
is
larger
thanM,
go to
step
12.Step
8:Compute
g(t)
:=6i)
(modulo
pk).
Step
9:If the
absolute valueof
oneof
thecoefficients of
g islarger
than~
M,
go tostep
12.Step
10:If g
modulo p hasmultiple factors,
setf (t)
:=f (t
+1)
and goto
step
3.Step
11:Compute
f (t) := f (t+ 1), bi
g(t)
b2)
and a boundM
for
thecoefficients of
g. Test,
if
the absolutesize
of coefficients of g
are smaller thanM.
In this casepotential
generating
polynomial g
and terminate.Step
12:Print,
thatO1, ... ,
Am is
not a blocksystem
and terminate.The correctness of the
algorithm
follows from the above considerations. We remark that it is advisable to store a lot of values. The inertiadegrees
of the
potential
blocksystems
arealready
known. The bound M instep
3only depends
onf
and thedegree
of the subfield.The most critical
part
of thealgorithm
is the factorization off
over an unramifiedp-adic
extension ofdegree
1. It isimportant
tocompute
this factorization
only
once and store the result for further use. An otherquestion
is how to choose k instep
4. Since we usequadratic
lifting
it isuseful to choose k of the form
2k.
It is necessary to choose k in a way thatp2 k>
2M. Butpractical experience
shows that it is better to choose k such thatp*’ z
M4
holds. The reason is that we have a better chance to detectin
step
7 or 9 thatO1, ... ,
Am
is not a blocksystem.
Wealready
remarkedthat it is
possible
to detect a"wrong"
blocksystem
during
theembedding
algorithm,
but it turns out that this is veryexpensive.
To avoid this wehave inserted
step
11 in thealgorithm.
This is another necessary conditionwhich must hold if
A i,... ,
Am
is a blocksystem.
We know noexample
that passes all these tests but it is not a block
system.
We use these testsonly
toget
betterrunning
times. The results will beproved
if wecompute
the
embedding.
5. COMPUTATION OF THE EMBEDDING OF THE SUBFIELDS
In this section we
give
analgorithm
tocompute
anembedding
of thecomputed potential
subfields L in thegiven
field E. As in thepreceding
sections let E =Q(a),
f
be the minimalpolynomial
of a, and{a
=a1,... , be the roots of