GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
12[1X[5XMatricesForHomalg[105X[101X345[1XMatrices for the [5Xhomalg[105X project[101X678Version 2018.01.0791011June 2015121314Mohamed Barakat1516Markus Lange-Hegermann1718Vinay Wagh19202122[33X[0;10Y([13Xthis manual is still under construction[113X)[133X23[33X[0;10YThis manual is best viewed as an [12XHTML[112X document. The24latest version is available [12Xonline[112X at:[133X25[33X[0;10Y[7Xhttp://homalg.math.rwth-aachen.de/~barakat/homalg-project/MatricesForHomalg/chap0.html[107X[133X26[33X[0;10YAn [12Xoffline[112X version should be included in the27documentation subfolder of the package. This package is28part of the [5Xhomalg[105X-project:[133X29[33X[0;10Y[7Xhttp://homalg.math.rwth-aachen.de/index.php/core-packages/matricesforhomalg[107X[133X30313233Mohamed Barakat34Email: [7Xmailto:[email protected][107X35Homepage: [7Xhttp://www.mathematik.uni-kl.de/~barakat/[107X36Address: [33X[0;14YDepartment of Mathematics,[133X37[33X[0;14YUniversity of Kaiserslautern,[133X38[33X[0;14Y67653 Kaiserslautern,[133X39[33X[0;14YGermany[133X404142Markus Lange-Hegermann43Email: [7Xmailto:[email protected][107X44Homepage: [7Xhttp://wwwb.math.rwth-aachen.de/~markus/[107X45Address: [33X[0;14YLehrstuhl B für Mathematik, RWTH Aachen, Templergraben 64,4652056 Aachen, Germany[133X474849Vinay Wagh50Email: [7Xmailto:[email protected][107X51Homepage: [7Xhttp://www.iitg.ernet.in/vinay.wagh/[107X52Address: [33X[0;14YE-102, Department of Mathematics,[133X53[33X[0;14YIndian Institute of Technology Guwahati,[133X54[33X[0;14YGuwahati, Assam, India.[133X55[33X[0;14YPIN: 781 039.[133X56575859-------------------------------------------------------60[1XCopyright[101X61[33X[0;0Y© 2007-2015 by Mohamed Barakat and Markus Lange-Hegermann[133X6263[33X[0;0YThis package may be distributed under the terms and conditions of the GNU64Public License Version 2.[133X656667-------------------------------------------------------686970[1XContents (MatricesForHomalg)[101X71721 [33X[0;0YIntroduction[133X731.1 [33X[0;0YWhat is the role of the [5XMatricesForHomalg[105X package in the [5Xhomalg[105X74project?[133X751.1-1 [33X[0;0Y[5XMatricesForHomalg[105X provides ...[133X761.1-2 [33X[0;0Y[5Xhomalg[105X delegates ...[133X771.1-3 [33X[0;0YThe black box concept[133X781.2 [33X[0;0YThis manual[133X792 [33X[0;0YInstallation of the [5XMatricesForHomalg[105X Package[133X803 [33X[0;0YRings[133X813.1 [33X[0;0YRings: Category and Representations[133X823.1-1 IsHomalgRing833.1-2 IsPreHomalgRing843.1-3 IsHomalgRingElement853.1-4 IsHomalgInternalRingRep863.2 [33X[0;0YRings: Constructors[133X873.2-1 HomalgRingOfIntegers883.2-2 HomalgFieldOfRationals893.2-3 \/903.3 [33X[0;0YRings: Properties[133X913.3-1 IsZero923.3-2 ContainsAField933.3-3 IsRationalsForHomalg943.3-4 IsFieldForHomalg953.3-5 IsDivisionRingForHomalg963.3-6 IsIntegersForHomalg973.3-7 IsResidueClassRingOfTheIntegers983.3-8 IsBezoutRing993.3-9 IsIntegrallyClosedDomain1003.3-10 IsUniqueFactorizationDomain1013.3-11 IsKaplanskyHermite1023.3-12 IsDedekindDomain1033.3-13 IsDiscreteValuationRing1043.3-14 IsFreePolynomialRing1053.3-15 IsWeylRing1063.3-16 IsLocalizedWeylRing1073.3-17 IsGlobalDimensionFinite1083.3-18 IsLeftGlobalDimensionFinite1093.3-19 IsRightGlobalDimensionFinite1103.3-20 HasInvariantBasisProperty1113.3-21 HasLeftInvariantBasisProperty1123.3-22 HasRightInvariantBasisProperty1133.3-23 IsLocal1143.3-24 IsSemiLocalRing1153.3-25 IsIntegralDomain1163.3-26 IsHereditary1173.3-27 IsLeftHereditary1183.3-28 IsRightHereditary1193.3-29 IsHermite1203.3-30 IsLeftHermite1213.3-31 IsRightHermite1223.3-32 IsNoetherian1233.3-33 IsLeftNoetherian1243.3-34 IsRightNoetherian1253.3-35 IsCohenMacaulay1263.3-36 IsGorenstein1273.3-37 IsKoszul1283.3-38 IsArtinian1293.3-39 IsLeftArtinian1303.3-40 IsRightArtinian1313.3-41 IsOreDomain1323.3-42 IsLeftOreDomain1333.3-43 IsRightOreDomain1343.3-44 IsPrincipalIdealRing1353.3-45 IsLeftPrincipalIdealRing1363.3-46 IsRightPrincipalIdealRing1373.3-47 IsRegular1383.3-48 IsFiniteFreePresentationRing1393.3-49 IsLeftFiniteFreePresentationRing1403.3-50 IsRightFiniteFreePresentationRing1413.3-51 IsSimpleRing1423.3-52 IsSemiSimpleRing1433.3-53 IsSuperCommutative1443.3-54 BasisAlgorithmRespectsPrincipalIdeals1453.3-55 AreUnitsCentral1463.3-56 IsMinusOne1473.3-57 IsMonic1483.3-58 IsMonicUptoUnit1493.3-59 IsLeftRegular1503.3-60 IsRightRegular1513.3-61 IsRegular1523.4 [33X[0;0YRings: Attributes[133X1533.4-1 Inverse1543.4-2 homalgTable1553.4-3 RingElementConstructor1563.4-4 TypeOfHomalgMatrix1573.4-5 ConstructorForHomalgMatrices1583.4-6 Zero1593.4-7 One1603.4-8 MinusOne1613.4-9 ProductOfIndeterminates1623.4-10 RationalParameters1633.4-11 IndeterminatesOfPolynomialRing1643.4-12 RelativeIndeterminatesOfPolynomialRing1653.4-13 IndeterminateCoordinatesOfRingOfDerivations1663.4-14 RelativeIndeterminateCoordinatesOfRingOfDerivations1673.4-15 IndeterminateDerivationsOfRingOfDerivations1683.4-16 RelativeIndeterminateDerivationsOfRingOfDerivations1693.4-17 IndeterminateAntiCommutingVariablesOfExteriorRing1703.4-18 RelativeIndeterminateAntiCommutingVariablesOfExteriorRing1713.4-19 IndeterminatesOfExteriorRing1723.4-20 CoefficientsRing1733.4-21 KrullDimension1743.4-22 LeftGlobalDimension1753.4-23 RightGlobalDimension1763.4-24 GlobalDimension1773.4-25 GeneralLinearRank1783.4-26 ElementaryRank1793.4-27 StableRank1803.4-28 AssociatedGradedRing1813.5 [33X[0;0YRings: Operations and Functions[133X1824 [33X[0;0YRing Maps[133X1834.1 [33X[0;0YRing Maps: Category and Representations[133X1844.1-1 IsHomalgRingMap1854.1-2 IsHomalgRingSelfMap1864.1-3 IsHomalgRingMapRep1874.2 [33X[0;0YRing Maps: Constructors[133X1884.2-1 RingMap1894.3 [33X[0;0YRing Maps: Properties[133X1904.3-1 IsMorphism1914.3-2 IsIdentityMorphism1924.3-3 IsMonomorphism1934.3-4 IsEpimorphism1944.3-5 IsIsomorphism1954.3-6 IsAutomorphism1964.4 [33X[0;0YRing Maps: Attributes[133X1974.4-1 Source1984.4-2 Range1994.4-3 DegreeOfMorphism2004.4-4 CoordinateRingOfGraph2014.5 [33X[0;0YRing Maps: Operations and Functions[133X2025 [33X[0;0YMatrices[133X2035.1 [33X[0;0YMatrices: Category and Representations[133X2045.1-1 IsHomalgMatrix2055.1-2 IsHomalgInternalMatrixRep2065.2 [33X[0;0YMatrices: Constructors[133X2075.2-1 HomalgInitialMatrix2085.2-2 HomalgInitialIdentityMatrix2095.2-3 HomalgZeroMatrix2105.2-4 HomalgIdentityMatrix2115.2-5 HomalgVoidMatrix2125.2-6 HomalgMatrix2135.2-7 HomalgDiagonalMatrix2145.2-8 \*2155.3 [33X[0;0YMatrices: Properties[133X2165.3-1 IsZero2175.3-2 IsOne2185.3-3 IsUnitFree2195.3-4 IsPermutationMatrix2205.3-5 IsSpecialSubidentityMatrix2215.3-6 IsSubidentityMatrix2225.3-7 IsLeftRegular2235.3-8 IsRightRegular2245.3-9 IsInvertibleMatrix2255.3-10 IsLeftInvertibleMatrix2265.3-11 IsRightInvertibleMatrix2275.3-12 IsEmptyMatrix2285.3-13 IsDiagonalMatrix2295.3-14 IsScalarlMatrix2305.3-15 IsUpperTriangularMatrix2315.3-16 IsLowerTriangularMatrix2325.3-17 IsStrictUpperTriangularMatrix2335.3-18 IsStrictLowerTriangularMatrix2345.3-19 IsUpperStairCaseMatrix2355.3-20 IsLowerStairCaseMatrix2365.3-21 IsTriangularMatrix2375.3-22 IsBasisOfRowsMatrix2385.3-23 IsBasisOfColumnsMatrix2395.3-24 IsReducedBasisOfRowsMatrix2405.3-25 IsReducedBasisOfColumnsMatrix2415.3-26 IsInitialMatrix2425.3-27 IsInitialIdentityMatrix2435.3-28 IsVoidMatrix2445.4 [33X[0;0YMatrices: Attributes[133X2455.4-1 NrRows2465.4-2 NrColumns2475.4-3 DeterminantMat2485.4-4 ZeroRows2495.4-5 ZeroColumns2505.4-6 NonZeroRows2515.4-7 NonZeroColumns2525.4-8 PositionOfFirstNonZeroEntryPerRow2535.4-9 PositionOfFirstNonZeroEntryPerColumn2545.4-10 RowRankOfMatrix2555.4-11 ColumnRankOfMatrix2565.4-12 LeftInverse2575.4-13 RightInverse2585.4-14 CoefficientsOfUnreducedNumeratorOfHilbertPoincareSeries2595.4-15 CoefficientsOfNumeratorOfHilbertPoincareSeries2605.4-16 UnreducedNumeratorOfHilbertPoincareSeries2615.4-17 NumeratorOfHilbertPoincareSeries2625.4-18 HilbertPoincareSeries2635.4-19 HilbertPolynomial2645.4-20 AffineDimension2655.4-21 AffineDegree2665.4-22 ProjectiveDegree2675.4-23 ConstantTermOfHilbertPolynomialn2685.4-24 MatrixOfSymbols2695.5 [33X[0;0YMatrices: Operations and Functions[133X2705.5-1 HomalgRing2715.5-2 LeftInverse2725.5-3 RightInverse2735.5-4 LeftInverseLazy2745.5-5 RightInverseLazy2755.5-6 Involution2765.5-7 CertainRows2775.5-8 CertainColumns2785.5-9 UnionOfRows2795.5-10 UnionOfColumns2805.5-11 DiagMat2815.5-12 KroneckerMat2825.5-13 \*2835.5-14 \+2845.5-15 \-2855.5-16 \*2865.5-17 \=2875.5-18 GetColumnIndependentUnitPositions2885.5-19 GetRowIndependentUnitPositions2895.5-20 GetUnitPosition2905.5-21 Eliminate2915.5-22 BasisOfRowModule2925.5-23 BasisOfColumnModule2935.5-24 DecideZeroRows2945.5-25 DecideZeroColumns2955.5-26 SyzygiesGeneratorsOfRows2965.5-27 SyzygiesGeneratorsOfColumns2975.5-28 SyzygiesGeneratorsOfRows2985.5-29 SyzygiesGeneratorsOfColumns2995.5-30 ReducedBasisOfRowModule3005.5-31 ReducedBasisOfColumnModule3015.5-32 ReducedSyzygiesGeneratorsOfRows3025.5-33 ReducedSyzygiesGeneratorsOfColumns3035.5-34 BasisOfRowsCoeff3045.5-35 BasisOfColumnsCoeff3055.5-36 DecideZeroRowsEffectively3065.5-37 DecideZeroColumnsEffectively3075.5-38 BasisOfRows3085.5-39 BasisOfColumns3095.5-40 DecideZero3105.5-41 SyzygiesOfRows3115.5-42 SyzygiesOfColumns3125.5-43 ReducedSyzygiesOfRows3135.5-44 ReducedSyzygiesOfColumns3145.5-45 RightDivide3155.5-46 LeftDivide3165.5-47 RightDivide3175.5-48 LeftDivide3185.5-49 GenerateSameRowModule3195.5-50 GenerateSameColumnModule3206 [33X[0;0YRing Relations[133X3216.1 [33X[0;0YRing Relations: Categories and Representations[133X3226.1-1 IsHomalgRingRelations3236.1-2 IsHomalgRingRelationsAsGeneratorsOfLeftIdeal3246.1-3 IsHomalgRingRelationsAsGeneratorsOfRightIdeal3256.1-4 IsRingRelationsRep3266.2 [33X[0;0YRing Relations: Constructors[133X3276.3 [33X[0;0YRing Relations: Properties[133X3286.3-1 CanBeUsedToDecideZero3296.3-2 IsInjectivePresentation3306.4 [33X[0;0YRing Relations: Attributes[133X3316.5 [33X[0;0YRing Relations: Operations and Functions[133X332A [33X[0;0YThe Basic Matrix Operations[133X333A.1 [33X[0;0YMain[133X334A.2 [33X[0;0YEffective[133X335A.3 [33X[0;0YRelative[133X336A.4 [33X[0;0YReduced[133X337B [33X[0;0YThe Matrix Tool Operations[133X338B.1 [33X[0;0YThe Tool Operations [13Xwithout[113X a Fallback Method[133X339B.1-1 InitialMatrix340B.1-2 InitialIdentityMatrix341B.1-3 ZeroMatrix342B.1-4 IdentityMatrix343B.1-5 Involution344B.1-6 CertainRows345B.1-7 CertainColumns346B.1-8 UnionOfRows347B.1-9 UnionOfColumns348B.1-10 DiagMat349B.1-11 KroneckerMat350B.1-12 MulMat351B.1-13 AddMat352B.1-14 SubMat353B.1-15 Compose354B.1-16 IsZeroMatrix355B.1-17 NrRows356B.1-18 NrColumns357B.1-19 Determinant358B.2 [33X[0;0YThe Tool Operations with a Fallback Method[133X359B.2-1 AreEqualMatrices360B.2-2 IsIdentityMatrix361B.2-3 IsDiagonalMatrix362B.2-4 ZeroRows363B.2-5 ZeroColumns364B.2-6 GetColumnIndependentUnitPositions365B.2-7 GetRowIndependentUnitPositions366B.2-8 GetUnitPosition367B.2-9 PositionOfFirstNonZeroEntryPerRow368B.2-10 PositionOfFirstNonZeroEntryPerColumn369C [33X[0;0YLogic Subpackages[133X370C.1 [33X[0;0Y[5XLIRNG[105X: Logical Implications for Rings[133X371C.2 [33X[0;0Y[5XLIMAP[105X: Logical Implications for Ring Maps[133X372C.3 [33X[0;0Y[5XLIMAT[105X: Logical Implications for Matrices[133X373C.4 [33X[0;0Y[5XCOLEM[105X: Clever Operations for Lazy Evaluated Matrices[133X374C.4-1 Eval375C.4-2 Eval376C.4-3 Eval377C.4-4 Eval378C.4-5 Eval379C.4-6 Eval380C.4-7 Eval381C.4-8 Eval382C.4-9 Eval383C.4-10 Eval384C.4-11 Eval385C.4-12 Eval386C.4-13 Eval387C.4-14 Eval388C.4-15 Eval389C.4-16 Eval390C.4-17 Eval391D [33X[0;0YThe subpackage [5XResidueClassRingForHomalg[105X as a sample ring package[133X392D.1 [33X[0;0YThe Mandatory Basic Operations[133X393D.1-1 BasisOfRowModule394D.1-2 BasisOfColumnModule395D.1-3 DecideZeroRows396D.1-4 DecideZeroColumns397D.1-5 SyzygiesGeneratorsOfRows398D.1-6 SyzygiesGeneratorsOfColumns399D.1-7 BasisOfRowsCoeff400D.1-8 BasisOfColumnsCoeff401D.1-9 DecideZeroRowsEffectively402D.1-10 DecideZeroColumnsEffectively403D.1-11 RelativeSyzygiesGeneratorsOfRows404D.1-12 RelativeSyzygiesGeneratorsOfColumns405D.2 [33X[0;0YThe Mandatory Tool Operations[133X406D.2-1 InitialMatrix407D.2-2 InitialIdentityMatrix408D.2-3 ZeroMatrix409D.2-4 IdentityMatrix410D.2-5 Involution411D.2-6 CertainRows412D.2-7 CertainColumns413D.2-8 UnionOfRows414D.2-9 UnionOfColumns415D.2-10 DiagMat416D.2-11 KroneckerMat417D.2-12 MulMat418D.2-13 AddMat419D.2-14 SubMat420D.2-15 Compose421D.2-16 IsZeroMatrix422D.2-17 NrRows423D.2-18 NrColumns424D.2-19 Determinant425D.3 [33X[0;0YSome of the Recommended Tool Operations[133X426D.3-1 AreEqualMatrices427D.3-2 IsOne428D.3-3 IsDiagonalMatrix429D.3-4 ZeroRows430D.3-5 ZeroColumns431E [33X[0;0YDebugging [5XMatricesForHomalg[105X[133X432E.1 [33X[0;0YIncrease the assertion level[133X433E.2 [33X[0;0Y[10XUsing homalgMode[110X[133X434E.2-1 homalgMode435F [33X[0;0YOverview of the [5XMatricesForHomalg[105X Package Source Code[133X436F.1 [33X[0;0YRings, Ring Maps, Matrices, Ring Relations[133X437F.2 [33X[0;0YThe Low Level Algorithms[133X438F.3 [33X[0;0YLogical Implications for [5XMatricesForHomalg[105X Objects[133X439F.4 [33X[0;0YThe subpackage [5XResidueClassRingForHomalg[105X[133X440F.5 [33X[0;0YThe homalgTable for [5XGAP4[105X built-in rings[133X441442443[32X444445446