Complex Hantzsche-Wendt manifolds

Complex Hantzsche-Wendt manifolds are flat K\"ahler manifolds with holonomy group $\mathbb{Z}_2^{n-1}\subset SU(n)$. They are important example of Calabi-Yau manifolds of abelian type. In this paper we describe them as quotients of a product of elliptic curves by a finite group $\tilde{G}$. This will allow us to classify all possible integral holonomy representations and give an algorithm classifying their diffeomorphism types.


Introduction
The class of complex Hantzsche-Wendt manifolds was defined in [2] as a complex analogue to the class of Hantzsche-Wendt manifolds. The latter is a class of flat orientable n-dimensional manifolds with holonomy group Z n−1 2 , a generalisation of the original Hantzsche-Wendt manifold which is the unique 3dimensional manifold with holonomy group Z 2 2 . Any Hantzsche-Wendt manifold is odd-dimensional, thus it cannot be a complex manifold. However, we use the following definition: Definition 1. A flat Kähler manifold of complex dimension n is called a complex Hantzsche-Wendt manifold (abbreviated as CHW-manifold) if the holonomy group of M is isomorphic to Z n−1 2 and contained in the SU (n) group.
Let us briefly recall some basic properties of complex Hantzsche-Wendt manifolds: • The holonomy group of a CHW manifold is the subgroup of diagonal integer matrices in SU (n).
• The complex dimension of CHW manifold is an odd number. Moreover, it is not hard to construct an example of CHW manifold in any odd dimension (using results on the existence of Hantzsche-Wendt manifold, see [2,Lemma 4.2]).
• The Hodge numbers of a CHW manifold M are given by: h p,q (M ) = n p if p = q or p + q = n 0 otherwise (for the calculation see [2,Theorem 4.3]).
• Any CHW manifold is an algebraic variety (which follows from the equation h 2,0 = 0).
All three-dimensional CHW manifolds were classified (up to diffeomorphism) in [2]. However they were also found independently by different authors. In particular they were listed in [9] as examples of Calabi-Yau threefolds of Type A (more detailed description, which agree with our results, can be found in [4]). We point out that there are many inequivalent definitions of Calabi-Yau manifolds in literature and that the CHW manifolds do not satisfy all of them. However, it is interesting to observe, that the Hodge numbers of CHW manifolds satisfy equations h n,0 = h 0,0 = 1 and h p,0 = 0 for p = 1, 2, . . . , n − 1, which is typical to the Calabi-Yau manifolds.
In this paper we describe the structure of CHW manifolds of any complex dimension n as orbit spaces of a free action of a finite group on the product of n elliptic curves. Details of that description will be given in Theorem 1. In particular for n = 3 it agrees with [4, Proposition 6.2, pt 1.] and [6,Theorem 5.5]. Next we show in Corollary 1 that the integral holonomy representation decomposes as direct product of two subrepresentations, of which the first is diagonal and the second is isomorphic to the diagonal representation over Q but not necessarily over Z. We classify representations of the second type in Proposition 1 using equivalence classes of some subgroups of Z n 2 (using different terminology, isometry classes of binary linear codes of length ≥ 2). After that, for any CHW manifold M we define two matrices Φ(M ) and Ψ(M ) that encode the objects from which M is build up (see Definition 3 and Definition 4). We examine which pairs of matrices Φ, Ψ correspond to a CHW manifold (Theorem 3) and we define an equivalence relation (see Definition 5) such that pairs (Φ, Ψ) and (Φ ′ , Ψ ′ ) are equivalent if and only if corresponding manifolds are diffeomorphic (Theorem 2). This way we obtain an algorithm of classification of fundamental groups of CHW manifolds, which is analogue to the algorithm of classification of Hantzsche-Wendt manifolds given in [8]. At the end of this paper we present results obtained using our algorithm in complex dimension 5. There are exactly 8616 diffeomorphism classes of CHW fivefolds. We were not able to determine exact number of CHW manifolds in dimension seven due to hardware restrictions. However, by analysis of our method we find a lower bound (equal to 48321790784) on the number of CHW 7-folds with diagonal holonomy representation. It is interesting to compare this results with the results on number of Hantzsche-Wendt manifolds: there are 2 five-dimensional and 62 seven-dimensional HW manifolds ( [8,7]).
Results of this paper were published in the author's PhD Thesis ( [3], in Polish language only).
Let us review some basic facts on flat manifolds, which will be needed further. A flat manifold M is a compact Riemannian manifold with the Riemann curvature tensor equal to zero. It is a quotient space R n /Γ, where Γ = π 1 (M ) is a torsion-free, cocompact and discrete subgroup of the group E(n) = O(n) ⋉ R n of isometries of R n . Those groups are called Bieberbach groups (torsion-free crystallographic groups). They are an essential tool in studying flat manifolds since they determine them up to diffeomorphism. The algebraic structure of crystallographic groups is well understood: by first theorem of Bieberbach any crystallographic subgroup Γ of E(n) fits into short exact sequence: where Λ ⊂ R n is a maximal abelian subgroup of Γ and is a lattice in R n (isomorphic to Z n ) and H = Γ/Λ is a finite group called holonomy group of Γ. If Γ is Bieberbach group, then H is the holonomy of manifold R n /Γ. The short exact sequence above allows to define faithful integral representation of the group H (which will be reffered to as the integral holonomy representation). The second Bieberbach theorem asserts that two crystallographic groups Γ 1 , Γ 2 are isomorphic if and only if they are conjugated in the group A(n) = GL n (R)⋉R n . It follows, that if Γ 1 and Γ 2 are isomorphic, then the images of integral holonomy representations of Γ 1 and Γ 2 are conjugated in GL n (Z) (though representations are not necessarily isomorphic).
Flat Kähler manifolds are characterised by a number of equivalent conditions ([5, Theorem 3.1 and Proposition 3.2]). In particular, Γ is fundamental group of a flat Kähler manifold of complex dimension n if and only if it is discrete, cocompact, torsion-free subgroup of U (n) ⋉ C n .

Structure theorem
We are going to describe the structure of complex Hantzsche-Wendt manifolds. Assume that M is such manifold. Recall that M is a quotient of the form M = C n /Γ, where Γ is a Bieberbach group. We have short exact sequence: where Λ ⊂ Γ is the maximal abelian subgroup of Γ isomorphic to Z 2n . Since Λ is a lattice in C n , then T = C n /Λ is a complex torus and M is a quotient M = T / Z n−1 2 (where the group Z n−1 2 acts biholomorphically). We shall show that T is isogenous to the product of elliptic curves. Consequently M is a quotient M =T /Ĝ whereT = E 1 × E 2 × . . . × E n is a product of some elliptic curves andĜ is an extension of Z n−1 2 . Let us begin with some notation. Let ̺ : Z n−1 2 → SL(V ) be a faithful representation, where dim C V = n. The image of ̺ (up to conjugation) is the subgroup of diagonal integer matrices of SU (n) (see [2,proof of Lemma 4.2]). Thus we have decomposition V = V 1 ⊕ V 2 ⊕ . . . ⊕ V n . Moreover we can find generators g 1 , g 2 . . . , g n of Z n−1 Lemma 1. Let Λ ⊂ V be a lattice (of rank 2n) and Λ i = V i ∩ Λ. Then E i = V i /Λ i are elliptic curves for i = 1, 2, . . . , n.
Proof. Let us consider maps 1 + g i : V → V where 1 is the identity map and 1 ≤ i ≤ n. It is easy to see that for all i we have Im(1 + g i ) = V i and a l λ l for some elements λ 1 , . . . , λ 2n ∈ Λ and a 1 , . . . , a 2n ∈ R. On the other hand, v ∈ V i (1 + g i )(λ l ). This means that Then µ is an isogeny. Moreover elements (t 1 , t 2 , . . . , t n ) ∈ ker µ are 2-torsion points which cannot have exactly one non-zero entry t i . Proof.
To show that any element (t 1 , . . . , t n ) of the kernel of µ is a 2-torsion point, let us observe that for any i = 1 . . . , n we have ((1 + g i )t i , . . . , (1 + g i )t n ) = (0, . . . , 0, 2t i , 0, . . . , 0) ∈ ker µ. Thus 2t i = 0. Now we are ready to prove our structure theorem for CHW manifolds. Theorem 1. Let n be an odd number. A manifold M is a n-dimensional CHW manifold if and only if there exist: • elliptic curves E 1 , . . . , E n , • non-zero 2-torsion points t i ∈ E i , i = 1, 2, . . . , n, which satisfy the following conditions: i) for all i = j elements x ij = (x 1 ij , . . . , x n ij ) ∈ W where each entry x k ij is defined as: ii) for all subsets I = {i 1 , i 2 , . . . , i m } {1, 2, . . . , n} such that m is odd and for any (y 1 , . . . , y n ) ∈ W ∃ j ∈ I such that x j I = y j , where iii) for any j ∈ {1, 2, . . . , n} equality x j n = x j {1,2,...,n−1} holds, for which M is of the form: Proof. First observe thatĜ is finite. Since W consists of 2-torsion points, then any translation t w by an element of W is an involution commuting with mapsf i for i = 1, . . . , n. Moreover, since x i i is a 2-torsion point,f i also is an involution. Condition iii) ensures thatf n =f 1f2 . . .f n−1 and from condition i) any commutator [f i ,f j ] is a translation t w for some w ∈ W . Thus t w : w ∈ W ≃ Z d 2 andĜ is a central extension of this group by a group Z n−1 2 . Now we shall show that the orbit space n i=1 E i /Ĝ is a manifold. It is enough to show that elements ofĜ have not fixed points. Letĝ = t wfi1fi2 . . .f i k be an arbitrary element ofĜ. Using relations inĜ we can assume that i 1 < i 2 < . . . < i k and that k is odd. Denote the set {i 1 , . . . , i k } by I. Let also y i denote the coordinates of w, i.e. w = (y 1 , y 2 , . . . , y n ). For any z = (z 1 , . . . , z n ) we have: where α i = 0 if i ∈ I and α i = 1 if i ∈ I. Ifĝ had a fixed point z, then for all i ∈ I we would have x i I + y i = 0. However, we assumed the contrary in the condition ii).
From the definition of M it is clear now, that M is a complex flat manifold. It is also clear that the holonomy group of M is isomorphic to the group generated by linear parts of the mapsf i (that is to the group Z n−1 2 ) and that this group consists of matrices of determinant one. Thus M is a CHW manifold. Now assume that M is a CHW manifold. Let M = V /Γ, where Γ = π 1 (M ) and let Λ ⊂ Γ be a maximal lattice We also know from Lemma 2 that the kernel of the isogeny µ : n i=1 E i → T given by µ(z 1 , z 2 , . . . , z n ) = n i=1 z i consists of 2-torsion points. This kernel will coincide with the group W . However, at this moment we only see that it is a subgroup of group of 2-torsion points which is isomorphic to Z 2n 2 . We can choose n − 1 elements (g 1 , x 1 ), . . . , (g n−1 , x n−1 ) of the group Γ where the linear parts g i are defined by diagonal matrices (where the only one 1 entry is on i-th place) in a basis corresponding to the decomposition of V . Then we define (x 1 i , . . . , x n i ) as an arbitrarily chosen element of µ −1 (x i + Λ). In case i = n we use condition iii) to define elements x j n , then Observe that from Lemma 2 this equality holds also in E i . In similar way from relation Hence x ij ∈ ker µ, where x ij is an element defined as in condition i). Next, since Γ is torsion-free, then the biholomorphic maps f i have no fixed points (if any of them had a fixed point, then it would be easy to find an element of Γ which does not act freely). A map f : T → T given by equation f (z) = g(z) + x (where g is an automorphism of T ) has no fixed points if and only if x ∈ im(id − g). Observe that any element of the group generated by automorphismsg i is of the formg I =g i1gi2 . . .g i k , where set I = {i 1 , i 2 , . . . , i k } is odd (this follows from relationg n =g 1 . . .g n ). If z = µ(z 1 , . . . , z n ) then (id −g I )(z) = i ∈I 2z i . Hence we getx I ∈ µ( i ∈I E i ). This is equivalent to the condition ii) from the definition of elements x j I (because µ(x 1 I , . . . , x n I ) =x I ). Applying above condition to the special case I = {i} we get, that there is no element (y 1 , . . . , y n ) ∈ ker µ such that y i = x i i . Thus x i i = 0. It follows also that for any i and for any two elements (y 1 , . . . , y n ) and (y ′ 1 , . . . , y ′ n ) of ker µ if both i-th entries y i and y ′ i are non-zero, then they are equal. This allows us to define elements t i ∈ E i and shows that W = ker µ is a subgroup of a group isomorphic to Z n−1 2 .
To finish the proof, observe that directly from the definition ofĜ we get

Integral holonomy representation
It is known that Hantzsche-Wendt manifolds have diagonal integral holonomy ([10, Theorem 3.1]). This cannot be true for complex Hantzsche-Wendt manifolds. Indeed, let n be an odd number and ̺ diag be a faithful representation of Z n−1 2 in the SL n (Z) such that its image consists of diagonal matrices. We take any representation ̺ of Z n−1 2 such that it is isomorphic to ̺ diag over Q but not over Z. Then we are able to construct Hantzsche-Wendt manifold with integral holonomy representation ̺ ⊕ ̺ diag . We shall show that the structure theorem implies that any integral holonomy representation of CHW manifold is of that form. We will denote by L diag a module corresponding to the representation ̺ diag .
For any i, lattice Λ i has two generators which we denote by λ 1 i and λ 2 i . This gives us following decomposition: where both summands are diagonal modules. Now observe that the group of 2-torsion points in Since Λ is generated by elements of Λ ′ and by elements of W = ker µ, then we have decomposition: The first component is the diagonal module. The second component is diagonal over Q because the set of elements {λ 2 i : 1 ≤ i ≤ n} is its basis.
First step in order to classify fundamental groups of CHW manifolds is to find all integral representations of odd degree n (in fact, their images in GL(n, Z)). It is possible to do it in terms of the subgroup W .
We introduce equivalence relation on the set of subgroups of G: if W 1 < G and W 2 < G then W 1 ∼ W 2 ⇐⇒ ∃ σ ∈ S n such that the map h σ : G → G defined by h(t i ) = t σi restricts to an isomorphism from W 1 to W 2 .
Then we define: Classes of subgroups in the set Sub(n) are in one-to-one correspondence with the conjugacy classes in GL(n, Z) of images of integral representations which are equivalent to the diagonal representation ̺ diag over Q.
Proof. Let L be a Z n−1

2
-module corresponding to the integral representation ̺ : in a such way, that for any g i its eigenspace (over Q) of 1 is one-dimensional. Denote also g n = g 1 g 2 . . . g n . Define: It can be seen as a subgroup of the quotient 1 2 Λ/Λ. To show that, we use an argument similar to that used in Lemma 2: for every l ∈ L and for every Then any of the t i cannot be an element of W , because Λ is maximal.
Assume that L ′ is a module isomorphic to L via isomorphism ϕ : L → L ′ . Then since ϕ restricts to isomorphism of the maximal diagonal submodules Λ ⊂ L and Λ ′ ⊂ L ′ , we have L/Λ = L ′ /Λ ′ . On the other hand, if W is a representative of a class [W ] ∈ Sub(n) and L diag is a diagonal module, then there exists unique module L ⊂ 1 2 L diag such that L/L diag = W . Assume that L ′ is not neccessarily isomorphic to L, but the images of representations ̺ and ̺ ′ corresponding to L and L ′ are conjugate. Then there exists a permutation σ ∈ S n inducing an automorphism f σ of Z n−1 2 defined on generators by an equation Thus L ′ /Λ ′ and L/Λ represent the same class in Sub(n). Conversely, if W and W ′ are representatives of the same class [W ] = [W ′ ] ∈ Sub(n), then there exists σ such that σW = W ′ . Let ̺ and ̺ ′ be a representations associated to W and W ′ . Changing the order of generators according to σ we get an isomorphism of these representations, thus their images are conjugate. Remark 1. We can think of subgroups of Z n−1 2 as subspaces of the vector space F k 2 . Such subspaces are also known as binary linear codes. Recall that the Hamming distance of two elements of such a code is the number of positions where these elements differ. The distance of a linear code is the minimal Hamming distance between two different elements of this code. A linear isometry of codes is a linear map between codes that preserves the Hamming distance. Using this language, the set Sub(n) is the set of linear isometry classes of (n, * , ≥ 2) binary codes (where * can be any number between 0 and n − 1).
There is a notion of dual code (subspace of vectors orthogonal to a given code with respect to the standard bilinear form). It is easy to see that a code dual to code of distance ≥ 2 is a code that has no column of zeros in its generator matrix. Such codes were studied in [11]. In particular, using notation from that paper, |Sub(n)| = • class of subgroup generated by (1, 1, 0) (code of distance 2), • class of subgroup generated by (1, 1, 1) (code of distance 3), 3. one class of order 4 subgroup (2-dimensional code), which is generated by (1, 1, 0) and (0, 1, 1).
For each of this classes there is only one manifold with corresponding holonomy representation.

Fundamental groups
Now we are in position to classify CHW manifolds up to diffeomorphism, in other words, to classify their fundamental groups. We will construct an algorithm which can be used to list all such Bieberbach groups. It can be also used to check if two CHW manifolds are diffeomorphic. The algorithm will be similar to the algorithm for HW manifolds obtained in [8].
Assume that M is a CHW manifold. According to Theorem 1, we can associate to M a collection of elements x j i , t i for i, j = 1, 2, . . . , n and a subgroup W of group generated by elements t i . Recall that for all i = j an element x ij (defined in Theorem 1) is an element of W . Thus for every k = 1, 2, . . . n we have This allows us to introduce the following definition.
Definition 3. Let M be a CHW manifold and let {x j i , t i | 1 ≤ i, j ≤ n} be a set of elements associated to M as in Theorem 1 (we use also notation x k ij from that Theorem). Then we define Ψ(M ) as a binary n × n matrix with coefficients ψ ij given by: Proposition 2. Let M be a CHW manifold of complex dimension n together with a fixed set of elements x j i and t j , for 1 ≤ i, j ≤ n and a subgroup W ⊂ t 1 , . . . , t n , defined as in the proof of Theorem 1. Then the matrix Ψ(M ) has following properties: 1. ψ ii = 0 for i = 1, 2, . . . , n, 2. ψ 21 = ψ 12 = ψ 13 = . . . = ψ 1n = 0, 3. for all i = j there exists an element w = (w 1 , . . . , w n ) ∈ W such that w i = w j = 0 and for any k ∈ {i, j} we have w k = t k ⇐⇒ ψ ik = ψ jk , 4. sum of the coefficients in every column is 0 (mod 2).
Proof. The first statement follows from Theorem 1, as x i i is a 2-torsion point. The second statement follows directly from the definition of the matrix Ψ(M ) and the definition of x k ij . The remaining statements are easily implied by conditions i) (because we can take w = x ij ) and iii) of Theorem 1.

Corollary 2. If CHW manifold M is a threefold, then Ψ(M ) is a zero matrix.
If M is any CHW manifold such that the associated subgroup W has at most two elements (in other words, binary linear code corresponding to the holonomy representation is at most one-dimensional) then Ψ(M ) is a zero matrix.
Proof. From the two first statements of the Proposition 2, if n = 3 then Ψ(M ) has only three coefficients: ψ 23 , ψ 31 and ψ 32 which could be non-zero. However as there is only one such an element in every column of Ψ(M ), from the last statement of Proposition 2 we conclude that Ψ(M ) = 0.
Assume now that W has at most 2 elements. If it has only 1 element (that is W is trivial) then obviously Ψ(M ) = 0. So assume that |W | = 2 and let w = (w 1 , . . . , w n ) be the non-zero element of W . Let i be an index such that w i = 0. Then if we take any j = i and use third statement from the Proposition 2, then we get that for any k ∈ {i, j} we have ψ ik = ψ jk (as the only one element of W with 0 on the i-th coordinate is the trivial element). This shows that for any k = i, in k-th column of matrix Ψ(M ) all elements but the i-th and the k-th are the same. The k-th element in the k-th column is always 0 (this is the first statement in Proposition 2). Since n is an odd number and all elements in every column of Ψ sum up to 0, then all elements in every column (but the i-th) which are not on the diagonal are equal. From the second statement of Proposition 2 we see that these columns consist only of zeros. Since we could find another number l = i such that w l = 0, then the i-th column has the same property and Ψ is a zero matrix. Now we shall define second matrix associated to a CHW manifold. We will denote by Z 2 [τ ] an additive group on elements {0, 1, τ, 1 + τ } isomorphic to the Klein 4-group. If M is a CHW manifold and E 1 , . . . , E n are elliptic curves defined as in Lemma 1, then for each i = 1, 2, . . . , n we define isomorphisms κ i from the group E i (2) of 2-torsion points of E i to the group Z 2 [τ ] by the values on generators: Definition 4. Let M be a CHW manifold of complex dimension n with associated collection of objects {x j i , t i | 1 ≤ i, j ≤ n} as in Theorem 1. Let Ψ(M ) be the matrix defined in the Definition 3. Then Φ(M ) is a n × n matrix with coefficients φ ij ∈ Z 2 [τ ] defined as follows: where k ∈ {1, 2, . . . , n} is the smallest number such that k = j and ψ kj = ψ ij .
Observe, that since ψ kj = ψ ij , then 2(  is given by the equation: Proof. The first two properties follows directly from the definition of Φ(M ). The last property is implied by the condition iii) of the Theorem 1. Indeed, we have: where l = 2 if j = 1 and l = 1 otherwise. Let k be the minimal index such that . We have also that x j j = κ −1 j (φ jj ). Thus we get: But from definition of Ψ(M ), equality ψ kj = 1 means that 2(x j k − x j l ) = t j = κ −1 j (τ ). Because κ j is an isomorphism, we get our result.
Definition 5. Let n be an odd number, and W be a representative of a class [W ] ∈ Sub(n). Let be a subset consisting of pairs of matrices that satisfy the conditions from Proposition 2 and Proposition 3. We say that two pairs (Φ, Ψ), (Φ ′ , Ψ ′ ) ∈ M are equivalent, if (Φ, Ψ) can be transformed to (Φ ′ , Ψ ′ ) by a finite number of operations: 1. change pair (Φ, Ψ) to (σΦ, σΨ) for any σ ∈ S(W ) = {σ ∈ S n : σ(W ) = W }, 2. add a vector τ w to one of the rows of Φ (but not to the last row), where w = (w 1 , . . . , w n ) ∈ W ⊂ Z n 2 and τ w = (τ w 1 , . . . , τ w n ), 3. apply to the k-th column of matrix Φ the bijection γ of Z 2 [τ ] which is a transposition of elements τ and 1 + τ , where k ∈ {1, 2, . . . , n} is any number such that for any w = (w 1 , . . . , w n ) ∈ W we have w k = 0, where each of the operations is followed by a normalization (if neccessary): 1. change all coefficients ψ ij of a transformed matrix Ψ such that i = j to ψ ij − ψ lj , where l = 1 for j > 1 and l = 2 for j = 1, 2. change all coefficients φ ij of a transformed matrix Φ such that i = j to φ ij − φ kj , where k is the smallest number such that k = j and ψ ij = ψ kj , 3. change elements φ nj for j < n and element φ n−1 n so that the sum of every 4. if any element φ ii on the diagonal of transformed matrix Φ is not equal to 1, then apply to all elements of the i-th column of Φ the bijection δ of the Z 2 [τ ] which is a transposition of 1 and 1 + τ . Proof. At the beginning of the proof we shall show that a pair of matrices (Φ(M ), Ψ(M )) determines a diffeomorphism type of M . Assume that M and M ′ are CHW manifolds of complex dimension n (with the same holonomy representation corresponding to W ) to which we associated the same matrices, Φ(M ) = Φ(M ′ ) and Ψ(M ) = Ψ(M ′ ). These matrices were defined using some objects, which we will denote x j i , t j ∈ E j (for manifold M ) and where Γ and Γ ′ are the fundamental groups of M and M ′ . Since the holonomy representation is fixed, then without loss of generality we can assume that Λ = Λ ′ , where Λ ⊂ Γ and Λ ′ ⊂ Γ ′ are the maximal lattices. Moreover it follows that for any i = 1, 2, . . . , n we have E i = (E i ) ′ . Up to diffeomorphism we may also assume, that x i i = (x i i ) ′ and t i = (t i ) ′ , for all i = 1, 2, . . . , n. Let l j = 1 if j > 1, l 1 = 2. We will show that without any loss of generality we may assume that x j lj = (x j lj ) ′′ . Indeed, if it is not the case, take a ∈ V such that the coset of a in T = V /Λ is equal to is an element defined as in the proof of Theorem 1, then (Id, a)(g i , x i )(Id, −a) = (g i , x i +(id−g i )a) ∈ Γ ′′ . Thus we can choose new elements (x j i ) ′′ in the following way: To end this part of the proof, we need to show that we can assume x j kj = (x j kj ) ′ , where k j is the smallest number such that ψ kj j = 1. We use the fact that x j kj lj = 2(x j kj − x j lj ) = t j . Thus the difference x j kj − x j lj can be equal ± 1 2 t j or x j j ± 1 2 t j . Consider the matrices: Lattice Λ j has a basis a, b such that 1 2 a+Λ = x j j and 1 2 b+Λ = t j . Using this basis we can see that each of the above defined matrices induces a diffeomorphism of the elliptic curve E j to itself. These diffeomorphisms fix all 2-torsion points. Moreover for any two points x, y from the set { 1 2 t j , − 1 2 t j , x j j + 1 2 t j , x j j + 1 2 t j } we can find i such that diffeomorphism induced by A i maps x to y. Thus up to diffeomorphism we can assume that x j i = (x j i ) ′ for any i, j ∈ {1, 2, . . . , n}, but then M = M ′ .
In the second part of the proof we shall check that any of operations introduced in Definition 5 does not change the diffeomorphism type of M .
1. Observe that the first operation corresponds to the change of ordering of elliptic curves E i according to the permutation σ. The first two normalizations may be needed since the matrices Φ and Ψ are defined using the differences of the elements x j i .
2. The second operation changes the values x j i . However it does not change µ(x j 1 , . . . , x j n ) since W = ker µ. This means that under this operation the fundamental group Γ is unchanged. Here it may be necessary to use all but the first normalization. We will need the second normalization for the same reason as above. Third normalization must be applied if we add to the i-th row of Φ(M ) a vector τ w such that w i = 0. In this case the element x i i would be changed to x i i + t i , but then we would rename the 2-torsion points of E i (see the proof of Theorem 1). This renaming is precisely the third normalization. Observe also that adding a vector to a single row of Φ(M ) corresponds to a different choice of elements x j i , and this implies also that elements x j n would be chosen differently (which follows from the condition iii) of the Theorem 1).
3. Now we will consider the remaining operation. Let k be a number such that for any w ∈ W we have w k = 0. Then there are two 2-torsion points which could be named t k equally well and the third operation corresponds to the different choice of this element. Clearly here we do not need any normalization.
The coefficients of Ψ(M ) and Φ(M ) are determined by the points x j i (and implicitly by t j ). These points are not uniquely determined though. In the next step we shall show that different choice of points x j i gives rise to equivalent pair of matrices. There are two cases. First assume, that k is a number such that there exists w ∈ W with w k = 0. This determines the choice of an element t k . However, since the n-tuple (x 1 k , x 2 k , . . . , x n k ) is determined up to elements of ker µ, then there are two such n-tuples which differ on the k-th place by t k . This means that there are two possible choices of x k k . Transition between them can be done precisely by the second operation (adding a vector to a row of Φ) together with the fourth normalization. In the second case, for all w ∈ W we have w k = 0. Then the point x k k is uniquely determined, but t k could be equally well substituted by t k + x k k . This corresponds to the third operation from Definition 5. • If a = 0, then it follows from direct calculation that Λ ′ = AΛ. Moreover since the holonomy representations are isomorphic, then A induce an isomorphism φ A of elliptic curves E i and E ′ i . Thus we can assume that elements (x j i ) ′ for M ′ are chosen as φ A (x j i ) and that t ′ j = φ A (t j ). But this means that (Φ(M ), Ψ(M )) is a pair that could be associated to M ′ as well. Thus (Φ(M ′ ), Ψ(M ′ )) is equivalent to (Φ(M ), Ψ(M )).
directly from the definition of matrices Φ and Ψ we see, that also in this case a pair (Φ(M ), Ψ(M )) could be associated to M ′ .
The theorem above can be used to check whether two CHW manifolds are diffeomorphic in terms of matrices Φ(M ) and Ψ(M ). However, in order to classify all diffeomorphism types of n-dimensional CHW manifolds for a given odd number n, we need to know which pairs of matrices from the set M (defined in the Definiton 5) correspond to a CHW manifold. For this reason we introduce following condition. Definition 6. Let n be an odd number and (Φ, Ψ) ∈ M (where the set M is defined as in the Definition 5). Let φ ij and ψ ij denote the coefficients of matrices Φ and Ψ respectively. We say that (Φ, Ψ) satisfies the torsion-free condition, if for any I = {i 1 , . . . , i m } ⊂ {1, 2, . . . , n} of odd size m there exists j = i p ∈ I such that: where ψ Ij ∈ Z is a number defined by equation: Proof. First assume, that M is a CHW manifold such that Φ = Φ(M ) and Ψ = Ψ(M ). Then, by Theorem 2, any equivalent matrices Φ ′ , Ψ ′ are of the form Φ ′ = Φ(M ′ ) and Ψ ′ = Ψ(M ′ ) for some manifold M ′ diffeomorphic to M (and for some choice of points (x j i ) ′ and t ′ j ). Thus it is enough to show that the pair (Φ, Ψ) satisfies the torsion-free condition. Let x j i and t j be points chosen as in Theorem 1. From condition ii) of this Theorem we know, that for any proper subset I ⊂ {1, 2, . . . , n} of odd size and any w = (w 1 , . . . , w n ) ∈ W we have x j I = w j . In particular we can take w = 0 and thus x j I = 0. But: (by direct calculation similar to the one used in the proof of Proposition 3). If ψ Ij is even, then we get and thus the torsion-free condition is satisfied. Now we assume that all equivalent pairs to (Φ, Ψ) satisfy the torsion-free condition. To construct a CHW manifold M we use matrices Φ and Ψ. Precisely, we take any elliptic curves E 1 , E 2 , . . . , E n , and for any i ∈ {1, 2, . . . , n} we choose two different 2-torsion points x i i , t i ∈ E i . Then by Theorem 1 we need also a group W which is the subgroup to which the matrices (Φ, Ψ) are associated, and points x j i which we obtain in following way: where y j ∈ E j is a point such that 2y j = t j (which we may choose arbitrarily but only once). Conditions i and iii of Theorem 1 are then easily satisfied from the properties of matrices Ψ and Φ. The only thing we need to prove is that the condition ii is also satisfied. Assume the contrary, that there exists w = (w 1 , w 2 , . . . , w n ) and a subset I ⊂ {1, 2, . . . n} of odd size such that for every j ∈ I we have x j I = w j . Observe that in particular 2x j I = 0 and thus ψ Ij cannot be odd. We can get a new pair (Φ ′ , Ψ ′ ) equivalent to (Φ, Ψ) by adding w to k-th and l-th row of Φ, where k ∈ I and l ∈ I. First observe, that before doing normalization, we obtain a matrix which does not satisfy the torsionfree condition -it follows from the assumption that condition ii of Theorem 1 is not satisfied. Now we will check, that after normalizations the torsion-free condition still is not satisfied. LetΦ denote matrix Φ with w added to the k-th and l-th row, without normalizations and letφ ij denote its (i, j)-coefficient. Fix j ∈ I. Let α, β and γ be a numbers of coefficientsφ ij equal to 1, τ and 1 + τ respectively, where i ∈ I. Since the torsion-free condition is not satisfied for the subset I, we have that α + γ and β + γ + 1 2 ψ Ij are even numbers. Let us examine all types of normalizations.
1. The first normalization operates on Ψ which is unchanged.
2. The second normalization adds τ to some even numbers of elements, because I is odd, we do not change elements on the diagonal and ψ Ij is even. Thus the parity of α + γ and β + γ + 1 2 ψ Ij is unchanged.
3. Since w has been added to two rows, then the sum of the coefficients in every column remains the same. It follows that the third type of normalization is not necessary.
4. The last type of normalization swaps numbers α and γ. It is enough to observe that α + γ + 1 2 ψ Ij is also an even number.
We have arrived to a contradiction. Thus elements x j i satisfy all conditions of Theorem 1 and we conclude that M is a CHW manifold such that Φ(M ) = Φ and Ψ(M ) = Ψ.

Quantitative results
Theorems 2 and 3 can be used to classify fundamental groups of complex Hantzsche-Wendt manifolds of given dimension n. We sum it up in the following steps: As we have seen, there are four classes in Sub (3). Moreover the matrix Ψ is a zero-matrix and there is unique matrix Φ satisfying the conditions of Proposition 3. This confirms that there are four CHW threefolds, with distinct integral holonomy representations ( [2]).
The set Sub(5) consists of 16 classes. Using a computer program based on our method, we can list all fundamental groups of CHW manifolds of complex dimension 5. The total number of CHW fivefolds is equal to 8616. More detailed results are listed in Table 1.
In the case of dimension 7 and the diagonal module, we can use our algorithm to find a lower bound on number of fundamental groups. However, this is probably very rough estimate. Proof. Integral holonomy representation of CHW manifold is diagonal if and only if the associated subspace W is trivial. This implies that Ψ is zero matrix. Equivalence of pairs (Φ, Ψ) reduces to an action of the group S 7 × Z 7 2 on the set of matrices Φ (where S 7 acts via the first kind and Z 7 2 via the third kind of operations from Definition 5). Since Φ has always 1 on the diagonal, 0 in the top non-diagonal entry and the sum in the bottom non-diagonal entry, then the set of possible matrices Φ is parametrized by values of the remaining 28 coefficients, which have values in Z 2 [τ ]. Some of the matrices from that set do not satisfy the torsion-free condition. However, looking at the proof of Theorem 2, we see that in our case if a matrix Φ satisfy the torsion-free condition, then it is also satisfied by all equivalent matrices. We will estimate how many possible matrices do not satisfy the torsion-free condition. We have 35 subsets of {1, 2, . . . , 7} of cardinality 3 and 21 subsets of cardinality 5. The torsion-free condition is not satisfied for the subset I when the coefficients of Φ satisfy a set of |I| linearly independent linear equations. Thus there are at most 35 · 4 28−3 + 28 · 4 28−5 matrices for which the torsion-free condition is not satisfied. As a consequence the number of matrices Φ satisfying the torsion-free condition is greater than 4 28 − 35 · 4 25 + 28 · 4 23 = 2 46 · 443. As the order of the group acting on those matrices is equal to 7! · 2 7 , the number of its orbits exceeds 2 46 · 443/(7! · 2 7 ) = 2 35 · 443/315.