Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

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

563501 views
1
2
3
MatricesForHomalg
4
5
6
Matrices for the homalg project
7
8
9
Version 2018.01.07
10
11
12
June 2015
13
14
15
Mohamed Barakat
16
17
Markus Lange-Hegermann
18
19
Vinay Wagh
20
21
22
23
(this manual is still under construction)
24
This manual is best viewed as an HTML document. The
25
latest version is available online at:
26
http://homalg.math.rwth-aachen.de/~barakat/homalg-project/MatricesForHomalg/chap0.html
27
An offline version should be included in the
28
documentation subfolder of the package. This package is
29
part of the homalg-project:
30
http://homalg.math.rwth-aachen.de/index.php/core-packages/matricesforhomalg
31
32
33
34
Mohamed Barakat
35
Email: mailto:[email protected]
36
Homepage: http://www.mathematik.uni-kl.de/~barakat/
37
Address: Department of Mathematics,
38
University of Kaiserslautern,
39
67653 Kaiserslautern,
40
Germany
41
42
43
Markus Lange-Hegermann
44
Email: mailto:[email protected]
45
Homepage: http://wwwb.math.rwth-aachen.de/~markus/
46
Address: Lehrstuhl B für Mathematik, RWTH Aachen, Templergraben 64,
47
52056 Aachen, Germany
48
49
50
Vinay Wagh
51
Email: mailto:[email protected]
52
Homepage: http://www.iitg.ernet.in/vinay.wagh/
53
Address: E-102, Department of Mathematics,
54
Indian Institute of Technology Guwahati,
55
Guwahati, Assam, India.
56
PIN: 781 039.
57
58
59
60
-------------------------------------------------------
61
Copyright
62
© 2007-2015 by Mohamed Barakat and Markus Lange-Hegermann
63
64
This package may be distributed under the terms and conditions of the GNU
65
Public License Version 2.
66
67
68
-------------------------------------------------------
69
70
71
Contents (MatricesForHomalg)
72
73
1 Introduction
74
1.1 What is the role of the MatricesForHomalg package in the homalg
75
project?
76
1.1-1 MatricesForHomalg provides ...
77
1.1-2 homalg delegates ...
78
1.1-3 The black box concept
79
1.2 This manual
80
2 Installation of the MatricesForHomalg Package
81
3 Rings
82
3.1 Rings: Category and Representations
83
3.1-1 IsHomalgRing
84
3.1-2 IsPreHomalgRing
85
3.1-3 IsHomalgRingElement
86
3.1-4 IsHomalgInternalRingRep
87
3.2 Rings: Constructors
88
3.2-1 HomalgRingOfIntegers
89
3.2-2 HomalgFieldOfRationals
90
3.2-3 \/
91
3.3 Rings: Properties
92
3.3-1 IsZero
93
3.3-2 ContainsAField
94
3.3-3 IsRationalsForHomalg
95
3.3-4 IsFieldForHomalg
96
3.3-5 IsDivisionRingForHomalg
97
3.3-6 IsIntegersForHomalg
98
3.3-7 IsResidueClassRingOfTheIntegers
99
3.3-8 IsBezoutRing
100
3.3-9 IsIntegrallyClosedDomain
101
3.3-10 IsUniqueFactorizationDomain
102
3.3-11 IsKaplanskyHermite
103
3.3-12 IsDedekindDomain
104
3.3-13 IsDiscreteValuationRing
105
3.3-14 IsFreePolynomialRing
106
3.3-15 IsWeylRing
107
3.3-16 IsLocalizedWeylRing
108
3.3-17 IsGlobalDimensionFinite
109
3.3-18 IsLeftGlobalDimensionFinite
110
3.3-19 IsRightGlobalDimensionFinite
111
3.3-20 HasInvariantBasisProperty
112
3.3-21 HasLeftInvariantBasisProperty
113
3.3-22 HasRightInvariantBasisProperty
114
3.3-23 IsLocal
115
3.3-24 IsSemiLocalRing
116
3.3-25 IsIntegralDomain
117
3.3-26 IsHereditary
118
3.3-27 IsLeftHereditary
119
3.3-28 IsRightHereditary
120
3.3-29 IsHermite
121
3.3-30 IsLeftHermite
122
3.3-31 IsRightHermite
123
3.3-32 IsNoetherian
124
3.3-33 IsLeftNoetherian
125
3.3-34 IsRightNoetherian
126
3.3-35 IsCohenMacaulay
127
3.3-36 IsGorenstein
128
3.3-37 IsKoszul
129
3.3-38 IsArtinian
130
3.3-39 IsLeftArtinian
131
3.3-40 IsRightArtinian
132
3.3-41 IsOreDomain
133
3.3-42 IsLeftOreDomain
134
3.3-43 IsRightOreDomain
135
3.3-44 IsPrincipalIdealRing
136
3.3-45 IsLeftPrincipalIdealRing
137
3.3-46 IsRightPrincipalIdealRing
138
3.3-47 IsRegular
139
3.3-48 IsFiniteFreePresentationRing
140
3.3-49 IsLeftFiniteFreePresentationRing
141
3.3-50 IsRightFiniteFreePresentationRing
142
3.3-51 IsSimpleRing
143
3.3-52 IsSemiSimpleRing
144
3.3-53 IsSuperCommutative
145
3.3-54 BasisAlgorithmRespectsPrincipalIdeals
146
3.3-55 AreUnitsCentral
147
3.3-56 IsMinusOne
148
3.3-57 IsMonic
149
3.3-58 IsMonicUptoUnit
150
3.3-59 IsLeftRegular
151
3.3-60 IsRightRegular
152
3.3-61 IsRegular
153
3.4 Rings: Attributes
154
3.4-1 Inverse
155
3.4-2 homalgTable
156
3.4-3 RingElementConstructor
157
3.4-4 TypeOfHomalgMatrix
158
3.4-5 ConstructorForHomalgMatrices
159
3.4-6 Zero
160
3.4-7 One
161
3.4-8 MinusOne
162
3.4-9 ProductOfIndeterminates
163
3.4-10 RationalParameters
164
3.4-11 IndeterminatesOfPolynomialRing
165
3.4-12 RelativeIndeterminatesOfPolynomialRing
166
3.4-13 IndeterminateCoordinatesOfRingOfDerivations
167
3.4-14 RelativeIndeterminateCoordinatesOfRingOfDerivations
168
3.4-15 IndeterminateDerivationsOfRingOfDerivations
169
3.4-16 RelativeIndeterminateDerivationsOfRingOfDerivations
170
3.4-17 IndeterminateAntiCommutingVariablesOfExteriorRing
171
3.4-18 RelativeIndeterminateAntiCommutingVariablesOfExteriorRing
172
3.4-19 IndeterminatesOfExteriorRing
173
3.4-20 CoefficientsRing
174
3.4-21 KrullDimension
175
3.4-22 LeftGlobalDimension
176
3.4-23 RightGlobalDimension
177
3.4-24 GlobalDimension
178
3.4-25 GeneralLinearRank
179
3.4-26 ElementaryRank
180
3.4-27 StableRank
181
3.4-28 AssociatedGradedRing
182
3.5 Rings: Operations and Functions
183
4 Ring Maps
184
4.1 Ring Maps: Category and Representations
185
4.1-1 IsHomalgRingMap
186
4.1-2 IsHomalgRingSelfMap
187
4.1-3 IsHomalgRingMapRep
188
4.2 Ring Maps: Constructors
189
4.2-1 RingMap
190
4.3 Ring Maps: Properties
191
4.3-1 IsMorphism
192
4.3-2 IsIdentityMorphism
193
4.3-3 IsMonomorphism
194
4.3-4 IsEpimorphism
195
4.3-5 IsIsomorphism
196
4.3-6 IsAutomorphism
197
4.4 Ring Maps: Attributes
198
4.4-1 Source
199
4.4-2 Range
200
4.4-3 DegreeOfMorphism
201
4.4-4 CoordinateRingOfGraph
202
4.5 Ring Maps: Operations and Functions
203
5 Matrices
204
5.1 Matrices: Category and Representations
205
5.1-1 IsHomalgMatrix
206
5.1-2 IsHomalgInternalMatrixRep
207
5.2 Matrices: Constructors
208
5.2-1 HomalgInitialMatrix
209
5.2-2 HomalgInitialIdentityMatrix
210
5.2-3 HomalgZeroMatrix
211
5.2-4 HomalgIdentityMatrix
212
5.2-5 HomalgVoidMatrix
213
5.2-6 HomalgMatrix
214
5.2-7 HomalgDiagonalMatrix
215
5.2-8 \*
216
5.3 Matrices: Properties
217
5.3-1 IsZero
218
5.3-2 IsOne
219
5.3-3 IsUnitFree
220
5.3-4 IsPermutationMatrix
221
5.3-5 IsSpecialSubidentityMatrix
222
5.3-6 IsSubidentityMatrix
223
5.3-7 IsLeftRegular
224
5.3-8 IsRightRegular
225
5.3-9 IsInvertibleMatrix
226
5.3-10 IsLeftInvertibleMatrix
227
5.3-11 IsRightInvertibleMatrix
228
5.3-12 IsEmptyMatrix
229
5.3-13 IsDiagonalMatrix
230
5.3-14 IsScalarlMatrix
231
5.3-15 IsUpperTriangularMatrix
232
5.3-16 IsLowerTriangularMatrix
233
5.3-17 IsStrictUpperTriangularMatrix
234
5.3-18 IsStrictLowerTriangularMatrix
235
5.3-19 IsUpperStairCaseMatrix
236
5.3-20 IsLowerStairCaseMatrix
237
5.3-21 IsTriangularMatrix
238
5.3-22 IsBasisOfRowsMatrix
239
5.3-23 IsBasisOfColumnsMatrix
240
5.3-24 IsReducedBasisOfRowsMatrix
241
5.3-25 IsReducedBasisOfColumnsMatrix
242
5.3-26 IsInitialMatrix
243
5.3-27 IsInitialIdentityMatrix
244
5.3-28 IsVoidMatrix
245
5.4 Matrices: Attributes
246
5.4-1 NrRows
247
5.4-2 NrColumns
248
5.4-3 DeterminantMat
249
5.4-4 ZeroRows
250
5.4-5 ZeroColumns
251
5.4-6 NonZeroRows
252
5.4-7 NonZeroColumns
253
5.4-8 PositionOfFirstNonZeroEntryPerRow
254
5.4-9 PositionOfFirstNonZeroEntryPerColumn
255
5.4-10 RowRankOfMatrix
256
5.4-11 ColumnRankOfMatrix
257
5.4-12 LeftInverse
258
5.4-13 RightInverse
259
5.4-14 CoefficientsOfUnreducedNumeratorOfHilbertPoincareSeries
260
5.4-15 CoefficientsOfNumeratorOfHilbertPoincareSeries
261
5.4-16 UnreducedNumeratorOfHilbertPoincareSeries
262
5.4-17 NumeratorOfHilbertPoincareSeries
263
5.4-18 HilbertPoincareSeries
264
5.4-19 HilbertPolynomial
265
5.4-20 AffineDimension
266
5.4-21 AffineDegree
267
5.4-22 ProjectiveDegree
268
5.4-23 ConstantTermOfHilbertPolynomialn
269
5.4-24 MatrixOfSymbols
270
5.5 Matrices: Operations and Functions
271
5.5-1 HomalgRing
272
5.5-2 LeftInverse
273
5.5-3 RightInverse
274
5.5-4 LeftInverseLazy
275
5.5-5 RightInverseLazy
276
5.5-6 Involution
277
5.5-7 CertainRows
278
5.5-8 CertainColumns
279
5.5-9 UnionOfRows
280
5.5-10 UnionOfColumns
281
5.5-11 DiagMat
282
5.5-12 KroneckerMat
283
5.5-13 \*
284
5.5-14 \+
285
5.5-15 \-
286
5.5-16 \*
287
5.5-17 \=
288
5.5-18 GetColumnIndependentUnitPositions
289
5.5-19 GetRowIndependentUnitPositions
290
5.5-20 GetUnitPosition
291
5.5-21 Eliminate
292
5.5-22 BasisOfRowModule
293
5.5-23 BasisOfColumnModule
294
5.5-24 DecideZeroRows
295
5.5-25 DecideZeroColumns
296
5.5-26 SyzygiesGeneratorsOfRows
297
5.5-27 SyzygiesGeneratorsOfColumns
298
5.5-28 SyzygiesGeneratorsOfRows
299
5.5-29 SyzygiesGeneratorsOfColumns
300
5.5-30 ReducedBasisOfRowModule
301
5.5-31 ReducedBasisOfColumnModule
302
5.5-32 ReducedSyzygiesGeneratorsOfRows
303
5.5-33 ReducedSyzygiesGeneratorsOfColumns
304
5.5-34 BasisOfRowsCoeff
305
5.5-35 BasisOfColumnsCoeff
306
5.5-36 DecideZeroRowsEffectively
307
5.5-37 DecideZeroColumnsEffectively
308
5.5-38 BasisOfRows
309
5.5-39 BasisOfColumns
310
5.5-40 DecideZero
311
5.5-41 SyzygiesOfRows
312
5.5-42 SyzygiesOfColumns
313
5.5-43 ReducedSyzygiesOfRows
314
5.5-44 ReducedSyzygiesOfColumns
315
5.5-45 RightDivide
316
5.5-46 LeftDivide
317
5.5-47 RightDivide
318
5.5-48 LeftDivide
319
5.5-49 GenerateSameRowModule
320
5.5-50 GenerateSameColumnModule
321
6 Ring Relations
322
6.1 Ring Relations: Categories and Representations
323
6.1-1 IsHomalgRingRelations
324
6.1-2 IsHomalgRingRelationsAsGeneratorsOfLeftIdeal
325
6.1-3 IsHomalgRingRelationsAsGeneratorsOfRightIdeal
326
6.1-4 IsRingRelationsRep
327
6.2 Ring Relations: Constructors
328
6.3 Ring Relations: Properties
329
6.3-1 CanBeUsedToDecideZero
330
6.3-2 IsInjectivePresentation
331
6.4 Ring Relations: Attributes
332
6.5 Ring Relations: Operations and Functions
333
A The Basic Matrix Operations
334
A.1 Main
335
A.2 Effective
336
A.3 Relative
337
A.4 Reduced
338
B The Matrix Tool Operations
339
B.1 The Tool Operations without a Fallback Method
340
B.1-1 InitialMatrix
341
B.1-2 InitialIdentityMatrix
342
B.1-3 ZeroMatrix
343
B.1-4 IdentityMatrix
344
B.1-5 Involution
345
B.1-6 CertainRows
346
B.1-7 CertainColumns
347
B.1-8 UnionOfRows
348
B.1-9 UnionOfColumns
349
B.1-10 DiagMat
350
B.1-11 KroneckerMat
351
B.1-12 MulMat
352
B.1-13 AddMat
353
B.1-14 SubMat
354
B.1-15 Compose
355
B.1-16 IsZeroMatrix
356
B.1-17 NrRows
357
B.1-18 NrColumns
358
B.1-19 Determinant
359
B.2 The Tool Operations with a Fallback Method
360
B.2-1 AreEqualMatrices
361
B.2-2 IsIdentityMatrix
362
B.2-3 IsDiagonalMatrix
363
B.2-4 ZeroRows
364
B.2-5 ZeroColumns
365
B.2-6 GetColumnIndependentUnitPositions
366
B.2-7 GetRowIndependentUnitPositions
367
B.2-8 GetUnitPosition
368
B.2-9 PositionOfFirstNonZeroEntryPerRow
369
B.2-10 PositionOfFirstNonZeroEntryPerColumn
370
C Logic Subpackages
371
C.1 LIRNG: Logical Implications for Rings
372
C.2 LIMAP: Logical Implications for Ring Maps
373
C.3 LIMAT: Logical Implications for Matrices
374
C.4 COLEM: Clever Operations for Lazy Evaluated Matrices
375
C.4-1 Eval
376
C.4-2 Eval
377
C.4-3 Eval
378
C.4-4 Eval
379
C.4-5 Eval
380
C.4-6 Eval
381
C.4-7 Eval
382
C.4-8 Eval
383
C.4-9 Eval
384
C.4-10 Eval
385
C.4-11 Eval
386
C.4-12 Eval
387
C.4-13 Eval
388
C.4-14 Eval
389
C.4-15 Eval
390
C.4-16 Eval
391
C.4-17 Eval
392
D The subpackage ResidueClassRingForHomalg as a sample ring package
393
D.1 The Mandatory Basic Operations
394
D.1-1 BasisOfRowModule
395
D.1-2 BasisOfColumnModule
396
D.1-3 DecideZeroRows
397
D.1-4 DecideZeroColumns
398
D.1-5 SyzygiesGeneratorsOfRows
399
D.1-6 SyzygiesGeneratorsOfColumns
400
D.1-7 BasisOfRowsCoeff
401
D.1-8 BasisOfColumnsCoeff
402
D.1-9 DecideZeroRowsEffectively
403
D.1-10 DecideZeroColumnsEffectively
404
D.1-11 RelativeSyzygiesGeneratorsOfRows
405
D.1-12 RelativeSyzygiesGeneratorsOfColumns
406
D.2 The Mandatory Tool Operations
407
D.2-1 InitialMatrix
408
D.2-2 InitialIdentityMatrix
409
D.2-3 ZeroMatrix
410
D.2-4 IdentityMatrix
411
D.2-5 Involution
412
D.2-6 CertainRows
413
D.2-7 CertainColumns
414
D.2-8 UnionOfRows
415
D.2-9 UnionOfColumns
416
D.2-10 DiagMat
417
D.2-11 KroneckerMat
418
D.2-12 MulMat
419
D.2-13 AddMat
420
D.2-14 SubMat
421
D.2-15 Compose
422
D.2-16 IsZeroMatrix
423
D.2-17 NrRows
424
D.2-18 NrColumns
425
D.2-19 Determinant
426
D.3 Some of the Recommended Tool Operations
427
D.3-1 AreEqualMatrices
428
D.3-2 IsOne
429
D.3-3 IsDiagonalMatrix
430
D.3-4 ZeroRows
431
D.3-5 ZeroColumns
432
E Debugging MatricesForHomalg
433
E.1 Increase the assertion level
434
E.2 Using homalgMode
435
E.2-1 homalgMode
436
F Overview of the MatricesForHomalg Package Source Code
437
F.1 Rings, Ring Maps, Matrices, Ring Relations
438
F.2 The Low Level Algorithms
439
F.3 Logical Implications for MatricesForHomalg Objects
440
F.4 The subpackage ResidueClassRingForHomalg
441
F.5 The homalgTable for GAP4 built-in rings
442
443
444

445
446