-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fde2a2e
commit 84f2db1
Showing
4 changed files
with
307 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
#! @BeginChunk Endomorphisms | ||
|
||
LoadPackage( "CatReps" ); | ||
|
||
#! | ||
#! Two examples to test if RelationsOfEndomorphisms also works | ||
#! on endomorphisms that aren't bijective. | ||
#! The first example is a constant endomorphism, so applying | ||
#! it twice should be the same as once. | ||
|
||
#! @Example | ||
GF3 := HomalgRingOfIntegers(3); | ||
#! GF(3) | ||
ccat := ConcreteCategoryForCAP( [ [1,1,1], [4,5,6], [,,,5,6,4] ] ); | ||
#! A finite concrete category | ||
relEndo := RelationsOfEndomorphisms( GF3, ccat ); | ||
#! [ Z(3)^0*(a*a) + Z(3)*(a), Z(3)^0*(c*c*c) + Z(3)*(2) ] | ||
#! @EndExample | ||
|
||
#! The next example is the permutation by the companion matrix to $a^8-a^3$, so | ||
#! neither $a^5-a^0$, $a^6-a^1$ nor $a^7-a^2$ are zero: | ||
|
||
#! @Example | ||
GF3 := HomalgRingOfIntegers(3); | ||
#! GF(3) | ||
ccat := ConcreteCategoryForCAP( [ [2,3,4,5,6,7,8,4] ] ); | ||
#! A finite concrete category | ||
relEndo := RelationsOfEndomorphisms( GF3, ccat ); | ||
#! [ Z(3)^0*(a*a*a*a*a*a*a*a) + Z(3)*(a*a*a) ] | ||
#! @EndExample | ||
#! @EndChunk | ||
#! @BeginChunk Endomorphisms | ||
|
||
LoadPackage( "CatReps" ); | ||
|
||
#! The two examples below test <C>RelationsOfEndomorphisms</C> | ||
#! on endomorphisms that are not bijective. | ||
|
||
#! The first generating morphism of the first example is constant, and hence an idempotent. | ||
|
||
#! @Example | ||
GF3 := HomalgRingOfIntegers(3); | ||
#! GF(3) | ||
ccat := ConcreteCategoryForCAP( [ [1,1,1], [4,5,6], [,,,5,6,4] ] ); | ||
#! A finite concrete category | ||
relEndo := RelationsOfEndomorphisms( GF3, ccat ); | ||
#! [ Z(3)^0*(a*a) + Z(3)*(a), Z(3)^0*(c*c*c) + Z(3)*(2) ] | ||
#! @EndExample | ||
|
||
#! The next example is a single permutation defined by the companion matrix of $a^8-a^3$, hence | ||
#! neither $a^5-a^0$, $a^6-a^1$, nor $a^7-a^2$ are zero: | ||
|
||
#! @Example | ||
GF3 := HomalgRingOfIntegers(3); | ||
#! GF(3) | ||
ccat := ConcreteCategoryForCAP( [ [2,3,4,5,6,7,8,4] ] ); | ||
#! A finite concrete category | ||
relEndo := RelationsOfEndomorphisms( GF3, ccat ); | ||
#! [ Z(3)^0*(a*a*a*a*a*a*a*a) + Z(3)*(a*a*a) ] | ||
#! @EndExample | ||
#! @EndChunk |
Oops, something went wrong.