Skip to content

Commit e42cc97

Browse files
author
Tom Kuhmichel
committed
Regenerate CartesianCategories
* from MonoidalCategories v2023.10-01
1 parent e506701 commit e42cc97

11 files changed

+94
-6
lines changed

CartesianCategories/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 := "CartesianCategories",
1212
Subtitle := "Cartesian and cocartesian categories and various subdoctrines",
13-
Version := "2023.08-14",
13+
Version := "2023.10-01",
1414
Date := ~.Version{[ 1 .. 10 ]},
1515
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)( ),
1616
License := "GPL-2.0-or-later",
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.08-11
3+
* from MonoidalCategories v2023.10-01

CartesianCategories/gap/CartesianClosedCategories.autogen.gd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,3 +711,22 @@ DeclareOperation( "AddUniversalPropertyOfCartesianDual",
711711

712712
DeclareOperation( "AddUniversalPropertyOfCartesianDual",
713713
[ IsCapCategory, IsList ] );
714+
715+
#! @Description
716+
#! The arguments are a category $C$ and a function $F$.
717+
#! This operation adds the given function $F$
718+
#! to the category for the basic operation `UniversalPropertyOfCartesianDualWithGivenCartesianDualObject`.
719+
#! $F: ( t, a, alpha, d ) \mapsto \mathtt{UniversalPropertyOfCartesianDualWithGivenCartesianDualObject}(t, a, alpha, d)$.
720+
#! @Returns nothing
721+
#! @Arguments C, F
722+
DeclareOperation( "AddUniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
723+
[ IsCapCategory, IsFunction ] );
724+
725+
DeclareOperation( "AddUniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
726+
[ IsCapCategory, IsFunction, IsInt ] );
727+
728+
DeclareOperation( "AddUniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
729+
[ IsCapCategory, IsList, IsInt ] );
730+
731+
DeclareOperation( "AddUniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
732+
[ IsCapCategory, IsList ] );

CartesianCategories/gap/CartesianClosedCategories.gd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,17 @@ DeclareAttribute( "IsomorphismFromExponentialIntoTerminalObjectToCartesianDualOb
317317
DeclareOperation( "UniversalPropertyOfCartesianDual",
318318
[ IsCapCategoryObject, IsCapCategoryObject, IsCapCategoryMorphism ] );
319319

320+
#! @Description
321+
#! The arguments are two objects $t,a$,
322+
#! a morphism $\alpha: t \times a \rightarrow 1$ and
323+
#! the dual object $d = a^{\vee}$.
324+
#! The output is the morphism $t \rightarrow a^{\vee}$
325+
#! given by the universal property of $a^{\vee}$.
326+
#! @Returns a morphism in $\mathrm{Hom}(t, a^{\vee})$.
327+
#! @Arguments t, a, alpha, d
328+
DeclareOperation( "UniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
329+
[ IsCapCategoryObject, IsCapCategoryObject, IsCapCategoryMorphism, IsCapCategoryObject ] );
330+
320331
#! @Description
321332
#! The argument is a morphism $\alpha: a \rightarrow b$.
322333
#! The output is the corresponding morphism $1 \rightarrow \mathrm{Exponential}(a,b)$

CartesianCategories/gap/CartesianClosedCategoriesMethodRecord.gi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,18 @@ UniversalPropertyOfCartesianDual := rec(
397397
# Test in CartesianClosedCategoriesTest
398398
),
399399

400+
UniversalPropertyOfCartesianDualWithGivenCartesianDualObject:= rec(
401+
filter_list := [ "category", "object", "object", "morphism", "object" ],
402+
input_arguments_names := [ "cat", "t", "a", "alpha", "d" ],
403+
output_source_getter_string := "t",
404+
output_source_getter_preconditions := [ ],
405+
output_range_getter_string := "d",
406+
output_range_getter_preconditions := [ ],
407+
return_type := "morphism",
408+
dual_operation := "UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
409+
dual_arguments_reversed := false,
410+
),
411+
400412
CartesianLambdaIntroduction := rec(
401413
filter_list := [ "category", "morphism" ],
402414
input_arguments_names := [ "cat", "alpha" ],

CartesianCategories/gap/CocartesianCoclosedCategories.autogen.gd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,3 +711,22 @@ DeclareOperation( "AddUniversalPropertyOfCocartesianDual",
711711

712712
DeclareOperation( "AddUniversalPropertyOfCocartesianDual",
713713
[ IsCapCategory, IsList ] );
714+
715+
#! @Description
716+
#! The arguments are a category $C$ and a function $F$.
717+
#! This operation adds the given function $F$
718+
#! to the category for the basic operation `UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject`.
719+
#! $F: ( t, a, alpha, c ) \mapsto \mathtt{UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject}(t, a, alpha, c)$.
720+
#! @Returns nothing
721+
#! @Arguments C, F
722+
DeclareOperation( "AddUniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
723+
[ IsCapCategory, IsFunction ] );
724+
725+
DeclareOperation( "AddUniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
726+
[ IsCapCategory, IsFunction, IsInt ] );
727+
728+
DeclareOperation( "AddUniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
729+
[ IsCapCategory, IsList, IsInt ] );
730+
731+
DeclareOperation( "AddUniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
732+
[ IsCapCategory, IsList ] );

CartesianCategories/gap/CocartesianCoclosedCategories.gd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,17 @@ DeclareAttribute( "IsomorphismFromCoexponentialFromInitialObjectToCocartesianDua
314314
DeclareOperation( "UniversalPropertyOfCocartesianDual",
315315
[ IsCapCategoryObject, IsCapCategoryObject, IsCapCategoryMorphism ] );
316316

317+
#! @Description
318+
#! The arguments are two objects $t,a$,
319+
#! a morphism $\alpha: 1 \rightarrow t \sqcup a$ and
320+
#! the codual object $c = a_{\vee}$.
321+
#! The output is the morphism $a_{\vee} \rightarrow t$
322+
#! given by the universal property of $a_{\vee}$.
323+
#! @Returns a morphism in $\mathrm{Hom}(a_{\vee}, t)$.
324+
#! @Arguments t, a, alpha, c
325+
DeclareOperation( "UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject",
326+
[ IsCapCategoryObject, IsCapCategoryObject, IsCapCategoryMorphism, IsCapCategoryObject] );
327+
317328
#! @Description
318329
#! The argument is a morphism $\alpha: a \rightarrow b$.
319330
#! The output is the corresponding morphism $ \mathrm{Coexponential}(a,b) \rightarrow 1$

CartesianCategories/gap/CocartesianCoclosedCategoriesMethodRecord.gi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,18 @@ UniversalPropertyOfCocartesianDual := rec(
397397
# Test in CocartesianCoclosedCategoriesTest
398398
),
399399

400+
UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject := rec(
401+
filter_list := [ "category", "object", "object", "morphism", "object" ],
402+
input_arguments_names := [ "cat", "t", "a", "alpha", "c" ],
403+
output_source_getter_string := "c",
404+
output_source_getter_preconditions := [ ],
405+
output_range_getter_string := "t",
406+
output_range_getter_preconditions := [ ],
407+
return_type := "morphism",
408+
dual_operation := "UniversalPropertyOfCartesianDualWithGivenCartesianDualObject",
409+
dual_arguments_reversed := false,
410+
),
411+
400412
CocartesianLambdaIntroduction := rec(
401413
filter_list := [ "category", "morphism" ],
402414
input_arguments_names := [ "cat", "alpha" ],

CartesianCategories/gap/SymmetricCartesianClosedCategoriesDerivedMethods.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ AddDerivationToCAP( MorphismToCartesianBidualWithGivenCartesianBidual,
120120
[ CartesianBraiding, 1 ],
121121
[ CartesianDualOnObjects, 2 ],
122122
[ CartesianEvaluationForCartesianDual, 1 ],
123-
[ UniversalPropertyOfCartesianDual, 1 ] ],
123+
[ UniversalPropertyOfCartesianDualWithGivenCartesianDualObject, 1 ] ],
124124

125125
function( cat, a, avv )
126126
local alpha;
@@ -140,7 +140,7 @@ AddDerivationToCAP( MorphismToCartesianBidualWithGivenCartesianBidual,
140140
alpha := PreCompose( cat, CartesianBraiding( cat, a, CartesianDualOnObjects( cat, a ) ),
141141
CartesianEvaluationForCartesianDual( cat, a ) );
142142

143-
return UniversalPropertyOfCartesianDual( cat, a, CartesianDualOnObjects( cat, a ), alpha );
143+
return UniversalPropertyOfCartesianDualWithGivenCartesianDualObject( cat, a, CartesianDualOnObjects( cat, a ), alpha, avv );
144144

145145
end : CategoryFilter := IsCartesianClosedCategory );
146146

CartesianCategories/gap/SymmetricCocartesianCoclosedCategoriesDerivedMethods.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ AddDerivationToCAP( MorphismFromCocartesianBidualWithGivenCocartesianBidual,
120120
[ CocartesianEvaluationForCocartesianDual, 1 ],
121121
[ CocartesianBraiding, 1 ],
122122
[ CocartesianDualOnObjects, 2 ],
123-
[ UniversalPropertyOfCocartesianDual, 1 ] ],
123+
[ UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject, 1 ] ],
124124

125125
function( cat, a, avv )
126126
local alpha;
@@ -142,7 +142,7 @@ AddDerivationToCAP( MorphismFromCocartesianBidualWithGivenCocartesianBidual,
142142
CocartesianEvaluationForCocartesianDual( cat, a ),
143143
CocartesianBraiding( cat, CocartesianDualOnObjects( cat, a ), a ) );
144144

145-
return UniversalPropertyOfCocartesianDual( cat, a, CocartesianDualOnObjects( cat, a ), alpha );
145+
return UniversalPropertyOfCocartesianDualWithGivenCocartesianDualObject( cat, a, CocartesianDualOnObjects( cat, a ), alpha, avv );
146146

147147
end : CategoryFilter := IsCocartesianCoclosedCategory );
148148

0 commit comments

Comments
 (0)