Skip to content

Commit 944744a

Browse files
CoequalizerMorphisms -> CoequalizerAutomorphisms and altered output
1 parent 8f32b97 commit 944744a

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

examples/SkeletalCategoryOfTransitiveLeftGSets.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Print( DotVertexLabelledDigraph( digraph ) );
104104
#! 2 -> 4
105105
#! 3 -> 4
106106
#! }
107-
ForAll( objs, o -> o = Coequalizer( Omega1,
108-
List( CoequalizerMorphisms( o ), g -> g / TS3 ) ) );
107+
ForAll( objs, o -> o = CoequalizerOfIdentityAndAutomorphisms( Omega1,
108+
List( CoequalizerAutomorphisms( o ), g -> g / TS3 ) ) );
109109
#! true
110110

111111
#! @EndExample

gap/SkeletalCategoryOfTransitiveLeftGSets.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ DeclareAttribute( "Size",
160160

161161
#! @Description
162162
#! The input is a transitive left $G$-set <A>Omega</A> $\cong G / U_i$.
163-
#! The output is the list of endomorphisms of the principal $G$-set $G / U_1$ defined by the generators of $U_i$.
164-
#! The coequalizers of these morphisms is the input object <A>Omega</A> $\cong G / U_i$.
163+
#! The output is the list of automorphisms of the principal $G$-set $G / U_1$ defined by the generators of $U_i$.
164+
#! The coequalizers of the identity and these automorphisms is the input object <A>Omega</A> $\cong G / U_i$.
165165
#! @Arguments Omega
166166
#! @Returns a list of morphisms
167-
DeclareAttribute( "CoequalizerMorphisms",
167+
DeclareAttribute( "CoequalizerAutomorphisms",
168168
IsObjectInSkeletalCategoryOfTransitiveLeftGSets );
169169

170170
DeclareAttribute( "EmbeddingOfUnderlyingGroupAsCategoryData",

gap/SkeletalCategoryOfTransitiveLeftGSets.gi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ InstallMethod( Size,
513513
end );
514514

515515
##
516-
InstallOtherMethodForCompilerForCAP( CoequalizerMorphisms,
516+
InstallOtherMethodForCompilerForCAP( CoequalizerAutomorphisms,
517517
"for the skeletal category of transitive left G-sets and a transitive left G-set therein",
518518
[ IsSkeletalCategoryOfTransitiveLeftGSets, IsObjectInSkeletalCategoryOfTransitiveLeftGSets ],
519519

@@ -526,7 +526,7 @@ InstallOtherMethodForCompilerForCAP( CoequalizerMorphisms,
526526

527527
U := RepresentativesOfSubgroupsUpToConjugation( SkeletalTransitiveGSets );
528528

529-
gs := Concatenation( [ One( UnderlyingGroup( SkeletalTransitiveGSets ) ) ], GeneratorsOfGroup( U[ObjectNumber( Omega )] ) );
529+
gs := GeneratorsOfGroup( U[ObjectNumber( Omega )] );
530530

531531
return List( gs, g ->
532532
MorphismConstructor( G_as_cat,
@@ -537,13 +537,13 @@ InstallOtherMethodForCompilerForCAP( CoequalizerMorphisms,
537537
end );
538538

539539
##
540-
InstallMethod( CoequalizerMorphisms,
540+
InstallMethod( CoequalizerAutomorphisms,
541541
"for a skeletal transitive left G-set",
542542
[ IsObjectInSkeletalCategoryOfTransitiveLeftGSets ],
543543

544544
function ( Omega )
545545

546-
return CoequalizerMorphisms( CapCategory( Omega ), Omega );
546+
return CoequalizerAutomorphisms( CapCategory( Omega ), Omega );
547547

548548
end );
549549

@@ -609,25 +609,25 @@ InstallMethodForCompilerForCAP( ExtendFunctorToSkeletalCategoryOfTransitiveLeftG
609609
function ( obj_in_SkeletalTransitiveGSets )
610610
local coeq_mors, diagram, coeq;
611611

612-
coeq_mors := CoequalizerMorphisms( SkeletalTransitiveGSets, obj_in_SkeletalTransitiveGSets );
612+
coeq_mors := CoequalizerAutomorphisms( SkeletalTransitiveGSets, obj_in_SkeletalTransitiveGSets );
613613

614614
diagram := List( coeq_mors, g ->
615615
functor_on_morphisms(
616616
img_obj,
617617
g,
618618
img_obj ) );
619619

620-
return Coequalizer( category_with_coequalizers, img_obj, diagram );
620+
return CoequalizerOfIdentityAndAutomorphisms( category_with_coequalizers, img_obj, diagram );
621621

622622
end;
623623

624624
extended_functor_on_morphisms :=
625625
function ( source, mor_in_SkeletalTransitiveGSets, target )
626626
local coeq_mors_source, coeq_mors_target, diagram_source, diagram_target, g;
627627

628-
coeq_mors_source := CoequalizerMorphisms( SkeletalTransitiveGSets, Source( mor_in_SkeletalTransitiveGSets ) );
628+
coeq_mors_source := CoequalizerAutomorphisms( SkeletalTransitiveGSets, Source( mor_in_SkeletalTransitiveGSets ) );
629629

630-
coeq_mors_target := CoequalizerMorphisms( SkeletalTransitiveGSets, Target( mor_in_SkeletalTransitiveGSets ) );
630+
coeq_mors_target := CoequalizerAutomorphisms( SkeletalTransitiveGSets, Target( mor_in_SkeletalTransitiveGSets ) );
631631

632632
diagram_source := List( coeq_mors_source, g ->
633633
functor_on_morphisms(
@@ -641,19 +641,19 @@ InstallMethodForCompilerForCAP( ExtendFunctorToSkeletalCategoryOfTransitiveLeftG
641641
g,
642642
img_obj ) );
643643

644-
if not IsEqualForObjects( category_with_coequalizers, source, Coequalizer( category_with_coequalizers, diagram_source ) ) then
644+
if not IsEqualForObjects( category_with_coequalizers, source, CoequalizerOfIdentityAndAutomorphisms( category_with_coequalizers, img_obj, diagram_source ) ) then
645645
# COVERAGE_IGNORE_NEXT_LINE
646646
Error( "source and Coequalizer( diagram_source ) do not coincide\n" );
647647
fi;
648648

649-
if not IsEqualForObjects( category_with_coequalizers, target, Coequalizer( category_with_coequalizers, diagram_target ) ) then
649+
if not IsEqualForObjects( category_with_coequalizers, target, CoequalizerOfIdentityAndAutomorphisms( category_with_coequalizers, img_obj, diagram_target ) ) then
650650
# COVERAGE_IGNORE_NEXT_LINE
651651
Error( "target and Coequalizer( diagram_target ) do not coincide\n" );
652652
fi;
653653

654654
g := GroupAsCategoryMorphism( G_as_cat, UnderlyingGroupElement( mor_in_SkeletalTransitiveGSets ) );
655655

656-
return CoequalizerFunctorialWithGivenCoequalizers( category_with_coequalizers,
656+
return CoequalizerOfIdentityAndAutomorphismsFunctorialWithGivenCoequalizers( category_with_coequalizers,
657657
source,
658658
diagram_source,
659659
functor_on_morphisms(

tst/coequalizer.tst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ gap> Omega1 := TS5.1;
1717
S5 / U_1
1818
gap> Omega3 := TS5.3;
1919
S5 / U_3
20-
gap> ForAll( objs, o -> o = Coequalizer( Omega1, List( CoequalizerMorphisms( o ), g -> g / TS5 ) ) );
20+
gap> ForAll( objs, o -> o = CoequalizerOfIdentityAndAutomorphisms( Omega1, List( CoequalizerAutomorphisms( o ), g -> g / TS5 ) ) );
2121
true
2222
gap> mors := SetOfMorphisms( TS5 );; Length( mors );
2323
681

0 commit comments

Comments
 (0)