J
OURNAL DE
T
HÉORIE DES
N
OMBRES DE
B
ORDEAUX
H
UGUETTE
N
APIAS
A generalization of the LLL-algorithm over
euclidean rings or orders
Journal de Théorie des Nombres de Bordeaux, tome
8, n
o2 (1996),
p. 387-396
<http://www.numdam.org/item?id=JTNB_1996__8_2_387_0>
© Université Bordeaux 1, 1996, 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
A
generalization
of theLLL-algorithm
over euclidean
rings
or orderspar HUGUETTE NAPIAS
RÉSUMÉ. De nombreux réseaux célèbres (D4, E8, le réseau K12 de
Coxeter-Todd, le réseau de Barnes-Wall, le réseau 039B24 de Leech, les réseaux 2-modulaires de dimension 32 de Quebbemann et de Bachoc, ... ) sont munis de structures algébriques sur divers anneaux euclidiens, entiers d’Eisenstein
ou quaternions de Hurwitz, par exemple. Les procédés usuels de réduction,
et en particulier l’algorithme LLL, deviennent plus performants lorsqu’on
les adapte à ces structures,
ABSTRACT. Numerous important lattices
(D4,
E8, the Coxeter-Todd lat-tice K12, the Barnes-Wall lattice 039B16, the Leech lattice 039B24, as well asthe 2-modular 32-dimensional lattices found by Quebbemann and Bachoc) possess algebraic structures over various Euclidean rings, e.g. Eisenstein
integers or Hurwitz quaternions. One obtains efficient algorithms by per-forming within this frame the usual reduction procedures, including the well known LLL-algorithm.
1. Introduction.
The
LLL-algorithm
for basisreduction,
one of the mostimportant
and usefulalgorithm
in thegeometry
ofnumbers,
due toLenstra,
Lenstra,
Lovdsz
[9]
can begeneralized
to Euclideanrings
or orders.Many
latticesbuilt with codes over
rings
or orders have analgebraic
and additive struc-ture. Wepresent
here a new version of theLLL-algorithm
which reduces a basis(or
asystem
ofgenerator
vectors)
whilepreserving
thealgebraic
structure of the lattice.
We can
apply
it to thering
of theintegers
of the fivequadratic imaginary
fields~(~), ~(~), ~(~), Q( ..;::::7),
Q(B/~H).
the Hurwitz order 9R and a maximal order of thequaternion
algebra
ramified at 3 and oo.The lattices can be
given
via a basis or a set ofgenerators
(in
the case of a set ofgenerators,
this reduction avoidsusing
the Hermite Normal Formalgorithm).
2. The
LLL-algorithm
over a Euclideanring
(or order).
First,
we fix some notation. We denoteby
A a Euclideanring
containedin a iield K: CM number field or
quaternion
field over a numberfield,
which can be identified to a vector space
Rm,
endowed with an involution n(7 : x 1-+ We
equip
with the Hermitianproduct
z.y =E xp
yp.
We p=iassume that the Norm map N : x
2013~
xI
= sends K in R and A inZ.
Here,
we are interested in the case where the field K is commutative(when
K is askewfield,
the notion of a determinant has no sense, but we can substitute for it the reducednorm).
Definition.
The basis
bI, b2, ... ,
bn
of a
lattice A is called A - LLL-reducedif
where the vectors
b* (1
rn)
and the elementsof
(1 ~
sr
n)
are2nductively defined
in the Gram-Schmidtorthogonalization
process
f9~,
and the two realsCI
andC2
are such that 0G1
C2
1.Remarks: The constant
C2
depends
onCl,
it can bereplaced
by
anyvalue
strictly
bigger
thanCI
but it must bestrictly
smaller than 1 tomake sure that the
algorithm
terminates. The constantCI
isequal
tosup{inf {N(y -
E anddepends
on the field K~8~.
In the
following,
the Hermitian normbr.br
will be denotedby
Br
(1
rn).
PROPERTIES.
v)
Moregenerally,, for
asystems
of linearly independent
vectors Xl, x2, ... , Xto f A,
For the
proof
of theseproperties,
see[12].
Remark: Most of the
time,
the lattices we considered have"integer"
en-tries
( "integer"
means elements ofA).
So,
wegeneralize
the version of theLLL-algorithm
[5]
which runs with elements of Z. We have thefollowing
proposition:
PROPOSITION.
We set
dp
= 1 ~p n
anddo
= 1. Let beAr,s
for
s r and
Ar,r
=dr.
For s rfcxed,
wedefine
the sequence upby
uo =br.bs
andfor
all p such that 1 p s,Then
A,,.,
and up E A andAr,s .
For the
proof
of thisproposition,
see(12j .
Remarks: In the case where the field K is
commutative,
the elementsdp
are alsoequal
toThe sequence is defined in such a way that it can be used when
K is a skewfield.
At the
beginning
of thealgorithm,
wecompute
the up(1 ::;
p
n)
insteadof
using
the Gram-Schmidtorthogonalization
process.So,
we have for a basis two new conditions of A-LLL-reductionequivalent
When the lattice A is
given
via a set ofgenerators,
the Hermitian normsof some vectors
bs
areequal
to zero. The definition ofdp
isreplaced
by
In this case, we no more have the
equivalence
between the conditionsb)
and
b’).
So,
weimplemented
thealgorithm
using
the first twoprevious
conditions of A-LLL-reduction and the Gram-Schmidt
orthogonalization
process.
We
give
the twoalgorithms,
the first for abasis,
and the second one for anarbitrary
set ofgenerators.
Firstalgorithm:
Input:
A basisb~ (1 ~
p
n)
of a lattice A.Output:
An A-LLL-reduced basis.Init: Set r :=
2,
:=1,
do :=1, di
:=bl.bl.
Computing
up : If rgoto
Finished?.Otherwise: set rmax := r for s
= 1,...,
r set u :=bs.br,
for t =1, ... ,
s - 1set u := if s r set U, if s = r set
d r:=
u.dt-, I J
Reduction: Execute
REDI(r,
r - 1).
A-LLL-condition:
If drdr-2+
I
1
execute SWAPI(r),
set r :=
max(2, r -1)
andgoto
Reduction.Otherwise:
for s = r -2, ...
1 executeREDI(r, s)
and set r := r + 1.Finished? If r n
goto
Computing
up else terminate.REDI(r, ):
Set q := :=br -
qbs,
Ar,s
:=qds,
for t =1)...
s -1 setAr,t
:= Àr,t s-
Q’as,t
and return.,
SWAPI(r):
Interchange
br
andbr_1
and if r > 2 for s =1, ... r -
2-For a E
K,
thesymbol
means the nearest element of A(in
the sense ofthe
norm)
to a.Second
algorithm:
Input:
A set ofgenerators
bp (1
p
n)
of a lattice A.Output:
An A-LLL-reduced basis.Init: Set r :
2,
rmax :=1,
bi
:=bI,
B1
:=bl.bl.
Gram-Schmidt: If r rmax
goto
Finished?.s-1
Otherwise: set rmax := r, for s =
l~ ... ~
r - 1 set :=br.bs - 2:
ar,tiis,t
t=1
Reduction: Execute
RED ( r, r -1 ) .
A-LLL-condition:
If Br
(CZ -
executeSWAP(r),
setr :=
max(2,
r -1)
andgoto
Reduction.Otherwise: for s = r -
2, ...
1 executeRED(r,
s)
and set r := r + 1.Finished? If r n
goto
Gram-Schmidt else terminate.RED(r, s):
set q :=1 bT
:=br-qbs,
:= ILr,s -q, for t =1,
... , s-1set Ar,t := ILr,t - qJLs,t and return.
SWAP(r):
Interchange
bT
andbT_ 1
and if r > 2 for s =l, ... , r -
2The
running
time of these twoalgorithms
is the same as theordinary
LLL-algorithm
over Z or R. For theproof
of thevalidity
of thesealgorithms,
see[5]
and[12].
Remarks: Both
algorithms
wereimplemented
on a SPARC 20. To savetime,
we worked with real numbers.However,
rounding
errors may occurwhich can
generate
some instabilities.3.
Applications.
3.1.
Application
to thering
of Gaussianintegers,
thering
of Eisensteinintegers
and the Hurwitz order.We denote
by
Z[i]
thering
of Gaussianintegers
(i2
=-1),
thering
of Eisensteinintegers
(j2
+ j
+ 1 =0)
and 9A the Hurwitz order-I+i 2
] (the
unique
maximal order of thequaternion
algebra
ram-ified at 2 and oo,
with i2
=-1, j2
= -1and ij
= -ji
=k,
whichcontains
Z[I,
j,
k]).
Definition.
A basis
bp
(1
p
n)
of
a lattice A is called(resp.
Z[j],
resp.rot)-LLL-reduced
when,
[Ci
is the usual constant which occurs in the Euclideanalgorithm.]
Ch. Bachoc obtained three lattices denoted
by
BC32, BC4o,
BC48
([1],
[2])
with codes over in relative dimensions8,10,12.
The bases are notcomposed
of minimal vectors. Weapplied
to them thefollowing
process: flR-LLL-reduction and
permutation
of the vectors of the reducedbasis to order in the
increasing
way thediagonal
elements(which
represent
the Hermitian
norms)
until we obtain a basis of minimal vectors. After oneiteration for
BC32,
two forBC40
and three forBC48,
theprevious
processstops.
Wegive
the Hermitiandiagonals
before 9Jt-LLL-reduction and after each iteration.[Note
that we cannot prove apriori
that such a process willUsing
the scalarproduct
(x, y) _
Trd(x.y),
whereTrd(x)
is the reducedtrace
of x,
we can build these lattices over Z. The usualLLL-algorithm
together
withpermutations
of the bases vectors does notyield
a basis ofminimal vectors for
BC4o
nor forBC48.
3.2. Two lattices of ranks 10 and 40 over
7G(
1+~-7~.
Definition.
A basis
bp (1
p
n)
of
a lattice A is calledwhen,
We consider two lattices which have a structure over
]
(the
lattice of rank 10
found
by
G. Nebe and W. Plesken[13]
and rediscoveredby
Ch. Bachoc[2],
realizes the maximal
Berge-Martinet
constant known in dimension20,
the second one is an extensionof the
first). Replacing
rotby
7G(1+2-7~
1
in theprevious
process, we obtain a basis ofmin-imal vectors for the lattice of rank 10
(after
8iterations),
but not for the other(after
101iterations,
34 minimal vectorsappeared).
In the
following table,
wegive
thediagonal
elements of the lattice ofrank 10 before
and after each iteration.
For the lattice of rank
40,
wegive
thediagonal
elements beforeZ[
LLL-reduction
[5 20, 9ao]
(i.e.
the 20 first elements have a Hermitian normequal
to 5 and the 20 others a Hermitian normequal
to9)
and after the 101st iteration(434 ~ 53 ~ 63~ .
Considering
a matrix of the lattice of rank 10 with minimalvectors,
we can build a matrix of the lattice of rank40 which has minimal
vectors,
but notZ[
HF]-LLL-reduced
(the
previous
process
brings
some no shortestvectors).
3.3. A lattice of rank 20 over
~3.
In the
quaternion
field ramified at 3 and oo,Q~[i, j,1~],
with i2
= -1, j2
=-3 and
i j - - ji
=k,
we denoteby
rot3
a maximal order w,w’]
with w= ---~
andw’ = iw,
which containsDefinition.
G. Nebe builds a unimodular lattice of rank 20 which has an
algebraic
structure over
9X3,
generated by
40 vectors and stableby
SL2(41)
(pri-vate
communications).
Using
the secondalgorithm,
we obtain areduced basis. With the
previous
process, we find a vector of Hermitiannorm 12.
Considering
the scalarproduct
(x, y)
= we build alattice over
Z,
with a vector of norm 8. But we cannot prove that this lat-tice is extremal in the sense of thetheory
of modular forms since itmight
contain vectors of norm 6.References
[1]
Ch. Bachoc, Voisinage au sens de Kneser pour les réseaux quaternioniens, Comm.Math. Helvet. 70 (1995), 350-374.
[2]
Ch. Bachoc, Applications of coding theory to the construction of modular lattices, to appear.[3]
Ch. Batut, D. Bernardi, H. Cohen and M. Olivier, User’s Guide to PARI-GP.[4]
J.W.S. Cassels, Rational Quadratic Forms, Academic Press, London, 1978.[5]
H. Cohen, A course in computational algebraic number theory, Springer-Verlag, Graduate Texts in Mathematics, n°138, 1995.[6]
C. Fieker and M. E. Pohst, On lattices over number fields, preprint.[7]
G.H. Hardy and E.M. Wright, An introduction to the theory of numbers (1954), Oxford university press.[8]
F. Lemmermeyer, The Euclidean algorithm in algebraic number fields, preprint.[9]
A.K. Lenstra, H.W. Lenstra, Jr and L. Lovász, Factoring polynomials with rationalcoefficients, Math. Ann. 261
(1982),
515-534.[10]
J. Martinet, Les réseaux parfaits des espaces euclidiens, to appear.[11]
J. Martinet, Structures algébriques sur les réseaux, Number Theory, S. David éd.(Séminaire de Théorie des Nombres de Paris, 1992 - 93), Cambridge University
Press, Cambridge, 1995, pp. 167-186.
[12]
H. Napias, Etude expérimentale et algorithmique de réseaux euclidiens, Thèse, Univ. Bordeaux I (1996).[14]
M. Pohst, A modification of the LLL-algorithm, J. Symb. Comp. 4 (1987), 123-128.Huguette NAPIAS
Laboratoire d’Algorithmique Arithm6tique Universite Bordeaux I
351, cours de la Lib6ration,
33405 TALENCE cedex