Skip to content

Commit 093bbcd

Browse files
Merge pull request #1244 from mohamed-barakat/TensorProductToInternalHomAdjunctionMapWithGivenInternalHom
derived TensorProductToInternal(Co)HomAdjunctionMapWithGivenInternal(…Co)Hom
2 parents cc42169 + eb097df commit 093bbcd

14 files changed

+180
-10
lines changed

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

CAP/examples/TerminalCategoryWithMultipleObjects.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ T := TerminalCategoryWithMultipleObjects( );
1010
Display( T );
1111
#! A CAP category with name TerminalCategoryWithMultipleObjects( ):
1212
#!
13-
#! 63 primitive operations were used to derive 302 operations for this category
13+
#! 63 primitive operations were used to derive 304 operations for this category
1414
#! which algorithmically
1515
#! * IsCategoryWithDecidableColifts
1616
#! * IsCategoryWithDecidableLifts

CAP/examples/TerminalCategoryWithSingleObject.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ T := TerminalCategoryWithSingleObject( );
1010
Display( T );
1111
#! A CAP category with name TerminalCategoryWithSingleObject( ):
1212
#!
13-
#! 63 primitive operations were used to derive 302 operations for this category
13+
#! 63 primitive operations were used to derive 304 operations for this category
1414
#! which algorithmically
1515
#! * IsCategoryWithDecidableColifts
1616
#! * IsCategoryWithDecidableLifts

CartesianCategories/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 := "CartesianCategories",
1212
Subtitle := "Cartesian and cocartesian categories and various subdoctrines",
13-
Version := "2023.02-02",
13+
Version := "2023.02-03",
1414
Date := ~.Version{[ 1 .. 10 ]},
1515
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
1616
License := "GPL-2.0-or-later",
@@ -101,7 +101,7 @@ Dependencies := rec(
101101
[ "CAP", ">= 2022.12-06" ],
102102
],
103103
SuggestedOtherPackages := [
104-
[ "MonoidalCategories", ">= 2023.02-01" ],
104+
[ "MonoidalCategories", ">= 2023.02-03" ],
105105
],
106106
ExternalConditions := [ ],
107107
),

CartesianCategories/examples/InfoStringOfInstalledOperationsOfCategory.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ distributive := DummyCategory( rec(
1616
"IsSkeletalCategory" ] ) );;
1717

1818
InfoOfInstalledOperationsOfCategory( distributive );
19-
#! 19 primitive operations were used to derive 109 operations for this category
19+
#! 19 primitive operations were used to derive 110 operations for this category
2020
#! which algorithmically
2121
#! * IsBicartesianClosedCategory
2222
#! and furthermore mathematically
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
The files of this package which include the line `THIS FILE WAS AUTOMATICALLY GENERATED` in their header have been autogenerated
22

3-
* from MonoidalCategories v2023.02-01
3+
* from MonoidalCategories v2023.02-03

CartesianCategories/gap/SymmetricCartesianClosedCategoriesDerivedMethods.gi

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,33 @@ AddDerivationToCAP( DirectProductToExponentialAdjunctionMap,
3131
end : CategoryFilter := IsCartesianClosedCategory,
3232
Description := "DirectProductToExponentialAdjunctionMap using CartesianCoevaluationMorphism and Exponential" );
3333

34+
##
35+
AddDerivationToCAP( DirectProductToExponentialAdjunctionMapWithGivenExponential,
36+
37+
function( cat, a, b, f, i )
38+
local coev_ab;
39+
40+
# f: a × b → c
41+
#
42+
# a
43+
# |
44+
# | coev_ab
45+
# v
46+
# Exp(b,a × b)
47+
# |
48+
# | Exp(id_b, f)
49+
# v
50+
# Exp(b,c)
51+
52+
coev_ab := CartesianCoevaluationMorphism( cat, a, b );
53+
54+
return PreCompose( cat,
55+
coev_ab,
56+
ExponentialOnMorphismsWithGivenExponentials( cat, Range( coev_ab ), IdentityMorphism( cat, b ), f, i ) );
57+
58+
end : CategoryFilter := IsCartesianClosedCategory,
59+
Description := "DirectProductToExponentialAdjunctionMapWithGivenExponential using CartesianCoevaluationMorphism and Exponential" );
60+
3461
##
3562
AddDerivationToCAP( ExponentialToDirectProductAdjunctionMap,
3663

CartesianCategories/gap/SymmetricCocartesianCoclosedCategoriesDerivedMethods.gi

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,33 @@ AddDerivationToCAP( CoproductToCoexponentialAdjunctionMap,
3131
end : CategoryFilter := IsCocartesianCoclosedCategory,
3232
Description := "CoproductToCoexponentialAdjunctionMap using CocartesianCoevaluationMorphism and Coexponential" );
3333

34+
##
35+
AddDerivationToCAP( CoproductToCoexponentialAdjunctionMapWithGivenCoexponential,
36+
37+
function( cat, c, b, g, i )
38+
local cocacoev_cb;
39+
40+
# g: a → c ⊔ b
41+
#
42+
# Coexp(a,b)
43+
# |
44+
# | Coexp(g, id_b)
45+
# v
46+
# Coexp(c ⊔ b, b)
47+
# |
48+
# | cocacoev_cb
49+
# v
50+
# c
51+
52+
cocacoev_cb := CocartesianCoevaluationMorphism( cat, c, b );
53+
54+
return PreCompose( cat,
55+
CoexponentialOnMorphismsWithGivenCoexponentials( cat, i, g, IdentityMorphism( cat, b ), Source( cocacoev_cb ) ),
56+
cocacoev_cb );
57+
58+
end : CategoryFilter := IsCocartesianCoclosedCategory,
59+
Description := "CoproductToCoexponentialAdjunctionMapWithGivenCoexponential using CocartesianCoevaluationMorphism and Coexponential" );
60+
3461
##
3562
AddDerivationToCAP( CoexponentialToCoproductAdjunctionMap,
3663

FreydCategoriesForCAP/gap/CategoryOfRows.autogen.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@
323323
#! * <Ref BookName="MonoidalCategories" Func="TensorProductOnMorphismsWithGivenTensorProducts" Label="for Is" />
324324
#! * <Ref BookName="MonoidalCategories" Func="TensorProductOnObjects" Label="for Is" />
325325
#! * <Ref BookName="MonoidalCategories" Func="TensorProductToInternalCoHomAdjunctionMap" Label="for Is" />
326+
#! * <Ref BookName="MonoidalCategories" Func="TensorProductToInternalCoHomAdjunctionMapWithGivenInternalCoHom" Label="for Is" />
326327
#! * <Ref BookName="MonoidalCategories" Func="TensorProductToInternalHomAdjunctionMap" Label="for Is" />
328+
#! * <Ref BookName="MonoidalCategories" Func="TensorProductToInternalHomAdjunctionMapWithGivenInternalHom" Label="for Is" />
327329
#! * <Ref BookName="MonoidalCategories" Func="TensorUnit" Label="for Is" />
328330
#! * <Ref BookName="MonoidalCategories" Func="TraceMap" Label="for Is" />
329331
#! * <Ref BookName="MonoidalCategories" Func="UniversalPropertyOfCoDual" Label="for Is" />

LinearAlgebraForCAP/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 := "LinearAlgebraForCAP",
1212
Subtitle := "Category of Matrices over a Field for CAP",
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

@@ -90,7 +90,7 @@ Dependencies := rec(
9090
[ "MatricesForHomalg", ">= 2023.01-01" ],
9191
[ "GaussForHomalg", ">= 2021.04-02" ],
9292
[ "CAP", ">= 2022.12-07" ],
93-
[ "MonoidalCategories", ">= 2022.06-01" ],
93+
[ "MonoidalCategories", ">= 2023.02-03" ],
9494
],
9595
SuggestedOtherPackages := [
9696
[ "FreydCategoriesForCAP", ">= 2022.12-02" ],

0 commit comments

Comments
 (0)