Skip to content

Commit 321fa11

Browse files
Udpate to FreydCategoriesForCAP v2026.04-01
1 parent 7675efb commit 321fa11

4 files changed

Lines changed: 22 additions & 22 deletions

File tree

Project.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ authors = [
66
"Fabian Zickgraf <f.zickgraf@dashdos.com>"
77
]
88

9-
# Transpiled from GAP's FreydCategoriesForCAP v2025.12-02
10-
version = "0.1.16"
9+
# Transpiled from GAP's FreydCategoriesForCAP v2026.04-01
10+
version = "0.2.0"
1111

1212
[deps]
1313
MatricesForHomalg = "29b9b1b6-efa6-450e-8188-a5a2c25df071"
@@ -28,11 +28,11 @@ FreydCategoriesForCAPFinSetsForCAPExtension = ["CartesianCategories", "Toposes",
2828
[compat]
2929
julia = "1.11"
3030
MatricesForHomalg = "0.1"
31-
CAP = "0.6"
31+
CAP = "0.7"
3232
MonoidalCategories = "~0.2.11"
33-
LinearAlgebraForCAP = "~0.1.12"
34-
AdditiveClosuresForCAP = "~0.1.2"
35-
LinearClosuresForCAP = "0.1"
33+
LinearAlgebraForCAP = "0.2"
34+
AdditiveClosuresForCAP = "0.2"
35+
LinearClosuresForCAP = "0.2"
3636
CartesianCategories = "0.1, 0.2, 0.3"
3737
Toposes = "0.1"
3838
FinSetsForCAP = "0.3"

docs/src/add_hom_structure_using_external_hom.tst.autogen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ julia> dummy = DummyCategory( @rec(
1414
1515
julia> field = HomalgFieldOfRationals( );
1616
17-
julia> SetCommutativeRingOfLinearCategory( dummy, field )
17+
julia> SetCommutativeSemiringOfLinearCategory( dummy, field )
1818
19-
julia> AddMultiplyWithElementOfCommutativeRingForMorphisms( dummy, ReturnNothing )
19+
julia> AddMultiplyWithElementOfCommutativeSemiringForMorphisms( dummy, ReturnNothing )
2020
2121
julia> AddBasisOfExternalHom( dummy, ReturnNothing )
2222

src/gap/AdelmanCategory.gi.autogen.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161

6262
if (HasIsLinearCategoryOverCommutativeRing( underlying_category ) &&
6363
IsLinearCategoryOverCommutativeRing( underlying_category ) &&
64-
HasCommutativeRingOfLinearCategory( underlying_category ))
64+
HasCommutativeSemiringOfLinearCategory( underlying_category ))
6565

6666
SetIsLinearCategoryOverCommutativeRing( adelman_category, true );
6767

68-
SetCommutativeRingOfLinearCategory( adelman_category, CommutativeRingOfLinearCategory( underlying_category ) );
68+
SetCommutativeSemiringOfLinearCategory( adelman_category, CommutativeSemiringOfLinearCategory( underlying_category ) );
6969

7070
end;
7171

@@ -764,13 +764,13 @@ end );
764764

765765
end );
766766

767-
if (ForAll( [ "MultiplyWithElementOfCommutativeRingForMorphisms" ],
767+
if (ForAll( [ "MultiplyWithElementOfCommutativeSemiringForMorphisms" ],
768768
f -> CanCompute( underlying_category, f ) ))
769769

770-
AddMultiplyWithElementOfCommutativeRingForMorphisms( category,
770+
AddMultiplyWithElementOfCommutativeSemiringForMorphisms( category,
771771
( cat, r, alpha ) -> AdelmanCategoryMorphism( cat,
772772
Source( alpha ),
773-
MultiplyWithElementOfCommutativeRingForMorphisms( r, UnderlyingMorphism( alpha ) ),
773+
MultiplyWithElementOfCommutativeSemiringForMorphisms( r, UnderlyingMorphism( alpha ) ),
774774
Range( alpha )
775775
)
776776
);

src/gap/FreydCategory.gi.autogen.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
[ "FinalizeCategory", true ],
2626
],
2727
function( CAP_NAMED_ARGUMENTS, underlying_category )
28-
local name, freyd_category, commutative_ring;
28+
local name, freyd_category, commutative_semiring;
2929

3030
if (@not IsValidInputForFreydCategory( underlying_category ))
3131
return false;
@@ -54,18 +54,18 @@
5454

5555
if (HasIsLinearCategoryOverCommutativeRing( underlying_category ) &&
5656
IsLinearCategoryOverCommutativeRing( underlying_category ) &&
57-
HasCommutativeRingOfLinearCategory( underlying_category ))
57+
HasCommutativeSemiringOfLinearCategory( underlying_category ))
5858

5959
SetIsLinearCategoryOverCommutativeRing( freyd_category, true );
6060

61-
commutative_ring = CommutativeRingOfLinearCategory( underlying_category );
61+
commutative_semiring = CommutativeSemiringOfLinearCategory( underlying_category );
6262

63-
SetCommutativeRingOfLinearCategory( freyd_category, commutative_ring );
63+
SetCommutativeSemiringOfLinearCategory( freyd_category, commutative_semiring );
6464

6565
if (HasIsLinearCategoryOverCommutativeRingWithFinitelyGeneratedFreeExternalHoms( underlying_category ) &&
6666
IsLinearCategoryOverCommutativeRingWithFinitelyGeneratedFreeExternalHoms( underlying_category ))
6767

68-
if (HasIsFieldForHomalg( commutative_ring ) && IsFieldForHomalg( commutative_ring ))
68+
if (HasIsFieldForHomalg( commutative_semiring ) && IsFieldForHomalg( commutative_semiring ))
6969

7070
SetIsLinearCategoryOverCommutativeRingWithFinitelyGeneratedFreeExternalHoms( freyd_category, true );
7171

@@ -730,13 +730,13 @@ end; ArgumentNumber = 2 );
730730

731731
end );
732732

733-
if (is_possible_to_install( "MultiplyWithElementOfCommutativeRingForMorphisms",
734-
[ "MultiplyWithElementOfCommutativeRingForMorphisms" ] ))
733+
if (is_possible_to_install( "MultiplyWithElementOfCommutativeSemiringForMorphisms",
734+
[ "MultiplyWithElementOfCommutativeSemiringForMorphisms" ] ))
735735

736-
AddMultiplyWithElementOfCommutativeRingForMorphisms( category,
736+
AddMultiplyWithElementOfCommutativeSemiringForMorphisms( category,
737737
( cat, r, alpha ) -> FreydCategoryMorphism( cat,
738738
Source( alpha ),
739-
MultiplyWithElementOfCommutativeRingForMorphisms( underlying_category, r, MorphismDatum( cat, alpha ) ),
739+
MultiplyWithElementOfCommutativeSemiringForMorphisms( underlying_category, r, MorphismDatum( cat, alpha ) ),
740740
Range( alpha )
741741
)
742742
);

0 commit comments

Comments
 (0)