Skip to content

Commit 79d230f

Browse files
Add IsOrthoGroup property
1 parent cff1a6a commit 79d230f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

gap/attributes/properties.gd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ DeclareProperty("IsSurjectiveSemigroup", IsSemigroup);
102102
InstallTrueMethod(IsSurjectiveSemigroup, IsRegularSemigroup);
103103
InstallTrueMethod(IsSurjectiveSemigroup, IsMonoidAsSemigroup);
104104
InstallTrueMethod(IsSurjectiveSemigroup, IsIdempotentGenerated);
105+
106+
DeclareProperty("IsOrthogroup", IsSemigroup);
107+
DeclareSynonym("IsOrthoGroup", IsOrthogroup);

gap/attributes/properties.gi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,3 +1784,9 @@ x -> UnderlyingSemigroupOfSemigroupWithAdjoinedZero(x) <> fail);
17841784
InstallMethod(IsSurjectiveSemigroup, "for a semigroup",
17851785
[IsSemigroup],
17861786
S -> IsEmpty(IndecomposableElements(S)));
1787+
1788+
InstallMethod(IsOrthogroup, "for a semigroup",
1789+
[IsSemigroup],
1790+
function(S)
1791+
return IsCompletelyRegularSemigroup(S) and IsOrthodoxSemigroup(S);
1792+
end);

0 commit comments

Comments
 (0)