CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418384
Read("homologyOperations.gi");

N:=5; ##We can change this to other values of N>0.

G:=DihedralGroup(32);;
x:=(1,2);;
a:=Group(x);;
A:=TrivialGModuleAsGOuterGroup(G,a);;

R:=ResolutionFiniteGroup(G,N+1);;
C:=TensorWithGModule(R,A);
H:=HomologyModule(C,N);

H_alt:=GroupHomology(G,N,2);

if Size(H)=Product(H_alt) then
   Print("TensorWithGModule() and HomologyModule() seem to work\n");
else
   Print("Something is not working properly\n");
fi;