-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better inverses #1021
Merged
Merged
Better inverses #1021
Changes from 39 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
5065769
Stub
james-d-mitchell 56b10cb
Add possibly better method for InversesOfSemigroupElementNC
james-d-mitchell e874b8f
delete Nambooripad Method for Transformation Semigroup
Tianrun-Y d42b687
change inverses to a set
Tianrun-Y 073e25a
change filter into IsMultiplicativeElementWithOne as it is required f…
Tianrun-Y d8dd7e1
add the AsSet to the test rather than the method
Tianrun-Y f40c494
fix consecutive empty lines
Tianrun-Y a7ab1d3
fix RightGreensMultiplierNC does not work on fp semigroups where ther…
Tianrun-Y 1f5b58f
fix comment
Tianrun-Y 99c1fc6
add OneInverseOfSemigroupElement and fix small issues
Tianrun-Y b86b177
fix declaration and filter problem
Tianrun-Y 1849da6
Update gap/attributes/attr.gi
Tianrun-Y 377d20d
Update gap/attributes/attr.gi
Tianrun-Y 793bd63
fix formatting for gaplint
Tianrun-Y 91309d0
Merge branch 'better-inverses' of github.com:/Tianrun-Y/Semigroups in…
Tianrun-Y 479991a
fix issue
Tianrun-Y b760696
Update gap/attributes/attr.gi
Tianrun-Y b7327f1
Update gap/attributes/attr.gi
Tianrun-Y c967c92
fix issue
Tianrun-Y ee7cef2
Update gap/attributes/attr.gi
Tianrun-Y fff144c
Merge branch 'main' into better-inverses
Tianrun-Y ece58f0
addnon-no-check version of OneInverse, and a NC version for cannot us…
Tianrun-Y 81a7cd3
fix small issues in the previous commit
Tianrun-Y aefbad1
Update gap/attributes/attr.gi
Tianrun-Y abc2e85
add declaration of OneInverseOfSemigroupElement
Tianrun-Y 7149d71
Merge branch 'better-inverses' of github.com:/Tianrun-Y/Semigroups in…
Tianrun-Y 7b23dbb
add documentation of OneInverseOfSemigroupElement
Tianrun-Y c969b11
fix formatting for gaplint
Tianrun-Y 7cccf7c
fix syntax error
Tianrun-Y 80b17ec
add test for OneInverseOfSemigroupElement
Tianrun-Y 60ed671
addMultiplicativeNeutralElement as a return
Tianrun-Y a695534
addMultiplicativeNeutralElement as a return for the other one
Tianrun-Y 0367685
update documentation for LeftGreensMultiplier
Tianrun-Y 554e0dd
fix filter problem
Tianrun-Y 513712b
fix filter problem and also add test
Tianrun-Y 82d81bd
fix test problems
Tianrun-Y 428e039
fix gaplint
Tianrun-Y 1707bf6
fix test
Tianrun-Y f276972
add example in documentation
Tianrun-Y 29eab45
Update doc/attr.xml
Tianrun-Y 3f93d05
if there is no inverse
Tianrun-Y 6508fc6
merge
Tianrun-Y 54e651a
delete merge remnants
Tianrun-Y bf02a27
add to chapter
Tianrun-Y 2b441e0
fix small issue
Tianrun-Y 7f989c0
fix example format
Tianrun-Y 1914eb5
Merge branch 'main' into better-inverses
james-d-mitchell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1205,6 +1205,32 @@ gap> GeneratorsSmallest(T); | |
</ManSection> | ||
<#/GAPDoc> | ||
|
||
<#GAPDoc Label="OneInverseOfSemigroupElement"> | ||
<ManSection> | ||
<Attr Name="OneInverseOfSemigroupElement" Arg="S, x"/> | ||
<Returns> One inverse of an element of a semigroup.</Returns> | ||
<Description> | ||
<C>OneInverseOfSemigroupElement</C> returns one inverse of the element | ||
<C>x</C> in the semigroup <A>S</A>. | ||
Tianrun-Y marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<Example><![CDATA[ | ||
S := FullTransformationMonoid(4); | ||
<full transformation monoid of degree 4> | ||
gap> s := Transformation([2, 3, 1, 1]); | ||
Transformation( [ 2, 3, 1, 1 ] ) | ||
gap> OneInverseOfSemigroupElement(S, s); | ||
Transformation( [ 3, 1, 2, 2 ] ) | ||
gap> e := IdentityTransformation; | ||
IdentityTransformation | ||
gap> OneInverseOfSemigroupElement(S, e); | ||
IdentityTransformation | ||
gap> F := FreeSemigroup(1); | ||
<free semigroup on the generators [ s1 ]> | ||
gap> OneInverseOfSemigroupElement(F, F.1); | ||
Error, the semigroup is not finite]]></Example> | ||
</Description> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Example please! |
||
</ManSection> | ||
<#/GAPDoc> | ||
|
||
<#GAPDoc Label="IndecomposableElements"> | ||
<ManSection> | ||
<Attr Name="IndecomposableElements" Arg="S"/> | ||
|
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if there is no inverse?