Skip to content

Commit f323cca

Browse files
Merge pull request #245 from mohamed-barakat/AdjunctMorphism
comply with CartesianCategories v2024.02-02
2 parents cba182b + 776b119 commit f323cca

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

PackageInfo.g

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

1111
PackageName := "FinSetsForCAP",
1212
Subtitle := "The elementary topos of (skeletal) finite sets",
13-
Version := "2024.02-02",
13+
Version := "2024.02-03",
1414

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",
@@ -99,8 +99,8 @@ Dependencies := rec(
9999
GAP := ">= 4.12.1",
100100
NeededOtherPackages := [
101101
[ "CAP", ">= 2023.12-05" ],
102-
[ "CartesianCategories", ">= 2024.01-17" ],
103-
[ "Toposes", ">= 2024.01-02" ],
102+
[ "CartesianCategories", ">= 2024.02-02" ],
103+
[ "Toposes", ">= 2024.02-02" ],
104104
],
105105
SuggestedOtherPackages := [ ],
106106
ExternalConditions := [ ],

examples/SkeletalCartesianLambdaIntroduction.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ Display( Li );
4646
#! { 0 } ⱶ[ 4 ]→ { 0,..., 7 }, { 0 } ⱶ[ 5 ]→ { 0,..., 7 },\
4747
#! { 0 } ⱶ[ 6 ]→ { 0,..., 7 }, { 0 } ⱶ[ 7 ]→ { 0,..., 7 } ]
4848
List( L, phi ->
49-
DirectProductToExponentialLeftAdjunctionMap( T, S, phi ) ) = Li;
49+
DirectProductToExponentialLeftAdjunctMorphism( T, S, phi ) ) = Li;
5050
#! true
5151
List( Li, psi -> CartesianLambdaElimination( S, R, psi ) ) = L;
5252
#! true
5353
List( Li, psi ->
54-
ExponentialToDirectProductLeftAdjunctionMap( S, R, psi ) ) = L;
54+
ExponentialToDirectProductLeftAdjunctMorphism( S, R, psi ) ) = L;
5555
#! true
5656
#! @EndExample

examples/SkeletalTopos.g

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ CartesianBraidingInverse( M, N );;
3232
ExponentialOnObjects( M, N );;
3333
ExponentialOnMorphisms( f, g );;
3434
CartesianRightEvaluationMorphism( M, N );;
35-
ExponentialToDirectProductRightAdjunctionMap( M, N,
35+
ExponentialToDirectProductRightAdjunctMorphism( M, N,
3636
UniversalMorphismFromInitialObject( ExponentialOnObjects( M, N ) )
3737
);;
3838
CartesianLeftEvaluationMorphism( M, N );;
3939
CartesianLeftCoevaluationMorphism( N, M );;
4040
CartesianLeftCoevaluationMorphism( T, T );;
41-
DirectProductToExponentialLeftAdjunctionMap( M, N,
41+
DirectProductToExponentialLeftAdjunctMorphism( M, N,
4242
UniversalMorphismIntoTerminalObject( DirectProduct( M, N ) )
4343
);;
44-
ExponentialToDirectProductLeftAdjunctionMap( M, N,
44+
ExponentialToDirectProductLeftAdjunctMorphism( M, N,
4545
UniversalMorphismFromInitialObject( ExponentialOnObjects( M, N ) )
4646
);;
4747

examples/Topos.g

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ ExponentialOnObjects( FinSet( [ 1 ] ), exp );;
3333
ExponentialOnMorphisms( f, g );;
3434
CartesianRightEvaluationMorphism( M, N );;
3535
CartesianRightCoevaluationMorphism( N, M );;
36-
DirectProductToExponentialRightAdjunctionMap( M, N,
36+
DirectProductToExponentialRightAdjunctMorphism( M, N,
3737
UniversalMorphismIntoTerminalObject( DirectProduct( M, N ) )
3838
);;
39-
ExponentialToDirectProductRightAdjunctionMap( M, N,
39+
ExponentialToDirectProductRightAdjunctMorphism( M, N,
4040
UniversalMorphismFromInitialObject( ExponentialOnObjects( M, N ) )
4141
);;
4242
CartesianLeftEvaluationMorphism( M, N );;
4343
CartesianLeftCoevaluationMorphism( N, M );;
44-
DirectProductToExponentialLeftAdjunctionMap( M, N,
44+
DirectProductToExponentialLeftAdjunctMorphism( M, N,
4545
UniversalMorphismIntoTerminalObject( DirectProduct( M, N ) )
4646
);;
47-
ExponentialToDirectProductLeftAdjunctionMap( M, N,
47+
ExponentialToDirectProductLeftAdjunctMorphism( M, N,
4848
UniversalMorphismFromInitialObject( ExponentialOnObjects( M, N ) )
4949
);;
5050

gap/FinSets.gi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ AddCartesianLeftCoevaluationMorphismWithGivenRange( category_of_finite_sets,
970970
end );
971971

972972
##
973-
AddDirectProductToExponentialLeftAdjunctionMap( category_of_finite_sets,
973+
AddDirectProductToExponentialLeftAdjunctMorphism( category_of_finite_sets,
974974
function ( category_of_finite_sets, M, N, f )
975975
local L;
976976

@@ -981,7 +981,7 @@ AddDirectProductToExponentialLeftAdjunctionMap( category_of_finite_sets,
981981
end );
982982

983983
##
984-
AddExponentialToDirectProductLeftAdjunctionMap( category_of_finite_sets,
984+
AddExponentialToDirectProductLeftAdjunctMorphism( category_of_finite_sets,
985985
function ( category_of_finite_sets, N, L, g )
986986
local M, MN;
987987

@@ -1013,7 +1013,7 @@ AddCartesianRightCoevaluationMorphismWithGivenRange( category_of_finite_sets,
10131013
end );
10141014

10151015
##
1016-
AddDirectProductToExponentialRightAdjunctionMap( category_of_finite_sets,
1016+
AddDirectProductToExponentialRightAdjunctMorphism( category_of_finite_sets,
10171017
function ( category_of_finite_sets, M, N, f )
10181018
local L;
10191019

@@ -1024,7 +1024,7 @@ AddDirectProductToExponentialRightAdjunctionMap( category_of_finite_sets,
10241024
end );
10251025

10261026
##
1027-
AddExponentialToDirectProductRightAdjunctionMap( category_of_finite_sets,
1027+
AddExponentialToDirectProductRightAdjunctMorphism( category_of_finite_sets,
10281028
function ( category_of_finite_sets, M, L, g )
10291029
local N, MN;
10301030

gap/SkeletalFinSets.gi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ AddExponentialOnObjects( SkeletalFinSets,
799799

800800
end );
801801

802-
## A special case of ExponentialToDirectProductRightAdjunctionMap for A = 𝟙 = TerminalObject
802+
## A special case of ExponentialToDirectProductRightAdjunctMorphism for A = 𝟙 = TerminalObject
803803
## InterpretMorphismFromDistinguishedObjectToHomomorphismStructureAsMorphism
804804
## (g: 𝟙 → Bᴸ) ↦ (f: L = L × 𝟙 → B)
805805
AddCartesianLambdaElimination( SkeletalFinSets,
@@ -820,7 +820,7 @@ end );
820820

821821
## base-change from b^l to b:
822822
## (g: A → Bᴸ) ↦ (f: L × A → B)
823-
AddExponentialToDirectProductRightAdjunctionMapWithGivenDirectProduct( SkeletalFinSets,
823+
AddExponentialToDirectProductRightAdjunctMorphismWithGivenDirectProduct( SkeletalFinSets,
824824
function ( cat, L, B, g, LxA )
825825
local l, b, g_map, la;
826826

@@ -844,7 +844,7 @@ end );
844844

845845
## base-change from b to b^l:
846846
## (f: L × A → B) ↦ (g: A → Bᴸ)
847-
AddDirectProductToExponentialRightAdjunctionMapWithGivenExponential( SkeletalFinSets,
847+
AddDirectProductToExponentialRightAdjunctMorphismWithGivenExponential( SkeletalFinSets,
848848
function ( cat, L, A, f, expLB )
849849
local B, l, b, f_map;
850850

@@ -909,7 +909,7 @@ end, 1 + Sum( [ [ "ExponentialOnObjects", 1 ],
909909
[ "ExactCoverWithGlobalElements", 1 ],
910910
[ "PreComposeList", 2 ],
911911
[ "CartesianLambdaElimination", 2 ],
912-
[ "DirectProductToExponentialRightAdjunctionMapWithGivenExponential", 2 ] ],
912+
[ "DirectProductToExponentialRightAdjunctMorphismWithGivenExponential", 2 ] ],
913913
e -> e[2] * CurrentOperationWeight( SkeletalFinSets!.derivations_weight_list, e[1] ) ) );
914914

915915
## Bᴸ × L → B

gap/precompiled_categories/SkeletalCategoryOfFiniteSetsWithMorphismsGivenByListsPrecompiled.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ end
320320
, 100 );
321321

322322
##
323-
AddDirectProductToExponentialRightAdjunctionMapWithGivenExponential( cat,
323+
AddDirectProductToExponentialRightAdjunctMorphismWithGivenExponential( cat,
324324

325325
########
326326
function ( cat_1, a_1, b_1, f_1, i_1 )
@@ -446,7 +446,7 @@ end
446446
, 100 );
447447

448448
##
449-
AddExponentialToDirectProductRightAdjunctionMapWithGivenDirectProduct( cat,
449+
AddExponentialToDirectProductRightAdjunctMorphismWithGivenDirectProduct( cat,
450450

451451
########
452452
function ( cat_1, a_1, c_1, g_1, s_1 )

0 commit comments

Comments
 (0)