Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  froidure-pin.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#############################################################################
##
#W  standard/greens/froidure-pin.tst
#Y  Copyright (C) 2011-2022                              James D. Mitchell
##
##  Licensing information can be found in the README file of this package.
##
#############################################################################
##

#@local CheckLeftGreensMultiplier1, CheckLeftGreensMultiplier2
#@local CheckRightGreensMultiplier1, CheckRightGreensMultiplier2, D, DD, DDD, H
#@local J, L, L3, LL, R, RR, RRR, S, a, acting, an, b, gens, map, x, y
#@local c, d, e, F
gap> START_TEST("Semigroups package: standard/greens/froidure-pin.tst");
gap> LoadPackage("semigroups", false);;

#
gap> SEMIGROUPS.StartTest();

# AsSSortedList, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> L := LClass(S, PartialPerm([17], [35]));;
gap> AsSet(L);
[ [1,3][2,5], [1,5][2,3], [2,3,5], [2,5](3), [1,3,5], [1,5](3), 
  <identity partial perm on [ 35 ]>, (3,5), [2,3](5), [2,5,3], [1,3](5), 
  [1,5,3], [7,5](3), [7,3,5], [1,3][7,5], [1,5][7,3] ]

# \< and \=, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> L := LClass(S, PartialPerm([17], [35]));;
gap> LL := LClass(S, S.1);;
gap> LL = L;
false
gap> L < L;
false
gap> L < LL;
true
gap> LL < L;
false
gap> D := DClass(L);;
gap> L = D;
false
gap> L < D;
false

# Test \< for H-classes Issue #198
gap> S := FullTropicalMinPlusMonoid(22);
<monoid of 2x2 tropical min-plus matrices with 6 generators>
gap> H := Set(GeneratorsOfSemigroup(S), x -> HClass(S, x));
[ <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[0, infinity], 
       [infinity, 0]], 2)>, 
  <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[infinity, 0], [00]], 2
       )>, 
  <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[infinity, 0], [01]], 2
       )>, 
  <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[infinity, 0], [02]], 2
       )>, 
  <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[infinity, 0], 
       [1, infinity]], 2)>, 
  <Green's H-class: Matrix(IsTropicalMinPlusMatrix, [[infinity, 0], 
       [infinity, infinity]], 2)> ]

# Test \< for H-classes Issue #198
gap> gens := [
>  Transformation([1341555]),
>  Transformation([1413555]),
>  Transformation([3312555]),
>  Transformation([4423555]),
>  Transformation([1134556]),
>  Transformation([122]),
>  Transformation([1434]),
>  Transformation([1244])];;
gap> S := Semigroup(gens);
<transformation semigroup of degree 7 with 8 generators>
gap> D := DClass(S, gens[1]);;
gap> ForAll(gens{[1 .. 4]}, x -> x in D);
true
gap>  NrRClasses(D);
6
gap> R := List(gens{[1 .. 3]}, x -> RClass(S, x));;
gap> IsDuplicateFreeList(R);
true
gap> x := Difference(RClasses(D), R);;
gap> Length(x);
3

# MultiplicativeNeutralElement, One, for an H-class, 1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> H := HClass(S, S.4);;
gap> MultiplicativeNeutralElement(H);
fail
gap> OneImmutable(H);
<identity partial perm on [ 1234567 ]>
gap> H := HClass(S, PartialPerm([35], [35]));;
gap> MultiplicativeNeutralElement(H);
<identity partial perm on [ 35 ]>
gap> OneImmutable(H);
<identity partial perm on [ 35 ]>

# MultiplicativeNeutralElement, One, for an H-class, 2
gap> S := Semigroup([
> Transformation([11324]),
> Transformation([15525]),
> Transformation([41355])]);;
gap> H := HClass(S, S.1);;
gap> MultiplicativeNeutralElement(H);
fail
gap> OneImmutable(H);
IdentityTransformation
gap> H := HClass(S, Transformation([11]));;
gap> MultiplicativeNeutralElement(H);
Transformation( [ 11 ] )
gap> OneImmutable(H);
Transformation( [ 11 ] )

# StructureDescription, for an H-class, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> H := HClass(S, PartialPerm([35], [35]));;
gap> StructureDescription(H);
"C2"
gap> H := HClass(S, S.4);;
gap> StructureDescription(H);
fail

# DClassOfLClass, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> L := LClass(S, PartialPerm([17], [35]));;
gap> Size(L);
16
gap> D := DClass(L);;
gap> Size(D);
128
gap> DD := DClassOfLClass(L);;
gap> DD = D;
true
gap> DDD := DClass(S, Representative(L));;
gap> DDD = DD;
true

# DClassOfRClass, 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])]);;
gap> R := RClass(S, Transformation([445444]));;
gap> Size(R);
30
gap> D := DClass(R);;
gap> Size(D);
930
gap> DD := DClassOfRClass(R);;
gap> DD = D;
true
gap> DDD := DClass(S, Representative(R));;
gap> DDD = DD;
true

# DClassOfHClass, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> H := HClass(S, S.4);;
gap> Size(H);
1
gap> D := DClass(H);;
gap> Size(D);
1
gap> DD := DClassOfHClass(H);;
gap> DD = D;
true
gap> DDD := DClass(S, Representative(H));;
gap> DDD = DD;
true

# LClassOfHClass, 1/1
gap> S := Monoid(
> [Bipartition([[12345, -1], [6, -5], [-2, -3, -4], [-6]]),
>   Bipartition([[1235, -3, -4, -5], [46, -2], [-1, -6]]),
>   Bipartition([[12, -5, -6], [356, -1, -4], [4, -2, -3]]),
>   Bipartition([[13, -3], [256, -2], [4, -1, -4, -5], [-6]]),
>   Bipartition([[13, -1, -6], [26, -2], [4, -3, -5], [5], [-4]]),
>   Bipartition([[1, -3], [2345, -1, -4], [6, -2, -6], [-5]]),
>   Bipartition([[15, -5, -6], [23, -1, -2, -4], [46, -3]]),
>   Bipartition([[146, -1, -2, -4], [25, -5, -6], [3], [-3]]),
>   Bipartition([[15, -1, -3], [246], [3, -2, -6], [-4, -5]]),
>   Bipartition([[15, -2], [2, -1, -5], [34, -6], [6, -3], [-4]])]);;
gap> H := HClass(S, S.1 * S.5 * S.8);;
gap> Size(H);
1
gap> L := LClass(H);;
gap> Size(L);
26
gap> LL := LClassOfHClass(H);;
gap> LL = L;
true
gap> L3 := LClass(S, Representative(H));;
gap> L3 = LL;
true

# RClassOfHClass, 1/1
gap> S := ReesZeroMatrixSemigroup(SymmetricGroup(3), [
> [(), 0000000000000000000000],
> [0, (), 000000000000000000000],
> [00, (), 0, (13), 000000000000000000],
> [000, (), (13), 000000000000000000],
> [00, (13), (23), (), 00000000000000000,
>  0],
> [00000, (), 00000000000000000],
> [000000, (), (23), 000000000000000],
> [000000, (132), (), 00000000000000,
>  0],
> [00000000, (), 00000000000000],
> [000000000, (), (13), 000000000000],
> [0000000000, (), 000000000000],
> [00000000000, (), 0, (12), 000000000],
> [000000000000, (), 0000000000],
> [00000000000, (13), (), (), 000000000],
> [00000000000000, (), (12), 0000000],
> [000000000000000, (), 0000000],
> [0000000000000000, (), 000000],
> [00000000000000000, (), (123), (132),
>  000],
> [000000000000000000, (), 0000],
> [0000000000000000000, (), 000],
> [00000000000000000000, (), (13), 0],
> [000000000000000000000, (), 0],
> [0000000000000000000000, ()]]);;
gap> S := Semigroup(S);
<subsemigroup of 23x23 Rees 0-matrix semigroup with 46 generators>
gap> Size(S);
3175
gap> H := HClass(S, S.1);;
gap> Size(H);
6
gap> R := RClass(H);;
gap> Size(R);
138
gap> RR := RClassOfHClass(H);;
gap> RR = R;
true
gap> RRR := RClass(S, Representative(H));;
gap> RRR = RR;
true

# GreensDClassOfElement, fail, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])], rec(acting := false));;
gap> GreensDClassOfElement(S, PartialPerm([19]));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)

# GreensDClassOfElementNC, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])], rec(acting := false));;
gap> D := GreensDClassOfElementNC(S, PartialPerm([19]));;
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)

# GreensJClassOfElement, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])], rec(acting := false));;
gap> J := GreensJClassOfElement(S, S.2);
<Green's D-class: [6,4,7,1,2,5](3)>

# GreensL/RClassOfElement, fail, 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])], rec(acting := false));;
gap> RClass(S, ConstantTransformation(77));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)
gap> LClass(S, ConstantTransformation(77));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)
gap> HClass(S, ConstantTransformation(77));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)

# GreensL/RClassOfElementNC, 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])], rec(acting := false));;
gap> R := RClassNC(S, S.1);
<Green's R-class: Transformation( [ 221244 ] )>
gap> Size(R);
120
gap> L := LClassNC(S, S.1);
<Green's L-class: Transformation( [ 221244 ] )>
gap> Size(L);
396
gap> H := HClassNC(S, S.1);
<Green's H-class: Transformation( [ 221244 ] )>
gap> Size(H);
6

# GreensL/RClassOfElement, for a D-class, 1/1
gap> S := Monoid(
> [Bipartition([[12345, -1], [6, -5], [-2, -3, -4], [-6]]),
>   Bipartition([[1235, -3, -4, -5], [46, -2], [-1, -6]]),
>   Bipartition([[12, -5, -6], [356, -1, -4], [4, -2, -3]]),
>   Bipartition([[13, -3], [256, -2], [4, -1, -4, -5], [-6]]),
>   Bipartition([[13, -1, -6], [26, -2], [4, -3, -5], [5], [-4]]),
>   Bipartition([[1, -3], [2345, -1, -4], [6, -2, -6], [-5]]),
>   Bipartition([[15, -5, -6], [23, -1, -2, -4], [46, -3]]),
>   Bipartition([[146, -1, -2, -4], [25, -5, -6], [3], [-3]]),
>   Bipartition([[15, -1, -3], [246], [3, -2, -6], [-4, -5]]),
>   Bipartition([[15, -2], [2, -1, -5], [34, -6], [6, -3], [-4]])],
> rec(acting := false));;
gap> D := DClass(S, S.4 * S.5);;
gap> Size(D);
12
gap> x := Bipartition([[134, -2], [256, -1, -6],
> [-3, -5], [-4]]);;
gap> R := RClass(D, x);;
gap> Size(R);
12
gap> L := LClass(D, x);;
gap> Size(L);
1
gap> LClass(D, IdentityBipartition(8));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)
gap> RClass(D, IdentityBipartition(8));
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)
gap> x := Bipartition([[14, -1, -2, -6], [235, -4],
> [6, -3], [-5]]);;
gap> LClassNC(D, x);
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)
gap> RClassNC(D, x);
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)

# GreensHClassOfElement, 1/1
gap> S := ReesZeroMatrixSemigroup(SymmetricGroup(3), [
> [(), 0000000000000000000000],
> [0, (), 000000000000000000000],
> [00, (), 0, (13), 000000000000000000],
> [000, (), (13), 000000000000000000],
> [00, (13), (23), (), 00000000000000000,
>  0],
> [00000, (), 00000000000000000],
> [000000, (), (23), 000000000000000],
> [000000, (132), (), 00000000000000,
>  0],
> [00000000, (), 00000000000000],
> [000000000, (), (13), 000000000000],
> [0000000000, (), 000000000000],
> [00000000000, (), 0, (12), 000000000],
> [000000000000, (), 0000000000],
> [00000000000, (13), (), (), 000000000],
> [00000000000000, (), (12), 0000000],
> [000000000000000, (), 0000000],
> [0000000000000000, (), 000000],
> [00000000000000000, (), (123), (132),
>  000],
> [000000000000000000, (), 0000],
> [0000000000000000000, (), 000],
> [00000000000000000000, (), (13), 0],
> [000000000000000000000, (), 0],
> [0000000000000000000000, ()]]);;
gap> S := Semigroup(S, rec(acting := false));;
gap> D := DClass(S, S.4 * S.5);;
gap> H := HClass(D, MultiplicativeZero(S));
<Green's H-class: 0>
gap> H := HClassNC(D, MultiplicativeZero(S));
<Green's H-class: 0>
gap> H := HClass(D, IdentityTransformation);
Error, the 2nd argument (a mult. elt.) does not belong to the source of the 1s\
t argument (a Green's relation)

# GreensHClassOfElement(L/R-class, x), 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])], rec(acting := false));;
gap> R := RClass(S, S.3 * S.1 * S.8);;
gap> Size(R);
30
gap> Size(HClass(R, S.3 * S.1 * S.8));
2
gap> L := LClass(S, S.3 * S.1 * S.8);;
gap> Size(L);
62
gap> Size(HClass(L, S.3 * S.1 * S.8));
2

# \in, for D-class, 1/4
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> D := DClass(S, S.1);;
gap> ForAll(D, x -> x in D);
true
gap> Size(D);
1
gap> Number(S, x -> x in D);
1

# \in, for D-class, 2/4
gap> S := OrderEndomorphisms(5);;
gap> x := Transformation([12245]);;
gap> D := DClass(S, x);;
gap> x in D;
true
gap> Transformation([12145]) in D;
false

# \in, for D-class, 3/4
gap> S := ReesZeroMatrixSemigroup(Group([(12)]), [[000, ()], [
> (), 000], [(), (), 00], [0, (), (), 0], [00, (), ()]]);;
gap> S := Semigroup(S);;
gap> D := DClass(S, S.1);;
gap> Size(S);
41
gap> Size(D) = Size(S) - 1;
true
gap> ForAll(D, x -> x in D);
true

# \in, for D-class, 4/4
gap> x := Transformation([234155]);;
gap> S := Semigroup(x);
<commutative transformation semigroup of degree 6 with 1 generator>
gap> y := Transformation([213455]);;
gap> D := DClass(S, x);;
gap> y in D;
false

# \in, for L-class, 1/5
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> L := LClass(S, S.1);;
gap> ForAll(L, x -> x in L);
true
gap> Size(L);
1
gap> Number(S, x -> x in L);
1

# \in, for L-class, 2/5
gap> S := OrderEndomorphisms(5);;
gap> x := Transformation([12245]);;
gap> L := LClass(S, x);;
gap> x in L;
true
gap> Transformation([12145]) in L;
false

# \in, for L-class, 3/5
gap> S := ReesZeroMatrixSemigroup(Group([(12)]),
> [[000, ()],
>  [(), 000],
>  [(), (), 00],
>  [0, (), (), 0],
>  [00, (), ()]]);;
gap> S := Semigroup(S);;
gap> L := LClass(S, S.1);;
gap> Size(S);
41
gap> ForAll(L, x -> x in L);
true

# \in, for L-class, 4/5
gap> x := Transformation([234155]);;
gap> S := Semigroup(x);
<commutative transformation semigroup of degree 6 with 1 generator>
gap> y := Transformation([213455]);;
gap> L := LClass(S, x);;
gap> y in L;
false

# \in, for L-class, 5/5
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> y := Transformation([114355]);;
gap> L := LClass(S, x);;
gap> y in L;
false

# \in, for R-class, 1/6
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> R := LClass(S, S.1);;
gap> ForAll(R, x -> x in R);
true
gap> Size(R);
1
gap> Number(S, x -> x in R);
1

# \in, for R-class, 2/6
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> y := Transformation([114355]);;
gap> R := RClass(S, x);;
gap> y in R;
false

# \in, for R-class, 3/6
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> y := Transformation([113355]);;
gap> R := RClass(S, x);;
gap> y in R;
false

# \in, for R-class, 4/6
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> y := Transformation([112355]);;
gap> R := RClass(S, x);;
gap> y in R;
false

# \in, for R-class, 5/6
gap> S := OrderEndomorphisms(5);;
gap> x := Transformation([12245]);;
gap> R := RClass(S, x);;
gap> x in R;
true
gap> Transformation([12145]) in R;
false

# \in, for R-class, 6/6
gap> x := Transformation([234155]);;
gap> S := Semigroup(x);
<commutative transformation semigroup of degree 6 with 1 generator>
gap> y := Transformation([213455]);;
gap> R := RClass(S, x);;
gap> y in R;
false

# \in, for H-class, 1/3
gap> x := Transformation([234155]);;
gap> S := Semigroup(x);
<commutative transformation semigroup of degree 6 with 1 generator>
gap> y := Transformation([213455]);;
gap> H := HClass(S, x);;
gap> y in H;
false

# \in, for H-class, 2/3
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> y := Transformation([112355]);;
gap> H := HClass(S, x);;
gap> y in H;
false

# \in, for H-class, 3/3
gap> x := Transformation([113455]);;
gap> S := Semigroup(x);;
gap> H := HClass(S, x);;
gap> ForAll(H, x -> x in H);
true

# \in, for D-class reps/D-classes, 1/1
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])], rec(acting := false));;
gap> DClassReps(S);
[ <empty partial perm>, [3,1], [6,1], [6,5](1), [3,7](1), [1,3,5][6,7], 
  [6,7](5), <identity partial perm on [ 6 ]>, [2,7][6,5], [6,7](2), 
  [1,3][6,4], [2,5][6,4], [2,7](6), [1,3,2][6,4], (1,3)(6), [4,3,1], 
  [4,1][6,5], [4,5][6,2](3), [4,2][6,1](3), [4,1][6,7](3), [4,3,1][6,5], 
  [4,2][6,3,5], [4,1][6,3,2], [4,7][6,3,1], [4,5][6,1](3), [1,5][4,3][6,2], 
  [4,3][6,1,2], [4,3][6,7](1), [4,1,3][6,5], [4,5][6,2](1), [4,7][6,5], 
  [1,5][4,2][6,7](3), [1,5][4,3][6,7], [6,4,3], [4,5][6,7], [4,2][6,7], 
  [6,4,5], [4,1](6), [1,2][4,5][6,3], [4,2][6,3](1), [4,1,7][6,3], 
  [4,3][6,1,5], [1,2][4,3][6,7], [6,4,3](1), [1,7][4,3](6), [6,4,1,2](3), 
  [1,3][4,5][6,2], [4,2][6,1,3], [4,7][6,5](1), [1,3][6,4,5], [1,3][4,2](6), 
  [4,7](1)(3)(6), [1,3][6,2](5), [5,2][6,1,3], [5,1,3][6,7], [6,5,3](1), 
  [1,5,2][6,3], [5,1,2][6,3], [5,7][6,3](1), [6,1,3](5), [6,2](3,5), 
  [5,3,2][6,1], [5,3,1][6,7], [6,5,1](3), [3,1][6,2](5), [1,3,5,2][6,7], 
  [6,7](3,5), [6,3,2](5), [5,2][6,3,1], [5,1][6,3,7], [6,1](3,5), 
  [5,3,2][6,7], [5,3,1][6,4], [5,3,7](6), [5,1,3,2][6,4], [4,5][6,7](3), 
  [6,4,2](3), [4,3,5][6,7], [6,4,3,2], [4,3,1](6), [6,2](3)(5), 
  [5,2][6,1](3), [3,1][6,5,7], [4,7][5,3], [4,2][6,5,3], [4,1][5,3][6,2], 
  [4,5,1][6,7], [6,4,2](3)(5), [4,5,3][6,2], [4,2][5,3][6,1], [4,1][5,3][6,7],
  [4,3][6,5,1], [4,1][6,2](5), [4,5,2][6,7], [4,5,3][6,7], [4,2][6,3](5), 
  [4,1][5,2][6,3], [4,7][5,1][6,3], [4,5,3][6,1], [4,2][5,3][6,7], 
  [5,3][6,4,1], [4,7][5,3](6), [5,1][6,4,2], [4,3][6,2](5), [4,3][5,2][6,1], 
  [4,1][6,5,7], [6,4,3](5), [4,3][5,2](6), [4,1][5,7](6), [4,3](5)(6), 
  [4,1][5,2](3)(6), [4,5,7](1,3)(6), [6,2][7,5](3), [6,1][7,2](3), 
  [6,7,1](3), [2,3][7,1], [7,3,5](2), [7,3,2,1], [6,2,5](3), [6,1](2)(3), 
  [2,7,3,1][6,5], [1,2][4,3,5], [4,3,2](1), [4,3,1,7], [6,3,5][7,2], 
  [6,3,2][7,1], [6,3,1](7), [4,3][7,1], [4,2][6,5][7,3], [4,1][6,2][7,3], 
  [4,7,3][6,1], [4,5][6,3][7,1], [4,2][6,1][7,5](3), [1,3][4,5][7,2], 
  [4,2][7,1,3], [4,1,3](7), [1,2][4,3][6,5], [1,5][6,2][7,3], [6,1,2][7,3], 
  [6,7,3](1), [6,5][7,1,3], [4,3][6,2][7,5](1), [4,3][6,5](7), 
  [4,1,5][6,7,2](3), [1,2,3][7,5], [7,2,3](1), [2,3](1,7), [4,2][6,3][7,5], 
  [4,1][6,3][7,2], [4,7,1][6,3], [6,2,5][7,3], [4,3][6,5](2), [4,3][6,2,1], 
  [2,7][4,3][6,1], [2,5][4,1][6,3], [4,5][6,1][7,3](2), [1,3][4,2,5], 
  [4,1,3](2), [2,1,3][4,7], [1,2,3][6,5], [4,5][6,2,3](1), [2,3][4,7][6,5], 
  [4,2,1,5][6,7,3], [4,3][6,2][7,5], [4,3][6,1][7,2], [4,3][6,7,1], 
  [4,1][6,5][7,3], [4,5][6,2][7,1], [4,2][6,7,5], [4,3][6,7,5], 
  [4,5][6,3][7,2], [4,2][6,3][7,1], [4,1][6,3](7), [4,3][6,1][7,5], 
  [4,3][6,7,2], [6,4,3][7,1], [4,3](6)(7), [6,4,1][7,2], [4,5][6,2][7,3], 
  [4,2][6,1][7,3], [4,7,1][6,5], [6,4,5][7,3], [4,2][7,3](6), [4,7,1](6), 
  [1,2][6,3][7,5], [6,3][7,2](1), [6,3](1,7), [6,1,5][7,3], [1,2][6,7,3], 
  [6,4][7,3](1), [1,3][4,2][6,5], [4,1,3][6,2], [4,5][6,7](1), [1,5][6,4,2], 
  [4,1,3][6,7], [4,3][6,5](1), [4,1,5][6,2], [1,2][4,5][6,7], [1,3][4,5][6,7],
  [1,5][4,2][6,3], [4,1,2][6,3], [4,7][6,3](1), [4,5][6,1,3], [1,3][4,2][6,7],
  [6,4,1,3], [1,3][4,7](6), [6,4,2](1), [4,1,7][6,5], [1,5][6,4,3], 
  [1,2][4,3](6), [4,1,7](6), [1,5][4,3](6), [4,1,2](6), [1,7,3][4,5](6), 
  [6,4,7,1,2,5](3), [1,5,3][6,7], [1,2][5,3][6,4], [1,3][6,7](5), 
  [1,3][5,2][6,4], [5,1,3](6), [6,2,5,3], [5,3][6,1](2), [2,1][5,3][6,7], 
  [2,3][6,5,1], [6,3](2)(5), [5,2,1][6,3], [2,7][5,1][6,3], [2,5,3][6,1], 
  [1,5][6,2,3], [6,1,2,3], [2,3][6,7](1), [2,1,3][6,5], [6,2,5](1), 
  [1,5,3][6,7](2), [1,5][2,3][6,7], [1,2,5][6,3], [6,3](1)(2), [2,1,7][6,3], 
  [2,3][6,1,5], [1,2,3][6,7], [2,3][6,4](1), [1,7][2,3](6), [5,3][6,4](1,2), 
  [1,3][6,2,5], [6,1,3](2), [2,7][6,5](1), [1,3][2,5][6,4], [1,3](2)(6), 
  [2,7][5,3](1)(6), [1,5][4,3][7,2], [4,3][7,1,2], [1,3][6,2][7,5], 
  [6,1,3][7,2], [4,3][6,5](1)(7), [4,3][5,1][6,7], [4,1][6,5,3], 
  [4,5,1][6,2], [1,3][4,2][6,7](5), [5,3][7,1], [4,5,2][7,3], [4,2][5,1][7,3],
  [4,1][5,7,3], [6,5,2][7,3], [5,1][6,2][7,3], [4,3][6,7,1](5), [4,5,2][6,3], 
  [4,2][5,1][6,3], [4,1][5,7][6,3], [4,3][6,1](5), [4,3][5,2][6,7], 
  [5,1][6,4,3], [4,3][5,7](6), [6,4,1,3][7,5,2], [2,3][6,7](5), [5,2,3][6,4], 
  [2,5,3][6,7], [5,3][6,4](2), [2,1][5,3](6), [6,2,3][7,5], [6,1][7,2,3], 
  [2,3][6,7,1], [2,1][6,5][7,3], [6,3][7,2,5], [6,3][7,1](2), [2,1][6,3](7), 
  [2,3][6,1][7,5], [6,2][7,3](5), [5,2][6,1][7,3], [5,1][6,7,3], 
  [6,5,3][7,1], [6,2][7,5,1], [6,7,2,3](5), [6,7,3](5), [6,3][7,5,2], 
  [5,1][6,3][7,2], [5,7,1][6,3], [6,1][7,3](5), [5,2][6,7,3], [5,1][6,4][7,3],
  [5,7,3](6), [5,2,3][6,4][7,1], [6,2][7,5,3], [5,3][6,1][7,2], [6,5,1](7), 
  [6,4][7,5,3], [5,3][7,2](6), [2,3][5,1](6)(7), [4,7][6,5,1], 
  [2,5][4,1][6,7], [6,4,5,3](2), [2,5][6,7,3], [6,4][7,3](2), [2,3][6,7,5], 
  [6,4][7,2,3], [2,3][7,1](6), [4,1][6,7,3], [4,3][6,5][7,1], [4,5][6,1][7,3],
  [4,3][6,2,5], [4,3][6,1](2), [2,1][4,3][6,7], [2,3][4,1][6,5], 
  [4,5][6,2,1], [4,2,5][6,7,3], [2,5][4,3][6,7], [4,5][6,3](2), [4,2,1][6,3], 
  [2,7][4,1][6,3], [2,5][4,3][6,1], [4,3][6,7](2), [2,1][6,4,3], 
  [2,7][4,3](6), [6,4,1][7,3](2), [4,5][6,2,3], [4,2,3][6,1], [2,1][4,7][6,5],
  [2,3][6,4,5], [4,2,3](6), [2,1][4,7,3](6), [6,4,3][7,2], [4,5][6,7,3], 
  [6,4,2][7,3], [4,1][7,3](6), [2,3][4,5][7,1](6), [4,2,1][7,5,3](6), 
  [4,5,3](7), [4,7,2,5,1,3](6), [1,5][4,2][7,3], [4,1,2][7,3], [4,7,3](1), 
  [4,5][7,1,3], [4,2][7,5](1), [4,5](7), [1,5][4,7,2], [1,5][4,7,3], 
  [7,3](4), [4,7,5], [4,7,2], [7,5](4), [4,6][7,1], [1,2][4,3][7,5], 
  [4,3][7,2](1), [4,3](1,7), [4,1,5][7,3], [1,2][4,7,3], [7,3](1)(4), 
  [1,7,3][4,6], [7,1,2](4), [1,3][4,2][7,5], [4,1,3][7,2], [4,5](1)(7), 
  [1,3][7,5](4), [1,3][4,6][7,2], [4,6](1)(7), [2,3][4,5](1), [1,5][4,3](2), 
  [4,3](1,2), [2,7][4,3](1), [2,5][4,1,3], [1,3][4,7](2), [2,1,3](4), 
  [4,5][7,2,3], [4,2,3][7,1], [2,1][4,7,5], [7,2,5](4), [4,2,3][7,5], 
  [4,1][7,2,3], [2,3][4,7,1], [2,1][4,5][7,3], [4,2,5][7,1], [4,7,5](2), 
  [2,3][4,7,5], [4,3][7,2,5], [4,3][7,1](2), [2,1][4,3](7), [2,3][4,1][7,5], 
  [4,7,2,3], [2,3][7,1](4), [2,3][4,6](7), [7,2,1](4), [4,2,5][7,3], 
  [4,1][7,3](2), [2,7,1][4,5], [2,5][7,3](4), [4,6][7,3](2), [2,7,1][4,6], 
  [2,5][4,6][7,3], [4,6][7,1](2), [1,3][2,7,5][4,6] ]
gap> DClasses(S);
[ <Green's D-class: <empty partial perm>>, <Green's D-class: [3,1]>, 
  <Green's D-class: [6,1]>, <Green's D-class: [6,5](1)>, 
  <Green's D-class: [3,7](1)>, <Green's D-class: [1,3,5][6,7]>, 
  <Green's D-class: [6,7](5)>, 
  <Green's D-class: <identity partial perm on [ 6 ]>>, 
  <Green's D-class: [2,7][6,5]>, <Green's D-class: [6,7](2)>, 
  <Green's D-class: [1,3][6,4]>, <Green's D-class: [2,5][6,4]>, 
  <Green's D-class: [2,7](6)>, <Green's D-class: [1,3,2][6,4]>, 
  <Green's D-class: (1,3)(6)>, <Green's D-class: [4,3,1]>, 
  <Green's D-class: [4,1][6,5]>, <Green's D-class: [4,5][6,2](3)>, 
  <Green's D-class: [4,2][6,1](3)>, <Green's D-class: [4,1][6,7](3)>, 
  <Green's D-class: [4,3,1][6,5]>, <Green's D-class: [4,2][6,3,5]>, 
  <Green's D-class: [4,1][6,3,2]>, <Green's D-class: [4,7][6,3,1]>, 
  <Green's D-class: [4,5][6,1](3)>, <Green's D-class: [1,5][4,3][6,2]>, 
  <Green's D-class: [4,3][6,1,2]>, <Green's D-class: [4,3][6,7](1)>, 
  <Green's D-class: [4,1,3][6,5]>, <Green's D-class: [4,5][6,2](1)>, 
  <Green's D-class: [4,7][6,5]>, <Green's D-class: [1,5][4,2][6,7](3)>, 
  <Green's D-class: [1,5][4,3][6,7]>, <Green's D-class: [6,4,3]>, 
  <Green's D-class: [4,5][6,7]>, <Green's D-class: [4,2][6,7]>, 
  <Green's D-class: [6,4,5]>, <Green's D-class: [4,1](6)>, 
  <Green's D-class: [1,2][4,5][6,3]>, <Green's D-class: [4,2][6,3](1)>, 
  <Green's D-class: [4,1,7][6,3]>, <Green's D-class: [4,3][6,1,5]>, 
  <Green's D-class: [1,2][4,3][6,7]>, <Green's D-class: [6,4,3](1)>, 
  <Green's D-class: [1,7][4,3](6)>, <Green's D-class: [6,4,1,2](3)>, 
  <Green's D-class: [1,3][4,5][6,2]>, <Green's D-class: [4,2][6,1,3]>, 
  <Green's D-class: [4,7][6,5](1)>, <Green's D-class: [1,3][6,4,5]>, 
  <Green's D-class: [1,3][4,2](6)>, <Green's D-class: [4,7](1)(3)(6)>, 
  <Green's D-class: [1,3][6,2](5)>, <Green's D-class: [5,2][6,1,3]>, 
  <Green's D-class: [5,1,3][6,7]>, <Green's D-class: [6,5,3](1)>, 
  <Green's D-class: [1,5,2][6,3]>, <Green's D-class: [5,1,2][6,3]>, 
  <Green's D-class: [5,7][6,3](1)>, <Green's D-class: [6,1,3](5)>, 
  <Green's D-class: [6,2](3,5)>, <Green's D-class: [5,3,2][6,1]>, 
  <Green's D-class: [5,3,1][6,7]>, <Green's D-class: [6,5,1](3)>, 
  <Green's D-class: [3,1][6,2](5)>, <Green's D-class: [1,3,5,2][6,7]>, 
  <Green's D-class: [6,7](3,5)>, <Green's D-class: [6,3,2](5)>, 
  <Green's D-class: [5,2][6,3,1]>, <Green's D-class: [5,1][6,3,7]>, 
  <Green's D-class: [6,1](3,5)>, <Green's D-class: [5,3,2][6,7]>, 
  <Green's D-class: [5,3,1][6,4]>, <Green's D-class: [5,3,7](6)>, 
  <Green's D-class: [5,1,3,2][6,4]>, <Green's D-class: [4,5][6,7](3)>, 
  <Green's D-class: [6,4,2](3)>, <Green's D-class: [4,3,5][6,7]>, 
  <Green's D-class: [6,4,3,2]>, <Green's D-class: [4,3,1](6)>, 
  <Green's D-class: [6,2](3)(5)>, <Green's D-class: [5,2][6,1](3)>, 
  <Green's D-class: [3,1][6,5,7]>, <Green's D-class: [4,7][5,3]>, 
  <Green's D-class: [4,2][6,5,3]>, <Green's D-class: [4,1][5,3][6,2]>, 
  <Green's D-class: [4,5,1][6,7]>, <Green's D-class: [6,4,2](3)(5)>, 
  <Green's D-class: [4,5,3][6,2]>, <Green's D-class: [4,2][5,3][6,1]>, 
  <Green's D-class: [4,1][5,3][6,7]>, <Green's D-class: [4,3][6,5,1]>, 
  <Green's D-class: [4,1][6,2](5)>, <Green's D-class: [4,5,2][6,7]>, 
  <Green's D-class: [4,5,3][6,7]>, <Green's D-class: [4,2][6,3](5)>, 
  <Green's D-class: [4,1][5,2][6,3]>, <Green's D-class: [4,7][5,1][6,3]>, 
  <Green's D-class: [4,5,3][6,1]>, <Green's D-class: [4,2][5,3][6,7]>, 
  <Green's D-class: [5,3][6,4,1]>, <Green's D-class: [4,7][5,3](6)>, 
  <Green's D-class: [5,1][6,4,2]>, <Green's D-class: [4,3][6,2](5)>, 
  <Green's D-class: [4,3][5,2][6,1]>, <Green's D-class: [4,1][6,5,7]>, 
  <Green's D-class: [6,4,3](5)>, <Green's D-class: [4,3][5,2](6)>, 
  <Green's D-class: [4,1][5,7](6)>, <Green's D-class: [4,3](5)(6)>, 
  <Green's D-class: [4,1][5,2](3)(6)>, <Green's D-class: [4,5,7](1,3)(6)>, 
  <Green's D-class: [6,2][7,5](3)>, <Green's D-class: [6,1][7,2](3)>, 
  <Green's D-class: [6,7,1](3)>, <Green's D-class: [2,3][7,1]>, 
  <Green's D-class: [7,3,5](2)>, <Green's D-class: [7,3,2,1]>, 
  <Green's D-class: [6,2,5](3)>, <Green's D-class: [6,1](2)(3)>, 
  <Green's D-class: [2,7,3,1][6,5]>, <Green's D-class: [1,2][4,3,5]>, 
  <Green's D-class: [4,3,2](1)>, <Green's D-class: [4,3,1,7]>, 
  <Green's D-class: [6,3,5][7,2]>, <Green's D-class: [6,3,2][7,1]>, 
  <Green's D-class: [6,3,1](7)>, <Green's D-class: [4,3][7,1]>, 
  <Green's D-class: [4,2][6,5][7,3]>, <Green's D-class: [4,1][6,2][7,3]>, 
  <Green's D-class: [4,7,3][6,1]>, <Green's D-class: [4,5][6,3][7,1]>, 
  <Green's D-class: [4,2][6,1][7,5](3)>, <Green's D-class: [1,3][4,5][7,2]>, 
  <Green's D-class: [4,2][7,1,3]>, <Green's D-class: [4,1,3](7)>, 
  <Green's D-class: [1,2][4,3][6,5]>, <Green's D-class: [1,5][6,2][7,3]>, 
  <Green's D-class: [6,1,2][7,3]>, <Green's D-class: [6,7,3](1)>, 
  <Green's D-class: [6,5][7,1,3]>, <Green's D-class: [4,3][6,2][7,5](1)>, 
  <Green's D-class: [4,3][6,5](7)>, <Green's D-class: [4,1,5][6,7,2](3)>, 
  <Green's D-class: [1,2,3][7,5]>, <Green's D-class: [7,2,3](1)>, 
  <Green's D-class: [2,3](1,7)>, <Green's D-class: [4,2][6,3][7,5]>, 
  <Green's D-class: [4,1][6,3][7,2]>, <Green's D-class: [4,7,1][6,3]>, 
  <Green's D-class: [6,2,5][7,3]>, <Green's D-class: [4,3][6,5](2)>, 
  <Green's D-class: [4,3][6,2,1]>, <Green's D-class: [2,7][4,3][6,1]>, 
  <Green's D-class: [2,5][4,1][6,3]>, <Green's D-class: [4,5][6,1][7,3](2)>, 
  <Green's D-class: [1,3][4,2,5]>, <Green's D-class: [4,1,3](2)>, 
  <Green's D-class: [2,1,3][4,7]>, <Green's D-class: [1,2,3][6,5]>, 
  <Green's D-class: [4,5][6,2,3](1)>, <Green's D-class: [2,3][4,7][6,5]>, 
  <Green's D-class: [4,2,1,5][6,7,3]>, <Green's D-class: [4,3][6,2][7,5]>, 
  <Green's D-class: [4,3][6,1][7,2]>, <Green's D-class: [4,3][6,7,1]>, 
  <Green's D-class: [4,1][6,5][7,3]>, <Green's D-class: [4,5][6,2][7,1]>, 
  <Green's D-class: [4,2][6,7,5]>, <Green's D-class: [4,3][6,7,5]>, 
  <Green's D-class: [4,5][6,3][7,2]>, <Green's D-class: [4,2][6,3][7,1]>, 
  <Green's D-class: [4,1][6,3](7)>, <Green's D-class: [4,3][6,1][7,5]>, 
  <Green's D-class: [4,3][6,7,2]>, <Green's D-class: [6,4,3][7,1]>, 
  <Green's D-class: [4,3](6)(7)>, <Green's D-class: [6,4,1][7,2]>, 
  <Green's D-class: [4,5][6,2][7,3]>, <Green's D-class: [4,2][6,1][7,3]>, 
  <Green's D-class: [4,7,1][6,5]>, <Green's D-class: [6,4,5][7,3]>, 
  <Green's D-class: [4,2][7,3](6)>, <Green's D-class: [4,7,1](6)>, 
  <Green's D-class: [1,2][6,3][7,5]>, <Green's D-class: [6,3][7,2](1)>, 
  <Green's D-class: [6,3](1,7)>, <Green's D-class: [6,1,5][7,3]>, 
  <Green's D-class: [1,2][6,7,3]>, <Green's D-class: [6,4][7,3](1)>, 
  <Green's D-class: [1,3][4,2][6,5]>, <Green's D-class: [4,1,3][6,2]>, 
  <Green's D-class: [4,5][6,7](1)>, <Green's D-class: [1,5][6,4,2]>, 
  <Green's D-class: [4,1,3][6,7]>, <Green's D-class: [4,3][6,5](1)>, 
  <Green's D-class: [4,1,5][6,2]>, <Green's D-class: [1,2][4,5][6,7]>, 
  <Green's D-class: [1,3][4,5][6,7]>, <Green's D-class: [1,5][4,2][6,3]>, 
  <Green's D-class: [4,1,2][6,3]>, <Green's D-class: [4,7][6,3](1)>, 
  <Green's D-class: [4,5][6,1,3]>, <Green's D-class: [1,3][4,2][6,7]>, 
  <Green's D-class: [6,4,1,3]>, <Green's D-class: [1,3][4,7](6)>, 
  <Green's D-class: [6,4,2](1)>, <Green's D-class: [4,1,7][6,5]>, 
  <Green's D-class: [1,5][6,4,3]>, <Green's D-class: [1,2][4,3](6)>, 
  <Green's D-class: [4,1,7](6)>, <Green's D-class: [1,5][4,3](6)>, 
  <Green's D-class: [4,1,2](6)>, <Green's D-class: [1,7,3][4,5](6)>, 
  <Green's D-class: [6,4,7,1,2,5](3)>, <Green's D-class: [1,5,3][6,7]>, 
  <Green's D-class: [1,2][5,3][6,4]>, <Green's D-class: [1,3][6,7](5)>, 
  <Green's D-class: [1,3][5,2][6,4]>, <Green's D-class: [5,1,3](6)>, 
  <Green's D-class: [6,2,5,3]>, <Green's D-class: [5,3][6,1](2)>, 
  <Green's D-class: [2,1][5,3][6,7]>, <Green's D-class: [2,3][6,5,1]>, 
  <Green's D-class: [6,3](2)(5)>, <Green's D-class: [5,2,1][6,3]>, 
  <Green's D-class: [2,7][5,1][6,3]>, <Green's D-class: [2,5,3][6,1]>, 
  <Green's D-class: [1,5][6,2,3]>, <Green's D-class: [6,1,2,3]>, 
  <Green's D-class: [2,3][6,7](1)>, <Green's D-class: [2,1,3][6,5]>, 
  <Green's D-class: [6,2,5](1)>, <Green's D-class: [1,5,3][6,7](2)>, 
  <Green's D-class: [1,5][2,3][6,7]>, <Green's D-class: [1,2,5][6,3]>, 
  <Green's D-class: [6,3](1)(2)>, <Green's D-class: [2,1,7][6,3]>, 
  <Green's D-class: [2,3][6,1,5]>, <Green's D-class: [1,2,3][6,7]>, 
  <Green's D-class: [2,3][6,4](1)>, <Green's D-class: [1,7][2,3](6)>, 
  <Green's D-class: [5,3][6,4](1,2)>, <Green's D-class: [1,3][6,2,5]>, 
  <Green's D-class: [6,1,3](2)>, <Green's D-class: [2,7][6,5](1)>, 
  <Green's D-class: [1,3][2,5][6,4]>, <Green's D-class: [1,3](2)(6)>, 
  <Green's D-class: [2,7][5,3](1)(6)>, <Green's D-class: [1,5][4,3][7,2]>, 
  <Green's D-class: [4,3][7,1,2]>, <Green's D-class: [1,3][6,2][7,5]>, 
  <Green's D-class: [6,1,3][7,2]>, <Green's D-class: [4,3][6,5](1)(7)>, 
  <Green's D-class: [4,3][5,1][6,7]>, <Green's D-class: [4,1][6,5,3]>, 
  <Green's D-class: [4,5,1][6,2]>, <Green's D-class: [1,3][4,2][6,7](5)>, 
  <Green's D-class: [5,3][7,1]>, <Green's D-class: [4,5,2][7,3]>, 
  <Green's D-class: [4,2][5,1][7,3]>, <Green's D-class: [4,1][5,7,3]>, 
  <Green's D-class: [6,5,2][7,3]>, <Green's D-class: [5,1][6,2][7,3]>, 
  <Green's D-class: [4,3][6,7,1](5)>, <Green's D-class: [4,5,2][6,3]>, 
  <Green's D-class: [4,2][5,1][6,3]>, <Green's D-class: [4,1][5,7][6,3]>, 
  <Green's D-class: [4,3][6,1](5)>, <Green's D-class: [4,3][5,2][6,7]>, 
  <Green's D-class: [5,1][6,4,3]>, <Green's D-class: [4,3][5,7](6)>, 
  <Green's D-class: [6,4,1,3][7,5,2]>, <Green's D-class: [2,3][6,7](5)>, 
  <Green's D-class: [5,2,3][6,4]>, <Green's D-class: [2,5,3][6,7]>, 
  <Green's D-class: [5,3][6,4](2)>, <Green's D-class: [2,1][5,3](6)>, 
  <Green's D-class: [6,2,3][7,5]>, <Green's D-class: [6,1][7,2,3]>, 
  <Green's D-class: [2,3][6,7,1]>, <Green's D-class: [2,1][6,5][7,3]>, 
  <Green's D-class: [6,3][7,2,5]>, <Green's D-class: [6,3][7,1](2)>, 
  <Green's D-class: [2,1][6,3](7)>, <Green's D-class: [2,3][6,1][7,5]>, 
  <Green's D-class: [6,2][7,3](5)>, <Green's D-class: [5,2][6,1][7,3]>, 
  <Green's D-class: [5,1][6,7,3]>, <Green's D-class: [6,5,3][7,1]>, 
  <Green's D-class: [6,2][7,5,1]>, <Green's D-class: [6,7,2,3](5)>, 
  <Green's D-class: [6,7,3](5)>, <Green's D-class: [6,3][7,5,2]>, 
  <Green's D-class: [5,1][6,3][7,2]>, <Green's D-class: [5,7,1][6,3]>, 
  <Green's D-class: [6,1][7,3](5)>, <Green's D-class: [5,2][6,7,3]>, 
  <Green's D-class: [5,1][6,4][7,3]>, <Green's D-class: [5,7,3](6)>, 
  <Green's D-class: [5,2,3][6,4][7,1]>, <Green's D-class: [6,2][7,5,3]>, 
  <Green's D-class: [5,3][6,1][7,2]>, <Green's D-class: [6,5,1](7)>, 
  <Green's D-class: [6,4][7,5,3]>, <Green's D-class: [5,3][7,2](6)>, 
  <Green's D-class: [2,3][5,1](6)(7)>, <Green's D-class: [4,7][6,5,1]>, 
  <Green's D-class: [2,5][4,1][6,7]>, <Green's D-class: [6,4,5,3](2)>, 
  <Green's D-class: [2,5][6,7,3]>, <Green's D-class: [6,4][7,3](2)>, 
  <Green's D-class: [2,3][6,7,5]>, <Green's D-class: [6,4][7,2,3]>, 
  <Green's D-class: [2,3][7,1](6)>, <Green's D-class: [4,1][6,7,3]>, 
  <Green's D-class: [4,3][6,5][7,1]>, <Green's D-class: [4,5][6,1][7,3]>, 
  <Green's D-class: [4,3][6,2,5]>, <Green's D-class: [4,3][6,1](2)>, 
  <Green's D-class: [2,1][4,3][6,7]>, <Green's D-class: [2,3][4,1][6,5]>, 
  <Green's D-class: [4,5][6,2,1]>, <Green's D-class: [4,2,5][6,7,3]>, 
  <Green's D-class: [2,5][4,3][6,7]>, <Green's D-class: [4,5][6,3](2)>, 
  <Green's D-class: [4,2,1][6,3]>, <Green's D-class: [2,7][4,1][6,3]>, 
  <Green's D-class: [2,5][4,3][6,1]>, <Green's D-class: [4,3][6,7](2)>, 
  <Green's D-class: [2,1][6,4,3]>, <Green's D-class: [2,7][4,3](6)>, 
  <Green's D-class: [6,4,1][7,3](2)>, <Green's D-class: [4,5][6,2,3]>, 
  <Green's D-class: [4,2,3][6,1]>, <Green's D-class: [2,1][4,7][6,5]>, 
  <Green's D-class: [2,3][6,4,5]>, <Green's D-class: [4,2,3](6)>, 
  <Green's D-class: [2,1][4,7,3](6)>, <Green's D-class: [6,4,3][7,2]>, 
  <Green's D-class: [4,5][6,7,3]>, <Green's D-class: [6,4,2][7,3]>, 
  <Green's D-class: [4,1][7,3](6)>, <Green's D-class: [2,3][4,5][7,1](6)>, 
  <Green's D-class: [4,2,1][7,5,3](6)>, <Green's D-class: [4,5,3](7)>, 
  <Green's D-class: [4,7,2,5,1,3](6)>, <Green's D-class: [1,5][4,2][7,3]>, 
  <Green's D-class: [4,1,2][7,3]>, <Green's D-class: [4,7,3](1)>, 
  <Green's D-class: [4,5][7,1,3]>, <Green's D-class: [4,2][7,5](1)>, 
  <Green's D-class: [4,5](7)>, <Green's D-class: [1,5][4,7,2]>, 
  <Green's D-class: [1,5][4,7,3]>, <Green's D-class: [7,3](4)>, 
  <Green's D-class: [4,7,5]>, <Green's D-class: [4,7,2]>, 
  <Green's D-class: [7,5](4)>, <Green's D-class: [4,6][7,1]>, 
  <Green's D-class: [1,2][4,3][7,5]>, <Green's D-class: [4,3][7,2](1)>, 
  <Green's D-class: [4,3](1,7)>, <Green's D-class: [4,1,5][7,3]>, 
  <Green's D-class: [1,2][4,7,3]>, <Green's D-class: [7,3](1)(4)>, 
  <Green's D-class: [1,7,3][4,6]>, <Green's D-class: [7,1,2](4)>, 
  <Green's D-class: [1,3][4,2][7,5]>, <Green's D-class: [4,1,3][7,2]>, 
  <Green's D-class: [4,5](1)(7)>, <Green's D-class: [1,3][7,5](4)>, 
  <Green's D-class: [1,3][4,6][7,2]>, <Green's D-class: [4,6](1)(7)>, 
  <Green's D-class: [2,3][4,5](1)>, <Green's D-class: [1,5][4,3](2)>, 
  <Green's D-class: [4,3](1,2)>, <Green's D-class: [2,7][4,3](1)>, 
  <Green's D-class: [2,5][4,1,3]>, <Green's D-class: [1,3][4,7](2)>, 
  <Green's D-class: [2,1,3](4)>, <Green's D-class: [4,5][7,2,3]>, 
  <Green's D-class: [4,2,3][7,1]>, <Green's D-class: [2,1][4,7,5]>, 
  <Green's D-class: [7,2,5](4)>, <Green's D-class: [4,2,3][7,5]>, 
  <Green's D-class: [4,1][7,2,3]>, <Green's D-class: [2,3][4,7,1]>, 
  <Green's D-class: [2,1][4,5][7,3]>, <Green's D-class: [4,2,5][7,1]>, 
  <Green's D-class: [4,7,5](2)>, <Green's D-class: [2,3][4,7,5]>, 
  <Green's D-class: [4,3][7,2,5]>, <Green's D-class: [4,3][7,1](2)>, 
  <Green's D-class: [2,1][4,3](7)>, <Green's D-class: [2,3][4,1][7,5]>, 
  <Green's D-class: [4,7,2,3]>, <Green's D-class: [2,3][7,1](4)>, 
  <Green's D-class: [2,3][4,6](7)>, <Green's D-class: [7,2,1](4)>, 
  <Green's D-class: [4,2,5][7,3]>, <Green's D-class: [4,1][7,3](2)>, 
  <Green's D-class: [2,7,1][4,5]>, <Green's D-class: [2,5][7,3](4)>, 
  <Green's D-class: [4,6][7,3](2)>, <Green's D-class: [2,7,1][4,6]>, 
  <Green's D-class: [2,5][4,6][7,3]>, <Green's D-class: [4,6][7,1](2)>, 
  <Green's D-class: [1,3][2,7,5][4,6]> ]

# L-classes/reps, 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])], rec(acting := false));;
gap> GreensLClasses(S);
[ <Green's L-class: Transformation( [ 222222 ] )>, 
  <Green's L-class: Transformation( [ 444444 ] )>, 
  <Green's L-class: Transformation( [ 244422 ] )>, 
  <Green's L-class: Transformation( [ 111111 ] )>, 
  <Green's L-class: Transformation( [ 411144 ] )>, 
  <Green's L-class: Transformation( [ 122211 ] )>, 
  <Green's L-class: Transformation( [ 221244 ] )>, 
  <Green's L-class: Transformation( [ 666666 ] )>, 
  <Green's L-class: Transformation( [ 555555 ] )>, 
  <Green's L-class: Transformation( [ 655566 ] )>, 
  <Green's L-class: Transformation( [ 522255 ] )>, 
  <Green's L-class: Transformation( [ 266622 ] )>, 
  <Green's L-class: Transformation( [ 662655 ] )>, 
  <Green's L-class: Transformation( [ 166611 ] )>, 
  <Green's L-class: Transformation( [ 644466 ] )>, 
  <Green's L-class: Transformation( [ 446411 ] )>, 
  <Green's L-class: Transformation( [ 455544 ] )>, 
  <Green's L-class: Transformation( [ 554522 ] )>, 
  <Green's L-class: Transformation( [ 511155 ] )>, 
  <Green's L-class: Transformation( [ 115166 ] )>, 
  <Green's L-class: Transformation( [ 442466 ] )>, 
  <Green's L-class: Transformation( [ 445466 ] )>, 
  <Green's L-class: Transformation( [ 225564 ] )>, 
  <Green's L-class: Transformation( [ 114155 ] )>, 
  <Green's L-class: Transformation( [ 221266 ] )>, 
  <Green's L-class: Transformation( [ 551164 ] )>, 
  <Green's L-class: Transformation( [ 112264 ] )>, 
  <Green's L-class: Transformation( [ 221255 ] )>, 
  <Green's L-class: Transformation( [ 245512 ] )>, 
  <Green's L-class: Transformation( [ 252261 ] )>, 
  <Green's L-class: Transformation( [ 266514 ] )>, 
  <Green's L-class: Transformation( [ 333333 ] )>, 
  <Green's L-class: Transformation( [ 533355 ] )>, 
  <Green's L-class: Transformation( [ 322233 ] )>, 
  <Green's L-class: Transformation( [ 223255 ] )>, 
  <Green's L-class: Transformation( [ 344433 ] )>, 
  <Green's L-class: Transformation( [ 554533 ] )>, 
  <Green's L-class: Transformation( [ 633366 ] )>, 
  <Green's L-class: Transformation( [ 336344 ] )>, 
  <Green's L-class: Transformation( [ 335366 ] )>, 
  <Green's L-class: Transformation( [ 223244 ] )>, 
  <Green's L-class: Transformation( [ 663345 ] )>, 
  <Green's L-class: Transformation( [ 332245 ] )>, 
  <Green's L-class: Transformation( [ 223266 ] )>, 
  <Green's L-class: Transformation( [ 256632 ] )>, 
  <Green's L-class: Transformation( [ 262243 ] )>, 
  <Green's L-class: Transformation( [ 325564 ] )>, 
  <Green's L-class: Transformation( [ 133311 ] )>, 
  <Green's L-class: Transformation( [ 331366 ] )>, 
  <Green's L-class: Transformation( [ 334311 ] )>, 
  <Green's L-class: Transformation( [ 113364 ] )>, 
  <Green's L-class: Transformation( [ 115133 ] )>, 
  <Green's L-class: Transformation( [ 55113 ] )>, 
  <Green's L-class: Transformation( [ 114453 ] )>, 
  <Green's L-class: Transformation( [ 35341 ] )>, 
  <Green's L-class: Transformation( [ 332311 ] )>, 
  <Green's L-class: Transformation( [ 324421 ] )>, 
  <Green's L-class: Transformation( [ 423142 ] )> ]
gap> LClassReps(S);
[ Transformation( [ 222222 ] ), 
  Transformation( [ 444444 ] ), 
  Transformation( [ 244422 ] ), 
  Transformation( [ 111111 ] ), 
  Transformation( [ 411144 ] ), 
  Transformation( [ 122211 ] ), 
  Transformation( [ 221244 ] ), 
  Transformation( [ 666666 ] ), 
  Transformation( [ 555555 ] ), 
  Transformation( [ 655566 ] ), 
  Transformation( [ 522255 ] ), 
  Transformation( [ 266622 ] ), 
  Transformation( [ 662655 ] ), 
  Transformation( [ 166611 ] ), 
  Transformation( [ 644466 ] ), 
  Transformation( [ 446411 ] ), 
  Transformation( [ 455544 ] ), 
  Transformation( [ 554522 ] ), 
  Transformation( [ 511155 ] ), 
  Transformation( [ 115166 ] ), 
  Transformation( [ 442466 ] ), 
  Transformation( [ 445466 ] ), 
  Transformation( [ 225564 ] ), 
  Transformation( [ 114155 ] ), 
  Transformation( [ 221266 ] ), 
  Transformation( [ 551164 ] ), 
  Transformation( [ 112264 ] ), 
  Transformation( [ 221255 ] ), 
  Transformation( [ 245512 ] ), 
  Transformation( [ 252261 ] ), 
  Transformation( [ 266514 ] ), 
  Transformation( [ 333333 ] ), 
  Transformation( [ 533355 ] ), 
  Transformation( [ 322233 ] ), 
  Transformation( [ 223255 ] ), 
  Transformation( [ 344433 ] ), 
  Transformation( [ 554533 ] ), 
  Transformation( [ 633366 ] ), 
  Transformation( [ 336344 ] ), 
  Transformation( [ 335366 ] ), 
  Transformation( [ 223244 ] ), 
  Transformation( [ 663345 ] ), 
  Transformation( [ 332245 ] ), 
  Transformation( [ 223266 ] ), 
  Transformation( [ 256632 ] ), 
  Transformation( [ 262243 ] ), 
  Transformation( [ 325564 ] ), 
  Transformation( [ 133311 ] ), 
  Transformation( [ 331366 ] ), 
  Transformation( [ 334311 ] ), 
  Transformation( [ 113364 ] ), 
  Transformation( [ 115133 ] ), Transformation( [ 55113 ] ),
  Transformation( [ 114453 ] ), Transformation( [ 35341 ] ),
  Transformation( [ 332311 ] ), 
  Transformation( [ 324421 ] ), 
  Transformation( [ 423142 ] ) ]

# R-classes/reps, 1/1
gap> S := OrderEndomorphisms(5);;
gap> S := Semigroup(S, rec(acting := false));
<transformation monoid of degree 5 with 5 generators>
gap> RClasses(S);
[ <Green's R-class: Transformation( [ 11111 ] )>, 
  <Green's R-class: Transformation( [ 11112 ] )>, 
  <Green's R-class: Transformation( [ 11133 ] )>, 
  <Green's R-class: Transformation( [ 11123 ] )>, 
  <Green's R-class: Transformation( [ 11333 ] )>, 
  <Green's R-class: Transformation( [ 11334 ] )>, 
  <Green's R-class: Transformation( [ 11244 ] )>, 
  <Green's R-class: Transformation( [ 11234 ] )>, 
  <Green's R-class: Transformation( [ 13333 ] )>, 
  <Green's R-class: Transformation( [ 13334 ] )>, 
  <Green's R-class: Transformation( [ 12244 ] )>, 
  <Green's R-class: Transformation( [ 133 ] )>, 
  <Green's R-class: Transformation( [ 12444 ] )>, 
  <Green's R-class: Transformation( [ 1244 ] )>, 
  <Green's R-class: Transformation( [ 12355 ] )>, 
  <Green's R-class: IdentityTransformation> ]
gap> RClassReps(S);
[ Transformation( [ 11111 ] ), Transformation( [ 11112 ] ), 
  Transformation( [ 11133 ] ), Transformation( [ 11123 ] ), 
  Transformation( [ 11333 ] ), Transformation( [ 11334 ] ), 
  Transformation( [ 11244 ] ), Transformation( [ 11234 ] ), 
  Transformation( [ 13333 ] ), Transformation( [ 13334 ] ), 
  Transformation( [ 12244 ] ), Transformation( [ 133 ] ), 
  Transformation( [ 12444 ] ), Transformation( [ 1244 ] ), 
  Transformation( [ 12355 ] ), IdentityTransformation ]

# R-reps, 1/1
gap> S := OrderEndomorphisms(5);;
gap> S := Semigroup(S, rec(acting := false));;
gap> D := DClass(S, S.2 * S.1);
<Green's D-class: Transformation( [ 11234 ] )>
gap> RClassReps(D);
[ Transformation( [ 11234 ] ), Transformation( [ 12234 ] ), 
  Transformation( [ 12334 ] ), Transformation( [ 12344 ] ) ]
gap> LClassReps(D);
[ Transformation( [ 11234 ] ), Transformation( [ 12355 ] ), 
  Transformation( [ 1244 ] ), Transformation( [ 133 ] ), 
  Transformation( [ 22 ] ) ]

# H-classes/reps, 1/3
gap> S := Monoid(
> [Transformation([2222222224]),
>  Transformation([2222222424]),
>  Transformation([2222222442]),
>  Transformation([2222222444]),
>  Transformation([2222224422]),
>  Transformation([2222224442]),
>  Transformation([2222242224]),
>  Transformation([2222242244]),
>  Transformation([2222244242]),
>  Transformation([2224222422]),
>  Transformation([2224227424]),
>  Transformation([2234247294]),
>  Transformation([2234262292]),
>  Transformation([2234267224]),
>  Transformation([2234267294]),
>  Transformation([2242222224]),
>  Transformation([2242222422]),
>  Transformation([2242222424]),
>  Transformation([2242224422]),
>  Transformation([2294247224]),
>  Transformation([3222222942]),
>  Transformation([3222222944]),
>  Transformation([3222224942]),
>  Transformation([4222222322]),
>  Transformation([4222222324]),
>  Transformation([4222224322]),
>  Transformation([4242222322]),
>  Transformation([4242222324]),
>  Transformation([4242224322]),
>  Transformation([5555555555])],
>  rec(acting := false));;
gap> HClassReps(S);
[ Transformation( [ 5555555555 ] ), 
  Transformation( [ 2222222222 ] ), 
  Transformation( [ 2222222224 ] ), 
  Transformation( [ 2222222424 ] ), 
  Transformation( [ 2222222442 ] ), 
  Transformation( [ 2222222444 ] ), 
  Transformation( [ 2222224422 ] ), 
  Transformation( [ 2222224442 ] ), 
  Transformation( [ 2222242224 ] ), 
  Transformation( [ 2222242244 ] ), 
  Transformation( [ 2222244242 ] ), 
  Transformation( [ 2224222422 ] ), 
  Transformation( [ 2222224222 ] ), 
  Transformation( [ 2224222424 ] ), 
  Transformation( [ 2224227424 ] ), 
  Transformation( [ 2222222242 ] ), 
  Transformation( [ 2222224242 ] ), 
  Transformation( [ 2224242224 ] ), 
  Transformation( [ 2224247224 ] ), 
  Transformation( [ 2242222222 ] ), 
  Transformation( [ 2294242224 ] ), 
  Transformation( [ 2234242224 ] ), 
  Transformation( [ 2234242294 ] ), 
  Transformation( [ 2242224222 ] ), 
  Transformation( [ 2294247224 ] ), 
  Transformation( [ 2234247224 ] ), 
  Transformation( [ 2234247294 ] ), 
  Transformation( [ 2222242222 ] ), 
  Transformation( [ 2222242242 ] ), 
  Transformation( [ 2224222222 ] ), 
  Transformation( [ 2224242222 ] ), 
  Transformation( [ 2294242222 ] ), 
  Transformation( [ 2234242222 ] ), 
  Transformation( [ 2234242292 ] ), 
  Transformation( [ 2234262222 ] ), 
  Transformation( [ 2234262292 ] ), 
  Transformation( [ 2222244222 ] ), 
  Transformation( [ 2224222224 ] ), 
  Transformation( [ 2224227224 ] ), 
  Transformation( [ 2234262224 ] ), 
  Transformation( [ 2234267224 ] ), 
  Transformation( [ 2234262294 ] ), 
  Transformation( [ 2234267294 ] ), 
  Transformation( [ 2242222224 ] ), 
  Transformation( [ 2242222422 ] ), 
  Transformation( [ 2242222424 ] ), 
  Transformation( [ 2242224422 ] ), 
  Transformation( [ 2222222422 ] ), 
  Transformation( [ 4222222222 ] ), 
  Transformation( [ 9222222242 ] ), 
  Transformation( [ 3222222242 ] ), 
  Transformation( [ 3222222942 ] ), 
  Transformation( [ 2222222244 ] ), 
  Transformation( [ 9222222244 ] ), 
  Transformation( [ 3222222244 ] ), 
  Transformation( [ 3222222944 ] ), 
  Transformation( [ 9222224242 ] ), 
  Transformation( [ 3222224242 ] ), 
  Transformation( [ 3222224942 ] ), 
  Transformation( [ 4222222922 ] ), 
  Transformation( [ 4222222322 ] ), 
  Transformation( [ 4222222224 ] ), 
  Transformation( [ 4222222924 ] ), 
  Transformation( [ 4222222324 ] ), 
  Transformation( [ 4222224222 ] ), 
  Transformation( [ 4222224922 ] ), 
  Transformation( [ 4222224322 ] ), 
  Transformation( [ 4242222222 ] ), 
  Transformation( [ 4242222922 ] ), 
  Transformation( [ 4242222322 ] ), 
  Transformation( [ 4242222224 ] ), 
  Transformation( [ 4242222924 ] ), 
  Transformation( [ 4242222324 ] ), 
  Transformation( [ 4242224222 ] ), 
  Transformation( [ 4242224922 ] ), 
  Transformation( [ 4242224322 ] ), IdentityTransformation ]
gap> HClasses(S);
[ <Green's H-class: Transformation( [ 5555555555 ] )>, 
  <Green's H-class: Transformation( [ 2222222222 ] )>, 
  <Green's H-class: Transformation( [ 2222222224 ] )>, 
  <Green's H-class: Transformation( [ 2222222424 ] )>, 
  <Green's H-class: Transformation( [ 2222222442 ] )>, 
  <Green's H-class: Transformation( [ 2222222444 ] )>, 
  <Green's H-class: Transformation( [ 2222224422 ] )>, 
  <Green's H-class: Transformation( [ 2222224442 ] )>, 
  <Green's H-class: Transformation( [ 2222242224 ] )>, 
  <Green's H-class: Transformation( [ 2222242244 ] )>, 
  <Green's H-class: Transformation( [ 2222244242 ] )>, 
  <Green's H-class: Transformation( [ 2224222422 ] )>, 
  <Green's H-class: Transformation( [ 2222224222 ] )>, 
  <Green's H-class: Transformation( [ 2224222424 ] )>, 
  <Green's H-class: Transformation( [ 2224227424 ] )>, 
  <Green's H-class: Transformation( [ 2222222242 ] )>, 
  <Green's H-class: Transformation( [ 2222224242 ] )>, 
  <Green's H-class: Transformation( [ 2224242224 ] )>, 
  <Green's H-class: Transformation( [ 2224247224 ] )>, 
  <Green's H-class: Transformation( [ 2242222222 ] )>, 
  <Green's H-class: Transformation( [ 2294242224 ] )>, 
  <Green's H-class: Transformation( [ 2234242224 ] )>, 
  <Green's H-class: Transformation( [ 2234242294 ] )>, 
  <Green's H-class: Transformation( [ 2242224222 ] )>, 
  <Green's H-class: Transformation( [ 2294247224 ] )>, 
  <Green's H-class: Transformation( [ 2234247224 ] )>, 
  <Green's H-class: Transformation( [ 2234247294 ] )>, 
  <Green's H-class: Transformation( [ 2222242222 ] )>, 
  <Green's H-class: Transformation( [ 2222242242 ] )>, 
  <Green's H-class: Transformation( [ 2224222222 ] )>, 
  <Green's H-class: Transformation( [ 2224242222 ] )>, 
  <Green's H-class: Transformation( [ 2294242222 ] )>, 
  <Green's H-class: Transformation( [ 2234242222 ] )>, 
  <Green's H-class: Transformation( [ 2234242292 ] )>, 
  <Green's H-class: Transformation( [ 2234262222 ] )>, 
  <Green's H-class: Transformation( [ 2234262292 ] )>, 
  <Green's H-class: Transformation( [ 2222244222 ] )>, 
  <Green's H-class: Transformation( [ 2224222224 ] )>, 
  <Green's H-class: Transformation( [ 2224227224 ] )>, 
  <Green's H-class: Transformation( [ 2234262224 ] )>, 
  <Green's H-class: Transformation( [ 2234267224 ] )>, 
  <Green's H-class: Transformation( [ 2234262294 ] )>, 
  <Green's H-class: Transformation( [ 2234267294 ] )>, 
  <Green's H-class: Transformation( [ 2242222224 ] )>, 
  <Green's H-class: Transformation( [ 2242222422 ] )>, 
  <Green's H-class: Transformation( [ 2242222424 ] )>, 
  <Green's H-class: Transformation( [ 2242224422 ] )>, 
  <Green's H-class: Transformation( [ 2222222422 ] )>, 
  <Green's H-class: Transformation( [ 4222222222 ] )>, 
  <Green's H-class: Transformation( [ 9222222242 ] )>, 
  <Green's H-class: Transformation( [ 3222222242 ] )>, 
  <Green's H-class: Transformation( [ 3222222942 ] )>, 
  <Green's H-class: Transformation( [ 2222222244 ] )>, 
  <Green's H-class: Transformation( [ 9222222244 ] )>, 
  <Green's H-class: Transformation( [ 3222222244 ] )>, 
  <Green's H-class: Transformation( [ 3222222944 ] )>, 
  <Green's H-class: Transformation( [ 9222224242 ] )>, 
  <Green's H-class: Transformation( [ 3222224242 ] )>, 
  <Green's H-class: Transformation( [ 3222224942 ] )>, 
  <Green's H-class: Transformation( [ 4222222922 ] )>, 
  <Green's H-class: Transformation( [ 4222222322 ] )>, 
  <Green's H-class: Transformation( [ 4222222224 ] )>, 
  <Green's H-class: Transformation( [ 4222222924 ] )>, 
  <Green's H-class: Transformation( [ 4222222324 ] )>, 
  <Green's H-class: Transformation( [ 4222224222 ] )>, 
  <Green's H-class: Transformation( [ 4222224922 ] )>, 
  <Green's H-class: Transformation( [ 4222224322 ] )>, 
  <Green's H-class: Transformation( [ 4242222222 ] )>, 
  <Green's H-class: Transformation( [ 4242222922 ] )>, 
  <Green's H-class: Transformation( [ 4242222322 ] )>, 
  <Green's H-class: Transformation( [ 4242222224 ] )>, 
  <Green's H-class: Transformation( [ 4242222924 ] )>, 
  <Green's H-class: Transformation( [ 4242222324 ] )>, 
  <Green's H-class: Transformation( [ 4242224222 ] )>, 
  <Green's H-class: Transformation( [ 4242224922 ] )>, 
  <Green's H-class: Transformation( [ 4242224322 ] )>, 
  <Green's H-class: IdentityTransformation> ]
gap> D := DClass(S, S.1);;
gap> HClassReps(D);
[ Transformation( [ 2222222224 ] ) ]
gap> HClasses(D);
[ <Green's H-class: Transformation( [ 2222222224 ] )> ]
gap> L := LClass(S, S.1);;
gap> HClassReps(L);
[ Transformation( [ 2222222224 ] ) ]
gap> HClasses(L);
[ <Green's H-class: Transformation( [ 2222222224 ] )> ]

# H-classes/reps, 2/3
gap> S := Semigroup(FullTransformationMonoid(5), rec(acting := false));;
gap> x := Transformation([11234]);;
gap> L := LClass(S, x);;
gap> GreensHClasses(L);
[ <Green's H-class: Transformation( [ 21342 ] )>, 
  <Green's H-class: Transformation( [ 13422 ] )>, 
  <Green's H-class: Transformation( [ 34221 ] )>, 
  <Green's H-class: Transformation( [ 42213 ] )>, 
  <Green's H-class: Transformation( [ 22134 ] )>, 
  <Green's H-class: Transformation( [ 24213 ] )>, 
  <Green's H-class: Transformation( [ 42132 ] )>, 
  <Green's H-class: Transformation( [ 21324 ] )>, 
  <Green's H-class: Transformation( [ 13242 ] )>, 
  <Green's H-class: Transformation( [ 32421 ] )> ]

# NrXClasses, 1/1
gap> S := Semigroup(SymmetricInverseMonoid(5));;
gap> NrRClasses(S);
32
gap> NrDClasses(S);
6
gap> NrLClasses(S);
32
gap> NrHClasses(S);
252

# NrXClasses for a D-class, 1/1
gap> S := Semigroup(SymmetricInverseMonoid(5));;
gap> D := DClass(S, S.2);;
gap> NrRClasses(D);
1
gap> NrLClasses(D);
1
gap> R := RClass(S, S.2);;
gap> NrHClasses(R);
1
gap> L := LClass(S, S.2);;
gap> NrHClasses(L);
1

# GreensXClasses, for an infinite semigroup, 1/1
gap> S := FreeSemigroup(2);;
gap> GreensLClasses(S);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `CayleyGraphDualSemigroup' on 1 argument\
s
gap> GreensRClasses(S);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `CayleyGraphSemigroup' on 1 arguments
gap> GreensHClasses(S);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `CayleyGraphDualSemigroup' on 1 argument\
s
gap> GreensDClasses(S);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `CayleyGraphDualSemigroup' on 1 argument\
s

# GreensHClasses, fail, 1/1
gap> S := Semigroup(SymmetricInverseMonoid(3));;
gap> H := HClass(S, S.2);;
gap> GreensHClasses(H);
Error, the argument is not a Green's R-, L-, or D-class

# GroupHClass, IsGroupHClass, IsomorphismPermGroup, 1/1
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(4));;
gap> S := Semigroup(S, rec(acting := false));;
gap> D := DClass(S, S.2);
<Green's D-class: Transformation( [ 1212123412569,
   10 ] )>
gap> IsRegularDClass(D);
false
gap> GroupHClass(D);
fail
gap> D := DClass(S, S.3);
<Green's D-class: Transformation( [ 111213141156911,
  13 ] )>
gap> GroupHClass(D);
fail
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 111111121357911,
  13 ] )>
gap> GroupHClass(D);
fail
gap> D := DClass(S, One(S));
<Green's D-class: IdentityTransformation>
gap> H := GroupHClass(D);
<Green's H-class: IdentityTransformation>
gap> IsGroupHClass(H);
true
gap> x := IsomorphismPermGroup(H);;
gap> Source(x) = H;
true
gap> Length(GeneratorsOfGroup(Range(x)));
2
gap> GeneratorsOfGroup(Range(x))[1];
(1,2)(3,5)(4,7)(6,10)(8,13)(9,14)(11,12)(15,19)(16,20)(17,22)(18,23)(21,24)
gap> GeneratorsOfGroup(Range(x))[2];
(1,3,6,11)(2,4,8,14)(5,9,15,20)(7,12,17,23)(10,16,21,22)(13,18,24,19)
gap> IsomorphismPermGroup(HClass(S, S.1));
Error, the argument (a Green's H-class) is not a group

# PartialOrderOfDClasses, 1/2
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(3));;
gap> S := Semigroup(S, rec(acting := false));;
gap> PartialOrderOfDClasses(S);
<immutable digraph with 11 vertices, 25 edges>

# Idempotents, 1/?
gap> S := AsSemigroup(IsTransformationSemigroup, FullPBRMonoid(1));;
gap> S := Semigroup(S, rec(acting := false));;
gap> Idempotents(S);
[ Transformation( [ 18611618138661381313 ] ), 
  Transformation( [ 123210678910 ] ), 
  Transformation( [ 69333661399361313913 ] ), 
  IdentityTransformation, Transformation( [ 71011551271415,
      10111216141516 ] ), 
  Transformation( [ 613666661313136613131313 ] )
    , Transformation( [ 714127712714161412121614,
      1616 ] ), Transformation( [ 186886181386613,
      81313 ] ), Transformation( [ 6939966139936,
      1313913 ] ), Transformation( [ 7101110101271415,
      10111216141516 ] ), 
  Transformation( [ 1215111111121216151511121616,
      1516 ] ), Transformation( [ 12161212121212161616,
      121216161616 ] ), 
  Transformation( [ 613613136613131366131313,
      13 ] ), Transformation( [ 7141214141271416141212,
      16141616 ] ), Transformation( [ 1215111515121216,
      1515111216161516 ] ), 
  Transformation( [ 1216121616121216161612121616,
      1616 ] ) ]

# Idempotents, 2/2
gap> S := Semigroup(FullTransformationMonoid(3),
> rec(acting := false));;
gap> RClasses(S);;
gap> Idempotents(S);
[ IdentityTransformation, Transformation( [ 121 ] ), 
  Transformation( [ 122 ] ), Transformation( [ 323 ] ), 
  Transformation( [ 22 ] ), Transformation( [ 133 ] ), 
  Transformation( [ 111 ] ), Transformation( [ 11 ] ), 
  Transformation( [ 222 ] ), Transformation( [ 333 ] ) ]

# Idempotents, for a D-class, 1/2
gap> S := Semigroup([Transformation([234515678])]);;
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 234515678 ] )>
gap> IsRegularDClass(D);
false
gap> Idempotents(D);
[  ]
gap> S := Semigroup([Transformation([234515678])]);;
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 234515678 ] )>
gap> Idempotents(S);;
gap> Idempotents(D);
[  ]

# Idempotents, for a D-class, 2/2
gap> S := Semigroup([Transformation([234515678])]);;
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 234515678 ] )>
gap> Idempotents(D);
[  ]

# Idempotents, for a L-class, 1/3
gap> S := Semigroup(FullTransformationMonoid(5), rec(acting := false));;
gap> x := Transformation([11234]);;
gap> L := LClass(S, x);;
gap> Idempotents(L);
[ Transformation( [ 12342 ] ), Transformation( [ 12341 ] ), 
  Transformation( [ 12344 ] ), Transformation( [ 12343 ] ) ]

# Idempotents, for a L-class, 2/3
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(3));
<transformation monoid of degree 8 with 5 generators>
gap> L := LClass(S, Transformation([1112135]));;
gap> IsRegularGreensClass(L);
false
gap> Idempotents(L);
[  ]

# Idempotents, for a L-class, 3/3
gap> S := PartitionMonoid(3);;
gap> L := LClass(S, One(S));;
gap> Idempotents(L);
[ <block bijection: [ 1, -1 ], [ 2, -2 ], [ 3, -3 ]> ]

# Idempotents, for a H-class, 1/2
gap> S := SingularTransformationSemigroup(4);;
gap> H := HClass(S, S.1);
<Green's H-class: Transformation( [ 1233 ] )>
gap> Idempotents(H);
[ Transformation( [ 1233 ] ) ]

# Idempotents, for a H-class, 1/2
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(3));
<transformation monoid of degree 8 with 5 generators>
gap> H := HClass(S, Transformation([1112135]));;
gap> IsGroupHClass(H);
false
gap> Idempotents(H);
[  ]

# NrIdempotents, for a semigroup, 1/2
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> NrIdempotents(S);
24

# NrIdempotents, for a semigroup, 2/2
gap> S := Semigroup([PartialPerm([13456], [31576]),
>  PartialPerm([123467], [253741]),
>  PartialPerm([124567], [357162]),
>  PartialPerm([1247], [3765])]);;
gap> Idempotents(S);;
gap> NrIdempotents(S);
24

# NrIdempotents, for a D-class, 1/2
gap> S := Semigroup([Transformation([234515678])]);;
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 234515678 ] )>
gap> IsRegularDClass(D);
false
gap> NrIdempotents(D);
0

# NrIdempotents, for a D-class, 2/2
gap> S := Semigroup([Transformation([234515678])]);;
gap> D := DClass(S, S.1);
<Green's D-class: Transformation( [ 234515678 ] )>
gap> NrIdempotents(D);
0

# NrIdempotents, for a L-class, 1/3
gap> S := Semigroup(FullTransformationMonoid(5), rec(acting := false));;
gap> x := Transformation([11234]);;
gap> L := LClass(S, x);;
gap> NrIdempotents(L);
4

# NrIdempotents, for a L-class, 2/3
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(3));
<transformation monoid of degree 8 with 5 generators>
gap> L := LClass(S, Transformation([1112135]));;
gap> IsRegularGreensClass(L);
false
gap> NrIdempotents(L);
0

# NrIdempotents, for a L-class, 3/3
gap> S := PartitionMonoid(3);;
gap> L := LClass(S, One(S));;
gap> NrIdempotents(L);
1

# NrIdempotents, for a H-class, 1/2
gap> S := SingularTransformationSemigroup(4);;
gap> H := HClass(S, S.1);
<Green's H-class: Transformation( [ 1233 ] )>
gap> NrIdempotents(H);
1

# NrIdempotents, for a H-class, 1/2
gap> S := AsSemigroup(IsTransformationSemigroup, FullBooleanMatMonoid(3));
<transformation monoid of degree 8 with 5 generators>
gap> H := HClass(S, Transformation([1112135]));;
gap> IsGroupHClass(H);
false
gap> NrIdempotents(H);
0

# NrIdempotents, for an R-class, 1/2
gap> S := Semigroup(Transformation([2672699115]),
>                    Transformation([381994105106]));;
gap> R := First(RClasses(S),
> x -> Transformation([910491044336]) in x);;
gap> NrIdempotents(R);
0
gap> IsRegularGreensClass(R);
false

# NrIdempotents, for an R-class, 3/3
gap> S := Semigroup(Transformation([2672699115]),
>                    Transformation([381994105106]));;
gap> R := RClass(S, Transformation([6996911226]));;
gap> IsRegularGreensClass(R);
true
gap> NrIdempotents(R);
7

# IsRegularGreensClass, for an R-class, 1/1
gap> S := Semigroup(Transformation([2672699115]),
>                    Transformation([381994105106]));;
gap> R := First(RClasses(S),
> x -> Transformation([910491044336]) in x);;
gap> IsRegularGreensClass(R);
false

# IsRegularGreensClass, for an R-class in group of units, 1/1
gap> S := Monoid(Transformation([2672699115]),
>                 Transformation([381994105106]));;
gap> S := AsSemigroup(IsBipartitionSemigroup, S);;
gap> R := RClass(S, IdentityBipartition(10));;
gap> IsRegularGreensClass(R);
true

# NrRegularDClasses, 1/1
gap> S := Semigroup([Transformation([221244]),
>  Transformation([266514]), Transformation([325564]),
>  Transformation([35341]), Transformation([423142]),
>  Transformation([442663]), Transformation([555654]),
>  Transformation([631316])], rec(acting := false));;
gap> NrRegularDClasses(S);
6

# ViewString, PrintString, for Green's relations, 1/1
gap> S := FullTransformationMonoid(3);
<full transformation monoid of degree 3>
gap> GreensRRelation(S);
<Green's R-relation of <full transformation monoid of degree 3>>
gap> GreensLRelation(S);
<Green's L-relation of <full transformation monoid of degree 3>>
gap> GreensHRelation(S);
<Green's H-relation of <full transformation monoid of degree 3>>
gap> GreensDRelation(S);
<Green's D-relation of <full transformation monoid of degree 3>>
gap> GreensJRelation(S);
<Green's D-relation of <full transformation monoid of degree 3>>
gap> PrintString((GreensRRelation(S)));
"\>\>\>GreensRRelation\<(\>\nMonoid( \>[ Transformation( [ 231 ] ), Transf\
ormation( [ 21 ] ), Transformation( [ 121 ] ) ]\<\> )\<\<)\<\<"
gap> PrintString((GreensLRelation(S)));
"\>\>\>GreensLRelation\<(\>\nMonoid( \>[ Transformation( [ 231 ] ), Transf\
ormation( [ 21 ] ), Transformation( [ 121 ] ) ]\<\> )\<\<)\<\<"
gap> PrintString((GreensHRelation(S)));
"\>\>\>GreensHRelation\<(\>\nMonoid( \>[ Transformation( [ 231 ] ), Transf\
ormation( [ 21 ] ), Transformation( [ 121 ] ) ]\<\> )\<\<)\<\<"
gap> PrintString((GreensDRelation(S)));
"\>\>\>GreensDRelation\<(\>\nMonoid( \>[ Transformation( [ 231 ] ), Transf\
ormation( [ 21 ] ), Transformation( [ 121 ] ) ]\<\> )\<\<)\<\<"

# ViewString, PrintString, for Green's classes, 1/1
gap> S := FullBooleanMatMonoid(3);;
gap> PrintString(RClass(S, S.2));
"\>\>\>GreensRClassOfElement\<(\>Monoid( \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\
\>\>[010]\<, \<\>\>[100]\<, \<\>\>[001]\<\<]\<)\<\>\>\>Matrix(\<\>\
IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<, \<\>\>[100]\<\<]\<)\
\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\<, \<\>\>[010]\<, \
\<\>\>[101]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\
\<, \<\>\>[010]\<, \<\>\>[000]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBoolean\
Mat\<, \>[\>\>[110]\<, \<\>\>[101]\<, \<\>\>[011]\<\<]\<)\<\<\<\> \
)\<,\< \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<,\
 \<\>\>[100]\<\<]\<)\<\<)\<\<"
gap> PrintString(LClass(S, S.2));
"\>\>\>GreensLClassOfElement\<(\>Monoid( \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\
\>\>[010]\<, \<\>\>[100]\<, \<\>\>[001]\<\<]\<)\<\>\>\>Matrix(\<\>\
IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<, \<\>\>[100]\<\<]\<)\
\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\<, \<\>\>[010]\<, \
\<\>\>[101]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\
\<, \<\>\>[010]\<, \<\>\>[000]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBoolean\
Mat\<, \>[\>\>[110]\<, \<\>\>[101]\<, \<\>\>[011]\<\<]\<)\<\<\<\> \
)\<,\< \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<,\
 \<\>\>[100]\<\<]\<)\<\<)\<\<"
gap> PrintString(HClass(S, S.2));
"\>\>\>GreensHClassOfElement\<(\>Monoid( \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\
\>\>[010]\<, \<\>\>[100]\<, \<\>\>[001]\<\<]\<)\<\>\>\>Matrix(\<\>\
IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<, \<\>\>[100]\<\<]\<)\
\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\<, \<\>\>[010]\<, \
\<\>\>[101]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\
\<, \<\>\>[010]\<, \<\>\>[000]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBoolean\
Mat\<, \>[\>\>[110]\<, \<\>\>[101]\<, \<\>\>[011]\<\<]\<)\<\<\<\> \
)\<,\< \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<,\
 \<\>\>[100]\<\<]\<)\<\<)\<\<"
gap> PrintString(DClass(S, S.2));
"\>\>\>GreensDClassOfElement\<(\>Monoid( \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\
\>\>[010]\<, \<\>\>[100]\<, \<\>\>[001]\<\<]\<)\<\>\>\>Matrix(\<\>\
IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<, \<\>\>[100]\<\<]\<)\
\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\<, \<\>\>[010]\<, \
\<\>\>[101]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[100]\
\<, \<\>\>[010]\<, \<\>\>[000]\<\<]\<)\<\<, \>\>\>Matrix(\<\>IsBoolean\
Mat\<, \>[\>\>[110]\<, \<\>\>[101]\<, \<\>\>[011]\<\<]\<)\<\<\<\> \
)\<,\< \>\>\>Matrix(\<\>IsBooleanMat\<, \>[\>\>[010]\<, \<\>\>[001]\<,\
 \<\>\>[100]\<\<]\<)\<\<)\<\<"

# Test NrXClasses for an CanUseFroidurePin semigroup
gap> S := RegularBooleanMatMonoid(3);;
gap> NrLClasses(S);
54
gap> NrRClasses(S);
54
gap> NrHClasses(S);
402
gap> NrDClasses(S);
10

# Test GreensLClasses for a D-class of an CanUseFroidurePin semigroup
gap> S := RegularBooleanMatMonoid(3);;
gap> D := DClass(S, S.3 * S.4);
<Green's D-class: Matrix(IsBooleanMat, [[100], [010], [100]])>
gap> GreensLClasses(D);
[ <Green's L-class: Matrix(IsBooleanMat, [[010], [100], [000]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[010], [001], [000]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[001], [100], [000]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[101], [010], [111]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[011], [100], [111]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[110], [001], [111]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[110], [101], [111]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[110], [011], [111]])>, 
  <Green's L-class: Matrix(IsBooleanMat, [[011], [101], [111]])> ]

# Test GreensXClasses for an infinite CanUseFroidurePin semigroup
gap> S := Semigroup(Matrix(IsMaxPlusMatrix, [[02], [-10]]));;
gap> GreensLClasses(S);
Error, the argument (a semigroup) is not finite
gap> GreensRClasses(S);
Error, the argument (a semigroup) is not finite
gap> GreensHClasses(S);
Error, the argument (a semigroup) is not finite
gap> GreensDClasses(S);
Error, the argument (a semigroup) is not finite
gap> GreensJClasses(S);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `GreensJClasses' on 1 arguments

# IsomorphismPermGroup for a group H-class of a matrix semigroup
gap> S := Semigroup([Matrix(GF(3), [[Z(3) ^ 0, Z(3) ^ 0], [Z(3), Z(3) ^ 0]]),
>  Matrix(GF(3), [[Z(3) ^ 0, Z(3) ^ 0], [0 * Z(3), 0 * Z(3)]])], rec(acting :=
> false));
<semigroup of 2x2 matrices over GF(3) with 2 generators>
gap> x := Matrix(GF(3), [[Z(3) ^ 0, Z(3) ^ 0], [Z(3), Z(3) ^ 0]]);
[ [ Z(3)^0, Z(3)^0 ], [ Z(3), Z(3)^0 ] ]
gap> D := DClass(S, x);
<Green's D-class: <matrix object of dimensions 2x2 over GF(3)>>
gap> map := IsomorphismPermGroup(GroupHClass(D));;
gap> Range(map);
Group([ (1,2,3,4,5,6,7,8) ])
gap> Matrix(GF(3), [[Z(3) ^ 0, Z(3) ^ 0], [0 * Z(3), 0 * Z(3)]]) ^ map;
Error, the argument does not belong to the domain of the function
gap> (132) ^ InverseGeneralMapping(map);
Error, the argument does not belong to the domain of the function
gap> () ^ InverseGeneralMapping(map);
[ [ Z(3)^00*Z(3) ], [ 0*Z(3), Z(3)^0 ] ]

# PartialOrderOfL/RClasses: 1
gap> S := Semigroup([
>  PBR([[-1], []], [[], [-2, -112]]),
>  PBR([[-2, -112], [-2, -12]], [[-2, -1], [-212]]),
>  PBR([[-1], [1]], [[-1], [-2]])]);
<pbr semigroup of degree 2 with 3 generators>
gap> PartialOrderOfLClasses(S);
<immutable digraph with 8 vertices, 8 edges>
gap> PartialOrderOfRClasses(S);
<immutable digraph with 10 vertices, 9 edges>

# PartialOrderOfL/RClasses: 1
gap> S := FullTransformationMonoid(3);
<full transformation monoid of degree 3>
gap> D := PartialOrderOfLClasses(S);
<immutable digraph with 7 vertices, 9 edges>
gap> IsIsomorphicDigraph(D, DigraphFromDigraph6String("+F?OGC@OoK?"));
true
gap> D := PartialOrderOfRClasses(S);
<immutable digraph with 5 vertices, 6 edges>
gap> IsIsomorphicDigraph(D, DigraphFromDigraph6String("+D[CGO?"));
true

# GreensMultipliers for non-acting semigroup
gap> CheckLeftGreensMultiplier1 := function(S)
>  local L, a, b;
>  for L in LClasses(S) do
>    for a in L do
>      for b in L do
>        if LeftGreensMultiplierNC(S, a, b) * a <> b then
>          return [a, b];
>        fi;
>      od;
>    od;
>  od;
> return true;
> end;;
gap> CheckLeftGreensMultiplier2 := function(S)
>  local L, a, b;
>  for L in LClasses(S) do
>    for a in L do
>      for b in L do
>        if Set(RClass(S, a), x -> LeftGreensMultiplierNC(S, a, b) * x) <> Set(RClass(S, b)) then
>           return [a, b];
>        fi;
>      od;
>    od;
>  od;
>  return true;
>  end;;
gap> CheckRightGreensMultiplier1 := function(S)
>  local R, a, b;
>  for R in RClasses(S) do
>    for a in R do
>      for b in R do
>        if a * RightGreensMultiplierNC(S, a, b) <> b then
>          return [a, b];
>        fi;
>      od;
>    od;
>  od;
> return true;
> end;;
gap> CheckRightGreensMultiplier2 := function(S)
>  local R, a, b;
>  for R in RClasses(S) do
>    for a in R do
>      for b in R do
>        if Set(LClass(S, a), x -> x * RightGreensMultiplierNC(S, a, b)) 
>          <> Set(LClass(S, b)) then
>           return [a, b];
>        fi;
>      od;
>    od;
>  od;
>  return true;
>  end;;
gap> F := FreeMonoid("a", "b", "c", "d");;
gap> a := F.1;; b := F.2;; c := F.3;; d := F.4;;
gap> S := F /
> [[a ^ 2, a], [a * b, b], [a * c, c], [a * d, d], [b * a, b], [c * a, c], 
>  [d * a, d], [b ^ 3, b], [b * c ^ 2, b * c * b], [b * c * d, b ^ 2 * d], 
>  [b * d ^ 2, b ^ 2 * c], [c * b * c, b ^ 2 * c], [c ^ 2 * b, c * b ^ 2], 
>  [c ^ 3, c], [c * d ^ 2, c], [d * b * c, b * c], [d * c * b, d * b ^ 2], 
>  [d * c ^ 2, d], [d ^ 3, d], [b * c * b ^ 2, b * c], [c * b ^ 2 * d, b * d], 
>  [c * d * b * d, d * b * d], [(c * d) ^ 2, c ^ 2 * d * c], 
>  [d * b ^ 2 * d, b ^ 2 * d], [d ^ 2 * c * d, (d * c) ^ 2], 
>  [b * (b * d) ^ 2, (b * d) ^ 2], [b * c * b * d * c, b ^ 2 * d * c * d], 
>  [(b * d) ^ 2 * c, (b * d) ^ 2], [b * (d * c) ^ 2, b ^ 2 * c * b * d], 
>  [c * (b * d) ^ 2, (b * d) ^ 2], [c * d * b ^ 2 * c, d * b ^ 2 * c], 
>  [(d * b) ^ 2 * d, (b * d) ^ 2], [b ^ 2 * d * b ^ 2 * c, b * d * b ^ 2 * c], 
>  [b * c * b * d * b ^ 2, b ^ 2 * d * c * d * b], 
>  [(b * d) ^ 2 * b ^ 2, (b * d) ^ 2 * b], 
>  [b * d * c * d * b ^ 2, b ^ 2 * c * b * d * b], 
>  [c * b * d * b ^ 2 * c, b * d * b ^ 2 * c], 
>  [(d * b) ^ 2 * b * c, b * d * b ^ 2 * c], 
>  [b * d * b ^ 2 * c * b * d, b * d * b ^ 2 * c * b], [a, b]];
<fp monoid with 4 generators and 40 relations of length 276>
gap> CheckLeftGreensMultiplier1(S);
true
gap> CheckLeftGreensMultiplier2(S);
true
gap> CheckRightGreensMultiplier1(S);
true
gap> CheckRightGreensMultiplier2(S);
true
gap> S := Semigroup(Bipartition([[12345, -1], [-2, -5], [-3, -4]]),
>                   Bipartition([[125, -5], [3, -1], [4, -2, -3, -4]]),
>                   Bipartition([[1, -4, -5], [2345], [-1, -2, -3]]),
>                   Bipartition([[123, -2], [4, -1], [5, -5], [-3, -4]]),
>                   Bipartition([[1245, -1, -2, -3, -5], [3], [-4]]));
<bipartition semigroup of degree 5 with 5 generators>
gap> S := Image(EmbeddingFpMonoid(AsSemigroup(IsFpSemigroup, S)));;
gap> CheckLeftGreensMultiplier1(S);
true
gap> CheckLeftGreensMultiplier2(S);
true
gap> CheckRightGreensMultiplier1(S);
true
gap> CheckRightGreensMultiplier2(S);
true

#
gap> SEMIGROUPS.StopTest();
gap> STOP_TEST("Semigroups package: standard/greens/froidure-pin.tst");

[Dauer der Verarbeitung: 0.71 Sekunden, vorverarbeitet 2026-06-17]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik