Skip to content

Commit 5f13767

Browse files
Merge pull request #301 from mohamed-barakat/devel
comply with CartesianCategories v2026.06-01
2 parents a7e0755 + 4f547cc commit 5f13767

4 files changed

Lines changed: 36 additions & 33 deletions

File tree

PackageInfo.g

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ PackageDoc := rec(
9898
Dependencies := rec(
9999
GAP := ">= 4.13.0",
100100
NeededOtherPackages := [
101-
[ "CAP", ">= 2023.12-05" ],
102-
[ "MonoidalCategories", ">= 2025.07-07" ],
103-
[ "CartesianCategories", ">= 2024.02-02" ],
101+
[ "CAP", ">= 2026.06-01" ],
102+
[ "MonoidalCategories", ">= 2026.06-01" ],
103+
[ "CartesianCategories", ">= 2026.06-01" ],
104104
[ "Toposes", ">= 2024.03-04" ],
105105
],
106106
SuggestedOtherPackages := [ ],

tst/CartesianClosedOpposite.tst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,42 +177,43 @@ gap> BraidedCocartesianCategoriesTest( finsets, opposite_primitive, a, t );;
177177
#
178178
gap> a := FinSet( [ 1 .. 2 ] );;
179179
gap> L := [ FinSet( [ 2 .. 5 ] ), FinSet( [ 6 .. 7 ] ), FinSet( [ 3 .. 8 ] ) ];;
180+
gap> M := [ 3, 2, 4 ];;
180181

181182
#
182-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
183-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
183+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
184+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
184185

185186
#
186187
gap> a := InitialObject( finsets );;
187188
gap> L := [ FinSet( [ 2 .. 5 ] ), FinSet( [ 6 .. 7 ] ), FinSet( [ 3 .. 8 ] ) ];;
188189

189190
#
190-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
191-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
191+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
192+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
192193

193194
#
194195
gap> a := FinSet( [ 1 .. 2 ] );;
195196
gap> L := [ FinSet( [ 2 .. 5 ] ), InitialObject( finsets ), FinSet( [ 3 .. 8 ] ) ];;
196197

197198
#
198-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
199-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
199+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
200+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
200201

201202
#
202203
gap> a := TerminalObject( finsets );;
203204
gap> L := [ FinSet( [ 2 .. 5 ] ), FinSet( [ 6 .. 7 ] ), FinSet( [ 3 .. 8 ] ) ];;
204205

205206
#
206-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
207-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
207+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
208+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
208209

209210
#
210211
gap> a := FinSet( [ 1 .. 2 ] );;
211212
gap> L := [ FinSet( [ 2 .. 5 ] ), TerminalObject( finsets ), FinSet( [ 3 .. 8 ] ) ];;
212213

213214
#
214-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
215-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
215+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
216+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
216217

217218
#
218219
##############################################

tst/Skeletal1CartesianClosedOpposite.tst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,42 +177,43 @@ gap> BraidedCocartesianCategoriesTest( finsets, opposite_primitive, a, t );;
177177
#
178178
gap> a := FinSet1( 2 );;
179179
gap> L := [ FinSet1( 4 ), FinSet1( 2 ), FinSet1( 6 ) ];;
180+
gap> M := [ 3, 2, 4 ];;
180181

181182
#
182-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
183-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
183+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
184+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
184185

185186
#
186187
gap> a := InitialObject( finsets );;
187188
gap> L := [ FinSet1( 4 ), FinSet1( 2 ), FinSet1( 6 ) ];;
188189

189190
#
190-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
191-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
191+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
192+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
192193

193194
#
194195
gap> a := FinSet1( 2 );;
195196
gap> L := [ FinSet1( 4 ), InitialObject( finsets ), FinSet1( 6 ) ];;
196197

197198
#
198-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
199-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
199+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
200+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
200201

201202
#
202203
gap> a := TerminalObject( finsets );;
203204
gap> L := [ FinSet1( 4 ), FinSet1( 2 ), FinSet1( 6 ) ];;
204205

205206
#
206-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
207-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
207+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
208+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
208209

209210
#
210211
gap> a := FinSet1( 2 );;
211212
gap> L := [ FinSet1( 4 ), TerminalObject( finsets ), FinSet1( 6 ) ];;
212213

213214
#
214-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
215-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
215+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
216+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
216217

217218
#
218219
##############################################

tst/SkeletalCartesianClosedOpposite.tst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -177,42 +177,43 @@ gap> BraidedCocartesianCategoriesTest( finsets, opposite_primitive, a, t );;
177177
#
178178
gap> a := FinSet( 2 );;
179179
gap> L := [ FinSet( 4 ), FinSet( 2 ), FinSet( 6 ) ];;
180+
gap> M := [ 3, 2, 4 ];;
180181

181182
#
182-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
183-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
183+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
184+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
184185

185186
#
186187
gap> a := InitialObject( finsets );;
187188
gap> L := [ FinSet( 4 ), FinSet( 2 ), FinSet( 6 ) ];;
188189

189190
#
190-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
191-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
191+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
192+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
192193

193194
#
194195
gap> a := FinSet( 2 );;
195196
gap> L := [ FinSet( 4 ), InitialObject( finsets ), FinSet( 6 ) ];;
196197

197198
#
198-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
199-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
199+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
200+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
200201

201202
#
202203
gap> a := TerminalObject( finsets );;
203204
gap> L := [ FinSet( 4 ), FinSet( 2 ), FinSet( 6 ) ];;
204205

205206
#
206-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
207-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
207+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
208+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
208209

209210
#
210211
gap> a := FinSet( 2 );;
211212
gap> L := [ FinSet( 4 ), TerminalObject( finsets ), FinSet( 6 ) ];;
212213

213214
#
214-
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L );;
215-
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L );;
215+
gap> DistributiveCartesianCategoriesTest( finsets, opposite, a, L, M );;
216+
gap> DistributiveCartesianCategoriesTest( finsets, opposite_primitive, a, L, M );;
216217

217218
#
218219
##############################################

0 commit comments

Comments
 (0)