  
  
                                     [1X[5Xhomalg[0m[1X[0m
  
  
                  [1XA [5XGAP4[0m[1X Meta-Package for Homological Algebra[0m
  
  
                               Version 2010.10.09
  
  
                                  October 2010
  
  
                                Mohamed Barakat
  
  
  
            ([13Xthis manual is still under construction[0m)
            This  manual  is  best  viewed  as an [12XHTML[0m document. The
            latest version is available [12Xonline[0m at:
            [7Xhttp://homalg.math.rwth-aachen.de/~barakat/homalg/chap0.html[0m
            An   [12Xoffline[0m   version   should   be   included  in  the
            documentation  subfolder of the package. This package is
            part of the [5Xhomalg[0m-project:
            [7Xhttp://homalg.math.rwth-aachen.de/index.php/core-packages/homalg-package[0m
  
  
  
  Mohamed Barakat
      Email:    [7Xmailto:barakat@mathematik.uni-kl.de[0m
      Homepage: [7Xhttp://www.mathematik.uni-kl.de/~barakat/[0m
      Address:  Department of Mathematics,
                University of Kaiserslautern,
                67653 Kaiserslautern,
                Germany
  
  
  
  -------------------------------------------------------
  [1XCopyright[0m
  © 2007-2010 by Mohamed Barakat
  
  This  package  may  be distributed under the terms and conditions of the GNU
  Public License Version 2.
  
  
  -------------------------------------------------------
  [1XAcknowledgements[0m
  Max  Neunhöffer  not  only  taught  me  the  philosophy  of  object-oriented
  programming in [5XGAP4[0m, but also to what extent this philosophy is still unique
  among programming languages (--> [14XB.2[0m). The slides (in German) to his talk in
  our    seminar    on    30.10.2006    can   be   found   on   his   homepage
  ([7Xhttp://www-groups.mcs.st-and.ac.uk/~neunhoef/Publications/talks.html[0m).
  
  He, Frank Lübeck, and Thomas Breuer patiently answered trillions of specific
  questions, even those I was too lazy to look up in the excellent programming
  tutorial.  Without  their  continuous and tireless help and advice, not only
  this  package  but  the  [5Xhomalg[0m project as a whole would have remained on my
  todo list.
  
  A  lot  of ideas that make up this package and the whole [5Xhomalg[0m project came
  out   of   intensive  discussions  with  Daniel  Robertz  during  our  early
  collaboration,  where  we  developed  our  philosophy  of a meta package for
  homological algebra and implemented it in [5XMaple[0m.
  
  In  the  fall  of  2007  I began collaborating with Simon Görtzen to further
  pursue  and  extend  these  ideas preparing the transition to [5XGAP4[0m. With his
  help [5Xhomalg[0m became an extendable multi-package project.
  
  Max  Neunhöffer  convinced  me  to  use  his  wonderful  [5XIO[0m package to start
  communicating  with  external  computer algebra systems. This was crucial to
  remedy  the yet missing support for important rings in [5XGAP[0m. Max provided the
  first piece of code to access the computer algebra system [5XSingular[0m. This was
  the  starting point of the packages [5XHomalgToCAS[0m and [5XIO_ForHomalg[0m, which were
  further  abstracted  by Simon and myself enabling [5Xhomalg[0m to communicate with
  virtually any external (computer algebra) system.
  
  Thomas Bächler wrote the package [5XMapleForHomalg[0m to directly access [5XMaple[0m via
  its [5XC[0m-interface. It offers an alternative to the package [5XIO_ForHomalg[0m, which
  requires [5XMaple[0m's terminal interface [10Xcmaple[0m.
  
  The  basic support for [5XSage[0m was added by Simon, and the support for [5XSingular[0m
  was  initiated  by  Markus  Lange-Hegermann  and continued by him and Simon,
  while  Markus  Kirschmer  contributed  the  complete support for [5XMAGMA[0m. This
  formed  the  beginning of the [5XRingsForHomalg[0m package. Recently, Daniel added
  the support for [5XMacaulay2[0m.
  
  My  concerns  about  how  to  handle  the garbage collection in the external
  computer  algebra  systems  were  evaporated  with the idea of Thomas Breuer
  using  the so-called weak pointers in [5XGAP4[0m to keep track of all the external
  objects  that  became  obsolete  for  [5Xhomalg[0m.  This  idea  took  shape  in a
  discussion  with  him  and  Frank  Lübeck and finally found its way into the
  package [5XHomalgToCAS[0m.
  
  My  gratitude  to  all  with  whom  I  worked  together to develop extension
  packages  and  those  who  developed  their  own  packages within the [5Xhomalg[0m
  project  (-->  Appendix  [14XE[0m).  Without their contributions the package [5Xhomalg[0m
  would have remained a core without a body:
  
  --    Thomas Bächler ([7Xhttp://wwwb.math.rwth-aachen.de/~thomas/[0m)
  
  --    Barbara Bremer
  
  --    Thomas Breuer ([7Xhttp://www.math.rwth-aachen.de/~Thomas.Breuer/[0m)
  
  --    Anna Fabiańska
  
  --    Simon Görtzen ([7Xhttp://wwwb.math.rwth-aachen.de/goertzen/[0m)
  
  --    Markus Kirschmer ([7Xhttp://www.math.rwth-aachen.de/~Markus.Kirschmer/[0m)
  
  --    Markus Lange-Hegermann ([7Xhttp://wwwb.math.rwth-aachen.de/~markus/[0m)
  
  --    Frank Lübeck ([7Xhttp://www.math.rwth-aachen.de/~Frank.Luebeck/[0m)
  
  --    Max Neunhöffer ([7Xhttp://www-groups.mcs.st-and.ac.uk/~neunhoef/[0m)
  
  --    Daniel Robertz ([7Xhttp://wwwb.math.rwth-aachen.de/~daniel/[0m)
  
  I  would  also like to thank Alban Quadrat for supporting the [5Xhomalg[0m project
  and  for all the wonderful discussions we had. At several places in the code
  I was happy to add the comment: "I learned this from Alban".
  
  My  teacher  Wilhelm  Plesken  remains  an inexhaustible source of extremely
  broad and deep knowledge. Thank you for being such a magnificent person.
  
  This manual was created using the GAPDoc package of Max Neunhöffer and Frank
  Lübeck.
  
  Last  but  not  least,  thanks  to  [13XMiriam[0m,  [13XJosef[0m, [13XJonas[0m, and [13XIrene[0m for the
  endless love and support.
  
  
  -------------------------------------------------------
  
  
  [1XContents (homalg)[0X
  
  1 Introduction
    1.1 What is the role of the [5Xhomalg[0m package in the [5Xhomalg[0m project?
      1.1-1 Philosophy
      1.1-2 [5Xhomalg[0m provides ...
      1.1-3 Rings supported in a sufficient way
      1.1-4 Principal limitation
      1.1-5 [5Xhomalg[0m's dictionaries (technical)
      1.1-6 The advantages of the outsourcing concept
      1.1-7 Does this mean that [5Xhomalg[0m has only algorithms for the generic
      case?
      1.1-8 The principle of least communication (technical)
      1.1-9 Building upon the [5Xhomalg[0m package
      1.1-10 Frequently asked questions
    1.2 This manual
  2 Installation of the [5Xhomalg[0m Package
  3 Quick Start
    3.1 Why are all examples in this manual over ℤ or ℤ/mℤ?
    3.2 [10Xgap> ExamplesForHomalg();[0m
    3.3 A typical example
      3.3-1 HomHom
  4 Objects
    4.1 Objects: Category and Representations
      4.1-1 IsHomalgObject
      4.1-2 IsHomalgStaticObject
      4.1-3 IsFinitelyPresentedObjectRep
      4.1-4 IsStaticFinitelyPresentedObjectOrSubobjectRep
      4.1-5 IsStaticFinitelyPresentedObjectRep
      4.1-6 IsStaticFinitelyPresentedSubobjectRep
    4.2 Objects: Constructors
      4.2-1 Subobject
    4.3 Objects: Properties
      4.3-1 IsProjective
      4.3-2 IsInjective
      4.3-3 FiniteFreeResolutionExists
      4.3-4 IsReflexive
      4.3-5 IsTorsionFree
      4.3-6 IsArtinian
      4.3-7 IsTorsion
      4.3-8 IsPure
      4.3-9 ConstructedAsAnIdeal
    4.4 Objects: Attributes
      4.4-1 TorsionSubobject
      4.4-2 TheMorphismToZero
      4.4-3 TheIdentityMorphism
      4.4-4 FullSubobject
      4.4-5 ZeroSubobject
      4.4-6 EmbeddingInSuperObject
      4.4-7 FactorObject
      4.4-8 UnderlyingSubobject
      4.4-9 NatTrIdToHomHom_R
      4.4-10 RankOfObject
      4.4-11 ProjectiveDimension
      4.4-12 DegreeOfTorsionFreeness
      4.4-13 Grade
      4.4-14 PurityFiltration
      4.4-15 CodegreeOfPurity
    4.5 Objects: Operations and Functions
      4.5-1 CurrentResolution
      4.5-2 UnderlyingObject
      4.5-3 SuperObject
      4.5-4 Saturate
  5 Morphisms
    5.1 Morphisms: Categories and Representations
      5.1-1 IsHomalgMorphism
      5.1-2 IsHomalgStaticMorphism
      5.1-3 IsHomalgEndomorphism
      5.1-4 IsMorphismOfFinitelyGeneratedObjectsRep
      5.1-5 IsStaticMorphismOfFinitelyGeneratedObjectsRep
    5.2 Morphisms: Constructors
    5.3 Morphisms: Properties
      5.3-1 IsMorphism
      5.3-2 IsGeneralizedMorphism
      5.3-3 IsGeneralizedEpimorphism
      5.3-4 IsGeneralizedMonomorphism
      5.3-5 IsGeneralizedIsomorphism
      5.3-6 IsIdentityMorphism
      5.3-7 IsMonomorphism
      5.3-8 IsEpimorphism
      5.3-9 IsSplitMonomorphism
      5.3-10 IsSplitEpimorphism
      5.3-11 IsIsomorphism
      5.3-12 IsAutomorphism
    5.4 Morphisms: Attributes
      5.4-1 Source
      5.4-2 Range
      5.4-3 CokernelEpi
      5.4-4 CokernelNaturalGeneralizedIsomorphism
      5.4-5 KernelSubobject
      5.4-6 KernelEmb
      5.4-7 ImageSubobject
      5.4-8 ImageObjectEmb
      5.4-9 ImageObjectEpi
      5.4-10 MorphismAid
      5.4-11 GeneralizedInverse
    5.5 Morphisms: Operations and Functions
      5.5-1 ByASmallerPresentation
  6 Complexes
    6.1 Complexes: Category and Representations
      6.1-1 IsHomalgComplex
      6.1-2 IsComplexOfFinitelyPresentedObjectsRep
      6.1-3 IsCocomplexOfFinitelyPresentedObjectsRep
    6.2 Complexes: Constructors
      6.2-1 HomalgComplex
      6.2-2 HomalgCocomplex
    6.3 Complexes: Properties
      6.3-1 IsSequence
      6.3-2 IsComplex
      6.3-3 IsAcyclic
      6.3-4 IsRightAcyclic
      6.3-5 IsLeftAcyclic
      6.3-6 IsGradedObject
      6.3-7 IsExactSequence
      6.3-8 IsShortExactSequence
      6.3-9 IsSplitShortExactSequence
      6.3-10 IsTriangle
      6.3-11 IsExactTriangle
    6.4 Complexes: Attributes
      6.4-1 BettiDiagram
      6.4-2 FiltrationByShortExactSequence
    6.5 Complexes: Operations and Functions
      6.5-1 Add
      6.5-2 ByASmallerPresentation
  7 Chain Maps
    7.1 ChainMaps: Categories and Representations
      7.1-1 IsHomalgChainMap
      7.1-2 IsHomalgChainSelfMap
      7.1-3 IsChainMapOfFinitelyPresentedObjectsRep
      7.1-4 IsCochainMapOfFinitelyPresentedObjectsRep
    7.2 Chain Maps: Constructors
      7.2-1 HomalgChainMap
    7.3 Chain Maps: Properties
      7.3-1 IsMorphism
      7.3-2 IsGeneralizedMorphism
      7.3-3 IsGeneralizedEpimorphism
      7.3-4 IsGeneralizedMonomorphism
      7.3-5 IsGeneralizedIsomorphism
      7.3-6 IsIdentityMorphism
      7.3-7 IsMonomorphism
      7.3-8 IsEpimorphism
      7.3-9 IsSplitMonomorphism
      7.3-10 IsSplitEpimorphism
      7.3-11 IsIsomorphism
      7.3-12 IsAutomorphism
      7.3-13 IsGradedMorphism
      7.3-14 IsQuasiIsomorphism
    7.4 Chain Maps: Attributes
      7.4-1 Source
      7.4-2 Range
    7.5 Chain Maps: Operations and Functions
      7.5-1 ByASmallerPresentation
  8 Bicomplexes
    8.1 Bicomplexes: Category and Representations
      8.1-1 IsHomalgBicomplex
      8.1-2 IsBicomplexOfFinitelyPresentedObjectsRep
      8.1-3 IsBicocomplexOfFinitelyPresentedObjectsRep
    8.2 Bicomplexes: Constructors
      8.2-1 HomalgBicomplex
    8.3 Bicomplexes: Properties
      8.3-1 IsBisequence
      8.3-2 IsBicomplex
      8.3-3 IsTransposedWRTTheAssociatedComplex
    8.4 Bicomplexes: Attributes
      8.4-1 TotalComplex
      8.4-2 SpectralSequence
    8.5 Bicomplexes: Operations and Functions
      8.5-1 UnderlyingComplex
      8.5-2 ByASmallerPresentation
  9 Bigraded Objects
    9.1 BigradedObjects: Categories and Representations
      9.1-1 IsHomalgBigradedObject
      9.1-2 IsHomalgBigradedObjectAssociatedToAnExactCouple
      9.1-3 IsHomalgBigradedObjectAssociatedToAFilteredComplex
      9.1-4 IsHomalgBigradedObjectAssociatedToABicomplex
      9.1-5 IsBigradedObjectOfFinitelyPresentedObjectsRep
    9.2 Bigraded Objects: Constructors
      9.2-1 HomalgBigradedObject
      9.2-2 AsDifferentialObject
      9.2-3 DefectOfExactness
    9.3 Bigraded Objects: Properties
      9.3-1 IsEndowedWithDifferential
      9.3-2 IsStableSheet
    9.4 Bigraded Objects: Operations and Functions
      9.4-1 ByASmallerPresentation
  10 Spectral Sequences
    10.1 SpectralSequences: Categorie and Representations
      10.1-1 IsHomalgSpectralSequence
      10.1-2 IsHomalgSpectralSequenceAssociatedToAnExactCouple
      10.1-3 IsHomalgSpectralSequenceAssociatedToAFilteredComplex
      10.1-4 IsHomalgSpectralSequenceAssociatedToABicomplex
      10.1-5 IsSpectralSequenceOfFinitelyPresentedObjectsRep
      10.1-6 IsSpectralCosequenceOfFinitelyPresentedObjectsRep
    10.2 Spectral Sequences: Constructors
      10.2-1 HomalgSpectralSequence
    10.3 Spectral Sequences: Attributes
      10.3-1 GeneralizedEmbeddingsInTotalObjects
      10.3-2 GeneralizedEmbeddingsInTotalDefects
    10.4 Spectral Sequences: Operations and Functions
      10.4-1 ByASmallerPresentation
  11 Functors
    11.1 Functors: Category and Representations
      11.1-1 IsHomalgFunctor
      11.1-2 IsHomalgFunctorRep
    11.2 Functors: Constructors
      11.2-1 CreateHomalgFunctor
      11.2-2 InsertObjectInMultiFunctor
      11.2-3 RightSatelliteOfCofunctor
      11.2-4 LeftSatelliteOfFunctor
      11.2-5 RightDerivedCofunctor
      11.2-6 LeftDerivedFunctor
      11.2-7 ComposeFunctors
    11.3 Functors: Attributes
      11.3-1 NameOfFunctor
      11.3-2 OperationOfFunctor
      11.3-3 Genesis
    11.4 Basic Functors
      11.4-1 functor_Kernel
      11.4-2 functor_DefectOfExactness
    11.5 Tool Functors
    11.6 Other Functors
    11.7 Functors: Operations and Functions
      11.7-1 InstallFunctor
      11.7-2 InstallDeltaFunctor
  12 Examples
    12.1 ExtExt
    12.2 Purity
    12.3 TorExt-Grothendieck
    12.4 TorExt
  A The Mathematical Idea behind [5Xhomalg[0m
  B Development
    B.1 Why was [5Xhomalg[0m discontinued in [5XMaple[0m?
    B.2 Why [5XGAP4[0m?
      B.2-1 [5XGAP[0m is free and open software
      B.2-2 [5XGAP[0m has an area of expertise
      B.2-3 [5XGAP4[0m can communicate
      B.2-4 [5XGAP4[0m is a [13Xmathematical[0m object-oriented programming language
      B.2-5 [5XGAP4[0m packages are easily extendible
    B.3 Why not [5XSage[0m?
    B.4 How does [5Xhomalg[0m compare to [5XSage[0m?
      B.4-1 They differ in objectives and scale
      B.4-2 They differ in the programming language
      B.4-3 They differ in the way they communicate with the outer world
  C Logic Subpackages
    C.1 [5XLIMOD[0m: Logical Implications for Objects of Abelian Categories
    C.2 [5XLIMOR[0m: Logical Implications for Morphisms of Abelian Categories
    C.3 [5XLICPX[0m: Logical Implications for Complexes in Abelian Categories
  D Debugging [5Xhomalg[0m
    D.1 Increase the assertion level
  E The Core Packages and the Idea behind their Splitting
    E.1 The 5=1+4 split
      E.1-1 Logically independent
      E.1-2 Black boxes
      E.1-3 Summing up
    E.2 The 4=1+1+1+1 split
      E.2-1 [5XHomalgToCAS[0m
      E.2-2 [5XIO_ForHomalg[0m and Alternatives
      E.2-3 [5XRingsForHomalg[0m
      E.2-4 Your own [5XRingsForHomalg[0m
      E.2-5 [5XExamplesForHomalg[0m
      E.2-6 Documentation
      E.2-7 Crediting
      E.2-8 Stability
  F Overview of the [5Xhomalg[0m Package Source Code
    F.1 Relations and Generators
    F.2 The Basic Objects
    F.3 The High Level Homological Algorithms
    F.4 Logical Implications for [5Xhomalg[0m Objects
  
  
  -------------------------------------------------------
