Skip to content

Commit ff71d02

Browse files
Merge pull request #1782 from TKuh/semisimple_test
Use the underlying category of matrices of a semisimple category in a test
2 parents 3c8696c + c5fccb4 commit ff71d02

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

GroupRepresentationsForCAP/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "GroupRepresentationsForCAP",
1212
Subtitle := "Skeletal category of group representations for CAP",
13-
Version := "2025.07-01",
13+
Version := "2025.07-02",
1414
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
1515
License := "GPL-2.0-or-later",
1616

GroupRepresentationsForCAP/examples/SemisimpleCategoryTest.g

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
LoadPackage( "GroupRepresentationsForCAP" );
22
LoadPackage( "RingsForHomalg" );
3+
34
Q := HomalgFieldOfRationalsInSingular();
45

56
G := SymmetricGroup( 3 );
@@ -11,28 +12,37 @@ irr := Irr( G );
1112
membership_function := IsGIrreducibleObject;
1213

1314
chi_1 := GIrreducibleObject( irr[1] );
14-
1515
chi_2 := GIrreducibleObject( irr[2] );
16-
1716
chi_3 := GIrreducibleObject( irr[3] );
1817

1918
semisimple_cat := SemisimpleCategory( Q, membership_function, chi_3, "S3Ass.g", true );
2019

21-
a := SemisimpleCategoryObject( [ [ 1, chi_1 ], [ 2, chi_2 ], [ 3, chi_3 ] ], semisimple_cat );
20+
ob1 := SemisimpleCategoryObject( [ [ 1, chi_1 ] ], semisimple_cat );
21+
ob2 := SemisimpleCategoryObject( [ [ 1, chi_2 ] ], semisimple_cat );
22+
ob3 := SemisimpleCategoryObject( [ [ 1, chi_3 ] ], semisimple_cat );
2223

24+
Qmat := UnderlyingCategoryForSemisimpleCategory( semisimple_cat );
25+
26+
a := SemisimpleCategoryObject( [ [ 1, chi_1 ], [ 2, chi_2 ], [ 3, chi_3 ] ], semisimple_cat );
2327
b := SemisimpleCategoryObject( [ [ 1, chi_2 ], [ 2, chi_3 ] ], semisimple_cat );
2428

25-
alpha := VectorSpaceMorphism( VectorSpaceObject( 2, Q ), HomalgMatrix( [ [ 1 ], [ -1 ] ], 2, 1, Q ), VectorSpaceObject( 1, Q ) );
29+
M1 := MatrixCategoryObject( Qmat, 1 );
30+
M2 := MatrixCategoryObject( Qmat, 2 );
31+
M3 := MatrixCategoryObject( Qmat, 3 );
2632

27-
beta := VectorSpaceMorphism( VectorSpaceObject( 3, Q ), HomalgMatrix( [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ], 3, 2, Q ), VectorSpaceObject( 2, Q ) );
33+
matrix_1 := HomalgMatrix( [ [ 1 ], [ -1 ] ], 2, 1, Q );
34+
matrix_2 := HomalgMatrix( [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ], 3, 2, Q );
2835

29-
mor := SemisimpleCategoryMorphism( a, [ [ MorphismIntoZeroObject( VectorSpaceObject( 1, Q ) ), chi_1 ], [ alpha, chi_2 ], [ beta, chi_3 ] ], b );
36+
alpha := VectorSpaceMorphism( M2, matrix_1, M1 );
37+
beta := VectorSpaceMorphism( M3, matrix_2, M2 );
3038

31-
ob1 := SemisimpleCategoryObject( [ [ 1, chi_1 ] ], semisimple_cat );
39+
mor := SemisimpleCategoryMorphism( a, [ [ MorphismIntoZeroObject( M1 ), chi_1 ], [ alpha, chi_2 ], [ beta, chi_3 ] ], b );
3240

33-
ob2 := SemisimpleCategoryObject( [ [ 1, chi_2 ] ], semisimple_cat );
41+
TensorProductOnObjects( a, b );
3442

35-
ob3 := SemisimpleCategoryObject( [ [ 1, chi_3 ] ], semisimple_cat );
43+
tp_mor := TensorProductOnMorphisms( mor, mor );
44+
45+
Display( tp_mor );
3646

3747
#AssociatorLeftToRight( b, b, b );
3848

0 commit comments

Comments
 (0)