Skip to content

Commit 475f690

Browse files
author
Tom Kuhmichel
committed
Remove code
in ModulePresenationsForCAP and adjust examples
1 parent 2b1e582 commit 475f690

File tree

4 files changed

+14
-674
lines changed

4 files changed

+14
-674
lines changed

CAP/examples/ModulePresentationsMonoidalCategory.g

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Nl := AsLeftPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, ZZ ) );
1313
Tl := TensorProductOnObjects( Ml, Nl );
1414
#! <An object in Category of left presentations of Z>
1515
Display( UnderlyingMatrix( Tl ) );
16-
#! [ [ 3 ],
17-
#! [ 2 ] ]
16+
#! [ [ 2 ],
17+
#! [ 3 ] ]
1818
IsZeroForObjects( Tl );
1919
#! true
2020
Bl := Braiding( DirectSum( Ml, Nl ), DirectSum( Ml, Ml ) );
@@ -38,15 +38,15 @@ generator_l1 := StandardGeneratorMorphism( IntHoml, 1 );
3838
morphism_l1 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_l1 );
3939
#! <A morphism in Category of left presentations of Z>
4040
Display( UnderlyingMatrix( morphism_l1 ) );
41-
#! [ [ -3 ],
42-
#! [ 2 ] ]
41+
#! [ [ -84 ],
42+
#! [ -196 ] ]
4343
generator_l2 := StandardGeneratorMorphism( IntHoml, 2 );
4444
#! <A morphism in Category of left presentations of Z>
4545
morphism_l2 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_l2 );
4646
#! <A morphism in Category of left presentations of Z>
4747
Display( UnderlyingMatrix( morphism_l2 ) );
48-
#! [ [ 0 ],
49-
#! [ -1 ] ]
48+
#! [ [ -39 ],
49+
#! [ -91 ] ]
5050
IsEqualForMorphisms( LambdaIntroduction( morphism_l1 ), generator_l1 );
5151
#! false
5252
IsCongruentForMorphisms( LambdaIntroduction( morphism_l1 ), generator_l1 );
@@ -62,7 +62,7 @@ Nr := AsRightPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, ZZ ) );
6262
Tr := TensorProductOnObjects( Mr, Nr );
6363
#! <An object in Category of right presentations of Z>
6464
Display( UnderlyingMatrix( Tr ) );
65-
#! [ [ 3, 2 ] ]
65+
#! [ [ 2, 3 ] ]
6666
IsZeroForObjects( Tr );
6767
#! true
6868
Br := Braiding( DirectSum( Mr, Nr ), DirectSum( Mr, Mr ) );
@@ -86,14 +86,14 @@ generator_r1 := StandardGeneratorMorphism( IntHomr, 1 );
8686
morphism_r1 := LambdaElimination( DirectSum( Mr, Ur ), Nr, generator_r1 );
8787
#! <A morphism in Category of right presentations of Z>
8888
Display( UnderlyingMatrix( morphism_r1 ) );
89-
#! [ [ -3, 2 ] ]
89+
#! [ [ -84, -196 ] ]
9090
generator_r2 := StandardGeneratorMorphism( IntHoml, 2 );
9191
#! <A morphism in Category of left presentations of Z>
9292
morphism_r2 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_r2 );
9393
#! <A morphism in Category of left presentations of Z>
9494
Display( UnderlyingMatrix( morphism_r2 ) );
95-
#! [ [ 0 ],
96-
#! [ -1 ] ]
95+
#! [ [ -39 ],
96+
#! [ -91 ] ]
9797
IsEqualForMorphisms( LambdaIntroduction( morphism_r1 ), generator_r1 );
9898
#! false
9999
IsCongruentForMorphisms( LambdaIntroduction( morphism_r1 ), generator_r1 );

ModulePresentationsForCAP/examples/MonoidalStructure.g

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ N := AsLeftPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, R ) );
1515
T := TensorProductOnObjects( M, N );
1616
#! <An object in Category of left presentations of Z>
1717
Display( T );
18-
#! [ [ 3 ],
19-
#! [ 2 ] ]
18+
#! [ [ 2 ],
19+
#! [ 3 ] ]
2020
#!
2121
#! An object in Category of left presentations of Z
2222
IsZero( T );
@@ -37,8 +37,8 @@ l := LambdaElimination( DirectSum( M, M ), DirectSum( M, N ), alpha );
3737
IsZero( l );
3838
#! false
3939
Display( l );
40-
#! [ [ -2, 6 ],
41-
#! [ -1, -3 ] ]
40+
#! [ [ 236554, 0 ],
41+
#! [ 78415, 0 ] ]
4242
#!
4343
#! A morphism in Category of left presentations of Z
4444
#! @EndExample

ModulePresentationsForCAP/gap/ModulePresentationsForCAP.gd

-40
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,6 @@ DeclareGlobalFunction( "ADD_PRECOMPOSE_LEFT" );
6767

6868
DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_MORPHISM_LEFT" );
6969

70-
DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_OBJECTS_LEFT" );
71-
72-
DeclareGlobalFunction( "ADD_TENSOR_UNIT_LEFT" );
73-
74-
DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_OBJECTS_LEFT" );
75-
76-
DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_MORPHISMS_LEFT" );
77-
78-
DeclareGlobalFunction( "ADD_BRAIDING_LEFT" );
79-
80-
DeclareGlobalFunction( "ADD_EVALUATION_MORPHISM_LEFT" );
81-
82-
DeclareGlobalFunction( "ADD_COEVALUATION_MORPHISM_LEFT" );
83-
84-
DeclareGlobalFunction( "ADD_ASSOCIATOR_LEFT" );
85-
86-
8770
DeclareGlobalFunction( "ADD_FUNCTIONS_FOR_RIGHT_PRESENTATION" );
8871

8972
DeclareGlobalFunction( "ADD_KERNEL_RIGHT" );
@@ -92,31 +75,8 @@ DeclareGlobalFunction( "ADD_PRECOMPOSE_RIGHT" );
9275

9376
DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_MORPHISM_RIGHT" );
9477

95-
DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_OBJECTS_RIGHT" );
96-
97-
DeclareGlobalFunction( "ADD_TENSOR_UNIT_RIGHT" );
98-
99-
DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_OBJECTS_RIGHT" );
100-
101-
DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_MORPHISMS_RIGHT" );
102-
103-
DeclareGlobalFunction( "ADD_BRAIDING_RIGHT" );
104-
105-
DeclareGlobalFunction( "ADD_EVALUATION_MORPHISM_RIGHT" );
106-
107-
DeclareGlobalFunction( "ADD_COEVALUATION_MORPHISM_RIGHT" );
108-
109-
DeclareGlobalFunction( "ADD_ASSOCIATOR_RIGHT" );
110-
111-
112-
DeclareGlobalFunction( "ADD_UNITOR" );
113-
11478
DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_OBJECTS" );
11579

116-
DeclareGlobalFunction( "ADD_EQUAL_FOR_OBJECTS" );
117-
118-
DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_MORPHISMS" );
119-
12080
DeclareGlobalFunction( "ADD_LIFT_AND_COLIFT_LEFT" );
12181

12282
DeclareGlobalFunction( "ADD_LIFT_AND_COLIFT_RIGHT" );

0 commit comments

Comments
 (0)