<<

TRANSACTIONS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 359, Number 6, June 2007, Pages 2539–2558 S 0002-9947(07)04274-2 Article electronically published on January 25, 2007

THE REAL COHOMOLOGY OF NILPOTENT GROUPS

KAREL DEKIMPE AND HANNES POUSEELE

Abstract. In this paper we present a method to compute the real cohomology of any finitely generated virtually nilpotent . The main ingredient in our setup consists of a polynomial crystallographic action of this group. As any finitely generated virtually nilpotent group admits such an action (which can be constructed quite easily), the approach we present applies to all these groups. Our main result is an algorithmic way of computing these cohomology spaces. As a first application, we prove a kind of Poincar´e duality (also in the nontorsion free case) and we derive explicit formulas in the virtually abelian case.

1. Introduction In [13, Section 8] it was shown that the cohomology of a compact and complete affinely flat manifold with a nilpotent fundamental group can be computed as the cohomology of a certain complex of polynomial differential forms. Any such mani- n ∼ fold M can be constructed as a quotient space ρ(G)\R ,whereρ : G = π1(M) → Aff(Rn) defines a cocompact, free and properly discontinuous action of G on Rn (see [1]). Here Aff(Rn) denotes the group of invertible affine maps of Rn. We gener- alize this affine set-up by considering group actions ρ : G → P(Rn), where P(Rn)is the group of all polynomial diffeomorphisms of Rn.Amapp : Rn → Rn belongs to P(Rn)iffp is bijective and both p and p−1 are expressed by polynomials. As group actions will play a crucial role in this paper, we introduce the following notions. Definition 1.1. Let H(Rn) be the group of homeomorphisms of Rn.Anaction ρ : G →H(Rn)issaidtobecrystallographic iff G acts properly discontinuously and cocompactly on Rn.Ifρ(G) ⊆ Aff(Rn), the action is called an affine crystal- lographic action,andifρ(G) ⊆ P(Rn)weusethetermpolynomial crystallographic action. The ρ(G)isreferredtoasa(possiblyaffine or polynomial) crystal- lographic group. Of course this terminology is based on the same terminology for actions ρ : G → Isom(Rn), with Isom(Rn) the group of isometries of n-dimensional Euclidean space. We can translate the result of [13] to the group level, by stating that the co- homology of a torsion-free nilpotent affine crystallographic group can be obtained as the cohomology of a certain complex of polynomial differential forms. In fact, given an affine crystallographic action ρ : N → Aff(Rn) of a finitely generated

Received by the editors February 3, 2005. 2000 Mathematics Subject Classification. Primary 20J06, 57T15. The second author is a Research Assistant of the Fund for Scientific Research–Flanders (F.W.O.).

c 2007 American Mathematical Society Reverts to public domain 28 years from publication 2539

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2540 KAREL DEKIMPE AND HANNES POUSEELE

torsion- N (e.g. by the images of a set of generators of N), the result of Fried, Goldman and Hirsch in [13] implies there is an algorithm to compute the ∗ R cohomology groups Htriv(N, ). Unfortunately, there are some problems with this approach. The major problem is the fact that not all finitely generated torsion-free nilpotent groups admit such an affine crystallographic action (see [3], [8] and [7] for examples). Moreover, even if such a group does admit an affine crystallographic action, there is no practical method, and certainly no algorithm, to find it. In this paper we extend the approach of Fried, Goldman and Hirsch in two di- rections. First of all, we will not restrict ourselves to affine crystallographic actions, but to polynomial crystallographic actions of bounded degree. (A polynomial crys- tallographic action ρ : N → P(Rn)issaidtobeofbounded degree,ifthereexists an M such that for all g ∈ G, the degree of the polynomial map ρ(g) is bounded above by M.) This generalization completely overcomes the problems mentioned above, since any finitely generated nilpotent-by-finite group (in fact, any polycyclic-by-finite group) admits a polynomial crystallographic action, which can be determined easily (e.g. there is an algorithmic way to construct a polynomial crystallographic action from a presentation of the group, see [12], [10], [11]). Sec- ondly, our methods do not only apply to finitely generated torsion-free nilpotent groups, but are also valid for all finitely generated nilpotent-by-finite groups, even if there is torsion. The methods we develop in this article allow us to compute the Betti numbers of all virtually nilpotent groups, whereas results somehow familiar to ours (as can be found in for instance [20, pp. 189-209]) seem to be restricted to the torsion-free case. As an easy example we present explicit formulas for the computation of these Betti numbers for all crystallographic groups.

2. Cohomology of K(G, 1)-spaces Let X be a contractible, connected and locally arcwise connected topological space. When a group G acts freely and properly discontinuously via homeomor- phisms on X (denoted by a ρ : G →H(X)), the quotient space Y = G\X is a K(G, 1)-space. The well-known Eilenberg-Mac Lane theorem then relates the singular cohomology of Y with coefficients in an A (see for instance [16]) to the group cohomology of G, with coefficients in A consid- ered as a trivial G-module (see for instance [2], [6]). ∗ ∼ ∗ Theorem 2.1. Hsing(Y,A) = Htriv(G, A). Moreover, this is a ring isomorphism for the cup product ring structures. As we will need the exact nature of the isomorphism between those two coho- mology groups, we describe it here in detail. Let C∗(X) denote the cubical singular chain complex of X. Any continuous map f : X → X induces a chain endomor- phism f# of C∗(X), so the action of G on X induces an action on the chain complex C∗(X)givenby

ρ(−)# : G → Aut(C∗(X)) : g → ρ(g)#.

This action turns C∗(X) into a free resolution of Z as a trivial G-module, from ∗ − which we can compute Htriv(G, A) by applying the functor HomZG( ,A). The ∗ ∗ ∗ isomorphism between Htriv(G, A)andHsing(Y,A)=H (HomZ(C∗(Y ),A)) is given

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2541

∗ ∗ → ∗ by the mapping p : Hsing(Y,A) Htriv(G, A) induced on cohomology by the projection p : X → Y . Written explicitly, ∗ p (f):C∗(X) → A : u → (f ◦ p#)(u)

for every f ∈ HomZ(C∗(Y ),A). In case X is a differentiable manifold and G acts freely and properly discontin- uously via diffeomorphisms (still denoted by ρ : G →D(X)), the quotient space Y D D is also a manifold. The inclusion i : C∗ (Y ) → C∗(Y ) of the chain complex C∗ (Y ) of the differential singular (co)homology of Y in the chain complex C∗(Y )ofthe usual singular (co)homology of Y induces an isomorphism on cohomology ∗ ∗ → ∗ H (i):Hsing(Y,A) Hdiff sing(Y,A). The deRham theorem then relates this differential singular cohomology of Y with coefficients in R to its deRham cohomology, which is the cohomology of the cochain complex Ω∗(Y ) of differential forms on Y . ∗ R ∼ ∗ Theorem 2.2. Hdiff sing(Y, ) = HdR(Y ) if Y is paracompact. Moreover, this is a ring isomorphism: the ring structure arising from the cup product on singular cohomology corresponds to the the ring structure arising from the exterior product of forms. The isomorphism of the cohomology spaces in the theorem above is induced by the cochain morphism ∗ D Φ:Ω (Y ) → HomZ(C∗ (Y ), R):ω → ω, ... D R where the integral is a linear map from Cp (Y )to defined on a given differentiable singular p-cube T :[0, 1]p → Y by

ω = fdx1dx2 ...dxp T [0,1]p ∗ when T (ω)=fdx1 ∧ dx2 ∧ ...∧ dxp. Putting all the results from this section together, we obtain the following. Conclusion. Let X be a contractible, connected and locally connected manifold and let G be a group acting freely and properly discontinuously on X via diffeomorphisms such that the quotient manifold Y = G\X is paracompact. Then ∗ R ∼ ∗ Htriv(G, ) = HdR(Y ). Moreover, the ring structures of both cohomology spaces correspond under the iso- morphism.

3. Cohomology of J -groups In our context, a J -group is a finitely generated torsion-free nilpotent group. According to the previous section, computing the cohomology of a J -group N, with trivial coefficient module R, is equivalent to the computation of the deRham cohomology of a K(N,1)-manifold. To obtain such a K(N,1)-manifold, we need to construct a suitable action of N on a contractible space. We will put together the results obtained from two different constructions of such a K(N,1)-manifold and work out an algorithmic way to compute this deRham cohomology.

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2542 KAREL DEKIMPE AND HANNES POUSEELE

3.1. Constructing K(N,1)-manifolds. approach. Let G be the Mal’cev completion of N.ThenG is diffeomor- phic to some Rn, so it is contractible, connected and locally arcwise connected. As N is a in G, the action of N on G given by left translations

L:N →D(G):n → Ln, with Ln(g)=ng for all g ∈ G, is free and properly discontinuous (see for instance [18]). The quotient manifold N\G is a compact K(N,1)-manifold, so we know that ∗ R ∼ ∗ \ Htriv(N, ) = HdR(N G). The pullback p∗ of the projection p : G → N\G provides a correspondence between the differential forms on N\G and the differential forms on G that are invariant under the action of N. We can even strengthen this invariance condition. Theorem 3.1 ([17, Theorem 1]). Let Ω∗(G)N be the cochain complex of N-invar- iant differential forms on G and let Ω∗(G)G be the cochain complex of G-invariant differential forms on G. Then the inclusion i :Ω∗(G)G → Ω∗(G)N induces an isomorphism on cohomology. As a conclusion so far, we have that ∗ R ∼ ∗ \ ∼ ∗ ∗ N ∼ ∗ ∗ G Htriv(N, ) = HdR(N G) = H (Ω (G) ) = H (Ω (G) ). Polynomial crystallographic action approach. Let n betheHirschlengthofN.Ac- cording to in [12] (see also [10]), N admits a polynomial crystallographic action ρ : N → P (Rn) of bounded degree. This N-action on Rn is free, so the quotient manifold ρ(N)\Rn is again a compact K(N,1)-manifold. We obtain an isomor- phism ∗ R ∼ ∗ \Rn Htriv(N, ) = HdR(ρ(N) ). Using the pullback of the projection mapping p : Rn → ρ(N)\Rn one can show that differential forms on ρ(N)\Rn correspond to ρ(N)-invariant differential forms on Rn. A diffeomorphism between N\G and ρ(N)\Rn. One of the major results in [13] is the fact that any affine crystallographic action of a J -group N can be extended to a simply transitive affine action of the Mal’cev completion G of N (this is in fact a translation of the contents of [13, Theorem 7.1]). This also holds for polynomial crystallographic actions. Theorem 3.2. Let N be a J -group with Mal’cev completion G.Supposeρ : N → P(Rn) is a polynomial crystallographic action of bounded degree. Then there exists a unique simply transitive action ρ¯ : G → P(Rn), whose restriction to N is ρ. Proof. In [12, Theorem 3.3] (see also the example below) it is shown that G admits a simply transitive polynomial action ψ¯ : G → P(Rn). Its restriction to N yields a polynomial crystallographic action ψ of N on Rn. The main result of [4] states that there exists a polynomial map p ∈ P(Rn) such that ρ(n)=p ◦ ψ(n) ◦ p−1. Therefore the representation ρ¯ : G → P(Rn):g → p ◦ ψ¯(g) ◦ p−1

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2543

defines a simply transitive action of G on Rn whose restriction to N is just the action of N on Rn given by ρ. This proves the existence ofρ ¯. Analoguously we can prove uniqueness. Letρ ¯1 andρ ¯2 denote two simply tran- sitive polynomial actions of G on Rn whose restriction to N is ρ.LetA(H)bethe algebraic closure construction from [4] for any H ⊆ P(Rn) of bounded degree, and U(H) the radical of such an A(H). As ρ(N) ⊆ ρ¯1(G), we have A(ρ(N)) ⊆ A(¯ρ1(G)). Moreover, by [4, Lemma 5.1 and Remark 5.2], we also know that A(ρ(N)) = U(ρ(N)) and A(¯ρ1(G)) = U(¯ρ1(G)) =ρ ¯1(G). Now both n unipotent parts act simply transitively on R ,so¯ρ1(G)=U(ρ(N)). The same argument applied toρ ¯2 leads to the fact thatρ ¯1(G)=¯ρ2(G). Again we know there exists a polynomial map p ∈ P(Rn) such that

−1 ∀g ∈ G :¯ρ1(g)=p ◦ ρ¯2(g) ◦ p .

This shows that conjugation with p induces an automorphism of the groupρ ¯1(G)= ρ¯2(G). This automorphism reduces to the identity on ρ(N). As ρ(N) is a uniform lattice of the nilpotent Lie groupρ ¯1(G), it has to be the identity on the whole group ρ¯1(G), soρ ¯1 =¯ρ2. 

Example 3.1. Let G be an n-dimensional, connected, simply connected and nilpo- tent Lie group, and G its . It is well known that in this setting the expo- nential map exp : G→G is a diffeomorphism. We will show that left multiplication with an element g ∈ G corresponds to a polynomial diffeomorphism under exp. To this end, let g =exp(A),h=exp(X) ∈ G,whereX, Y ∈G.Then 1 g · h =exp(A) · exp(X)=exp(A + X + [A, X]+...) 2 by the Campbell-Baker-Hausdorff formula. As G is nilpotent, there are only finitely many nonzero terms. After choosing a basis for G and thus identifying G with Rn, the expression 1 A + X + [A, X]+... 2 n n is actually a polynomial mapping pA(X):R → R in the coordinates of X,with the coordinates of A as parameters. It follows immediately from

exp((pA ◦ pB)(X)) = exp(A) · exp(B) · exp(X)=exp(C) · exp(X)=exp(pC (X)),

where exp(C)=exp(A) · exp(B), that pA(X) is a polynomial diffeomorphism for all A and that the mapping

n m : G → P (R ):g =exp(A) → pA

is a group homomorphism. It is easy to see that the action of G on Rn defined by m is simply transitive.

Now consider a polynomial crystallographic action ρ of bounded degree of a J -group N and letρ ¯ be the unique extension to its Mal’cev completion G.The evaluation map Ev : G → Rn defined by

Ev(g)=¯ρ(g)(0)

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2544 KAREL DEKIMPE AND HANNES POUSEELE

is a diffeomorphism, and for every g ∈ G, the following diagram commutes:

Ev / G Rn

Lg ρ¯(g)   Ev / G Rn Of course, the map Ev induces a diffeomorphism between N\G and ρ(N)\Rn. As the functor Ω∗(−) is contravariant, we can apply it to the diagram above to obtain the following corollary. Corollary 3.3. Ω∗(Ev) : Ω∗(Rn)ρ(N) → Ω∗(G)N and Ω∗(Ev) : Ω∗(Rn)ρ¯(G) → Ω∗(G)G are isomorphisms of cochain complexes. This allows us to formulate the analoguous version of Theorem 3.1 in the poly- nomial action approach.

Theorem 3.4. Let Ω∗(Rn)ρ(N) be the cochain complex of ρ(N)-invariant differ- ential forms on Rn and let Ω∗(Rn)ρ¯(G) be the cochain complex of ρ¯(G)-invariant differential forms on Rn. Then the inclusion i :Ω∗(Rn)ρ¯(G) → Ω∗(Rn)ρ(N) induces an isomorphism on cohomology.

3.2. Polynomial cohomology for J -groups. Computing the real cohomology of N is now equivalent to computing the deRham cohomology of theρ ¯(G)-invariant differential forms on Rn. Recall that any differential p-form ω on Rn can be written as a sum ω = ωσdxσ(1) ∧ dxσ(2) ∧ ...∧ dxσ(p), σ

where the sum ranges over the set S(p, n − p)ofall(p, n − p)-shuffles and each ωσ is a differentiable map. A (p, n − p)-shuffle is a permutation σ of {1, 2,...,n} with σ(1) <σ(2) < ···<σ(p)andσ(p +1)<σ(p +2)< ···<σ(n). It turns out that theρ ¯(G)-invariant differential forms are polynomial. Theorem 3.5. Let G be a connected and simply connected nilpotent Lie group and let ρ¯ : G → P (Rn) be a simply transitive polynomial action of G on Rn. Then every ρ¯(G)-invariant differential form ω on Rn is polynomial, that is, if ω = ωσdxσ(1) ∧ ...∧ dxσ(p), σ∈S(p,n−p)

n then ωσ : R → R is polynomial for every σ ∈ S(p, n − p). Moreover, the ∗ complex Ω (Rn)ρ¯(G) of ρ¯(G)-invariant forms is finite dimensional, more precisely, p Rn ρ¯(G) n ≤ ≤ dim Ω ( ) = p for every 0 p n. Proof. Let ω ∈ Ωp(Rn)be¯ρ(G)-invariant. Let G denote the Lie algebra of G. This Lie algebra can be identified with Rn by choosing a basis. As exp : G→G is a diffeomorphism, it defines global coordinates on the manifold G. Clearly ∗ ω =(Ev−1)∗ log exp∗ Ev∗(ω)=(log◦ Ev−1)∗ exp∗(Ev∗(ω)).

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2545

Lemma 2 in [4] shows that log ◦ Ev−1 is polynomial (recall we identified G with Rn), so ω is polynomial iff exp∗(Ev∗(ω)) is polynomial.

oexp∗ o Ev∗ ∗ G ∗ G ∗ n ρ(N) Ω ( ;) /Ω (G) /Ω (R ) ; ∗ −1 ∗ ~ ;; log (Ev ) ~~ ;; ~~ ;; ~~ ; η ~ ∗ ; ~~ ω exp (η) ;; ~~ ;; ~~ ;~~ R

Let η =Ev∗(ω) ∈ Ω∗(G)G. The nilpotency of G and the Campbell-Baker- Hausdorff formula imply that left multiplication inside G is polynomial (of degree less than or equal to the nilpotency class of G) in the coordinates defined by exp. Now let X ∈Gand ξ(1),...,ξ(p) be tangent vectors at X.Then

exp∗(η)(X)(ξ(1),...,ξ(p)) (1) (p) = η(exp(X))(exp∗ ξ ,...,exp∗ ξ ) (1) (p) = η(exp(0))(Lexp(−X)∗ exp∗ ξ ,...,Lexp(−X)∗ exp∗ ξ ) (1) (p) = η(exp(0))(exp∗ log∗ Lexp(−X)∗ exp∗ ξ ,...,exp∗ log∗ Lexp(−X)∗ exp∗ ξ ) ∗ (1) (p) =exp(η)(0)((log ◦Lexp(−X) ◦ exp)∗ξ ,...,(log ◦Lexp(−X) ◦ exp)∗ξ ). This last expression is polynomial in the coordinates of X ∈G,soη is polynomial in the coordinates defined by exp, and ω =(Ev∗)−1(η)isalso. As theρ ¯(G)-action on Rn is simply transitive, it is easy to see that anyρ ¯(G)- invariant form ω is determined by its value in the origin. But this means Ωp(Rn)ρ¯(G) corresponds to the vector space of alternating p–forms on the tangent space at the p Rn ρ¯(G) n  origin, so Ω ( ) has dimension p .

Once we have restricted ourselves to the polynomial differential forms, ρ(N)- invariance impliesρ ¯(G)-invariance. Proposition 3.6. Let N be a J -group with Mal’cev completion G, ρ : N → P(Rn) a crystallographic action and ρ¯ : G → P(Rn) its extension to G. Then every ρ(N)- invariant polynomial differential form ω ∈ Ω∗(Rn) is also ρ¯(G)-invariant.

The proof of this proposition uses the following well-known lemma.

k k Lemma 3.7. Let n, k ∈ N0 and n ≥ k.SupposeΓ ⊆ R is a generating set for R as a vector space and p ∈ R[x1,...,xk,xk+1,...,xn] is a polynomial. If

p(x1 + γ1,...,xk + γk,xk+1,...,xn)=p(x1,...,xk,xk+1,...,xn)

n for every (γ1,...,γk) ∈ Γ and every (x1,...,xk,xk+1,...,xn) ∈ R ,thenp does not depend on the variables x1,...,xk. Proof of Proposition 3.6. It follows from [4] that every polynomial structureρ ¯ : G → P (Rn) is polynomially conjugated to m : G → P (Rn), where m is the poly- nomial crystallographic action obtained by expressing left multiplication in G in Mal’cev coordinates of the second kind (see Example 3.1 or again [4]). So there is

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2546 KAREL DEKIMPE AND HANNES POUSEELE

a q ∈ P (Rn) such that q Rn /Rn

m(g) ρ¯(g)   q Rn /Rn for every g ∈ G. By applying the functor Ω∗(−) to the commutative diagram above we see that the action ofρ ¯(g)∗ on differential forms of Rn corresponds to the action of m(g)∗. This implies that it is sufficient to show that a polynomial m(N)-invariant differential form on Rn is also m(G)-invariant. ∼ Using the coordinates for G defined by the diffeomorphism exp : Rn = G→G we see that for Y =(y1,y2,...,yn) ∈G, m(exp(Y )) is also polynomial in the yi. This makes the invariance condition for a polynomial differential form ω on Rn, ∗ (3.1) (m(exp(Y )) ω)(x1,x2,...,xn)=ω(x1,x2,...,xn),

entirely polynomial: we get a set of equations that are polynomial in the xi and in the yj.NowasN is a lattice in G,log(N) is a generating set for G.Given the equations (3.1) are satisfied for all Y ∈ log(N), the lemma assures that these equations are true for all Y ∈G.Butthismeansm(N)-invariance implies m(G)- invariance.  Theorem 3.8. Let N be a J -group and ρ : N → P (Rn) a polynomial crystallo- ∗ Rn ρ(N) graphic action of bounded degree. Let ΩP ( ) be the cochain complex of ρ(N)- invariant polynomial differential forms on Rn. Then there is an isomorphism of cohomology spaces ∗ R ∼ ∗ ∗ Rn ρ(N) H (N, ) = H ΩP ( ) under which the ring structures correspond. Once we know we can restrict to polynomial differential forms, the invariance condition is a very computational one. Using Lemma 3.7, one can actually compute the invariant differential forms.

n Example 3.2. Let us consider the case N = Z for some n ∈ N0. The transla- tion action ρ : Zn → Aff(Rn) yields a free and properly discontinuous action, the n quotient space is the n-torus. Now let (e1,...,en) be the standard basis of Z and ∈ p Rn ω ΩP ( ). Then the invariance condition states that (1) (p) (1) (p) (ω)(x − ei)(ξ ,...,ξ )=ω(x)(ξ ,...,ξ ) or, written in full, ωσ(x − ei)dxσ(1) ∧ ...∧ dxσ(p) = ωσ(x)dxσ(1) ∧ ...∧ dxσ(p). σ∈S(p,n−p) σ∈S(p,n−p) Again, S(p, n − p) denotes the set of all (p, n − p)-shuffles. Lemma 3.7 then shows that every ωσ is independent of xi, for every i ∈{1,...,n}. So all functions ωσ are in fact constants, and subsequently the differential on any ρ(Zn)-invariant form is ∗ ∼ ∗ zero. We thus obtain the well-known result that H (Zn, R) = Alt (Rn), the graded R-algebra of alternating forms on Rn. Example 3.3. Consider the generalized k Hk = a, b, c || [b, a]=c , [b, c]=[a, c]=1 ,

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2547

3 where k ∈ N0. This group has an affine crystallographic action ρ : N → Aff(R ) given by ⎛ ⎞ ⎛ ⎞ ⎛ ⎞ − k k 10 2 0 1 2 00 1001 ⎜ 0101⎟ ⎜ 0100⎟ ⎜ 0100⎟ ρ(a)=⎜ ⎟,ρ(b)=⎜ ⎟,ρ(c)=⎜ ⎟ ⎝ 0010⎠ ⎝ 0011⎠ ⎝ 0010⎠ 0001 0001 0001

(see [9, p. 159]). We would like to compute the ρ(Hk)-invariant polynomial differ- ential forms ω on R3. The invariance condition is ρ(n)∗(ω)=ω, or explicitly, (1) (p) −1 (1) −1 (p) ω(ρ(n)(x))(ξ ,...,ξ )=ω(x)(ρ(n )∗ξ ,...,ρ(n )∗ξ ) 3 (1) (2) (p) 3 for all n ∈ Hk,allx ∈ R and all vectors ξ ,ξ ,...,ξ tangent to R at ρ(n)(x). Of course it is sufficient to check the invariance of the differential forms under the action of the generators. Computing 0-forms. Suppose f ∈ Ω0(R3). The invariance conditions are k (3.2) f(x − x ,x +1,x )=f(x ,x ,x ), 1 2 3 2 3 1 2 3 k (3.3) f(x + x ,x ,x +1) = f(x ,x ,x ), 1 2 2 2 3 1 2 3 (3.4) f(x1 +1,x2,x3)=f(x1,x2,x3). Using Lemma 3.7, we deduce from condition (3.4) that f does not depend on x1. Once we know this, conditions (3.2) and (3.3) imply analogously that f is a constant mapping from R3 to R. As the differential of a constant mapping is zero, we obtain that 0 R ∼ R Htriv(Hk, ) = . 1 3 Computing 1-forms. Let ω = ω1dx1 + ω2dx2 + ω3dx3 ∈ Ω (R ). The in- variance conditions are (3.5)  3 k k ω (x − x ,x +1,x )dx = ω (x)dx + ω (x)dx + ω (x) − ω (x) dx , i 1 2 3 2 3 i 1 1 2 2 3 2 1 3 i=1 (3.6)  3 k k ω (x + x ,x ,x +1)dx = ω (x)dx + ω (x)+ ω (x) dx + ω (x)dx , i 1 2 2 2 3 i 1 1 2 2 1 2 3 3 i=1 3 3 (3.7) ωi(x1 +1,x2,x3)dxi = ωi(x)dxi. i=1 i=1

It follows from vector equation (3.7) that ω1, ω2 and ω3 are independent of x . Equation (3.6) is in fact a set of three equations, 1 ⎧ ⎨ ω1(x2,x3 +1)=ω1(x2,x3), ω (x ,x +1)=ω (x ,x )+ k ω (x ,x ), ⎩ 2 2 3 2 2 3 2 1 2 3 ω3(x2,x3 +1)=ω3(x2,x3),

implying that ω1 and ω3 are independent of x3 and that ω2(x2,x3)= k c2(x2)+x3 2 ω1(x2). Analoguously (3.5) implies that ω1 and ω2 do not k depend on x2 (so ω1 = c1 and ω2(x3)=c2 + x3 2 c1,wherec1 and c2 are

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2548 KAREL DEKIMPE AND HANNES POUSEELE

k real constants) and that ω3(x2)=c3 + x2 2 c1 for c3 a real constant. This leads us to conclude that k k ω(x ,x ,x )=c dx +(c − c x )dx +(c + c x )dx . 1 2 3 1 1 2 2 1 3 2 3 2 1 2 3 The differential of such a 1-form is

dω(x1,x2,x3)=kc1dx2 ∧ dx3 indicating that 1 R ∼ R2 Htriv(Hk, ) = . Computing 2-forms. These computations are completely analoguous to the case of the 1-forms, and we only write the result. A polynomial ρ(Hk)- invariant 2-form can be written as k k ω(x ,x ,x )=c dx ∧ dx + c dx ∧ dx +(c − c x − c x )dx ∧ dx , 1 2 3 1,2 1 2 1,3 1 3 2,3 2 1,2 3 2 1,3 2 2 3 where the ci,j are real constants. This form has a zero differential, so we see that 2 R ∼ R2 Htriv(Hk, ) = . Computing 3-forms. This last case is similar to the 0-forms case. A poly- nomial ρ(Hk)-invariant 3-form looks like

ω(x1,x2,x3)=c1,2,3dx1 ∧ dx2 ∧ dx3

with c1,2,3 a real constant. This form trivially has a zero differential, so 3 R ∼ R Htriv(Hk, ) = . Of course, the above example could also be computed using other means (e.g. Poincar´e duality). However, exactly the same technique can be used to obtain the results below, which are less obvious to compute. Example 3.4. The real cohomology of the 8-dimensional, 4-step nilpotent group || 2 2 N = e1,e2,e3,e4,e5,,, [e1,e2]=e4, [e2,e3]=e5, −1 −2 [e1,e5]=e6 e8 , [e3,e4]=e6, −2 −2 [e2,e5]=e7e8 , [e2,e6]=e8 , 4 [e4,e5]=e8, [e1,e7]=e8 is given by 0 R ∼ R 1 R ∼ R3 2 R ∼ R6 Htriv(N, ) = ,Htriv(N, ) = ,Htriv(N, ) = , 3 R ∼ R9 4 R ∼ R10 5 R ∼ R9 Htriv(N, ) = ,Htriv(N, ) = ,Htriv(N, ) = , 6 R ∼ R6 7 R ∼ R3 8 R ∼ R Htriv(N, ) = ,Htriv(N, ) = ,Htriv(N, ) = . Example 3.5. The real cohomology of the free 4-generated 2-step nilpotent group

F2,4 = e1,e2,e3,e4,e5,e6,e7,e8,e9,e10 || [e1,e2]=e5, [e1,e3]=e6, [e1,e4]=e7, [e2,e3]=e8, [e2,e4]=e9, [e3,e4]=e10, is given by 0 R ∼ R 1 R ∼ R4 2 R ∼ R20 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 3 R ∼ R56 4 R ∼ R84 5 R ∼ R90 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 6 R ∼ R84 7 R ∼ R56 8 R ∼ R20 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 9 R ∼ R4 10 R ∼ R Htriv(G, ) = ,Htriv(G, ) = .

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2549

4. Cohomology of virtually nilpotent groups In this section, we will extend the cohomology theory for J -groups developed above to the class of virtually J -groups. It is well known (e.g. see [19]) that this is in fact the class of finitely generated virtually nilpotent groups.

4.1. Cohomology of virtually J -groups. We can relate the cohomology of a finite extension E of a group N immediately to the cohomology of N, provided the coefficient module is appropriate. Proposition 4.1. Let E be a group, let N be a of finite index and let F = E/N.SupposetheE-module A is a vector space uniquely divisible by the index of F .Then ∗ ∼ ∗ F H (E,A) = H (N,A) . Proof. The Hochschild-Serre spectral sequence ([14], [6]) states that Hp(F, Hq(N,A)) ⇒ Hp+q(E,A). The F -module structure of Hq(N,A) is determined by conjugation inside E and the E-module structure of A.SinceF is finite, the composition of the restriction map and corestriction map ∗ ◦ ∗ ∗ q → ∗ q → ∗ q cor1,F resF,1 : H (F, H (N,A)) H (1,H (N,A)) H (F, H (N,A)) is just multiplication by the index of F (see [6, Proposition 9.5]), which is an isomorphism of H∗(F, Hq(N,A)). But Hp(1,Hq(N,A)) = 0 when p ≥ 1so Hp(F, Hq(N,A)) is trivial as well when p = 0. But this means that the Hochschild- 2 Serre sectral sequence reduces to its E0,q-terms, and that q ∼ 0 q ∼ q F H (E,A) = H (F, H (N,A)) = H (N,A) . 

Let E be a virtually nilpotent group of Hirsch length n,letN be a normal J - subgroup of finite index with a polynomial representation ρ : N → P (Rn)andlet F = E/N. To assure that the conclusion of section 2 applies, we suppose that the E-module structure of R is given by a group homomorphism ϕ : E → Aut(R) such that ϕ(N)={1}. The induced morphism from E/N to Aut(R) will also be denoted by ϕ. The proposition above with A = R yields ∗ R ∼ ∗ R F ∼ ∗ \Rn F Hϕ(E, ) = Htriv(N, ) = HdR(ρ(N) ) . This observation allows us to generalize the results of the cohomology of J -groups to analoguous results on the cohomology of virtually J -groups. To obtain these, we need to trace the F -action involved throughout the isomorphisms explained in section 2. Following the account given by [6], we use the action of N on Rn given by ρ to n consider the chain complex C∗(R ) as a complete resolution of Z as a trivial ZN- ∗ R module. To define the F -action on Htriv(N, )weextendtheN-module structure n of C∗(R )toanE-module structure. This is done by extending the action of N on Rn. Proposition 4.2. Let ρ : N → P (Rn) be a polynomial crystallographic action. Then ρ can be extended to a group homomorphism ρ˜ : E → P (Rn).

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2550 KAREL DEKIMPE AND HANNES POUSEELE

Proof. In [12] it was shown that E admits a polynomial crystallographic action ρ of bounded degree on Rn. As the restriction of this action ρ to N is polynomially conjugated to the action ρ of N (by the main result of [4] again), we obtain that this polynomial conjugate of ρ can serve as an extension of the action ρ to the group E. 

Remark. At this point, one could ask whether the conclusion of section 2 applies to this more general setting of virtually nilpotent groups using this extended group action. The quotient space, however, is not necessarily a K(E,1)-space because the virtually nilpotent group E can have nontrivial torsion. This makes it impossible for E to act freely.

n n Using the extensionρ ˜ : E → P (R ), C∗(R ) becomes a complex of E-modules. The lifting procedure presented in [6, p. 79] eventually describes the action of an n e ∈ E on a cocycle f ∈ HomZN (C∗(R ), R)as

e −1 f = ϕ(e)fρ˜(e )∗.

As f is a ZN-homomorphism, this actually defines an F -action on H∗(N,R).

∗ \Rn R The F -action on Hsing(ρ(N) , ). We would like to describe the F -actiononthe n complex HomZ(C∗(ρ(N)\R ), R) induced by the F -actiononthecomplex n HomZN (C∗(R ), R) as defined above:

∗ Rn R p / \Rn R HomZN (Cp( ), ) HomZ(Cp(ρ( N) ), ) action of f  ∗  n p / n HomZN (Cp(R ), R) HomZ(Cp(ρ(N)\R ), R)

First, observe that the E-action on Rn induces an action of E on ρ(N)\Rn defined by ey = p (ex)=p (˜ρ(e)(x)) ,

where p : Rn → ρ(N)\Rn is the projection, y ∈ ρ(N)\Rn, x ∈ p−1(y)ande ∈ E. In this way we obtain a group homomorphism ψ : E →D(ρ(N)\Rn) such that ψ(N) = 1. This allows us to factor out N and consider ψ as a group homomorphism from F to D(ρ(N)\Rn). ∗ R ∗ \Rn R ∗ As the isomorphism between H (N, )andHsing(ρ(N) , )isgivenbyp , we see that

f ∗ −1 −1 p (u)=ϕ(f) ◦ u ◦ p∗ ◦ ρ˜(s(f) )∗ = ϕ(f) ◦ u ◦ ψ(f )∗ ◦ p∗

n for u ∈ HomZ(C∗(ρ(N)\R ), R)andf ∈ F . This determines the F -action on ∗ \Rn R ∈ \Rn R Hsing(ρ(N) , ): explicitly, for a u HomZ(C∗(ρ(N) ), )wehavethat

f u = ϕ(f) ◦ u ◦ ψ(f −1)∗,

where f ∈ F .

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2551

∗ \Rn ∈ p \Rn ∈ p → The F -action on HdR(ρ(N) ). Let ω Ω (ρ(N) )andf F .IfT :[0, 1] ρ(N)\Rn is a differential singular p-cube, then f Φ(ω)(T )=ϕ(f) ω. − ψ(f 1)∗(T ) −1 ∗ −1 ∗ ∗ −1 ∗ But (ψ(f )∗T ) ω =(ψ(f ) ◦ T ) ω = T (ψ(f ) ω), so ω = ψ(f −1)∗ω − ψ(f 1)∗(T ) T which leads us to conclude that f ω = ϕ(f)ψ(f −1)∗ω. ∗ \Rn F With this action HdR(ρ(N) ) is the cohomology of differential forms ω on ρ(N)\Rn that satisfy

−1 −1 (1) −1 (p) (1) (p) (4.1) ϕ(f) ω(ψ(f )(y))(ψ(f )∗ξ ,...,ψ(f )∗ξ )=ω(y)(ξ ,...,ξ ) for every f ∈ F , y ∈ ρ(N)\Rn and tangent vectors ξ(1),...,ξ(p) to ρ(N)\Rn at y. This is, again, the invariance condition for differential forms, but now these forms live on ρ(N)\Rn.

∗ ∗ Rn ρ(N) The F -action on HdR(Ω ( ) ). Let us transfer the F -invariant forms on ρ(N)\Rn to Rn. First of all, define an E-action on Ωp(Rn)by

e (1) (p) −1 −1 (1) −1 (p) η(x)(ξ ,...,ξ )=ϕ(e) η(˜ρ(e )(x))(˜ρ(e )∗ξ ,...,ρ˜(e )∗ξ ). This action induces an F -actionwhenrestrictedtotheρ(N)-invariant forms on Rn.Nowletω ∈ Ωp(ρ(N)\Rn)F be a differential form on ρ(N)\Rn such that the invariance condition (4.1) is satisfied for all f ∈ F . Using the pullback of the projection p : Rn → ρ(N)\Rn we obtain a form p∗(ω) ∈ Ωp(Rn)ρ(N).Nowthe F -invariance of ω yields ep∗(ω)(x)(ξ(1),ξ(2),...,ξ(p)) −1 −1 (1) −1 (p) = ϕ(e) ω(p ◦ ρ˜(e )(x))(p∗ρ˜(e )∗ξ ,...,p∗ρ˜(e )∗ξ ) −1 −1 (1) −1 (p) = ϕ(f) ω(ψ(f )(p(x)))(ψ(f )∗p∗ξ ,...,ψ(f )∗p∗ξ ) (1) (p) = ω(p(x))(p∗ξ ,...,p∗ξ ) = p∗(ω)(x)(ξ(1),...,ξ(p)), where e ∈ E and eN = f for F = E/N.Sop∗(ω) is actually aρ ˜(E)-invariant form on Rn, that is, a differential form ω on Rn that satisfies

−1 −1 (1) −1 (p) (1) (p) (4.2) ϕ(e) ω(˜ρ(e (x))(˜ρ(e )∗ξ ,...,ρ˜(f )∗ξ )=ω(x)(ξ ,...,ξ ) for every e ∈ E, x ∈ Rn and tangent vectors ξ(1),...,ξ(p) to Rn at x. Analoguously one can show that everyρ ˜(E)-invariant form on Rn corresponds to an F -invariant form on ρ(N)\Rn. Theorem 4.3. Let E be a virtually nilpotent group of Hirsch length n and let N be anormalJ -subgroup of finite index. Let ρ˜ : E → P (Rn) be a group homomorphism such that the action of N defined by ρ =˜ρ |N is a polynomial crystallographic action. Suppose the morphism ϕ : E → Aut(R) defines an E-module structure on R such

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2552 KAREL DEKIMPE AND HANNES POUSEELE

{ } ∗ Rn ρ˜(E),ϕ(E) that ϕ(N)= 1 .LetΩP ( ) be the cochain complex of the polynomial differential forms on Rn satisfying the invariance condition (4.2) for E.Then ∗ R ∼ ∗ ∗ Rn ρ˜(E),ϕ(E) Hϕ(E, ) = H (ΩP ( ) ). Moreover, the product structures of both cohomology spaces correspond under this isomorphism.

This theorem is clear once we have established the following fact.

Lemma 4.4. Let F be a finite group acting on a vector space V over a field that is uniquely divisible by the of F .IfW is an F -invariant subspace of V, then

F ∼ F V /W F = (V/W ) . Proof of Lemma 4.4. The short exact sequence 0 → W → V → V/W → 0of F -modules induces a long exact sequence of cohomology groups 0 → H0(F, W) → H0(F, V ) → H0(F, V/W) → H1(F, W) →··· . As H1(F, W)=0(sinceW is uniquely divisible by the order of F ), the sequence above induces the short exact seqence 0 → H0(F, W) → H0(F, V ) → H0(F, V/W) → 0 which is exactly what we had to show. 

Example 3.3 continued. Let us have a look at the finite extension E of the generalised Heisenberg group given by E = a, b, c, α || [b, a]=ck,αc= cα, [c, a]=1, [c, b]=1, αa = a−1αcl,αb= b−1αcm, α2 = cn

3 for k, l, m, n ∈ Z. The affine representation ρ : Hk → Aff(R ) can be extended to ρ˜ : E :Aff(R3) by setting ⎛ ⎞ n 1 lm2 ⎜ 0 −100⎟ ρ˜(α)=⎜ ⎟ ⎝ 00−10⎠ 00 01

(see [9, p. 160]). The computation of the polynomialρ ˜(E)-invariant forms closely follows the lines drawn in Example 3.3, resulting in the following cohomology spaces: 0 R ∼ R 1 R ∼ Htriv(E, ) = ,Htriv(E, ) = 0, 2 R ∼ 3 R ∼ R Htriv(E, ) = 0,Htriv(E, ) = .

Example 3.5 continued. Let us have a look at the extension F2,4 Z4 of the free 4 4-generated 2-step nilpotent group by Z4 = t | t =1 ,where

te1 = e2t, te2 = e3t, te3 = e4t, te4 = e1t, te5 = e8t, −1 −1 −1 te6 = e9t, te7 = e5 t, te8 = e10t, te9 = e6 t, te10 = e7 t.

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2553

Note that this group has torsion, but is still orientable. Its cohomology is 0 R ∼ R 1 R ∼ R 2 R ∼ R5 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 3 R ∼ R15 4 R ∼ R21 5 R ∼ R22 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 6 R ∼ R21 7 R ∼ R15 8 R ∼ R5 Htriv(G, ) = ,Htriv(G, ) = ,Htriv(G, ) = , 9 R ∼ R 10 R ∼ R Htriv(G, ) = ,Htriv(G, ) = . 4.2. Cohomological duality. When a compact K(E,1)-manifold Y exists for a group E, we can consider Y as a quotient manifold resulting from an action of E on the universal covering space X of Y . In this situation X is orientable. The morphism ϕ : E → Aut(R)givenby +1 if the action of e on X is orientation-preserving, ϕ(e)= −1 if the action of e on X is orientation-reversing, defines the orientation module structure of R.IncaseX = Rn for some n,a diffeomorphism λ is orientation-preserving iff det[Jac(λ)(x)] > 0 for all x ∈ Rn, and orientation reversing iff det[Jac(λ)(x)] < 0 for all x ∈ Rn (see [15]). However, in case E is a virtually nilpotent group acting on Rn via ρ : E → P (Rn), the quotient space need not be a manifold. Defining ϕ : E → Aut(R)by ϕ(e)=det[Jac(ρ(e))(0)] still yields a group action, and gives R an orientation-like module structure. Results about (co)homological duality analoguous to ours can be found in for instance [5]. Theorem 4.5. Let E be a virtually nilpotent group of Hirsch length n and let N be a normal J -subgroup of finite index. Let E act on Rn via ρ : E →D(Rn) such that the N-action is free and properly discontinuous. Let ϕ : E → Aut(R) denote the orientation module structure of R.Then p R ∼ n−p R Htriv(E, ) = Hϕ (E, ) for every p ∈{0, 1,...,n}. The following lemma simplifies the proof of the theorem. Lemma 4.6. Let F be a finite group acting on a vector space V over a field K that is uniquely divisible by the index |F | of F .Then

F ∼ F HomK (V,K) = HomK (V ,K),

where the F -action on HomK (V,K) is given by

−1 f χ : V → K : v → χ(f v)

for f ∈ F and χ ∈ HomK (V,K).

F F Proof of Lemma 4.6. For a χ ∈ HomK (V,K) we define R(χ) ∈ HomK (V ,K)as the restriction of χ to V F . This is evidently a linear operator. Suppose R(χ)(v)=0 ∈ F for all v V .Then ⎛ ⎞ χ ⎝ f w⎠ =0 f∈F

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2554 KAREL DEKIMPE AND HANNES POUSEELE

for all w ∈ V , implying that χ(w)=− χ f w = −(|F |−1)χ(w), f∈F,f=1 so χ is in fact the zero linear form, and R is injective. To show R is also surjective, consider a ξ ∈ Hom (V F ,K) and define ⎛ K ⎞ 1 ξ˜ : V → K : v → ξ ⎝ f v⎠ . |F | f∈F Then ξ˜ is a F -invariant linear form on V such that ⎛ ⎞ 1 R(ξ˜)(v)= ξ ⎝ f v⎠ = ξ(v) |F | f∈F for every v ∈ V F .  Proof of Theorem 4.5. Let F = E/N be finite. Then we know that ∗ R ∼ ∗ \Rn F Htriv(E, ) = HdR(ρ(N) ) . The Poincar´e duality theorem (see [15]) states that p \Rn ∼ n−p \Rn R HdR(ρ(N) ) = HomR HdR (ρ(N) ), . This isomorphism is the mapping induced on cohomology by the map p n n−p n D :Ω (ρ(N)\R ) → HomR Ω (ρ(N)\R ), R defined by D(ω)(η)= ω ∧ η M p n n−p n for every ω ∈ Ω (ρ(N)\R )andη ∈ Ω (ρ(N)\R ). This description of the n−p \Rn R isomorphism allows us to determine the F -action on HomR HdR (ρ(N) ), . Let f ∈ F and e ∈ E such that eN = f.Then D(f ω)(η)= (ρ(e−1)∗ω) ∧ η ρ(N)\Rn = ρ(e−1)∗(ω ∧ ρ(e)∗η) ρ(N)\Rn = ω ∧ ρ(e)∗η − ρ(e 1)ρ(N)\Rn = ϕ(e−1) ω ∧ ρ(e)∗η M = D(ω)(ϕ(e−1)ρ(e)∗η). n−p \Rn R This means the action of F on HomR HdR (ρ(N) ), is the dual action of the n−p \Rn F -action on HdR (ρ(N) ) induced by f −1 η = ϕ(e)ρ(e )∗η for e ∈ E such that eN = f. The lemma above together with Lemma 4.4 now assure that p R ∼ n−p R  Htriv(E, ) = Hϕ (E, ).

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2555

5. Cohomology of virtually abelian groups

Let E be an infinite virtually abelian group. Then there exists an n ∈ N0 and a finite group F such that E is an extension of Zn by F , 1 → Zn → E → F → 1. Such an extension induces an action ψ : F → GL(Zn)ofF on Zn by conjugation inside E.Nowletm : F × F → Zn be the cocycle corresponding to this extension. n n Then E is isomorphic to the group Z ×m F with underlying set Z × F and operation given by (z,f) · (z,f)=(z + ψ(f)z + m(f,f),ff). Considered as a mapping from F × F to Rn, m is a cocycle as well. But H2(F, Rn) is trivial for F is finite and Rn is uniquely divisible by the index of F ,som is actually a coboundary. Let λ : F → Rn be a mapping such that δλ = m,thatis, δλ(f,f)=λ(f)+ψ(f)λ(f ) − λ(ff)=m(f,f) for all f,f ∈ F .

n Theorem 5.1 (With notations as introduced above). The mapping ρ : E = Z ×m F → Aff(n, R) given by ⎛ ⎞ ⎜ ⎟ ⎜ ψ(f) z + λ(f) ⎟ ρ(z,f)=⎝ ⎠ 0 ... 0 1 is a group homomorphism whose restriction to Zn yields an affine crystallographic action. Proof. Let (z,f), (z,f) ∈ E.Then ρ((z,f) · (z,f)) = ρ((z + ψ(f)z + m(f,f),ff))  ψ(ff) z + ψ(f)z + m(ff)+λ(ff) (5.1) = 0 1 while   ψ(f) z + λ(f) ψ(f ) z + λ(f ) 0 1 0 1  ψ(f)ψ(f ) z + ψ(f)z + λ(f)+ψ(f)λ(f ) (5.2) = . 0 1 Now (5.1) equals (5.2) because ψ is a group homomorhism and λ(f)+ψ(f)λ(f )=δλ(f,f)+λ(ff)=m(f,f)+λ(ff), so ρ is a group homomorphism. The action of z ∈ Zn ⊂ E under ρ is just translation with z, so the restriction of ρ to Zn is injective and the action of Zn on Rn is free and properly discontinuous.  ∗ ∼ ∗ From Example 3.2 we already know that H (Zn, R) = Alt (Rn), the graded R- ∗ algebra of alternating forms on Rn. Now let Alt (Rn)ψ(F ) be the graded R-algebra of ψ(F )-invariant alternating forms on Rn, that is, the space of all ω ∈ Altp(Rn)

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2556 KAREL DEKIMPE AND HANNES POUSEELE

satisfying ω(ξ(1),...,ξ(p))=ω(ψ(f)ξ(1),ψ(f)ξ(2),...,ψ(f)ξ(p)) for any f ∈ F and ξ(1),...,ξ(p) ∈ Rn. Then Theorem 4.3 can be stated as follows. ∗ ∼ ∗ Theorem 5.2. H (E,R) = Alt (Rn)ψ(F ). There is an immediate way to compute the rank of H∗(E,R) for every p.The n×n formula uses the following notation. Let n, p ∈ N0 and let A =(aij) ∈ R be a matrix. For every couple of (p, n − p)-shuffles (σ, τ )weset ⎛ ⎞ aσ(1)τ(1) aσ(1)τ(2) ... aσ(1)τ(p) ⎜ ⎟ ⎜ aσ(2)τ(1) aσ(2)τ(2) ... aσ(2)τ(p) ⎟ A(σ,τ ) =det⎜ . . . . ⎟ . ⎝ . . .. . ⎠ aσ(p)τ(1) aσ(p)τ(2) ... aσ(p)τ(p) Listing all (p, n − p)-shuffles as  n σ ,σ ,...,σ with c = 1 2 c p we can define ⎛ ⎞ A(σ ,σ ) A(σ ,σ ) ... A(σ ,σ ) ⎜ 1 1 1 2 1 c ⎟ A σ ,σ A σ ,σ ... A σ ,σ (p) ⎜ ( 2 1) ( 2 2) ( 2 c) ⎟ A = ⎜ . . . . ⎟ . ⎝ . . .. . ⎠

A(σc,σ1) A(σc,σ2) ... A(σc,σc) The following proposition gives explicit formulas for the computation of all Betti numbers βp(E) of a virtually abelian group E.

Proposition 5.3 (With notations as above). Let F be generated by a1,a2,...,ar. Then  n β (E)= − Rank ψ(a )(p) − I,...,ψ(a )(p) − I . p p 1 r Moreover, let ϕ : F → Aut(R) be the morphism indicating the orientation module structure of R determined by ρ.Then  n − − β (E)= − Rank ϕ(a )ψ(a )(n p) − I,...,ϕ(a )ψ(a )(n p) − I . p p 1 1 r r The matrix of which we take the rank in this proposition is obtained by jux- taposition of the matrices in the formula, the matrix I is the identity matrix of appropriate dimension. The proof of Proposition 5.3 uses the lemma below. The proof of the lemma is left to the reader. Lemma 5.4. Let σ ∈S(p, n − p) and f ∈ F .Then f −1 dxσ(1) ∧ dxσ(2) ∧ ...∧ dxσ(p) = ψ(f )(σ,τ )dxτ(1) ∧dxτ(2) ∧...∧dxτ(p). τ∈S(p,n−p) Proof of Proposition 5.3. We will prove both formulas simultanuously, using the F -action on differential forms given by f ω = ϕ(e)ρ(e−1)∗ω

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use THE REAL COHOMOLOGY OF VIRTUALLY NILPOTENT GROUPS 2557

for all ω ∈ Ω∗(Rn), f ∈ F and e ∈ E such that eN = f. For the first formula choose ϕ : E → Aut(R) to be trivial and use Theorem 5.2, and for the second let ϕ be the orientation module structure and use Theorem 4.5. p n n Let ω ∈ Alt (R ). Considering ω as a constant p-form on R there is an ωσ ∈ R for every σ ∈S(p, n − p) such that ω = ωσdxσ(1) ∧ dxσ(2) ∧ ...∧ dxσ(p). σ∈S(p,n−p) We are interested in the F -invariant differential forms. Computing the action of f ∈ F on ω using the lemma above yields f −1 ∗ ω = ϕ(f) ωσψ(f ) dxσ(1) ∧ dxσ(2) ∧ ...∧ dxσ(p) ∈S − σ (p,n p) −1 = ϕ(f) ωσ ψ(f )(σ,τ )dxτ(1) ∧ dxτ(2) ∧ ...∧ dxτ(p). σ∈S(p,n−p) τ∈S(p,n−p) This differential form must equal ω, which means that −1 ϕ(f) ψ(f )(σ,τ )ωσ = ωτ σ∈S(p,n−p) for all τ ∈S(p, n − p). So the differential forms that are invariant under the action of f are the solutions of a linear set of homogeneous equations with matrix ϕ(f)ψ(f −1)(p) − I. Of course, it is enough that ω be invariant under a set of generators {a1,a2,..., −1 ar} of F .Alsonotethatϕ(f)=ϕ(f ), so the F -invariant differential forms are simultanuously a solution to the sets of homogeneous linear equations given by the matrices (p) (p) ϕ(a1)ψ(a1) − I,...,ϕ(ar)ψ(ar) − I. 

As an example, we have computed the Betti numbers for all 5-dimensional Bieberbach groups using Proposition 5.3. The table below lists all possible Betti number configurations. We are very much in debt to the CARAT-team for having provided the representations via their website http://momo.math.rwth- aachen.de/carat/.

β0 β1 β2 β3 β4 β5 1 0 0 0 0 1 1 1 1 3 2 0 1 0 0 1 0 0 1 1 2 2 1 1 1 0 0 2 1 0 1 1 3 3 0 0 1 0 1 1 0 1 1 1 4 4 1 1 1 0 1 2 0 0 1 1 6 6 1 1 1 0 1 3 1 0 1 2 1 0 0 0 1 0 2 4 1 0 1 2 1 1 2 1 1 0 3 3 0 1 1 2 2 2 1 0 1 1 0 0 0 0 1 2 4 6 3 0 1 1 0 0 1 1 1 3 3 1 0 0 1 1 0 1 1 0 1 3 4 4 3 1 1 1 1 1 0 0 1 4 6 4 1 0 1 5 10 10 5 1

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use 2558 KAREL DEKIMPE AND HANNES POUSEELE

Remark. It is clear from the above formulas that once the action ψ of F on Zn is fixed, the cocycle that determines the extension E does not influence the rank of the cohomology groups. Moreover, looking at the invariance conditions we can see that the cocycle will not influence the actual cohomology space. Of course this is no longer true for integral cohomology groups. Remark. One can easily see from the invariance condition that every action of F on Zn that is conjugated inside GL(n, R) to a given action will give rise to the same Betti numbers. In this case the actual structure of the cohomology spaces will be isomorphic. References

[1] Auslander, L. and Markus, L. Holonomy of Flat Affinely Connected Manifolds. Ann. of Math., 1955, 62 (1), pp. 139–151. MR0072518 (17:298b) [2] Babakhanian, A. Cohomological methods in ,volume11ofPure and Applied Mathematics. Marcel Dekker Inc., New York, 1972. [3] Benoist, Y. Une nilvari´et´e non affine. J. Differential Geom., 1995, 41 pp. 21–52. MR1316552 (96c:53077) [4] Benoist, Y. and Dekimpe, K. The Uniqueness of Polynomial Crystallographic Actions.Math. Ann., 2002, 322 (2), pp. 563–571. MR1895707 (2003a:20078) [5] Bieri, R. Gruppen mit Poincar´eDualit¨at. Comment. Math. Helv., 1972, 47 pp. 373 – 396. MR0352290 (50:4777) [6] Brown, K. S. Cohomology of groups,volume87ofGrad. Texts in Math. Springer–Verlag, New York, Inc., 1982. MR0672956 (83k:20002) [7] Burde, D. Affine structures on . Internat. J. Math, 1996, 7 (5) pp. 599 – 616. MR1411303 (97i:53056) [8] Burde, D. and Grunewald, F. Modules for certain Lie algebras of maximal class.J.Pure Appl. Algebra, 1995, 99 pp. 239–254. MR1332900 (96d:17007) [9] Dekimpe, K. Almost–Bieberbach Groups: Affine and Polynomial Structures, volume 1639 of Lect. Notes in Math. Springer–Verlag, 1996. MR1482520 (2000b:20066) [10] Dekimpe, K. and Igodt, P. Polycyclic–by–finite groups admit a bounded-degree polynomial structure. Invent. Math., 1997, 129 (1) pp. 121–140. MR1464868 (99c:20071) [11] Dekimpe, K. and Igodt, P. Polynomial structures on polycyclic groups. Trans. Amer. Math. Soc., 1997, 349 pp. 3597–3610. MR1422895 (98f:20021) [12] Dekimpe, K., Igodt, P., and Lee, K. B. Polynomial structures for nilpotent groups. Trans. Amer. Math. Soc., 1996, 348 pp. 77–97. MR1327254 (96e:20051) [13] Fried, D., Goldman, W., and Hirsch, M. Affine manifolds with nilpotent holonomy. Comment. Math. Helv., 1981, 56 pp. 487–523. MR0656210 (83h:53062) [14] Hochschild, G. and Serre, J.-P. Cohomology of Group Extensions.Trans.Amer.Math.Soc., 1953, 74 pp. 110–134. MR0052438 (14:619b) [15] Madsen, I. and Tornehave, J. From Calculus to Cohomology. Cambridge University Press, 1997. MR1454127 (98g:57040) [16] Massey, W. S. Singular Homology Theory,volume70ofGrad. Texts in Math. Springer– Verlag, 1980. MR0569059 (81g:55002) [17] Nomizu, K. On the cohomology of compact homogeneous spaces of nilpotent Lie groups. Ann. of Math., 1954, 59 pp. 531–538. MR0064057 (16:219c) [18] Raghunathan, M. S. Discrete of Lie Groups,volume68ofErgebnisse der Mathe- matik und ihrer Grenzgebiete. Springer–Verlag, 1972. MR0507234 (58:22394a) [19] Segal, D. Polycyclic Groups. Cambridge University Press, 1983. MR0713786 (85h:20003) [20] Tangora, M. C. ed. Computers in geometry and topology, volume 114 of Lecture notes in pure and applied mathematics. Marcel Dekker, Inc., 1989. MR0988688 (89j:55002)

Katholieke Universiteit Leuven, Campus Kortrijk, B–8500 Kortrijk, Belgium

Katholieke Universiteit Leuven, Campus Kortrijk, B–8500 Kortrijk, Belgium Current address: Gel¨ykmeidstraat 12/2, B-8400 Oostende, Belgium

License or copyright restrictions may apply to redistribution; see https://www.ams.org/journal-terms-of-use