Skip to content

Commit

Permalink
Add IsOrthoGroup property
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcontileslie committed May 20, 2021
1 parent cff1a6a commit 79d230f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gap/attributes/properties.gd
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ DeclareProperty("IsSurjectiveSemigroup", IsSemigroup);
InstallTrueMethod(IsSurjectiveSemigroup, IsRegularSemigroup);
InstallTrueMethod(IsSurjectiveSemigroup, IsMonoidAsSemigroup);
InstallTrueMethod(IsSurjectiveSemigroup, IsIdempotentGenerated);

DeclareProperty("IsOrthogroup", IsSemigroup);
DeclareSynonym("IsOrthoGroup", IsOrthogroup);
6 changes: 6 additions & 0 deletions gap/attributes/properties.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1784,3 +1784,9 @@ x -> UnderlyingSemigroupOfSemigroupWithAdjoinedZero(x) <> fail);
InstallMethod(IsSurjectiveSemigroup, "for a semigroup",
[IsSemigroup],
S -> IsEmpty(IndecomposableElements(S)));

InstallMethod(IsOrthogroup, "for a semigroup",
[IsSemigroup],
function(S)
return IsCompletelyRegularSemigroup(S) and IsOrthodoxSemigroup(S);
end);

0 comments on commit 79d230f

Please sign in to comment.