@@ -2108,16 +2108,13 @@ end
2108
2108
2109
2109
# #######
2110
2110
function ( cat_1, C_1, alpha_1, I_1 )
2111
- local morphism_attr_1_1, deduped_2_1, deduped_3_1, deduped_4_1;
2112
- deduped_4_1 := UnderlyingRing( cat_1 );
2113
- deduped_3_1 := UnderlyingMatrix( alpha_1 );
2114
- deduped_2_1 := SyzygiesOfRows( SyzygiesOfColumns( deduped_3_1 ) );
2115
- morphism_attr_1_1 := UniqueRightDivide( HomalgIdentityMatrix( RowRankOfMatrix( deduped_3_1 ), deduped_4_1 ), UniqueRightDivide( UniqueLeftDivide( BasisOfColumns( deduped_3_1 ), deduped_3_1 ), deduped_2_1 ) * UniqueRightDivide( HomalgIdentityMatrix( NumberRows( deduped_2_1 ), deduped_4_1 ), UniqueRightDivide( BasisOfRows( deduped_3_1 ), deduped_2_1 ) ) );
2116
- return CreateCapCategoryMorphismWithAttributes( cat_1, CreateCapCategoryObjectWithAttributes( cat_1, Dimension, NumberRows( morphism_attr_1_1 ) ), C_1, UnderlyingMatrix, morphism_attr_1_1 );
2111
+ local deduped_1_1;
2112
+ deduped_1_1 := UnderlyingMatrix( alpha_1 );
2113
+ return CreateCapCategoryMorphismWithAttributes( cat_1, I_1, C_1, UnderlyingMatrix, UniqueRightDivide( HomalgIdentityMatrix( Dimension( I_1 ), UnderlyingRing( cat_1 ) ), UniqueRightDivide( UniqueLeftDivide( BasisOfColumns( deduped_1_1 ), deduped_1_1 ), BasisOfRows( deduped_1_1 ) ) ) );
2117
2114
end
2118
2115
# #######
2119
2116
2120
- , 1610 : IsPrecompiledDerivation := true );
2117
+ , 604 : IsPrecompiledDerivation := true );
2121
2118
2122
2119
# #
2123
2120
AddIsAutomorphism( cat,
@@ -4039,15 +4036,13 @@ end
4039
4036
4040
4037
# #######
4041
4038
function ( cat_1, C_1, alpha_1, I_1 )
4042
- local morphism_attr_1_1, deduped_2_1, deduped_3_1;
4043
- deduped_3_1 := UnderlyingMatrix( alpha_1 );
4044
- deduped_2_1 := SyzygiesOfRows( SyzygiesOfColumns( deduped_3_1 ) );
4045
- morphism_attr_1_1 := UniqueRightDivide( UniqueLeftDivide( BasisOfColumns( deduped_3_1 ), deduped_3_1 ), deduped_2_1 ) * UniqueRightDivide( HomalgIdentityMatrix( NumberRows( deduped_2_1 ), UnderlyingRing( cat_1 ) ), UniqueRightDivide( BasisOfRows( deduped_3_1 ), deduped_2_1 ) );
4046
- return CreateCapCategoryMorphismWithAttributes( cat_1, C_1, CreateCapCategoryObjectWithAttributes( cat_1, Dimension, NumberColumns( morphism_attr_1_1 ) ), UnderlyingMatrix, morphism_attr_1_1 );
4039
+ local deduped_1_1;
4040
+ deduped_1_1 := UnderlyingMatrix( alpha_1 );
4041
+ return CreateCapCategoryMorphismWithAttributes( cat_1, C_1, I_1, UnderlyingMatrix, UniqueRightDivide( UniqueLeftDivide( BasisOfColumns( deduped_1_1 ), deduped_1_1 ), BasisOfRows( deduped_1_1 ) ) );
4047
4042
end
4048
4043
# #######
4049
4044
4050
- , 1408 : IsPrecompiledDerivation := true );
4045
+ , 402 : IsPrecompiledDerivation := true );
4051
4046
4052
4047
# #
4053
4048
AddMorphismFromEqualizerToSink( cat,
0 commit comments