Goto Chapter: Top 1 2 Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

2 Examples
 2.1 Abelian groups

2 Examples

2.1 Abelian groups

gap> LoadPackage( "ModulePresentations" );
true
gap> LoadPackage( "QuotientCategories" );
true
gap> ZZ := HomalgRingOfIntegers( );
Z
gap> cat := LeftPresentations( ZZ );
Category of left presentations of Z
gap> epi := EpimorphismFromSomeProjectiveObject;;
gap> congruence_func := { alpha, beta } -> IsLiftable( alpha - beta, epi( Range( alpha ) ) );;
gap> quotient_cat := QuotientCategory( cat, congruence_func );
Quotient category( Category of left presentations of Z ) by congruence_func
gap> F := ProjectionFunctor( quotient_cat );;
gap> a := FreeLeftPresentation( 3, ZZ );
<A projective object in Category of left presentations of Z>
gap> quotient_a := ApplyFunctor( F, a );
<An object in Quotient category( Category of left presentations of Z ) by congruence_func>
gap> IsZero( quotient_a );
true
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 Ind

generated by GAPDoc2HTML