Skip to content

Commit 824473b

Browse files
Merge pull request #71 from mohamed-barakat/devel
compile IsWellDefinedForMorphisms for SkeletalCategoryOfTransitiveLeftGSets
2 parents 3fe6d8c + 5d073f3 commit 824473b

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "FinGSetsForCAP",
1212
Subtitle := "The (skeletal) elementary topos of finite G-sets",
13-
Version := "2026.05-05",
13+
Version := "2026.05-06",
1414

1515
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1616
License := "GPL-2.0-or-later",

examples/precompile_SkeletalCategoryOfTransitiveLeftGSets.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ list_of_operations :=
3131
[ "SetOfObjectsOfCategory",
3232
"IsEqualForObjects",
3333
"IsWellDefinedForObjects",
34-
#"IsWellDefinedForMorphisms",
34+
"IsWellDefinedForMorphisms",
3535
];;
3636
#) );;
3737

gap/precompiled_categories/SkeletalCategoryOfTransitiveLeftGSets_precompiled.gi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ end
4040

4141
, 100 );
4242

43+
##
44+
AddIsWellDefinedForMorphisms( cat,
45+
46+
########
47+
function ( cat_1, alpha_1 )
48+
local deduped_1_1, deduped_2_1;
49+
deduped_2_1 := RepresentativesOfSubgroupsUpToConjugation( cat_1 );
50+
deduped_1_1 := UnderlyingGroupElement( alpha_1 );
51+
return deduped_1_1 in UnderlyingGroup( cat_1 ) and IsSubset( deduped_2_1[ObjectNumber( Target( alpha_1 ) )], ConjugateSubgroup( deduped_2_1[ObjectNumber( Source( alpha_1 ) )], deduped_1_1 ) );
52+
end
53+
########
54+
55+
, 100 );
56+
4357
if IsBound( cat!.precompiled_functions_added ) then
4458

4559
# COVERAGE_IGNORE_NEXT_LINE

0 commit comments

Comments
 (0)