Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
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
Project: cocalc-sagemath-dev-slelievre
Views: 4183461[1X4 [33X[0;0YExample[133X[101X234[1X4.1 [33X[0;0YHomHom[133X[101X56[33X[0;0YThe following example is taken from Section 2 of [BR06].[133X7[33X[0;0YThe computation takes place over the ring [22XR=ℤ/2^8ℤ[122X, which is directly8supported by the package [5XGauss[105X.[133X910[33X[0;0YHere we compute the (infinite) long exact homology sequence of the covariant11functor [22XHom(Hom(-,ℤ/2^7ℤ),ℤ/2^4ℤ)[122X (and its left derived functors) applied to12the short exact sequence[133X13[33X[0;0Y[22X0 -> M_=ℤ/2^2ℤ --alpha_1--> M=ℤ/2^5ℤ --alpha_2--> _M=ℤ/2^3ℤ -> 0[122X.[133X1415[4X[32X Example [32X[104X16[4X[25Xgap>[125X [27XLoadPackage( "Modules" );[127X[104X17[4X[28Xtrue[128X[104X18[4X[25Xgap>[125X [27XR := HomalgRingOfIntegers( 2^8 );[127X[104X19[4X[28XZ/256Z[128X[104X20[4X[25Xgap>[125X [27XDisplay( R );[127X[104X21[4X[28X<An internal ring>[128X[104X22[4X[25Xgap>[125X [27XM := LeftPresentation( [ 2^5 ], R );[127X[104X23[4X[28X<A cyclic left module presented by an unknown number of relations for a cyclic\[128X[104X24[4X[28X generator>[128X[104X25[4X[25Xgap>[125X [27XDisplay( M );[127X[104X26[4X[28XZ/256Z/< ZmodnZObj(32,256) >[128X[104X27[4X[25Xgap>[125X [27XM;[127X[104X28[4X[28X<A cyclic left module presented by 1 relation for a cyclic generator>[128X[104X29[4X[25Xgap>[125X [27X_M := LeftPresentation( [ 2^3 ], R );[127X[104X30[4X[28X<A cyclic left module presented by an unknown number of relations for a cyclic\[128X[104X31[4X[28X generator>[128X[104X32[4X[25Xgap>[125X [27XDisplay( _M );[127X[104X33[4X[28XZ/256Z/< ZmodnZObj(8,256) >[128X[104X34[4X[25Xgap>[125X [27X_M;[127X[104X35[4X[28X<A cyclic left module presented by 1 relation for a cyclic generator>[128X[104X36[4X[25Xgap>[125X [27Xalpha2 := HomalgMap( [ 1 ], M, _M );[127X[104X37[4X[28X<A "homomorphism" of left modules>[128X[104X38[4X[25Xgap>[125X [27XIsMorphism( alpha2 );[127X[104X39[4X[28Xtrue[128X[104X40[4X[25Xgap>[125X [27Xalpha2;[127X[104X41[4X[28X<A homomorphism of left modules>[128X[104X42[4X[25Xgap>[125X [27XDisplay( alpha2 );[127X[104X43[4X[28X 1[128X[104X44[4X[28X[128X[104X45[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X46[4X[25Xgap>[125X [27XM_ := Kernel( alpha2 );[127X[104X47[4X[28X<A cyclic left module presented by yet unknown relations for a cyclic generato\[128X[104X48[4X[28Xr>[128X[104X49[4X[25Xgap>[125X [27Xalpha1 := KernelEmb( alpha2 );[127X[104X50[4X[28X<A monomorphism of left modules>[128X[104X51[4X[25Xgap>[125X [27Xseq := HomalgComplex( alpha2 );[127X[104X52[4X[28X<An acyclic complex containing a single morphism of left modules at degrees [128X[104X53[4X[28X[ 0 .. 1 ]>[128X[104X54[4X[25Xgap>[125X [27XAdd( seq, alpha1 );[127X[104X55[4X[25Xgap>[125X [27Xseq;[127X[104X56[4X[28X<A sequence containing 2 morphisms of left modules at degrees [ 0 .. 2 ]>[128X[104X57[4X[25Xgap>[125X [27XIsShortExactSequence( seq );[127X[104X58[4X[28Xtrue[128X[104X59[4X[25Xgap>[125X [27Xseq;[127X[104X60[4X[28X<A short exact sequence containing 2 morphisms of left modules at degrees [128X[104X61[4X[28X[ 0 .. 2 ]>[128X[104X62[4X[25Xgap>[125X [27XDisplay( seq );[127X[104X63[4X[28X-------------------------[128X[104X64[4X[28Xat homology degree: 2[128X[104X65[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X66[4X[28X-------------------------[128X[104X67[4X[28X 24[128X[104X68[4X[28X[128X[104X69[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X70[4X[28X------------v------------[128X[104X71[4X[28Xat homology degree: 1[128X[104X72[4X[28XZ/256Z/< ZmodnZObj(32,256) > [128X[104X73[4X[28X-------------------------[128X[104X74[4X[28X 1[128X[104X75[4X[28X[128X[104X76[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X77[4X[28X------------v------------[128X[104X78[4X[28Xat homology degree: 0[128X[104X79[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X80[4X[28X-------------------------[128X[104X81[4X[25Xgap>[125X [27XK := LeftPresentation( [ 2^7 ], R );[127X[104X82[4X[28X<A cyclic left module presented by an unknown number of relations for a cyclic\[128X[104X83[4X[28X generator>[128X[104X84[4X[25Xgap>[125X [27XL := RightPresentation( [ 2^4 ], R );[127X[104X85[4X[28X<A cyclic right module on a cyclic generator satisfying an unknown number of r\[128X[104X86[4X[28Xelations>[128X[104X87[4X[25Xgap>[125X [27Xtriangle := LHomHom( 4, seq, K, L, "t" );[127X[104X88[4X[28X<An exact triangle containing 3 morphisms of left complexes at degrees [128X[104X89[4X[28X[ 1, 2, 3, 1 ]>[128X[104X90[4X[25Xgap>[125X [27Xlehs := LongSequence( triangle );[127X[104X91[4X[28X<A sequence containing 14 morphisms of left modules at degrees [ 0 .. 14 ]>[128X[104X92[4X[25Xgap>[125X [27XByASmallerPresentation( lehs );[127X[104X93[4X[28X<A non-zero sequence containing 14 morphisms of left modules at degrees [128X[104X94[4X[28X[ 0 .. 14 ]>[128X[104X95[4X[25Xgap>[125X [27XIsExactSequence( lehs );[127X[104X96[4X[28Xfalse[128X[104X97[4X[25Xgap>[125X [27Xlehs;[127X[104X98[4X[28X<A non-zero left acyclic complex containing [128X[104X99[4X[28X14 morphisms of left modules at degrees [ 0 .. 14 ]>[128X[104X100[4X[25Xgap>[125X [27XAssert( 0, IsLeftAcyclic( lehs ) );[127X[104X101[4X[25Xgap>[125X [27XDisplay( lehs );[127X[104X102[4X[28X-------------------------[128X[104X103[4X[28Xat homology degree: 14[128X[104X104[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X105[4X[28X-------------------------[128X[104X106[4X[28X 4[128X[104X107[4X[28X[128X[104X108[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X109[4X[28X------------v------------[128X[104X110[4X[28Xat homology degree: 13[128X[104X111[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X112[4X[28X-------------------------[128X[104X113[4X[28X 6[128X[104X114[4X[28X[128X[104X115[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X116[4X[28X------------v------------[128X[104X117[4X[28Xat homology degree: 12[128X[104X118[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X119[4X[28X-------------------------[128X[104X120[4X[28X 2[128X[104X121[4X[28X[128X[104X122[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X123[4X[28X------------v------------[128X[104X124[4X[28Xat homology degree: 11[128X[104X125[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X126[4X[28X-------------------------[128X[104X127[4X[28X 4[128X[104X128[4X[28X[128X[104X129[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X130[4X[28X------------v------------[128X[104X131[4X[28Xat homology degree: 10[128X[104X132[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X133[4X[28X-------------------------[128X[104X134[4X[28X 6[128X[104X135[4X[28X[128X[104X136[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X137[4X[28X------------v------------[128X[104X138[4X[28Xat homology degree: 9[128X[104X139[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X140[4X[28X-------------------------[128X[104X141[4X[28X 2[128X[104X142[4X[28X[128X[104X143[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X144[4X[28X------------v------------[128X[104X145[4X[28Xat homology degree: 8[128X[104X146[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X147[4X[28X-------------------------[128X[104X148[4X[28X 4[128X[104X149[4X[28X[128X[104X150[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X151[4X[28X------------v------------[128X[104X152[4X[28Xat homology degree: 7[128X[104X153[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X154[4X[28X-------------------------[128X[104X155[4X[28X 6[128X[104X156[4X[28X[128X[104X157[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X158[4X[28X------------v------------[128X[104X159[4X[28Xat homology degree: 6[128X[104X160[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X161[4X[28X-------------------------[128X[104X162[4X[28X 2[128X[104X163[4X[28X[128X[104X164[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X165[4X[28X------------v------------[128X[104X166[4X[28Xat homology degree: 5[128X[104X167[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X168[4X[28X-------------------------[128X[104X169[4X[28X 4[128X[104X170[4X[28X[128X[104X171[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X172[4X[28X------------v------------[128X[104X173[4X[28Xat homology degree: 4[128X[104X174[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X175[4X[28X-------------------------[128X[104X176[4X[28X 6[128X[104X177[4X[28X[128X[104X178[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X179[4X[28X------------v------------[128X[104X180[4X[28Xat homology degree: 3[128X[104X181[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X182[4X[28X-------------------------[128X[104X183[4X[28X 2[128X[104X184[4X[28X[128X[104X185[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X186[4X[28X------------v------------[128X[104X187[4X[28Xat homology degree: 2[128X[104X188[4X[28XZ/256Z/< ZmodnZObj(4,256) > [128X[104X189[4X[28X-------------------------[128X[104X190[4X[28X 8[128X[104X191[4X[28X[128X[104X192[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X193[4X[28X------------v------------[128X[104X194[4X[28Xat homology degree: 1[128X[104X195[4X[28XZ/256Z/< ZmodnZObj(16,256) > [128X[104X196[4X[28X-------------------------[128X[104X197[4X[28X 1[128X[104X198[4X[28X[128X[104X199[4X[28Xthe map is currently represented by the above 1 x 1 matrix[128X[104X200[4X[28X------------v------------[128X[104X201[4X[28Xat homology degree: 0[128X[104X202[4X[28XZ/256Z/< ZmodnZObj(8,256) > [128X[104X203[4X[28X-------------------------[128X[104X204[4X[32X[104X205206207208