|
5 | 5 | # |
6 | 6 | BindGlobal( "ADD_FUNCTIONS_FOR_SkeletalCategoryOfFiniteSetsWithMorphismsGivenByListsPrecompiled", function ( cat ) |
7 | 7 |
|
| 8 | + ## |
| 9 | + AddAstrictionToCoimage( cat, |
| 10 | + |
| 11 | +######## |
| 12 | +function ( cat_1, alpha_1 ) |
| 13 | + local deduped_1_1; |
| 14 | + deduped_1_1 := DuplicateFreeList( AsList( alpha_1 ) ); |
| 15 | + return CreateCapCategoryMorphismWithAttributes( cat_1, CreateCapCategoryObjectWithAttributes( cat_1, Length, BigInt( Length( deduped_1_1 ) ) ), Range( alpha_1 ), AsList, deduped_1_1 ); |
| 16 | +end |
| 17 | +######## |
| 18 | + |
| 19 | + , 100 ); |
| 20 | + |
8 | 21 | ## |
9 | 22 | AddCartesianBraidingInverseWithGivenDirectProducts( cat, |
10 | 23 |
|
@@ -157,21 +170,21 @@ end |
157 | 170 | , 100 ); |
158 | 171 |
|
159 | 172 | ## |
160 | | - AddCoastrictionToImageWithGivenImageObject( cat, |
| 173 | + AddCoastrictionToImage( cat, |
161 | 174 |
|
162 | 175 | ######## |
163 | | -function ( cat_1, alpha_1, I_1 ) |
164 | | - local hoisted_2_1, deduped_3_1, deduped_4_1; |
165 | | - deduped_4_1 := AsList( alpha_1 ); |
166 | | - deduped_3_1 := Source( alpha_1 ); |
167 | | - hoisted_2_1 := SSortedList( deduped_4_1 ); |
168 | | - return CreateCapCategoryMorphismWithAttributes( cat_1, deduped_3_1, I_1, AsList, List( [ 0 .. Length( deduped_3_1 ) - 1 ], function ( i_2 ) |
169 | | - return -1 + BigInt( SafePosition( hoisted_2_1, deduped_4_1[(1 + i_2)] ) ); |
| 176 | +function ( cat_1, alpha_1 ) |
| 177 | + local deduped_3_1, deduped_4_1, deduped_5_1; |
| 178 | + deduped_5_1 := AsList( alpha_1 ); |
| 179 | + deduped_4_1 := Source( alpha_1 ); |
| 180 | + deduped_3_1 := SSortedList( deduped_5_1 ); |
| 181 | + return CreateCapCategoryMorphismWithAttributes( cat_1, deduped_4_1, CreateCapCategoryObjectWithAttributes( cat_1, Length, BigInt( Length( deduped_3_1 ) ) ), AsList, List( [ 0 .. Length( deduped_4_1 ) - 1 ], function ( x_2 ) |
| 182 | + return -1 + BigInt( SafePosition( deduped_3_1, deduped_5_1[(1 + x_2)] ) ); |
170 | 183 | end ) ); |
171 | 184 | end |
172 | 185 | ######## |
173 | 186 |
|
174 | | - , 100 ); |
| 187 | + , 202 : IsPrecompiledDerivation := true ); |
175 | 188 |
|
176 | 189 | ## |
177 | 190 | AddCoequalizer( cat, |
|
184 | 197 |
|
185 | 198 | , 100 ); |
186 | 199 |
|
| 200 | + ## |
| 201 | + AddCoimageProjection( cat, |
| 202 | + |
| 203 | +######## |
| 204 | +function ( cat_1, alpha_1 ) |
| 205 | + local deduped_3_1, deduped_4_1, deduped_5_1; |
| 206 | + deduped_5_1 := AsList( alpha_1 ); |
| 207 | + deduped_4_1 := Source( alpha_1 ); |
| 208 | + deduped_3_1 := DuplicateFreeList( deduped_5_1 ); |
| 209 | + return CreateCapCategoryMorphismWithAttributes( cat_1, deduped_4_1, CreateCapCategoryObjectWithAttributes( cat_1, Length, BigInt( Length( deduped_3_1 ) ) ), AsList, List( [ 0 .. Length( deduped_4_1 ) - 1 ], function ( x_2 ) |
| 210 | + return -1 + BigInt( SafePosition( deduped_3_1, deduped_5_1[(1 + x_2)] ) ); |
| 211 | + end ) ); |
| 212 | +end |
| 213 | +######## |
| 214 | + |
| 215 | + , 202 : IsPrecompiledDerivation := true ); |
| 216 | + |
187 | 217 | ## |
188 | 218 | AddColift( cat, |
189 | 219 |
|
@@ -345,22 +375,13 @@ end |
345 | 375 | , 100 ); |
346 | 376 |
|
347 | 377 | ## |
348 | | - AddImageEmbeddingWithGivenImageObject( cat, |
| 378 | + AddImageEmbedding( cat, |
349 | 379 |
|
350 | 380 | ######## |
351 | | -function ( cat_1, alpha_1, I_1 ) |
352 | | - return CreateCapCategoryMorphismWithAttributes( cat_1, I_1, Range( alpha_1 ), AsList, SSortedList( AsList( alpha_1 ) ) ); |
353 | | -end |
354 | | -######## |
355 | | - |
356 | | - , 100 ); |
357 | | - |
358 | | - ## |
359 | | - AddImageObject( cat, |
360 | | - |
361 | | -######## |
362 | | -function ( cat_1, arg2_1 ) |
363 | | - return CreateCapCategoryObjectWithAttributes( cat_1, Length, BigInt( Length( SSortedList( AsList( arg2_1 ) ) ) ) ); |
| 381 | +function ( cat_1, alpha_1 ) |
| 382 | + local deduped_1_1; |
| 383 | + deduped_1_1 := SSortedList( AsList( alpha_1 ) ); |
| 384 | + return CreateCapCategoryMorphismWithAttributes( cat_1, CreateCapCategoryObjectWithAttributes( cat_1, Length, BigInt( Length( deduped_1_1 ) ) ), Range( alpha_1 ), AsList, deduped_1_1 ); |
364 | 385 | end |
365 | 386 | ######## |
366 | 387 |
|
@@ -816,7 +837,7 @@ function ( cat_1, l_1, m_1 ) |
816 | 837 | end |
817 | 838 | ######## |
818 | 839 |
|
819 | | - , 19767 : IsPrecompiledDerivation := true ); |
| 840 | + , 19464 : IsPrecompiledDerivation := true ); |
820 | 841 |
|
821 | 842 | ## |
822 | 843 | AddSomeInjectiveObject( cat, |
|
0 commit comments