@@ -10,13 +10,36 @@ BindGlobal( "ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsPrecompiled", function (
1010
1111# #######
1212function ( cat_1, s_1, a_1, b_1, r_1 )
13- local hoisted_1_1, hoisted_2_1, deduped_3_1;
14- deduped_3_1 := Length( s_1 );
15- hoisted_2_1 := Length( b_1 );
16- hoisted_1_1 := deduped_3_1;
13+ local hoisted_1_1, hoisted_2_1;
14+ hoisted_2_1 := Length( a_1 );
15+ hoisted_1_1 := Length( b_1 );
16+ return ObjectifyMorphismWithSourceAndRangeForCAPWithAttributes( rec (
17+ ), cat_1, s_1, r_1, AsList, List( [ 0 .. Length( s_1 ) - 1 ] , function ( i_2 )
18+ return 1 + i_2 mod hoisted_1_1 * hoisted_2_1 + QUO_INT( i_2, hoisted_1_1 );
19+ end ) );
20+ end
21+ # #######
22+
23+ , 100 );
24+
25+ # #
26+ AddCartesianCoevaluationMorphismWithGivenRange( cat,
27+
28+ # #######
29+ function ( cat_1, a_1, b_1, r_1 )
30+ local hoisted_1_1, hoisted_2_1, hoisted_3_1, deduped_4_1, deduped_5_1;
31+ deduped_5_1 := Length( b_1 );
32+ deduped_4_1 := Length( a_1 );
33+ hoisted_3_1 := [ 0 .. deduped_5_1 - 1 ] ;
34+ hoisted_2_1 := deduped_4_1 * deduped_5_1;
35+ hoisted_1_1 := deduped_5_1;
1736 return ObjectifyMorphismWithSourceAndRangeForCAPWithAttributes( rec (
18- ), cat_1, s_1, r_1, AsList, List( [ 0 .. deduped_3_1 - 1 ] , function ( i_2 )
19- return 1 + i_2 mod hoisted_1_1 + QUO_INT( i_2, hoisted_2_1 );
37+ ), cat_1, a_1, r_1, AsList, List( [ 0 .. deduped_4_1 - 1 ] , function ( i_2 )
38+ local hoisted_1_2;
39+ hoisted_1_2 := i_2 * hoisted_1_1;
40+ return 1 + Sum( hoisted_3_1, function ( j_3 )
41+ return (hoisted_1_2 + j_3) * hoisted_2_1 ^ (hoisted_1_1 - j_3 - 1 );
42+ end );
2043 end ) );
2144end
2245# #######
0 commit comments