Skip to content

Commit f603836

Browse files
fix and complete commit 3956135
1 parent c59ac17 commit f603836

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

AttributeCategoryForCAP/PackageInfo.g

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

1111
PackageName := "AttributeCategoryForCAP",
1212
Subtitle := "Automatic enhancement with attributes of a CAP category",
13-
Version := "2023.02-01",
13+
Version := "2023.02-02",
1414
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
1515
License := "GPL-2.0-or-later",
1616

@@ -81,7 +81,7 @@ PackageDoc := rec(
8181
Dependencies := rec(
8282
GAP := ">= 4.12.1",
8383
NeededOtherPackages := [ [ "GAPDoc", ">= 1.5" ],
84-
[ "CAP", ">= 2021.07-02" ],
84+
[ "CAP", ">= 2023.02-04" ],
8585
[ "MonoidalCategories", ">= 2019.01.16" ],
8686
],
8787
SuggestedOtherPackages := [ ],

AttributeCategoryForCAP/gap/AttributeCategory.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ InstallGlobalFunction( CAP_INTERNAL_DERIVE_STRUCTURE_FUNCTIONS_OF_UNIVERSAL_OBJE
488488
end );
489489

490490
derivation_record.FiberProduct := rec(
491-
uses := [ "FiberProductEmbeddingInDirectSum", "DirectSum" ],
491+
uses := Concatenation( List( CAP_INTERNAL_METHOD_RECORD_REPLACEMENTS.FiberProductEmbeddingInDirectSum, a -> a[1] ), [ "DirectSum" ] ),
492492
derivation := function( diagram, fiber_product )
493493
local underlying_diagram, direct_sum_diagram;
494494

@@ -532,7 +532,7 @@ InstallGlobalFunction( CAP_INTERNAL_DERIVE_STRUCTURE_FUNCTIONS_OF_UNIVERSAL_OBJE
532532
end );
533533

534534
derivation_record.Pushout := rec(
535-
uses := [ "PushoutProjectionFromDirectSum", "DirectSum" ],
535+
uses := Concatenation( List( CAP_INTERNAL_METHOD_RECORD_REPLACEMENTS.PushoutProjectionFromDirectSum, a -> a[1] ), [ "DirectSum" ] ),
536536
derivation := function( diagram, pushout )
537537
local underlying_diagram, direct_sum_diagram;
538538

CAP/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 := "CAP",
1212
Subtitle := "Categories, Algorithms, Programming",
13-
Version := "2023.02-03",
13+
Version := "2023.02-04",
1414
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
1515
License := "GPL-2.0-or-later",
1616

CAP/gap/UniversalObjects.gi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,15 @@ InstallOtherMethod( FiberProductEmbeddingInDirectSum,
553553

554554
end );
555555

556+
CAP_INTERNAL_ADD_REPLACEMENTS_FOR_METHOD_RECORD(
557+
rec(
558+
FiberProductEmbeddingInDirectSum :=
559+
[ [ "ProjectionInFactorOfFiberProduct", 2 ],
560+
[ "UniversalMorphismIntoDirectSum", 1 ],
561+
[ "FiberProduct", 1 ] ],
562+
)
563+
);
564+
556565
####################################
557566
##
558567
## Coequalizer
@@ -882,6 +891,15 @@ InstallOtherMethod( PushoutProjectionFromDirectSum,
882891

883892
end );
884893

894+
CAP_INTERNAL_ADD_REPLACEMENTS_FOR_METHOD_RECORD(
895+
rec(
896+
PushoutProjectionFromDirectSum :=
897+
[ [ "InjectionOfCofactorOfPushout", 2 ],
898+
[ "UniversalMorphismFromDirectSum", 1 ],
899+
[ "Pushout", 1 ] ],
900+
)
901+
);
902+
885903
####################################
886904
##
887905
## Coimage

0 commit comments

Comments
 (0)