Skip to content

Commit 68bade6

Browse files
Merge pull request #647 from mohamed-barakat/IsEquippedWithHomomorphismStructure
added IsEquippedWithHomomorphismStructure
2 parents b58637d + 69b1cb5 commit 68bade6

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

AttributeCategoryForCAP/PackageInfo.g

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "AttributeCategoryForCAP",
1212
Subtitle := "Automatic enhancement with attributes of a CAP category",
13-
14-
Version := Maximum( [
15-
"2019.01-16", ## Mohamed's version
16-
## this line prevents merge conflicts
17-
"2016.09-14", ## Sebas' version
18-
## this line prevents merge conflicts
19-
"2016.09-14", ## Sepp's version
20-
## this line prevents merge conflicts
21-
"2021.05-01", ## Fabian's version
22-
] ),
23-
13+
Version := "2021.08-01",
2414
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
2515
License := "GPL-2.0-or-later",
2616

@@ -92,7 +82,7 @@ PackageDoc := rec(
9282
Dependencies := rec(
9383
GAP := ">= 4.8",
9484
NeededOtherPackages := [ [ "GAPDoc", ">= 1.5" ],
95-
[ "CAP", ">= 2021.05-01" ],
85+
[ "CAP", ">= 2021.07-02" ],
9686
[ "MonoidalCategories", ">= 2019.01.16" ],
9787
],
9888
SuggestedOtherPackages := [ ],

AttributeCategoryForCAP/gap/AttributeCategory.gi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,12 @@ InstallGlobalFunction( CAP_INTERNAL_INSTALL_ADDS_FOR_CATEGORY_WITH_ATTRIBUTES,
326326

327327
recnames := ShallowCopy( ListPrimitivelyInstalledOperationsOfCategory( underlying_category ) );
328328

329-
no_install_list := [
329+
no_install_list :=
330+
[
331+
"ObjectConstructor",
332+
"ObjectDatum",
333+
"MorphismConstructor",
334+
"MorphismDatum",
330335
"IsEqualForObjects",
331336
"IsEqualForMorphisms",
332337
"IsCongruentForMorphisms",

CAP/gap/CAP.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ end );
130130

131131
Perform(
132132
## This is the CAP_INTERNAL_CATEGORICAL_PROPERTIES_LIST
133-
[ [ "IsEnrichedOverCommutativeRegularSemigroup" ],
133+
[ [ "IsEquippedWithHomomorphismStructure" ],
134+
[ "IsEnrichedOverCommutativeRegularSemigroup" ],
134135
[ "IsSkeletalCategory" ],
135136
[ "IsAbCategory" ],
136137
[ "IsLinearCategoryOverCommutativeRing" ],

CAP/gap/ConstructiveCategoriesRecord.gi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ InstallValue( CAP_INTERNAL_CONSTRUCTIVE_CATEGORIES_RECORD, rec(
88
EveryCategory := [
99
"PreCompose", "IdentityMorphism", "IsEqualForObjects", "IsEqualForMorphisms", "IsCongruentForMorphisms" ],
1010

11+
IsEquippedWithHomomorphismStructure := Concatenation( [
12+
"DistinguishedObjectOfHomomorphismStructure",
13+
"HomomorphismStructureOnObjects",
14+
"HomomorphismStructureOnMorphisms",
15+
"InterpretMorphismAsMorphismFromDistinguishedObjectToHomomorphismStructure",
16+
"InterpretMorphismFromDistinguishedObjectToHomomorphismStructureAsMorphism" ], ~.EveryCategory ),
17+
1118
IsEnrichedOverCommutativeRegularSemigroup := Concatenation(
1219
[ "AdditionForMorphisms" ], ~.EveryCategory ),
1320

0 commit comments

Comments
 (0)