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[1X1 [33X[0;0YIntroduction[133X[101X23[33X[0;0YThis package is part of the [5Xhomalg[105X project [hpa10]. The role of the package4is described in the manual of the [5Xhomalg[105X package.[133X567[1X1.1 [33X[0;0YRing Constructions for Supported External Computer Algebra Systems[133X[101X89[33X[0;0YHere are some of the supported ring constructions:[133X101112[1X1.1-1 [33X[0;0Yexternal [5XGAP[105X[101X[1X[133X[101X1314[4X[32X Example [32X[104X15[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInExternalGAP( );[127X[104X16[4X[28XZ[128X[104X17[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X18[4X[28X<An external ring residing in the CAS GAP>[128X[104X19[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInExternalGAP( 2, ZZ );[127X[104X20[4X[28XGF(2)[128X[104X21[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X22[4X[28X<An external ring residing in the CAS GAP>[128X[104X23[4X[32X[104X2425[33X[0;0Y[10XF2 := HomalgRingOfIntegersInExternalGAP( 2 )[110X would launch another GAP.[133X2627[4X[32X Example [32X[104X28[4X[25Xgap>[125X [27XZ4 := HomalgRingOfIntegersInExternalGAP( 4, ZZ );[127X[104X29[4X[28XZ/4Z[128X[104X30[4X[25Xgap>[125X [27XDisplay( Z4 );[127X[104X31[4X[28X<An external ring residing in the CAS GAP>[128X[104X32[4X[25Xgap>[125X [27XZ_4 := HomalgRingOfIntegersInExternalGAP( ZZ ) / 4;[127X[104X33[4X[28XZ/( 4 )[128X[104X34[4X[25Xgap>[125X [27XDisplay( Z_4 );[127X[104X35[4X[28X<A residue class ring>[128X[104X36[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInExternalGAP( ZZ );[127X[104X37[4X[28XQ[128X[104X38[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X39[4X[28X<An external ring residing in the CAS GAP>[128X[104X40[4X[32X[104X414243[1X1.1-2 [33X[0;0Y[5XSingular[105X[101X[1X[133X[101X4445[4X[32X Example [32X[104X46[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInSingular( 2 );[127X[104X47[4X[28XGF(2)[128X[104X48[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X49[4X[28X<An external ring residing in the CAS Singular>[128X[104X50[4X[25Xgap>[125X [27XF2s := HomalgRingOfIntegersInSingular( 2, "s" ,F2 );[127X[104X51[4X[28XGF(2)(s)[128X[104X52[4X[25Xgap>[125X [27XDisplay( F2s );[127X[104X53[4X[28X<An external ring residing in the CAS Singular>[128X[104X54[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInSingular( F2 );[127X[104X55[4X[28XZ[128X[104X56[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X57[4X[28X<An external ring residing in the CAS Singular>[128X[104X58[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInSingular( F2 );[127X[104X59[4X[28XQ[128X[104X60[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X61[4X[28X<An external ring residing in the CAS Singular>[128X[104X62[4X[25Xgap>[125X [27XQs := HomalgFieldOfRationalsInSingular( "s", F2 );[127X[104X63[4X[28XQ(s)[128X[104X64[4X[25Xgap>[125X [27XDisplay( Qs );[127X[104X65[4X[28X<An external ring residing in the CAS Singular>[128X[104X66[4X[25Xgap>[125X [27XQi := HomalgFieldOfRationalsInSingular( "i", "i^2+1", Q );[127X[104X67[4X[28XQ[i]/(i^2+1)[128X[104X68[4X[25Xgap>[125X [27XDisplay( Qi );[127X[104X69[4X[28X<An external ring residing in the CAS Singular>[128X[104X70[4X[32X[104X7172[33X[0;0Y[10XQ := HomalgFieldOfRationalsInSingular( )[110X would launch another Singular.[133X7374[4X[32X Example [32X[104X75[4X[25Xgap>[125X [27XF2xyz := F2 * "x,y,z";[127X[104X76[4X[28XGF(2)[x,y,z][128X[104X77[4X[25Xgap>[125X [27XDisplay( F2xyz );[127X[104X78[4X[28X<An external ring residing in the CAS Singular>[128X[104X79[4X[25Xgap>[125X [27XF2sxyz := F2s * "x,y,z";[127X[104X80[4X[28XGF(2)(s)[x,y,z][128X[104X81[4X[25Xgap>[125X [27XDisplay( F2sxyz );[127X[104X82[4X[28X<An external ring residing in the CAS Singular>[128X[104X83[4X[25Xgap>[125X [27XF2xyzw := F2xyz * "w";[127X[104X84[4X[28XGF(2)[x,y,z][w][128X[104X85[4X[25Xgap>[125X [27XDisplay( F2xyzw );[127X[104X86[4X[28X<An external ring residing in the CAS Singular>[128X[104X87[4X[25Xgap>[125X [27XF2sxyzw := F2sxyz * "w";[127X[104X88[4X[28XGF(2)(s)[x,y,z][w][128X[104X89[4X[25Xgap>[125X [27XDisplay( F2sxyzw );[127X[104X90[4X[28X<An external ring residing in the CAS Singular>[128X[104X91[4X[25Xgap>[125X [27XZZxyz := ZZ * "x,y,z";[127X[104X92[4X[28XZ[x,y,z][128X[104X93[4X[25Xgap>[125X [27XDisplay( ZZxyz );[127X[104X94[4X[28X<An external ring residing in the CAS Singular>[128X[104X95[4X[25Xgap>[125X [27XZZxyzw := ZZxyz * "w";[127X[104X96[4X[28XZ[x,y,z][w][128X[104X97[4X[25Xgap>[125X [27XDisplay( ZZxyzw );[127X[104X98[4X[28X<An external ring residing in the CAS Singular>[128X[104X99[4X[25Xgap>[125X [27XQxyz := Q * "x,y,z";[127X[104X100[4X[28XQ[x,y,z][128X[104X101[4X[25Xgap>[125X [27XDisplay( Qxyz );[127X[104X102[4X[28X<An external ring residing in the CAS Singular>[128X[104X103[4X[25Xgap>[125X [27XQsxyz := Qs * "x,y,z";[127X[104X104[4X[28XQ(s)[x,y,z][128X[104X105[4X[25Xgap>[125X [27XDisplay( Qsxyz );[127X[104X106[4X[28X<An external ring residing in the CAS Singular>[128X[104X107[4X[25Xgap>[125X [27XQixyz := Qi * "x,y,z";[127X[104X108[4X[28X(Q[i]/(i^2+1))[x,y,z][128X[104X109[4X[25Xgap>[125X [27XDisplay( Qixyz );[127X[104X110[4X[28X<An external ring residing in the CAS Singular>[128X[104X111[4X[25Xgap>[125X [27XQxyzw := Qxyz * "w";[127X[104X112[4X[28XQ[x,y,z][w][128X[104X113[4X[25Xgap>[125X [27XDisplay( Qxyzw );[127X[104X114[4X[28X<An external ring residing in the CAS Singular>[128X[104X115[4X[25Xgap>[125X [27XQsxyzw := Qsxyz * "w";[127X[104X116[4X[28XQ(s)[x,y,z][w][128X[104X117[4X[25Xgap>[125X [27XDisplay( Qsxyzw );[127X[104X118[4X[28X<An external ring residing in the CAS Singular>[128X[104X119[4X[25Xgap>[125X [27XDxyz := RingOfDerivations( Qxyz, "Dx,Dy,Dz" );[127X[104X120[4X[28XQ[x,y,z]<Dx,Dy,Dz>[128X[104X121[4X[25Xgap>[125X [27XDisplay( Dxyz );[127X[104X122[4X[28X<An external ring residing in the CAS Singular>[128X[104X123[4X[25Xgap>[125X [27XExyz := ExteriorRing( Qxyz, "e,f,g" );[127X[104X124[4X[28XQ{e,f,g}[128X[104X125[4X[25Xgap>[125X [27XDisplay( Exyz );[127X[104X126[4X[28X<An external ring residing in the CAS Singular>[128X[104X127[4X[25Xgap>[125X [27XDsxyz := RingOfDerivations( Qsxyz, "Dx,Dy,Dz" );[127X[104X128[4X[28XQ(s)[x,y,z]<Dx,Dy,Dz>[128X[104X129[4X[25Xgap>[125X [27XDisplay( Dsxyz );[127X[104X130[4X[28X<An external ring residing in the CAS Singular>[128X[104X131[4X[25Xgap>[125X [27XEsxyz := ExteriorRing( Qsxyz, "e,f,g" );[127X[104X132[4X[28XQ(s){e,f,g}[128X[104X133[4X[25Xgap>[125X [27XDisplay( Esxyz );[127X[104X134[4X[28X<An external ring residing in the CAS Singular>[128X[104X135[4X[25Xgap>[125X [27XDixyz := RingOfDerivations( Qixyz, "Dx,Dy,Dz" );[127X[104X136[4X[28X(Q[i]/(i^2+1))[x,y,z]<Dx,Dy,Dz>[128X[104X137[4X[25Xgap>[125X [27XDisplay( Dixyz );[127X[104X138[4X[28X<An external ring residing in the CAS Singular>[128X[104X139[4X[25Xgap>[125X [27XEixyz := ExteriorRing( Qixyz, "e,f,g" );[127X[104X140[4X[28X(Q[i]/(i^2+1)){e,f,g}[128X[104X141[4X[25Xgap>[125X [27XDisplay( Eixyz );[127X[104X142[4X[28X<An external ring residing in the CAS Singular>[128X[104X143[4X[32X[104X144145146[1X1.1-3 [33X[0;0Y[5XMAGMA[105X[101X[1X[133X[101X147148[4X[32X Example [32X[104X149[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInMAGMA( );[127X[104X150[4X[28XZ[128X[104X151[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X152[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X153[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInMAGMA( 2, ZZ );[127X[104X154[4X[28XGF(2)[128X[104X155[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X156[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X157[4X[32X[104X158159[33X[0;0Y[10XF2 := HomalgRingOfIntegersInMAGMA( 2 )[110X would launch another MAGMA.[133X160161[4X[32X Example [32X[104X162[4X[25Xgap>[125X [27XZ_4 := HomalgRingOfIntegersInMAGMA( ZZ ) / 4;[127X[104X163[4X[28XZ/( 4 )[128X[104X164[4X[25Xgap>[125X [27XDisplay( Z_4 );[127X[104X165[4X[28X<A residue class ring>[128X[104X166[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInMAGMA( ZZ );[127X[104X167[4X[28XQ[128X[104X168[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X169[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X170[4X[25Xgap>[125X [27XF2xyz := F2 * "x,y,z";[127X[104X171[4X[28XGF(2)[x,y,z][128X[104X172[4X[25Xgap>[125X [27XDisplay( F2xyz );[127X[104X173[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X174[4X[25Xgap>[125X [27XQxyz := Q * "x,y,z";[127X[104X175[4X[28XQ[x,y,z][128X[104X176[4X[25Xgap>[125X [27XDisplay( Qxyz );[127X[104X177[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X178[4X[25Xgap>[125X [27XExyz := ExteriorRing( Qxyz, "e,f,g" );[127X[104X179[4X[28XQ{e,f,g}[128X[104X180[4X[25Xgap>[125X [27XDisplay( Exyz );[127X[104X181[4X[28X<An external ring residing in the CAS MAGMA>[128X[104X182[4X[32X[104X183184185[1X1.1-4 [33X[0;0Y[5XMacaulay2[105X[101X[1X[133X[101X186187[4X[32X Example [32X[104X188[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInMacaulay2( );[127X[104X189[4X[28XZ[128X[104X190[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X191[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X192[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInMacaulay2( 2, ZZ );[127X[104X193[4X[28XGF(2)[128X[104X194[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X195[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X196[4X[32X[104X197198[33X[0;0Y[10XF2 := HomalgRingOfIntegersInMacaulay2( 2 )[110X would launch another Macaulay2.[133X199200[4X[32X Example [32X[104X201[4X[25Xgap>[125X [27XZ_4 := HomalgRingOfIntegersInMacaulay2( ZZ ) / 4;[127X[104X202[4X[28XZ/( 4 )[128X[104X203[4X[25Xgap>[125X [27XDisplay( Z_4 );[127X[104X204[4X[28X<A residue class ring>[128X[104X205[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInMacaulay2( ZZ );[127X[104X206[4X[28XQ[128X[104X207[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X208[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X209[4X[25Xgap>[125X [27XF2xyz := F2 * "x,y,z";[127X[104X210[4X[28XGF(2)[x,y,z][128X[104X211[4X[25Xgap>[125X [27XDisplay( F2xyz );[127X[104X212[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X213[4X[25Xgap>[125X [27XQxyz := Q * "x,y,z";[127X[104X214[4X[28XQ[x,y,z][128X[104X215[4X[25Xgap>[125X [27XDisplay( Qxyz );[127X[104X216[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X217[4X[25Xgap>[125X [27XDxyz := RingOfDerivations( Qxyz, "Dx,Dy,Dz" );[127X[104X218[4X[28XQ[x,y,z]<Dx,Dy,Dz>[128X[104X219[4X[25Xgap>[125X [27XDisplay( Dxyz );[127X[104X220[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X221[4X[25Xgap>[125X [27XExyz := ExteriorRing( Qxyz, "e,f,g" );[127X[104X222[4X[28XQ{e,f,g}[128X[104X223[4X[25Xgap>[125X [27XDisplay( Exyz );[127X[104X224[4X[28X<An external ring residing in the CAS Macaulay2>[128X[104X225[4X[32X[104X226227228[1X1.1-5 [33X[0;0Y[5XSage[105X[101X[1X[133X[101X229230[4X[32X Example [32X[104X231[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInSage( );[127X[104X232[4X[28XZ[128X[104X233[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X234[4X[28X<An external ring residing in the CAS Sage>[128X[104X235[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInSage( 2, ZZ );[127X[104X236[4X[28XGF(2)[128X[104X237[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X238[4X[28X<An external ring residing in the CAS Sage>[128X[104X239[4X[32X[104X240241[33X[0;0Y[10XF2 := HomalgRingOfIntegersInSage( 2 )[110X would launch another Sage.[133X242243[4X[32X Example [32X[104X244[4X[25Xgap>[125X [27XZ_4 := HomalgRingOfIntegersInSage( ZZ ) / 4;[127X[104X245[4X[28XZ/( 4 )[128X[104X246[4X[25Xgap>[125X [27XDisplay( Z_4 );[127X[104X247[4X[28X<A residue class ring>[128X[104X248[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInSage( ZZ );[127X[104X249[4X[28XQ[128X[104X250[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X251[4X[28X<An external ring residing in the CAS Sage>[128X[104X252[4X[25Xgap>[125X [27XF2x := F2 * "x";[127X[104X253[4X[28XGF(2)[x][128X[104X254[4X[25Xgap>[125X [27XDisplay( F2x );[127X[104X255[4X[28X<An external ring residing in the CAS Sage>[128X[104X256[4X[25Xgap>[125X [27XQx := Q * "x";[127X[104X257[4X[28XQ[x][128X[104X258[4X[25Xgap>[125X [27XDisplay( Qx );[127X[104X259[4X[28X<An external ring residing in the CAS Sage>[128X[104X260[4X[32X[104X261262263[1X1.1-6 [33X[0;0Y[5XMaple[105X[101X[1X[133X[101X264265[4X[32X Example [32X[104X266[4X[25Xgap>[125X [27XZZ := HomalgRingOfIntegersInMaple( );[127X[104X267[4X[28XZ[128X[104X268[4X[25Xgap>[125X [27XDisplay( ZZ );[127X[104X269[4X[28X<An external ring residing in the CAS Maple>[128X[104X270[4X[25Xgap>[125X [27XF2 := HomalgRingOfIntegersInMaple( 2, ZZ );[127X[104X271[4X[28XGF(2)[128X[104X272[4X[25Xgap>[125X [27XDisplay( F2 );[127X[104X273[4X[28X<An external ring residing in the CAS Maple>[128X[104X274[4X[32X[104X275276[33X[0;0Y[10XF2 := HomalgRingOfIntegersInMaple( 2 )[110X would launch another Maple.[133X277278[4X[32X Example [32X[104X279[4X[25Xgap>[125X [27XZ4 := HomalgRingOfIntegersInMaple( 4, ZZ );[127X[104X280[4X[28XZ/4Z[128X[104X281[4X[25Xgap>[125X [27XDisplay( Z4 );[127X[104X282[4X[28X<An external ring residing in the CAS Maple>[128X[104X283[4X[25Xgap>[125X [27XZ_4 := HomalgRingOfIntegersInMaple( ZZ ) / 4;[127X[104X284[4X[28XZ/( 4 )[128X[104X285[4X[25Xgap>[125X [27XDisplay( Z_4 );[127X[104X286[4X[28X<A residue class ring>[128X[104X287[4X[25Xgap>[125X [27XQ := HomalgFieldOfRationalsInMaple( ZZ );[127X[104X288[4X[28XQ[128X[104X289[4X[25Xgap>[125X [27XDisplay( Q );[127X[104X290[4X[28X<An external ring residing in the CAS Maple>[128X[104X291[4X[25Xgap>[125X [27XF2xyz := F2 * "x,y,z";[127X[104X292[4X[28XGF(2)[x,y,z][128X[104X293[4X[25Xgap>[125X [27XDisplay( F2xyz );[127X[104X294[4X[28X<An external ring residing in the CAS Maple>[128X[104X295[4X[25Xgap>[125X [27XQxyz := Q * "x,y,z";[127X[104X296[4X[28XQ[x,y,z][128X[104X297[4X[25Xgap>[125X [27XDisplay( Qxyz );[127X[104X298[4X[28X<An external ring residing in the CAS Maple>[128X[104X299[4X[25Xgap>[125X [27XDxyz := RingOfDerivations( Qxyz, "Dx,Dy,Dz" );[127X[104X300[4X[28XQ[x,y,z]<Dx,Dy,Dz>[128X[104X301[4X[25Xgap>[125X [27XDisplay( Dxyz );[127X[104X302[4X[28X<An external ring residing in the CAS Maple>[128X[104X303[4X[25Xgap>[125X [27XExyz := ExteriorRing( Qxyz, "e,f,g" );[127X[104X304[4X[28XQ{e,f,g}[128X[104X305[4X[25Xgap>[125X [27XDisplay( Exyz );[127X[104X306[4X[28X<An external ring residing in the CAS Maple>[128X[104X307[4X[32X[104X308309310311