Skip to content

Commit 2685621

Browse files
committed
SetIsEquippedWithHomomorphismStructure in derived categories
and bump version to v2025.06-01
1 parent 804c228 commit 2685621

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

DerivedCategories/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 := "DerivedCategories",
1212
Subtitle := "Derived categories of Abelian categories",
13-
Version := "2023.12-04",
13+
Version := "2025.06-01",
1414
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)( ),
1515
License := "GPL-2.0-or-later",
1616

DerivedCategories/gap/DerivedCategories.gi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ InstallGlobalFunction( ADD_EXTRA_FUNCTIONS_TO_DERIVED_CATEGORY_VIA_LOCALIZATION_
230230

231231
if HasIsAbelianCategory( range_cat ) and IsAbelianCategory( range_cat ) then
232232

233+
SetIsEquippedWithHomomorphismStructure( derived_cat, true );
234+
233235
SetRangeCategoryOfHomomorphismStructure( derived_cat, range_cat );
234236

235237
AddDistinguishedObjectOfHomomorphismStructure( derived_cat,
@@ -290,7 +292,14 @@ InstallGlobalFunction( ADD_EXTRA_FUNCTIONS_TO_DERIVED_CATEGORY_VIA_LOCALIZATION_
290292

291293
fi;
292294

293-
if CanCompute( homotopy_cat, "BasisOfExternalHom" ) and CanCompute( homotopy_cat, "CoefficientsOfMorphism" ) then
295+
if CanCompute( homotopy_cat, "BasisOfExternalHom" ) and CanCompute( homotopy_cat, "CoefficientsOfMorphism" )
296+
and HasRangeCategoryOfHomomorphismStructure( homotopy_cat ) then
297+
298+
SetIsEquippedWithHomomorphismStructure( derived_cat, true );
299+
300+
SetRangeCategoryOfHomomorphismStructure( derived_cat, RangeCategoryOfHomomorphismStructure( homotopy_cat ) );
301+
302+
SetIsLinearCategoryOverCommutativeRingWithFinitelyGeneratedFreeExternalHoms( derived_cat, true );
294303

295304
AddBasisOfExternalHom( derived_cat,
296305
function( derived_cat, B, C )

0 commit comments

Comments
 (0)