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: 418346
gap> START_TEST("HAP library");
gap> G:=SpaceGroup(4,122);;
gap> gens:=GeneratorsOfGroup(G);;
gap> T:=AffineCrystGroupOnRight(gens{[3,4,5,6]});;
gap> f:=GroupHomomorphismByFunction(T,G,x->x);;
gap> RG:=ResolutionCubicalCrystGroup(G,5);;
gap> RT:=ResolutionCubicalCrystGroup(T,5);;
gap> Rf:=EquivariantChainMap(RT,RG,f);;
gap> F:=TensorWithIntegers(Rf);;
gap> h:=Homology(F,2);;
gap> h:=Fp2PcpAbelianGroupHomomorphism(h);;
gap> AbelianInvariants(Kernel(h));
[ 0, 0, 0, 0, 0 ]
gap> AbelianInvariants(Image(h));
[ 0 ]
gap> STOP_TEST( "tst.tst", 1000 );