Skip to content

Commit

Permalink
Remove code
Browse files Browse the repository at this point in the history
in ModulePresenationsForCAP and adjust examples
  • Loading branch information
Tom Kuhmichel committed Feb 27, 2023
1 parent 2b1e582 commit 475f690
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 674 deletions.
20 changes: 10 additions & 10 deletions CAP/examples/ModulePresentationsMonoidalCategory.g
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Nl := AsLeftPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, ZZ ) );
Tl := TensorProductOnObjects( Ml, Nl );
#! <An object in Category of left presentations of Z>
Display( UnderlyingMatrix( Tl ) );
#! [ [ 3 ],
#! [ 2 ] ]
#! [ [ 2 ],
#! [ 3 ] ]
IsZeroForObjects( Tl );
#! true
Bl := Braiding( DirectSum( Ml, Nl ), DirectSum( Ml, Ml ) );
Expand All @@ -38,15 +38,15 @@ generator_l1 := StandardGeneratorMorphism( IntHoml, 1 );
morphism_l1 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_l1 );
#! <A morphism in Category of left presentations of Z>
Display( UnderlyingMatrix( morphism_l1 ) );
#! [ [ -3 ],
#! [ 2 ] ]
#! [ [ -84 ],
#! [ -196 ] ]
generator_l2 := StandardGeneratorMorphism( IntHoml, 2 );
#! <A morphism in Category of left presentations of Z>
morphism_l2 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_l2 );
#! <A morphism in Category of left presentations of Z>
Display( UnderlyingMatrix( morphism_l2 ) );
#! [ [ 0 ],
#! [ -1 ] ]
#! [ [ -39 ],
#! [ -91 ] ]
IsEqualForMorphisms( LambdaIntroduction( morphism_l1 ), generator_l1 );
#! false
IsCongruentForMorphisms( LambdaIntroduction( morphism_l1 ), generator_l1 );
Expand All @@ -62,7 +62,7 @@ Nr := AsRightPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, ZZ ) );
Tr := TensorProductOnObjects( Mr, Nr );
#! <An object in Category of right presentations of Z>
Display( UnderlyingMatrix( Tr ) );
#! [ [ 3, 2 ] ]
#! [ [ 2, 3 ] ]
IsZeroForObjects( Tr );
#! true
Br := Braiding( DirectSum( Mr, Nr ), DirectSum( Mr, Mr ) );
Expand All @@ -86,14 +86,14 @@ generator_r1 := StandardGeneratorMorphism( IntHomr, 1 );
morphism_r1 := LambdaElimination( DirectSum( Mr, Ur ), Nr, generator_r1 );
#! <A morphism in Category of right presentations of Z>
Display( UnderlyingMatrix( morphism_r1 ) );
#! [ [ -3, 2 ] ]
#! [ [ -84, -196 ] ]
generator_r2 := StandardGeneratorMorphism( IntHoml, 2 );
#! <A morphism in Category of left presentations of Z>
morphism_r2 := LambdaElimination( DirectSum( Ml, Ul ), Nl, generator_r2 );
#! <A morphism in Category of left presentations of Z>
Display( UnderlyingMatrix( morphism_r2 ) );
#! [ [ 0 ],
#! [ -1 ] ]
#! [ [ -39 ],
#! [ -91 ] ]
IsEqualForMorphisms( LambdaIntroduction( morphism_r1 ), generator_r1 );
#! false
IsCongruentForMorphisms( LambdaIntroduction( morphism_r1 ), generator_r1 );
Expand Down
8 changes: 4 additions & 4 deletions ModulePresentationsForCAP/examples/MonoidalStructure.g
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ N := AsLeftPresentation( HomalgMatrix( [ [ 3 ] ], 1, 1, R ) );
T := TensorProductOnObjects( M, N );
#! <An object in Category of left presentations of Z>
Display( T );
#! [ [ 3 ],
#! [ 2 ] ]
#! [ [ 2 ],
#! [ 3 ] ]
#!
#! An object in Category of left presentations of Z
IsZero( T );
Expand All @@ -37,8 +37,8 @@ l := LambdaElimination( DirectSum( M, M ), DirectSum( M, N ), alpha );
IsZero( l );
#! false
Display( l );
#! [ [ -2, 6 ],
#! [ -1, -3 ] ]
#! [ [ 236554, 0 ],
#! [ 78415, 0 ] ]
#!
#! A morphism in Category of left presentations of Z
#! @EndExample
40 changes: 0 additions & 40 deletions ModulePresentationsForCAP/gap/ModulePresentationsForCAP.gd
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,6 @@ DeclareGlobalFunction( "ADD_PRECOMPOSE_LEFT" );

DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_MORPHISM_LEFT" );

DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_OBJECTS_LEFT" );

DeclareGlobalFunction( "ADD_TENSOR_UNIT_LEFT" );

DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_OBJECTS_LEFT" );

DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_MORPHISMS_LEFT" );

DeclareGlobalFunction( "ADD_BRAIDING_LEFT" );

DeclareGlobalFunction( "ADD_EVALUATION_MORPHISM_LEFT" );

DeclareGlobalFunction( "ADD_COEVALUATION_MORPHISM_LEFT" );

DeclareGlobalFunction( "ADD_ASSOCIATOR_LEFT" );


DeclareGlobalFunction( "ADD_FUNCTIONS_FOR_RIGHT_PRESENTATION" );

DeclareGlobalFunction( "ADD_KERNEL_RIGHT" );
Expand All @@ -92,31 +75,8 @@ DeclareGlobalFunction( "ADD_PRECOMPOSE_RIGHT" );

DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_MORPHISM_RIGHT" );

DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_OBJECTS_RIGHT" );

DeclareGlobalFunction( "ADD_TENSOR_UNIT_RIGHT" );

DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_OBJECTS_RIGHT" );

DeclareGlobalFunction( "ADD_INTERNAL_HOM_ON_MORPHISMS_RIGHT" );

DeclareGlobalFunction( "ADD_BRAIDING_RIGHT" );

DeclareGlobalFunction( "ADD_EVALUATION_MORPHISM_RIGHT" );

DeclareGlobalFunction( "ADD_COEVALUATION_MORPHISM_RIGHT" );

DeclareGlobalFunction( "ADD_ASSOCIATOR_RIGHT" );


DeclareGlobalFunction( "ADD_UNITOR" );

DeclareGlobalFunction( "ADD_IS_WELL_DEFINED_FOR_OBJECTS" );

DeclareGlobalFunction( "ADD_EQUAL_FOR_OBJECTS" );

DeclareGlobalFunction( "ADD_TENSOR_PRODUCT_ON_MORPHISMS" );

DeclareGlobalFunction( "ADD_LIFT_AND_COLIFT_LEFT" );

DeclareGlobalFunction( "ADD_LIFT_AND_COLIFT_RIGHT" );
Loading

0 comments on commit 475f690

Please sign in to comment.