‣ IsHomalgComplex ( C ) | ( category ) |
Returns: true
or false
The GAP category of homalg (co)complexes.
(It is a subcategory of the GAP category IsHomalgObject
.)
‣ IsComplexOfFinitelyPresentedObjectsRep ( C ) | ( representation ) |
Returns: true
or false
The GAP representation of complexes of finitley presented homalg objects.
(It is a representation of the GAP category IsHomalgComplex
(6.1-1), which is a subrepresentation of the GAP representation IsFinitelyPresentedObjectRep
.)
‣ IsCocomplexOfFinitelyPresentedObjectsRep ( C ) | ( representation ) |
Returns: true
or false
The GAP representation of cocomplexes of finitley presented homalg objects.
(It is a representation of the GAP category IsHomalgComplex
(6.1-1), which is a subrepresentation of the GAP representation IsFinitelyPresentedObjectRep
.)
‣ HomalgComplex ( M[, d] ) | ( function ) |
‣ HomalgComplex ( phi[, d] ) | ( function ) |
‣ HomalgComplex ( C[, d] ) | ( function ) |
‣ HomalgComplex ( cm[, d] ) | ( function ) |
Returns: a homalg complex
The first syntax creates a complex (i.e. chain complex) with the single homalg object M at (homological) degree d.
The second syntax creates a complex with the single homalg morphism phi, its source placed at (homological) degree d (and its target at d-1).
The third syntax creates a complex (i.e. chain complex) with the single homalg (co)complex C at (homological) degree d.
The fourth syntax creates a complex with the single homalg (co)chain morphism cm (--> HomalgChainMorphism
(7.2-1)), its source placed at (homological) degree d (and its target at d-1).
If d is not provided it defaults to zero in all cases.
To add a morphism (resp. (co)chain morphism) to a complex use Add
(6.5-1).
gap> zz := HomalgRingOfIntegers( ); Z gap> M := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7 ]", 2, 3, zz ); <A 2 x 3 matrix over an internal ring> gap> M := LeftPresentation( M ); <A non-torsion left module presented by 2 relations for 3 generators> gap> N := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7, 8, 9 ]", 2, 4, zz ); <A 2 x 4 matrix over an internal ring> gap> N := LeftPresentation( N ); <A non-torsion left module presented by 2 relations for 4 generators> gap> mat := HomalgMatrix( "[ \ > 0, 3, 6, 9, \ > 0, 2, 4, 6, \ > 0, 3, 6, 9 \ > ]", 3, 4, zz ); <A 3 x 4 matrix over an internal ring> gap> phi := HomalgMap( mat, M, N ); <A "homomorphism" of left modules> gap> IsMorphism( phi ); true gap> phi; <A homomorphism of left modules>
The first possibility:
gap> C := HomalgComplex( N ); <A non-zero graded homology object consisting of a single left module at degre\ e 0> gap> Add( C, phi ); gap> C; <A complex containing a single morphism of left modules at degrees [ 0 .. 1 ]>
The second possibility:
gap> C := HomalgComplex( phi ); <A non-zero acyclic complex containing a single morphism of left modules at de\ grees [ 0 .. 1 ]>
‣ HomalgCocomplex ( M[, d] ) | ( function ) |
‣ HomalgCocomplex ( phi[, d] ) | ( function ) |
‣ HomalgCocomplex ( C[, d] ) | ( function ) |
‣ HomalgCocomplex ( cm[, d] ) | ( function ) |
Returns: a homalg complex
The first syntax creates a cocomplex (i.e. cochain complex) with the single homalg object M at (cohomological) degree d.
The second syntax creates a cocomplex with the single homalg morphism phi, its source placed at (cohomological) degree d (and its target at d+1).
The third syntax creates a cocomplex (i.e. cochain complex) with the single homalg cocomplex C at (cohomological) degree d.
The fourth syntax creates a cocomplex with the single homalg (co)chain morphism cm (--> HomalgChainMorphism
(7.2-1)), its source placed at (cohomological) degree d (and its target at d+1).
If d is not provided it defaults to zero in all cases.
To add a morphism (resp. (co)chain morphism) to a cocomplex use Add
(6.5-1).
gap> zz := HomalgRingOfIntegers( ); Z gap> M := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7 ]", 2, 3, zz ); <A 2 x 3 matrix over an internal ring> gap> M := RightPresentation( Involution( M ) ); <A non-torsion right module on 3 generators satisfying 2 relations> gap> N := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7, 8, 9 ]", 2, 4, zz ); <A 2 x 4 matrix over an internal ring> gap> N := RightPresentation( Involution( N ) ); <A non-torsion right module on 4 generators satisfying 2 relations> gap> mat := HomalgMatrix( "[ \ > 0, 3, 6, 9, \ > 0, 2, 4, 6, \ > 0, 3, 6, 9 \ > ]", 3, 4, zz ); <A 3 x 4 matrix over an internal ring> gap> phi := HomalgMap( Involution( mat ), M, N ); <A "homomorphism" of right modules> gap> IsMorphism( phi ); true gap> phi; <A homomorphism of right modules>
The first possibility:
gap> C := HomalgCocomplex( M ); <A non-zero graded cohomology object consisting of a single right module at de\ gree 0> gap> Add( C, phi ); gap> C; <A cocomplex containing a single morphism of right modules at degrees [ 0 .. 1 ]>
The second possibility:
gap> C := HomalgCocomplex( phi ); <A non-zero acyclic cocomplex containing a single morphism of right modules at\ degrees [ 0 .. 1 ]>
‣ IsSequence ( C ) | ( property ) |
Returns: true
or false
Check if all maps in C are well-defined.
‣ IsComplex ( C ) | ( property ) |
Returns: true
or false
Check if C is complex.
‣ IsAcyclic ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is acyclic, i.e. exact except at its boundaries.
‣ IsRightAcyclic ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is acyclic, i.e. exact except at its left boundary.
‣ IsLeftAcyclic ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is acyclic, i.e. exact except at its right boundary.
‣ IsGradedObject ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is a graded object, i.e. if all maps between the objects in C vanish.
‣ IsExactSequence ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is exact.
‣ IsShortExactSequence ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is a short exact sequence.
‣ IsSplitShortExactSequence ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is a split short exact sequence.
‣ IsTriangle ( C ) | ( property ) |
Returns: true
or false
Set to true if the homalg complex C is a triangle.
‣ IsExactTriangle ( C ) | ( property ) |
Returns: true
or false
Check if the homalg complex C is an exact triangle.
‣ BettiTable ( C ) | ( attribute ) |
Returns: a homalg diagram
The Betti diagram of the homalg complex C of graded modules.
‣ FiltrationByShortExactSequence ( C ) | ( attribute ) |
Returns: a homalg diagram
The filtration induced by the short exact sequence C on its middle object.
‣ Add ( C, phi ) | ( operation ) |
‣ Add ( C, mat ) | ( operation ) |
Returns: a homalg complex
In the first syntax the morphism phi is added to the (co)chain complex C (--> 6.2) as the new highest degree morphism and the altered argument C is returned. In case C is a chain complex, the highest degree object in C and the target of phi must be identical. In case C is a cochain complex, the highest degree object in C and the source of phi must be identical.
In the second syntax the matrix mat is interpreted as the matrix of the new highest degree morphism psi, created according to the following rules: In case C is a chain complex, the highest degree left (resp. right) object C_d in C is declared as the target of psi, while its source is taken to be a free left (resp. right) object of rank equal to NumberRows
(mat) (resp. NumberColumns
(mat)). For this NumberColumns
(mat) (resp. NumberRows
(mat)) must coincide with the NrGenerators
(C_d). In case C is a cochain complex, the highest degree left (resp. right) object C^d in C is declared as the source of psi, while its target is taken to be a free left (resp. right) object of rank equal to NumberColumns
(mat) (resp. NumberRows
(mat)). For this NumberRows
(mat) (resp. Columns
(mat)) must coincide with the NrGenerators
(C^d).
gap> zz := HomalgRingOfIntegers( ); Z gap> mat := HomalgMatrix( "[ 0, 1, 0, 0 ]", 2, 2, zz ); <A 2 x 2 matrix over an internal ring> gap> phi := HomalgMap( mat ); <A homomorphism of left modules> gap> C := HomalgComplex( phi ); <A non-zero acyclic complex containing a single morphism of left modules at de\ grees [ 0 .. 1 ]> gap> Add( C, mat ); gap> C; <A sequence containing 2 morphisms of left modules at degrees [ 0 .. 2 ]> gap> Display( C ); ------------------------- at homology degree: 2 Z^(1 x 2) ------------------------- [ [ 0, 1 ], [ 0, 0 ] ] the map is currently represented by the above 2 x 2 matrix ------------v------------ at homology degree: 1 Z^(1 x 2) ------------------------- [ [ 0, 1 ], [ 0, 0 ] ] the map is currently represented by the above 2 x 2 matrix ------------v------------ at homology degree: 0 Z^(1 x 2) ------------------------- gap> IsComplex( C ); true gap> IsAcyclic( C ); true gap> IsExactSequence( C ); false gap> C; <A non-zero acyclic complex containing 2 morphisms of left modules at degrees [ 0 .. 2 ]>
‣ ByASmallerPresentation ( C ) | ( method ) |
Returns: a homalg complex
It invokes ByASmallerPresentation
for homalg (static) objects.
InstallMethod( ByASmallerPresentation, "for homalg complexes", [ IsHomalgComplex ], function( C ) List( ObjectsOfComplex( C ), ByASmallerPresentation ); if Length( ObjectDegreesOfComplex( C ) ) > 1 then List( MorphismsOfComplex( C ), DecideZero ); fi; IsZero( C ); return C; end );
This method performs side effects on its argument C and returns it.
gap> zz := HomalgRingOfIntegers( ); Z gap> M := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7 ]", 2, 3, zz ); <A 2 x 3 matrix over an internal ring> gap> M := LeftPresentation( M ); <A non-torsion left module presented by 2 relations for 3 generators> gap> N := HomalgMatrix( "[ 2, 3, 4, 5, 6, 7, 8, 9 ]", 2, 4, zz ); <A 2 x 4 matrix over an internal ring> gap> N := LeftPresentation( N ); <A non-torsion left module presented by 2 relations for 4 generators> gap> mat := HomalgMatrix( "[ \ > 0, 3, 6, 9, \ > 0, 2, 4, 6, \ > 0, 3, 6, 9 \ > ]", 3, 4, zz ); <A 3 x 4 matrix over an internal ring> gap> phi := HomalgMap( mat, M, N ); <A "homomorphism" of left modules> gap> IsMorphism( phi ); true gap> phi; <A homomorphism of left modules> gap> C := HomalgComplex( phi ); <A non-zero acyclic complex containing a single morphism of left modules at de\ grees [ 0 .. 1 ]> gap> Display( C ); ------------------------- at homology degree: 1 [ [ 2, 3, 4 ], [ 5, 6, 7 ] ] Cokernel of the map Z^(1x2) --> Z^(1x3), currently represented by the above matrix ------------------------- [ [ 0, 3, 6, 9 ], [ 0, 2, 4, 6 ], [ 0, 3, 6, 9 ] ] the map is currently represented by the above 3 x 4 matrix ------------v------------ at homology degree: 0 [ [ 2, 3, 4, 5 ], [ 6, 7, 8, 9 ] ] Cokernel of the map Z^(1x2) --> Z^(1x4), currently represented by the above matrix -------------------------
And now:
gap> ByASmallerPresentation( C ); <A non-zero acyclic complex containing a single morphism of left modules at de\ grees [ 0 .. 1 ]> gap> Display( C ); ------------------------- at homology degree: 1 Z/< 3 > + Z^(1 x 1) ------------------------- [ [ 0, 0, 0 ], [ 2, 0, 0 ] ] the map is currently represented by the above 2 x 3 matrix ------------v------------ at homology degree: 0 Z/< 4 > + Z^(1 x 2) -------------------------
generated by GAPDoc2HTML