Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/semigroups/tst/extreme/   (GAP Algebra Version 4.15.1©)  Datei vom 29.7.2025 mit Größe 78 kB image not shown  

Quelle  greens-acting.tst   Sprache: unbekannt

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

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

# takes approx. 1 minute to run currently!

#@local C, D, H, I, L, M, R, S, a, acting, b, c, d, dd, dr, elts, enum, f, g
#@local gens, h, hh, i, idem, iter, iter1, iter2, iter3, j, l, ll, m, out, out2
#@local out3, r, r1, r2, r3, rc, reps, rr, s, t, x
gap> START_TEST("Semigroups package: extreme/greens-acting.tst");
gap> LoadPackage("semigroups", false);;

#
gap> SEMIGROUPS.StartTest();
gap> SEMIGROUPS.DefaultOptionsRec.acting := true;;

# GreensTest1
gap> gens :=
> [[Transformation([3443115])],
>  [Transformation([1143]), Transformation([2222]),
>   Transformation([331])],
>  [Transformation([44233]), Transformation([52431])],
>  [Transformation([15415]), Transformation([24131])],
>  [Transformation([4123]), Transformation([4341])],
>  [Transformation([213143]),
>   Transformation([222212]),
>   Transformation([534356]),
>   Transformation([641453]),
>   Transformation([652634])],
>  [Transformation([3551475])],
>  [Transformation([256113]), Transformation([316252]),
>   Transformation([542335]), Transformation([665522])],
>  [Transformation([15323]), Transformation([43252]),
>   Transformation([54122]), Transformation([55511])],
>  [Transformation([2447212])],
>  [Transformation([3424674]),
>       Transformation([4632454]),
>       Transformation([6235522]),
>       Transformation([6545244]),
>       Transformation([7675657])],
>   [Transformation([32331]), Transformation([45124])],
>   [Transformation([1434]), Transformation([2211]),
>       Transformation([313]), Transformation([4431])],
>   [Transformation([12233]), Transformation([43432]),
>       Transformation([53454])],
>   [Transformation([436461]),
>       Transformation([444631])],
>   [Transformation([1434]), Transformation([3333]),
>       Transformation([3414]), Transformation([4314])],
>   [Transformation([13352]), Transformation([34511])],
>   [Transformation([264652]),
>       Transformation([356251]),
>       Transformation([513331]),
>       Transformation([644663])],
>   [Transformation([1333])],
>   [Transformation([41223]), Transformation([42322])],
>   [Transformation([1464472]),
>       Transformation([1651727]),
>       Transformation([2272144]),
>       Transformation([5626335])],
>   [Transformation([1131]), Transformation([4234]),
>       Transformation([4422])],
>   [Transformation([3211]), Transformation([4132]),
>       Transformation([4412])],
>   [Transformation([1642532]),
>       Transformation([4147445])],
>   [Transformation([24544])],
>   [Transformation([1423]), Transformation([4333])],
>   [Transformation([11314])],
>   [Transformation([4336723]),
>       Transformation([6644214])],
>   [Transformation([224643]),
>       Transformation([341152]),
>       Transformation([446461])],
>   [Transformation([3542122]),
>       Transformation([7715716])],
>   [Transformation([3414]), Transformation([4322]),
>       Transformation([4414])],
>   [Transformation([3744335]),
>       Transformation([4611641]),
>       Transformation([6572113])],
>   [Transformation([1241]), Transformation([4121]),
>       Transformation([4224])],
>   [Transformation([2122]), Transformation([2411]),
>       Transformation([4243]), Transformation([4412])],
>   [Transformation([111114]),
>       Transformation([332413]),
>       Transformation([452445]),
>       Transformation([532664]),
>       Transformation([665511])],
>   [Transformation([1241]), Transformation([2412]),
>       Transformation([331]), Transformation([3412]),
>       Transformation([4143])],
>   [Transformation([1761755]),
>       Transformation([2714762]),
>       Transformation([4372634]),
>       Transformation([4721754]),
>       Transformation([5755535])],
>   [Transformation([2443])],
>   [Transformation([465144])],
>   [Transformation([23453]), Transformation([41513]),
>       Transformation([41553])],
>   [Transformation([13122]), Transformation([23524]),
>       Transformation([2432]), Transformation([44212])],
>   [Transformation([1424]), Transformation([221]),
>       Transformation([3222])],
>   [Transformation([15115]), Transformation([43132])],
>   [Transformation([1344]), Transformation([2133]),
>       Transformation([4134]), Transformation([4233])],
>   [Transformation([4322142]),
>       Transformation([6527227])],
>   [Transformation([2443]), Transformation([3413]),
>       Transformation([4132]), Transformation([4411])],
>   [Transformation([12521]), Transformation([32242]),
>       Transformation([45112]),
>       Transformation([55521])],
>   [Transformation([1244]), Transformation([2121]),
>       Transformation([2323]), Transformation([3213]),
>       Transformation([3432])],
>   [Transformation([11122])],
>   [Transformation([443332]),
>       Transformation([463643]),
>       Transformation([641345])],
>   [Transformation([1143]), Transformation([3132])],
>   [Transformation([13533]), Transformation([15443]),
>       Transformation([25311])],
>   [Transformation([323]), Transformation([3431]),
>       Transformation([3444]), Transformation([4313])],
>   [Transformation([225225]),
>       Transformation([265263]),
>       Transformation([42455]),
>       Transformation([541422])],
>   [Transformation([11]), Transformation([3122])],
>   [Transformation([114553]),
>       Transformation([644565])],
>   [Transformation([1453173]),
>       Transformation([1665242])],
>   [Transformation([33123]), Transformation([55153]),
>       Transformation([55552])],
>   [Transformation([12515]),
>       Transformation([545532])],
>   [Transformation([1213]), Transformation([2344]),
>       Transformation([4111])],
>   [Transformation([12232]), Transformation([43241]),
>       Transformation([51221]), Transformation([52414]),
>       Transformation([55422])],
>   [Transformation([2123]), Transformation([2232])],
>   [Transformation([4213])],
>   [IdentityTransformation, Transformation([22]),
>       Transformation([2243])],
>   [Transformation([2121]), Transformation([3424])],
>   [Transformation([341222]),
>       Transformation([444253]),
>       Transformation([566554])],
>   [Transformation([141646]),
>       Transformation([24255]),
>       Transformation([362146]),
>       Transformation([462412])],
>   [Transformation([1333]), Transformation([2131]),
>       Transformation([3123])],
>   [Transformation([1412]), Transformation([2232]),
>       Transformation([3343]), Transformation([4334]),
>       Transformation([4442])],
>   [Transformation([121]), Transformation([4112]),
>       Transformation([4332])],
>   [Transformation([2367126])],
>   [Transformation([411333])],
>   [Transformation([3327551]),
>       Transformation([3554132]),
>       Transformation([4136665]),
>       Transformation([7272772])],
>   [Transformation([1175212]),
>       Transformation([2726757]),
>       Transformation([4574314])],
>   [Transformation([3644251]),
>       Transformation([4125773]),
>       Transformation([441162]),
>       Transformation([5766145])],
>   [Transformation([1112]), Transformation([1313]),
>       Transformation([1433]), Transformation([3111]),
>       Transformation([4234])],
>   [Transformation([133213]),
>       Transformation([155652]),
>       Transformation([631155]),
>       Transformation([631524])],
>   [Transformation([261315]),
>       Transformation([433555]),
>       Transformation([456442]),
>       Transformation([635414])],
>   [Transformation([31223]), Transformation([3212]),
>       Transformation([33424])],
>   [Transformation([1716653]),
>       Transformation([2656156]),
>       Transformation([3461516]),
>       Transformation([7572574])],
>   [Transformation([21224]), Transformation([21413]),
>       Transformation([33132]),
>       Transformation([54545])],
>   [Transformation([2143]), Transformation([2344]),
>       Transformation([3311])],
>   [Transformation([2112])],
>   [Transformation([13133]), Transformation([21141]),
>       Transformation([45154]), Transformation([54342]),
>       Transformation([55534])],
>   [Transformation([55555])],
>   [Transformation([321266]),
>       Transformation([621432])],
>   [Transformation([3442472]),
>       Transformation([4177713]),
>       Transformation([5554434]),
>       Transformation([6663672]),
>       Transformation([7751723])],
>   [Transformation([1533122]),
>       Transformation([3416345]),
>       Transformation([4121675]),
>       Transformation([4272411]),
>       Transformation([7771544])],
>   [Transformation([132655]),
>       Transformation([312562]),
>       Transformation([551535]),
>       Transformation([661562])],
>   [Transformation([143343]),
>       Transformation([312525]),
>       Transformation([321654]),
>       Transformation([521131]),
>       Transformation([641111])],
>   [Transformation([42334])],
>   [Transformation([1444315]),
>       Transformation([4736176])],
>   [Transformation([4357716])],
>   [Transformation([2241])],
>   [Transformation([112646]),
>       Transformation([423122]),
>       Transformation([424365])],
>   [Transformation([2364746]),
>       Transformation([4432646]),
>       Transformation([466546]),
>       Transformation([5616351])],
>   [Transformation([11531]), Transformation([22423]),
>       Transformation([2344]), Transformation([2424])],
>   [Transformation([31153]), Transformation([33531])],
>   [Transformation([433525]),
>       Transformation([612413])],
>   [Transformation([23433]), Transformation([35242]),
>       Transformation([35252]),
>       Transformation([53352])]];;
gap> out := [];;
gap> for x in gens do
> s := Semigroup(x);
> Add(out, [NrRClasses(s), Size(s)]);
> od;
gap> out;
[ [ 34 ], [ 210 ], [ 314 ], [ 12211 ], [ 428 ], [ 3784818 ],
  [ 25 ], [ 927142 ], [ 81615 ], [ 24 ], [ 1582255 ], [ 1899 ],
  [ 950 ], [ 1676 ], [ 1777 ], [ 613 ], [ 19330 ], [ 1201263 ],
  [ 11 ], [ 1453 ], [ 2161306 ], [ 612 ], [ 15235 ], [ 23235 ],
  [ 22 ], [ 39 ], [ 22 ], [ 17206 ], [ 22506 ], [ 24340 ],
  [ 739 ], [ 99495 ], [ 1018 ], [ 10100 ], [ 34843 ], [ 14210 ],
  [ 5463538 ], [ 23 ], [ 23 ], [ 35448 ], [ 21515 ], [ 914 ],
  [ 511 ], [ 1723 ], [ 28763 ], [ 15199 ], [ 21170 ], [ 11142 ],
  [ 22 ], [ 331259 ], [ 625 ], [ 64426 ], [ 940 ], [ 46388 ],
  [ 625 ], [ 1149 ], [ 48391 ], [ 740 ], [ 1318 ], [ 648 ],
  [ 30792 ], [ 711 ], [ 13 ], [ 23 ], [ 817 ], [ 15115 ],
  [ 491724 ], [ 845 ], [ 646 ], [ 866 ], [ 24 ], [ 13 ],
  [ 3224344 ], [ 30661 ], [ 159763890 ], [ 1076 ], [ 1739084 ],
  [ 743931 ], [ 15117 ], [ 1634804 ], [ 14106 ], [ 1028 ],
  [ 12 ], [ 53328 ], [ 11 ], [ 1726 ], [ 1721443 ], [ 23015176 ],
  [ 831382 ], [ 1581074 ], [ 22 ], [ 26535 ], [ 36 ], [ 33 ],
  [ 441834 ], [ 1581776 ], [ 19326 ], [ 945 ], [ 32379 ],
  [ 23149 ] ]
gap> m := Semigroup(gens[32]);;
gap> Size(m);
495
gap> ForAll(GreensRClasses(m), x -> ForAll(Idempotents(x), y -> y in x));
true
gap> idem := Set(Concatenation(List(GreensRClasses(m), Idempotents)));;
gap> idem = Set(Idempotents(m));
true
gap> H := GreensHClasses(m);;
gap> I := Concatenation(List(GreensRClasses(m), GreensHClasses));;
gap> ForAll(H, x -> Number(I, y -> Representative(x) in y) = 1);
true
gap> Set(Concatenation(List(GreensDClasses(m), GreensHClasses))) =
> Set(GreensHClasses(m));
true
gap> m := Semigroup(gens[74]);;
gap> r := GreensRClassOfElement(m, Transformation([2122121]));;
gap> d := DClassOfRClass(r);;
gap> dr := GreensRClasses(d);;
gap> r2 := First(dr, x -> x = r);;
gap> DClassOfRClass(r2) = d;
true
gap> m := Semigroup(GeneratorsOfSemigroup(m));;
gap> r := GreensRClassOfElement(m, Transformation([2122121]));;
gap> d := DClassOfRClass(r);;
gap> dr := GreensRClasses(d);;
gap> r2 := First(dr, x -> x = r);;
gap> DClassOfRClass(r2) = d;
true
gap> out := [];;
gap> for x in gens do
> s := Semigroup(x);
> Add(out, NrLClasses(s));
> od;
gap> out;
3521994623925278921112542102387124,
  195915282721826251045131194158022103,
  211071427142013230923173481331101712,
  681012822201710112136368242311578412,
  156161015212025774333742283335931816,
  2533 ]
gap> ForAll(GreensLClasses(m), x -> ForAll(Idempotents(x), y ->
> y in x));
true
gap> idem := Set(Concatenation(List(GreensLClasses(m), Idempotents)));
[ Transformation( [ 1111111 ] ),
  Transformation( [ 1111511 ] ),
  Transformation( [ 1111515 ] ),
  Transformation( [ 1111551 ] ),
  Transformation( [ 1114111 ] ),
  Transformation( [ 1114141 ] ),
  Transformation( [ 1114414 ] ),
  Transformation( [ 1114515 ] ),
  Transformation( [ 1115515 ] ),
  Transformation( [ 1144111 ] ),
  Transformation( [ 1144414 ] ),
  Transformation( [ 1155515 ] ),
  Transformation( [ 1211111 ] ),
  Transformation( [ 1211211 ] ),
  Transformation( [ 1211212 ] ),
  Transformation( [ 1211222 ] ),
  Transformation( [ 1211511 ] ),
  Transformation( [ 1212212 ] ),
  Transformation( [ 1212222 ] ),
  Transformation( [ 1221111 ] ),
  Transformation( [ 1221121 ] ),
  Transformation( [ 1221221 ] ),
  Transformation( [ 1221551 ] ),
  Transformation( [ 1414414 ] ),
  Transformation( [ 1414444 ] ),
  Transformation( [ 1511511 ] ),
  Transformation( [ 1511515 ] ),
  Transformation( [ 1511555 ] ),
  Transformation( [ 1514545 ] ),
  Transformation( [ 1515515 ] ),
  Transformation( [ 1515555 ] ),
  Transformation( [ 1551551 ] ),
  Transformation( [ 2222222 ] ),
  Transformation( [ 2222262 ] ),
  Transformation( [ 2222522 ] ),
  Transformation( [ 2222525 ] ),
  Transformation( [ 2222552 ] ),
  Transformation( [ 2222662 ] ),
  Transformation( [ 2222727 ] ),
  Transformation( [ 2225525 ] ),
  Transformation( [ 2226262 ] ),
  Transformation( [ 2227727 ] ),
  Transformation( [ 2255525 ] ),
  Transformation( [ 2277727 ] ),
  Transformation( [ 3333333 ] ),
  Transformation( [ 3333533 ] ),
  Transformation( [ 3333535 ] ),
  Transformation( [ 3333553 ] ),
  Transformation( [ 3333737 ] ),
  Transformation( [ 3334333 ] ),
  Transformation( [ 3334343 ] ),
  Transformation( [ 3334434 ] ),
  Transformation( [ 3334535 ] ),
  Transformation( [ 3334737 ] ),
  Transformation( [ 3335535 ] ),
  Transformation( [ 3337737 ] ),
  Transformation( [ 3434434 ] ),
  Transformation( [ 3434444 ] ),
  Transformation( [ 3533533 ] ),
  Transformation( [ 3533535 ] ),
  Transformation( [ 3533555 ] ),
  Transformation( [ 3534545 ] ),
  Transformation( [ 3535535 ] ),
  Transformation( [ 3535555 ] ),
  Transformation( [ 3733737 ] ),
  Transformation( [ 3733777 ] ),
  Transformation( [ 3734747 ] ),
  Transformation( [ 3737737 ] ),
  Transformation( [ 3737777 ] ),
  Transformation( [ 4334334 ] ),
  Transformation( [ 4334434 ] ),
  Transformation( [ 4334444 ] ),
  Transformation( [ 4334554 ] ),
  Transformation( [ 4444444 ] ),
  Transformation( [ 4444544 ] ),
  Transformation( [ 4444545 ] ),
  Transformation( [ 4444554 ] ),
  Transformation( [ 4444747 ] ),
  Transformation( [ 4544544 ] ),
  Transformation( [ 4544545 ] ),
  Transformation( [ 4544555 ] ),
  Transformation( [ 4554554 ] ),
  Transformation( [ 4744747 ] ),
  Transformation( [ 4744777 ] ),
  Transformation( [ 5225525 ] ),
  Transformation( [ 5225555 ] ),
  Transformation( [ 5255555 ] ),
  Transformation( [ 5335535 ] ),
  Transformation( [ 5335555 ] ),
  Transformation( [ 5533555 ] ),
  Transformation( [ 5544555 ] ),
  Transformation( [ 5554545 ] ),
  Transformation( [ 5554555 ] ),
  Transformation( [ 5555555 ] ),
  Transformation( [ 6226666 ] ),
  Transformation( [ 6262262 ] ),
  Transformation( [ 6266262 ] ),
  Transformation( [ 6266266 ] ),
  Transformation( [ 6266666 ] ),
  Transformation( [ 6666666 ] ),
  Transformation( [ 6666767 ] ),
  Transformation( [ 6667767 ] ),
  Transformation( [ 6677767 ] ),
  Transformation( [ 6766767 ] ),
  Transformation( [ 6767767 ] ),
  Transformation( [ 7227227 ] ),
  Transformation( [ 7227557 ] ),
  Transformation( [ 7227667 ] ),
  Transformation( [ 7227727 ] ),
  Transformation( [ 7227777 ] ),
  Transformation( [ 7277277 ] ),
  Transformation( [ 7277577 ] ),
  Transformation( [ 7277777 ] ),
  Transformation( [ 7337337 ] ),
  Transformation( [ 7337737 ] ),
  Transformation( [ 7337777 ] ),
  Transformation( [ 7557557 ] ),
  Transformation( [ 7577577 ] ),
  Transformation( [ 7667667 ] ),
  Transformation( [ 7667767 ] ),
  Transformation( [ 7733777 ] ),
  Transformation( [ 7744777 ] ),
  Transformation( [ 7774747 ] ),
  Transformation( [ 7774777 ] ),
  Transformation( [ 7776767 ] ),
  Transformation( [ 7777557 ] ),
  Transformation( [ 7777577 ] ),
  Transformation( [ 7777667 ] ),
  Transformation( [ 7777767 ] ),
  Transformation( [ 7777777 ] ) ]
gap> idem = Set(Idempotents(m));
true
gap> m := Semigroup(gens[30]);;
gap> r := GreensLClassOfElement(m, Transformation([3333335]));;
gap> d := DClassOfLClass(r);;
gap> dr := GreensLClasses(d);;
gap> r2 := First(dr, x -> x = r);;
gap> DClassOfLClass(r2) = d;
true
gap> m := Semigroup(GeneratorsOfSemigroup(m));
<transformation semigroup of degree 7 with 2 generators>
gap>  r := GreensLClassOfElement(m, Transformation([3333335]));
<Green's L-class: Transformation( [ 3333335 ] )>
gap> Transformation([3333335]) in last;
true
gap> d := DClassOfLClass(r);;
gap> dr := GreensLClasses(d);;
gap> r2 := First(dr, x -> x = r);;
gap> DClassOfLClass(r2) = d;
true
gap> out := [];;
gap> for i in gens do
> s := Semigroup(i);
> Add(out, [NrHClasses(s), Length(GreensHClasses(s))]);
> od;
gap> out;
[ [ 33 ], [ 55 ], [ 33 ], [ 7777 ], [ 1313 ], [ 12811281 ],
  [ 22 ], [ 10321032 ], [ 231231 ], [ 22 ], [ 13551355 ],
  [ 5757 ], [ 2828 ], [ 4848 ], [ 5757 ], [ 1212 ], [ 139139 ],
  [ 508508 ], [ 11 ], [ 3636 ], [ 801801 ], [ 1010 ], [ 7171 ],
  [ 130130 ], [ 22 ], [ 77 ], [ 22 ], [ 8383 ], [ 158158 ],
  [ 172172 ], [ 2222 ], [ 285285 ], [ 1717 ], [ 4040 ],
  [ 377377 ], [ 6767 ], [ 12851285 ], [ 22 ], [ 22 ], [ 212212 ],
  [ 153153 ], [ 1414 ], [ 99 ], [ 2222 ], [ 239239 ], [ 6565 ],
  [ 9191 ], [ 5555 ], [ 22 ], [ 367367 ], [ 1515 ], [ 168168 ],
  [ 2626 ], [ 207207 ], [ 1414 ], [ 2929 ], [ 274274 ], [ 2222 ],
  [ 1717 ], [ 2626 ], [ 253253 ], [ 1010 ], [ 11 ], [ 22 ],
  [ 1313 ], [ 6464 ], [ 605605 ], [ 2020 ], [ 2525 ], [ 3333 ],
  [ 22 ], [ 11 ], [ 15201520 ], [ 307307 ], [ 96259625 ],
  [ 4141 ], [ 18851885 ], [ 945945 ], [ 5454 ], [ 12971297 ],
  [ 5858 ], [ 1818 ], [ 11 ], [ 173173 ], [ 11 ], [ 2525 ],
  [ 737737 ], [ 28072807 ], [ 636636 ], [ 495495 ], [ 22 ],
  [ 201201 ], [ 33 ], [ 33 ], [ 471471 ], [ 715715 ], [ 118118 ],
  [ 2828 ], [ 197197 ], [ 8888 ] ]
gap> out := [];; out2 := [];; out3 := [];;
gap> for i in gens do
> s := Semigroup(i);
> Add(out, [Number(GreensDClasses(s), IsRegularDClass), NrDClasses(s)]);
> Add(out2, List(GreensDClasses(s), x -> Length(Idempotents(x))));
> Add(out3, NrIdempotents(s));
> if not Number(GreensHClasses(s), IsGroupHClass)
> = Length(Idempotents(s)) then
> Print("Something is wrong! ", Position(gens, i), "\n");
> fi;
> od;
gap> Perform(out2, Sort);
gap> out;
[ [ 13 ], [ 22 ], [ 22 ], [ 44 ], [ 33 ], [ 69 ], [ 12 ],
  [ 55 ], [ 46 ], [ 12 ], [ 675 ], [ 310 ], [ 34 ], [ 48 ],
  [ 312 ], [ 35 ], [ 44 ], [ 416 ], [ 11 ], [ 410 ], [ 6101 ],
  [ 45 ], [ 44 ], [ 48 ], [ 12 ], [ 23 ], [ 12 ], [ 36 ],
  [ 57 ], [ 56 ], [ 34 ], [ 519 ], [ 38 ], [ 33 ], [ 513 ],
  [ 44 ], [ 636 ], [ 12 ], [ 12 ], [ 414 ], [ 44 ], [ 37 ],
  [ 34 ], [ 411 ], [ 44 ], [ 44 ], [ 47 ], [ 33 ], [ 12 ],
  [ 44 ], [ 34 ], [ 47 ], [ 46 ], [ 416 ], [ 44 ], [ 37 ],
  [ 68 ], [ 34 ], [ 313 ], [ 33 ], [ 47 ], [ 37 ], [ 11 ],
  [ 22 ], [ 24 ], [ 49 ], [ 410 ], [ 33 ], [ 33 ], [ 33 ],
  [ 12 ], [ 11 ], [ 554 ], [ 310 ], [ 732 ], [ 34 ], [ 57 ],
  [ 515 ], [ 55 ], [ 522 ], [ 27 ], [ 35 ], [ 11 ], [ 417 ],
  [ 11 ], [ 414 ], [ 562 ], [ 611 ], [ 526 ], [ 515 ], [ 12 ],
  [ 38 ], [ 13 ], [ 13 ], [ 66 ], [ 419 ], [ 34 ], [ 35 ],
  [ 46 ], [ 313 ] ]
gap> out2;
[ [ 001 ], [ 14 ], [ 12 ], [ 15730 ], [ 144 ],
  [ 00011611167168 ], [ 01 ], [ 2642169197 ],
  [ 00251858 ], [ 01 ],
  [ 000000000000000000000000,
      000000000000000000000000,
      000000000000000000000115,
      846159 ], [ 00000001519 ], [ 02411 ],
  [ 000012414 ], [ 0000000001312 ],
  [ 00123 ], [ 251739 ],
  [ 0000000000001624137 ], [ 1 ],
  [ 00000011310 ],
  [ 000000000000000000000000,
      000000000000000000000000,
      000000000000000000000000,
      000000000000000000000001,
      1467221 ], [ 01223 ], [ 141224 ],
  [ 000011734 ], [ 01 ], [ 013 ], [ 01 ],
  [ 0005936 ], [ 001151750 ], [ 0117763 ],
  [ 0148 ], [ 000000000000001271369
     ], [ 00000124 ], [ 4417 ],
  [ 000000001262093 ], [ 141024 ],
  [ 000000000000000000000000,
      0000001117105199 ], [ 01 ], [ 01 ],
  [ 0000000000151348 ], [ 152051 ],
  [ 0000123 ], [ 0133 ], [ 00000001123 ]
    , [ 272782 ], [ 14924 ], [ 00013538 ],
  [ 4624 ], [ 01 ], [ 1647121 ], [ 0145 ],
  [ 000151442 ], [ 001138 ],
  [ 00000000000016680 ], [ 1136 ],
  [ 00001411 ], [ 0011462065 ], [ 01410 ],
  [ 0000000000112 ], [ 2410 ],
  [ 000153462 ], [ 0000112 ], [ 1 ], [ 11 ],
  [ 0034 ], [ 0000011626 ],
  [ 0000002647121 ], [ 2310 ], [ 1411 ],
  [ 3415 ], [ 01 ], [ 1 ],
  [ 000000000000000000000000,
      000000000000000000000000,
      0137122248 ], [ 0000000712111 ],
  [ 000000000000000000000000,
      01179258430889 ], [ 01420 ],
  [ 001612231324 ],
  [ 0000000000136143163 ], [ 113424 ],
  [ 00000000000000000157140277 ],
  [ 00000523 ], [ 00144 ], [ 1 ],
  [ 000000000000015552 ], [ 1 ],
  [ 00000000001112 ],
  [ 000000000000000000000000,
      000000000000000000000000,
      00000000011711177 ],
  [ 0000012738390434 ],
  [ 000000000000000000000559,
      40114 ], [ 00000000001263265 ], [ 01 ],
  [ 0000061674 ], [ 001 ], [ 001 ],
  [ 114665114 ],
  [ 0000000000000001740200 ],
  [ 05844 ], [ 001310 ], [ 0016673 ],
  [ 00000000001433 ] ]
gap> out3;
153439354141683122025172116663168115,
  240841431415074791392725122393141167,
  77677118384734117510621393111697154,
  1610241273417615162211381130159525574,
  316334302891631519787217310619611191,
  24857148638 ]
gap> a := Transformation([214563]);;
gap> b := Transformation([231541]);;
gap> M := Semigroup(a, b);;
gap> GreensLClassOfElement(M, a);
<Green's L-class: Transformation( [ 214563 ] )>
gap> Transformation([214563]) in last;
true
gap> f := FreeSemigroup(3);;
gap> a := f.1;; b := f.2;; c := f.3;;
gap> s := f / [
> [a ^ 2, a], [b ^ 2, b], [c ^ 2, c], [a * b, a], [b * a, b],
> [a * c, a], [c * a, c], [b * c, b], [c * b, c]];
<fp semigroup with 3 generators and 9 relations of length 30>
gap> Size(s);
3
gap> GreensLClassOfElement(s, s.1);
<Green's L-class: s1>
gap> gens := [Transformation([22523]),
> Transformation([25353])];;
gap> S := Semigroup(gens);;
gap> f := Transformation([55353]);;
gap> GreensHClassOfElement(S, f);;
gap> Representative(last);
Transformation( [ 55353 ] )
gap> IsTrivial(SchutzenbergerGroup(last2));
true
gap> gens := [Transformation([41453]),
> Transformation([53543])];;
gap> S := Semigroup(gens);;
gap> C := GreensLClassOfElement(S, gens[1] * gens[2] * gens[1]);
<Green's L-class: Transformation( [ 53543 ] )>
gap> Transformation([53543]) in last;
true
gap> Representative(C);
Transformation( [ 53543 ] )
gap> AsList(RhoOrb(C));
[ [ 12132 ] ]
gap> RhoOrbMults(RhoOrb(C),
> RhoOrbSCCIndex(C)){OrbSCC(RhoOrb(C))[RhoOrbSCCIndex(C)]};
[ [ IdentityTransformation, IdentityTransformation ] ]
gap> SchutzenbergerGroup(C);
Sym( [ 3 .. 5 ] )
gap> gens := [Transformation([12121]),
> Transformation([34214])];;
gap> S := Semigroup(gens);;
gap> RClassReps(S);
[ Transformation( [ 12121 ] ), Transformation( [ 34214 ] ),
  Transformation( [ 12212 ] ), Transformation( [ 21211 ] ) ]
gap> a := Transformation([214563]);;
gap> b := Transformation([231541]);;
gap> M := Semigroup(a, b);;
gap> rc := GreensRClassOfElement(M, a * b * a);
<Green's R-class: Transformation( [ 416522 ] )>
gap> Transformation([521433]) in last;
true
gap> Transformation([416522]) in rc;
true
gap> Representative(rc);
Transformation( [ 416522 ] )
gap> SchutzenbergerGroup(rc);
Group([ (1,3,5), (1,2,3)(4,5) ])
gap> gens := [Transformation([41524]),
> Transformation([44153])];;
gap> S := Semigroup(gens);;
gap> f := Transformation([55333]);;
gap> GreensDClassOfElement(S, f);
<Green's D-class: Transformation( [ 55333 ] )>
gap> Transformation([44555]) in last;
true
gap> gens := [Transformation([44353]),
> Transformation([51141]),
> Transformation([55445])];;
gap> S := Semigroup(gens);;
gap> f := Transformation([45555]);;
gap> SchutzenbergerGroup(GreensDClassOfElement(S, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(GreensRClassOfElement(S, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(GreensLClassOfElement(S, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(GreensHClassOfElement(S, f));
Group([ (4,5) ])
gap> S := Semigroup([Transformation([2341]),
> Transformation([3311])]);;
gap> Idempotents(S);
[ IdentityTransformation, Transformation( [ 1133 ] ),
  Transformation( [ 1331 ] ), Transformation( [ 2244 ] ),
  Transformation( [ 4224 ] ) ]
gap> gens := [Transformation([4336723]),
>   Transformation([6644214])];;
gap> S := Semigroup(gens);;
gap> Length(GreensRClasses(S));
17
gap> r := GreensRClasses(S)[10];;
gap> Representative(r);
Transformation( [ 3333323 ] )
gap> SchutzenbergerGroup(r);
Group([ (2,3) ])
gap> Number(GreensDClasses(S), IsRegularDClass);
3
gap> gens := [
>  Transformation([154254493075651443162132035,
>  386118371463422324358273455611324528,
>  153619165964412253103346475054895243,
>  22985726396017122140]),
>  Transformation([156213661267483285514415433,
>  62434112514013466322476195829183930,
>  45523112351023645345924573817162560,
>  4983750274215325320944]),
>  Transformation([164331811871015141726232225,
>  302932494239384146454857545356616063,
>  2345691213161920212427283134353637,
>  4043444750515255585962]),
>  Transformation([131927313316329596121235153,
>  25555759113541737391315434517474935,
>  4347493174513153739574191151555719,
>  2553212359612729633133]),
>  Transformation([11857464136744718136013227,
>  5223242332276012457527441361346474,
>  272423525732160131847467364136474613,
>  18414752572423602732])];;
gap> s := Semigroup(gens);;
gap> DegreeOfTransformationSemigroup(s);
64
gap> f := Transformation(
> [5315427636205962937485243218,
135549424635527532793341186329423356,
63644935320226113997488564210612555,
396221345744141453]);;
gap> f in s;
false
gap> GreensRClassOfElement(s, f);
Error, the 2nd argument (a mult. elt.) does not belong to the 1st argument (a \
semigroup)
gap> f := Transformation([133495761631595351553941,
353745434711151731375923251921292731,
319273133292123255911713151735434749,
4537394151555753596163]);;
gap> f in s;
true
gap> r1 := GreensRClassOfElement(s, f);;
gap> gens := [Transformation([223456789101112]),
>  Transformation([133456789101112]),
>  Transformation([124456789101112]),
>  Transformation([123556789101112]),
>  Transformation([123466789101112]),
>  Transformation([123457789101112]),
>  Transformation([123456889101112]),
>  Transformation([123456799101112]),
>  Transformation([1234567810101112]),
>  Transformation([123456789111112]),
>  Transformation([123456789101212]),
>  Transformation([123456789101111]),
>  Transformation([123456789101012]),
>  Transformation([12345678991112]),
>  Transformation([123456788101112]),
>  Transformation([123456779101112]),
>  Transformation([123456689101112]),
>  Transformation([123455789101112]),
>  Transformation([123446789101112]),
>  Transformation([123356789101112]),
>  Transformation([122456789101112]),
>  Transformation([113456789101112])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([112455556121212]);;
gap> r := GreensRClassOfElementNC(s, f);;
gap> r2 := GreensRClassOfElement(s, f);;
gap> r = r2;
true
gap> Representative(r) in r2;
true
gap> Representative(r2) in r;
true
gap> gens := [Transformation([514623]),
> Transformation([123456]),
> Transformation([463425]),
> Transformation([546313]),
> Transformation([226543]),
> Transformation([355124]),
> Transformation([651334]),
> Transformation([134321])];;
gap> s := Semigroup(gens);;
gap> Size(s);
43779
gap> NrRClasses(s);
200
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> r := NextIterator(iter);;
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 463425 ] )>
gap> Transformation([463425]) in last;
true
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 263454 ] )>
gap> Transformation([263454]) in last;
true
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 226543 ] )>
gap> Transformation([226543]) in last;
true
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 355264 ] )>
gap> Transformation([355264]) in last;
true
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 32544 ] )>
gap> Transformation([32544]) in last;
true
gap> r := NextIterator(iter);
<Green's R-class: Transformation( [ 134321 ] )>
gap> Transformation([134321]) in last;
true
gap> d := DClassOfRClass(r);
<Green's D-class: Transformation( [ 134321 ] )>
gap> Transformation([134321]) in last;
true
gap> Size(d);
23400
gap> Position(GreensDClasses(s), d);
3
gap> List(GreensRClasses(s), x -> Position(GreensDClasses(s),
> DClassOfRClass(x)));
1222223333423332342333423,
  3333333333434433434444444,
  4445233333445334334423344,
  4444334443334444423343443,
  3443434444344443444434445,
  3444444344544445555455545,
  5543444444555555343345553,
  4355334533453445445556444 ]
gap> gens := [Transformation([1264757]),
>  Transformation([2164567]),
>  Transformation([1746326]),
>  Transformation([5245663]),
>  Transformation([1456737]),
>  Transformation([1527366]),
>  Transformation([7356212]),
>  Transformation([3626741]),
>  Transformation([2533167]),
>  Transformation([3767425]),
>  Transformation([2625473]),
>  Transformation([2764543]),
>  Transformation([3327513]),
>  Transformation([7113162]),
>  Transformation([5632146]),
>  Transformation([2317234]),
>  Transformation([5225761]),
>  Transformation([2574531]),
>  Transformation([5245734]),
>  Transformation([7512253]),
>  Transformation([7335174]),
>  Transformation([1663371])];;
gap> s := Semigroup(gens);
<transformation semigroup of degree 7 with 22 generators>
gap> Size(s);
677391
gap> f := Transformation([1532767]);;
gap> f in s;
true
gap> d := GreensDClassOfElement(s, f);
<Green's D-class: Transformation( [ 1532767 ] )>
gap> Transformation([1647525]) in last;
true
gap> reps := Set(RClassReps(d));
[ Transformation( [ 1452766 ] ),
  Transformation( [ 1572462 ] ),
  Transformation( [ 1647525 ] ),
  Transformation( [ 4262571 ] ),
  Transformation( [ 4567162 ] ),
  Transformation( [ 4762751 ] ),
  Transformation( [ 5246172 ] ),
  Transformation( [ 5477162 ] ) ]
gap> Set(reps, x -> Position(GreensRClasses(s), GreensRClassOfElement(s, x)));
1235671316 ]
gap> r := GreensRClasses(s)[63];;
gap> Idempotents(r);
[ Transformation( [ 1734577 ] ),
  Transformation( [ 1234522 ] ),
  Transformation( [ 1634566 ] ) ]
gap> last[2] in r;
true
gap> gens := [Transformation([28371526]),
>  Transformation([35725638]),
>  Transformation([41835735]),
>  Transformation([43456412]),
>  Transformation([54885615]),
>  Transformation([67414162]),
>  Transformation([71222745]),
>  Transformation([88517528])];;
gap> s := Semigroup(gens{[1 .. 4]});;
gap> gens[5] in s;
false
gap> gens := [Transformation([34121]),
> Transformation([42155]),
> Transformation([42224])];;
gap> s := Semigroup(gens{[12]});;
gap> gens[3] in s;
false
gap> gens := [Transformation([6712345]),
>  Transformation([7654321]),
>  Transformation([4567123]),
>  Transformation([5665434]),
>  Transformation([5432334]),
>  Transformation([5433444]),
>  Transformation([1711112]),
>  Transformation([5665445])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([7654321]);;
gap> f in s;
true
gap> r := RClass(s, f);;
gap> l := LClass(s, f);
<Green's L-class: Transformation( [ 7654321 ] )>
gap> Transformation([7654321]) in last;
true
gap> h := HClass(s, f);
<Green's H-class: Transformation( [ 7654321 ] )>
gap> Transformation([7654321]) in last;
true
gap> d := DClass(s, f);
<Green's D-class: Transformation( [ 7654321 ] )>
gap> Transformation([7654321]) in last;
true
gap> AsSSortedList(r) = AsSSortedList(l);
true
gap> AsSSortedList(r) = AsSSortedList(h);
true
gap> AsSSortedList(l) = AsSSortedList(r);
true
gap> AsSSortedList(h) = AsSSortedList(r);
true
gap> AsSSortedList(d) = AsSSortedList(r);
true
gap> AsSSortedList(r) = AsSSortedList(d);
true
gap> AsSSortedList(r) = AsSSortedList(r);
true
gap> r = l; r = h; l = r; h = r; d = r; r = d; r = r;
false
false
false
false
false
false
true
gap> f := Transformation([5433444]);;
gap> rr := RClass(s, f);; ll := LClass(s, f);;
gap> hh := HClass(s, f);; dd := DClass(s, f);;
gap> r = rr; r = ll; r = hh; r = dd; rr = ll; rr = hh; rr = dd;
false
false
false
false
false
false
false
gap> gens := [Transformation([514623]),
> Transformation([123456]),
> Transformation([463425]),
> Transformation([546313]),
> Transformation([226543]),
> Transformation([355124]),
> Transformation([651334]),
> Transformation([134321])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([611253]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 611253 ] )>
gap> Transformation([544623]) in last;
true
gap> List(gens, x -> x in r);
[ false, false, false, false, false, true, false, false ]
gap> rr := RClass(s, gens[6]);
<Green's R-class: Transformation( [ 355124 ] )>
gap> Transformation([355264]) in last;
true
gap> gens[6] in rr; r = rr; f in rr; f in r;
true
true
true
true
gap> Size(r); Number(s, x -> x in r);
720
720
gap> gens := [Transformation([56731428]),
>   Transformation([36857428])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([52748688]);;
gap> r := RClass(s, f);;
gap> Size(r);
1200
gap> ForAll(r, x -> x in r);
true
gap> g := Transformation([68258488]);;
gap> rr := RClass(s, g);;
gap> ForAny(rr, x -> x in r);
false
gap> ForAny(r, x -> x in rr);
false
gap> gens := [Transformation([2345187627]),
> Transformation([3874143372])];;
gap> s := Monoid(gens);;
gap> f := Transformation([3774343333]);;
gap> r := RClass(s, f);;
gap> ForAll(r, x -> x in r);
true
gap> gens := [Transformation([1323]),
>  Transformation([1412]),
>  Transformation([3422]),
>  Transformation([4121])];;
gap> s := Monoid(gens);;
gap> f := Transformation([3111]);;
gap> r := RClass(s, f);;
gap> Set(Filtered(s, x -> x in r)) = Elements(r);
true
gap> gens := [Transformation([28371526]),
>   Transformation([35725638]),
>   Transformation([41835735]),
>   Transformation([43456412]),
>   Transformation([54885615]),
>   Transformation([67414162]),
>   Transformation([71222745]),
>   Transformation([88517528])];;
gap> s := Semigroup(gens);;
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> repeat r := NextIterator(iter); until Size(r) > 1;
gap> repeat r := NextIterator(iter); until Size(r) > 1;
gap> repeat r := NextIterator(iter); until Size(r) > 1;
gap> r = RClass(s, Transformation([15888172]));
true
gap> Size(r);
2640
gap> enum := Enumerator(r);
<enumerator of <Green's R-class: Transformation( [ 15888172 ] )>
 >
gap> Transformation([15888172]) in last;
true
gap> enum[1];
Transformation( [ 15888172 ] )
gap> enum[2];
Transformation( [ 61333642 ] )
gap> enum[43];
Transformation( [ 26333217 ] )
gap> enum[1368];
Transformation( [ 21888236 ] )
gap> Position(enum, last);
1368
gap> ForAll([1 .. 2640], x -> Position(enum, enum[x]) = x);
true
gap> for i in enum do od;
gap> AsSet(enum) = AsSSortedList(r);
true
gap> Set(List(AsSSortedList(r), x -> Position(enum, x))) = [1 .. 2640];
true
gap> ForAll(AsSSortedList(r), x -> x in r);
true
gap> s := Semigroup(gens);
<transformation semigroup of degree 8 with 8 generators>
gap> r := RClass(s, Transformation([35223523]));;
gap> r = RClass(s, Transformation([85118518]));
true
gap> enum := Enumerator(r);;
gap> ForAll([1 .. Length(enum)], x -> Position(enum, enum[x]) = x);
true
gap> ForAll(enum, x -> x in enum);
true
gap> AsSet(enum) = AsSSortedList(r);
true
gap> AsList(enum) = AsSSortedList(r);
false
gap> Size(enum);
330
gap> Size(r);
330
gap> ForAll(r, x -> x in enum);
true
gap> rr := RClass(s, Random(r));;
gap> ForAll(rr, x -> x in enum);
true
gap> Set(List(rr, x -> Position(enum, x))) = [1 .. Length(enum)];
true
gap> rr := RClass(s, Transformation([51538157]));
<Green's R-class: Transformation( [ 51538157 ] )>
gap> Transformation([51538157]) in last;
true
gap> ForAny(rr, x -> x in enum);
false
gap> ForAny(rr, x -> not Position(enum, x) = fail);
false
gap> ForAll(rr, x -> Position(enum, x) = fail);
true
gap> f := Transformation([22641632]);;
gap> s := Semigroup(gens);
<transformation semigroup of degree 8 with 8 generators>
gap> r := GreensRClassOfElementNC(s, f);
<Green's R-class: Transformation( [ 22641632 ] )>
gap> Transformation([22641632]) in last;
true
gap> Size(r);
2640
gap> enum := Enumerator(r);
<enumerator of <Green's R-class: Transformation( [ 22641632 ] )>
 >
gap> Transformation([22641632]) in last;
true
gap> enum[1];
Transformation( [ 22641632 ] )
gap> enum[1000];
Transformation( [ 66154126 ] )
gap> Position(enum, last);
1000
gap> ForAll([1 .. 2640], x -> Position(enum, enum[x]) = x);
true
gap> AsSet(enum) = AsSSortedList(r);
true
gap> Set(List(AsSSortedList(r), x -> Position(enum, x))) = [1 .. 2640];
true
gap> ForAll(AsSSortedList(r), x -> x in enum);
true
gap> gens := [Transformation([14111172625510]),
> Transformation([244210511111167])];;
gap> s := Monoid(gens);;
gap> f := Transformation([22771145410106]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 22771145410106 ] )>
gap> Transformation([22771145410106]) in last;
true
gap> AsList(r);;
gap> Size(r);
2520
gap> Length(AsList(r));
2520
gap> ForAll(AsList(r), x -> x in r);
true
gap> gens := [Transformation([2672699115]),
>   Transformation([3142521617]),
>   Transformation([381994105106]),
>   Transformation([47691013662]),
>   Transformation([59109638465]),
>   Transformation([62278821024]),
>   Transformation([6284758358]),
>   Transformation([7143277665]),
>   Transformation([71010179104210]),
>   Transformation([107108875919])];;
gap> s := Semigroup(gens);;
gap> iter := IteratorOfRClasses(s);;
gap> repeat
>   r := NextIterator(iter);
> until IsDoneIterator(iter) or Size(r) > 1000;
gap> r;
<Green's R-class: Transformation( [ 2672699115 ] )>
gap> Transformation([2672699115]) in last;
true
gap> Size(r);
12960
gap> AsList(r);;
gap> ForAll(AsList(r), x -> x in r);
true
gap> gens := [Transformation([1210851512128262]),
> Transformation([561011104101257410]),
> Transformation([6812548107411011])];;
gap> s := Monoid(gens);;
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> for r in iter do if Size(r) > 1000 then break; fi; od;
gap> r;
<Green's R-class: Transformation( [ 221211212212105,
   10 ] )>
gap> Size(r);
2760
gap> AsList(r);;
gap> Length(AsList(r));
2760
gap> s := Monoid(gens);;
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> for r in iter do if Size(r) > 1000 then break; fi; od;
gap> r;
<Green's R-class: Transformation( [ 221211212212105,
   10 ] )>
gap> enum := Enumerator(r);
<enumerator of <Green's R-class: Transformation( [ 2212112122,
   1210510 ] )>>
gap> for i in enum do od;
gap> s := Semigroup([
>  Transformation([1210851512128262]),
>  Transformation([561011104101257410]),
>  Transformation([6812548107411011])]);;
gap> f := Transformation([484848484848]);;
gap> gens := [Transformation([2672699115]),
>   Transformation([3142521617]),
>   Transformation([381994105106]),
>   Transformation([47691013662]),
>   Transformation([59109638465]),
>   Transformation([62278821024]),
>   Transformation([6284758358]),
>   Transformation([7143277665]),
>   Transformation([71010179104210]),
>   Transformation([107108875919])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([2247472722]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 2247472722 ] )>
gap> Size(r);
702
gap> Transformation([8862628288]) in r;
true
gap> Set(Idempotents(r));
[ Transformation( [ 1134341411 ] ),
  Transformation( [ 1136361611 ] ),
  Transformation( [ 1138381811 ] ),
  Transformation( [ 1154541411 ] ),
  Transformation( [ 1156561611 ] ),
  Transformation( [ 1158581811 ] ),
  Transformation( [ 2234342422 ] ),
  Transformation( [ 2236362622 ] ),
  Transformation( [ 2238382822 ] ),
  Transformation( [ 2254542422 ] ),
  Transformation( [ 2256562622 ] ),
  Transformation( [ 2258582822 ] ),
  Transformation( [ 7734347477 ] ),
  Transformation( [ 7736367677 ] ),
  Transformation( [ 7738387877 ] ),
  Transformation( [ 7754547477 ] ),
  Transformation( [ 7756567677 ] ),
  Transformation( [ 7758587877 ] ),
  Transformation( [ 9934349499 ] ),
  Transformation( [ 9936369699 ] ),
  Transformation( [ 9938389899 ] ),
  Transformation( [ 9954549499 ] ),
  Transformation( [ 9956569699 ] ),
  Transformation( [ 9958589899 ] ),
  Transformation( [ 101034341041010 ] ),
  Transformation( [ 101036361061010 ] ),
  Transformation( [ 101038381081010 ] ),
  Transformation( [ 101054541041010 ] ),
  Transformation( [ 101056561061010 ] ),
  Transformation( [ 101058581081010 ] ) ]
gap> gens := [Transformation([1087414101072]),
> Transformation([525591083810])];;
gap> s := Monoid(gens);;
gap> f := Transformation([111088811108]);;
gap> r := RClass(s, f);;
gap> IsRegularGreensClass(r);
true
gap> Set(Idempotents(r));
[ Transformation( [ 2235552235 ] ),
  Transformation( [ 22310101022310 ] ),
  Transformation( [ 2295552295 ] ),
  Transformation( [ 22910101022910 ] ),
  Transformation( [ 8835558835 ] ),
  Transformation( [ 88310101088310 ] ),
  Transformation( [ 8895558895 ] ),
  Transformation( [ 88910101088910 ] ) ]
gap> h := HClass(s, f);;
gap> f := Transformation([5988885585]);;
gap> r := RClass(s, f);;
gap> NrIdempotents(r);
6
gap> IsRegularGreensClass(r);
true
gap> f := Transformation([89333388310]);;
gap> r := RClass(s, f);;
gap> Idempotents(r);;
gap> IsRegularGreensClass(r);
true
gap> gens := [Transformation([2345187627]),
> Transformation([3874143372])];;
gap> s := Monoid(gens);;
gap> f := Transformation([3874143372]);;
gap> r := RClass(s, f);;
gap> IsRegularGreensClass(r);
false
gap> Idempotents(r);
[  ]
gap> NrIdempotents(r);
0
gap> gens := [Transformation([56731428]),
>   Transformation([36857428])];;
gap> s := Semigroup(gens);;
gap> Iterator(s);
<iterator>
gap> iter := last;
<iterator>
gap> for i in [1 .. 10000] do NextIterator(iter); od;
gap> iter := Iterator(s);
<iterator>
gap> j := 0; for i in iter do j := j + 1; od;
0
gap> j;
52300
gap> gens := [
>   Transformation([52327821493633444349481810,
>     3047341353315391937242621647972847,
>     2521502318422640404432745354014]),
>   Transformation([4250537173539352193215211738,
>     284032454532492518504536235101136,
>     205445452445434282153113492820])];;
gap> s := Semigroup(gens);
<transformation semigroup of degree 50 with 2 generators>
gap> f := Transformation([39661725173928285617425,
3225326462828321717517391732525632,
3925286253917171728176661739]);;
gap> r := RClass(s, f);;
gap> r = RClass(s, Transformation([51313452045550503213,
>   4517204020401317135050404545324554540,
>   322013405205013205454545504513131345,
>   5]));
true
gap> Size(r);
30683520
gap> iter := Iterator(r);
<iterator>
gap> for i in [1 .. 100000] do NextIterator(iter); od;
gap> gens := [Transformation([312144111817229515218,
17820101912]),
> Transformation([13185414131112913202021418,
207319])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([1214311418121412141218183,
1831814182]);;
gap> r := RClass(s, f);;
gap> r = RClass(s, Transformation([12143114181214121412,
181831831814182]));
true
gap> NrHClasses(r);
177
gap> GreensHClasses(r);;
gap> Length(HClassReps(r)) = NrHClasses(r);
true
gap> ForAll([1 .. 177], i -> HClassReps(r)[i] in GreensHClasses(r)[i]);
true
gap> gens := [Transformation([2617534]),
>   Transformation([5372164]),
>   Transformation([2553423]),
>   Transformation([1516156]),
>   Transformation([6222512]),
>   Transformation([7544455]),
>   Transformation([5161151]),
>   Transformation([3523223])];;
gap> s := Semigroup(gens);;
gap> Size(s);
21343
gap> f := Transformation([7377773]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 7377773 ] )>
gap> Transformation([2522225]) in last;
true
gap> NrHClasses(r);
21
gap> gens := [Transformation([369147258]),
>   Transformation([369714582]),
>   Transformation([825545528]),
>   Transformation([119116113]),
>   Transformation([922858885])];;
gap> s := Semigroup(gens);;
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> NextIterator(iter);;
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 825545528 ] )>
gap> Transformation([825545528]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 445442448 ] )>
gap> Transformation([445442448]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 488525552 ] )>
gap> Transformation([488525552]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 558855242 ] )>
gap> Transformation([558855242]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 558585422 ] )>
gap> Transformation([558585422]) in last;
true
gap> R := NextIterator(iter);;
gap> R = RClass(s, Transformation([224454422]));
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 888885885 ] )>
gap> Transformation([888885885]) in last;
true
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> NextIterator(iter);;
gap> Representative(last) in s;
true
gap> Size(s);
82953
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 825545528 ] )>
gap> Transformation([825545528]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 445442448 ] )>
gap> Transformation([445442448]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 488525552 ] )>
gap> Transformation([488525552]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 558855242 ] )>
gap> Transformation([558855242]) in last;
true
gap> GreensRClasses(s);;
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> for i in [1 .. 10] do NextIterator(iter); od;
gap> iter2 := IteratorOfRClasses(s);
<iterator>
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 111111111 ] )>
gap> Transformation([111111111]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 855555555 ] )>
gap> Transformation([855555555]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 852455825 ] )>
gap> Transformation([852455825]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 852545258 ] )>
gap> Transformation([852545258]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 582252285 ] )>
gap> Transformation([582252285]) in last;
true
gap> iter1 := IteratorOfRClasses(s);;
gap> iter3 := IteratorOfRClasses(s);;
gap> iter2 := IteratorOfRClasses(s);;
gap> for i in [1 .. 100] do
>   r1 := NextIterator(iter1);
>   r2 := NextIterator(iter2);
>   r3 := NextIterator(iter3);
>   if r1 <> r2 or r2 <> r3 then
>     ErrorNoReturn("Problem in IteratorOfRClasses 1");
>   fi;
> od;
gap> for i in iter1 do od;
gap> IsDoneIterator(iter1);
true
gap> IsDoneIterator(iter2);
false
gap> IsDoneIterator(iter3);
false
gap> GreensDClasses(s);;
gap> for i in [1 .. 100] do
> r2 := NextIterator(iter2);
> r3 := NextIterator(iter3);
> if r2 <> r3 then
>   ErrorNoReturn("Problem in IteratorOfRClasses 2");
> fi;
> od;
gap> iter2;
<iterator>
gap> ShallowCopy(iter2);
<iterator>
gap> iter := last;
<iterator>
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 525884255 ] )>
gap> Transformation([525884255]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 288888588 ] )>
gap> Transformation([288888588]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 288888885 ] )>
gap> Transformation([288888885]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 258888888 ] )>
gap> Transformation([258888888]) in last;
true
gap> NextIterator(iter);
<Green's R-class: Transformation( [ 885522252 ] )>
gap> Transformation([885522252]) in last;
true
gap> iter3 := IteratorOfRClasses(s);
<iterator>
gap> out := [];
[  ]
gap> for i in iter3 do Add(out, i); od;
gap> Length(out);
503
gap> NrRClasses(s);
503
gap> s := Semigroup(gens);
<transformation semigroup of degree 9 with 5 generators>
gap> iter1 := IteratorOfRClasses(s);
<iterator>
gap> for i in iter1 do
> od;
gap> iter1 := IteratorOfRClasses(s);
<iterator>
gap> j := 0;
0
gap> for i in iter1 do
>   j := j + 1;
>   if i <> out[j] then
>     ErrorNoReturn("Problems with IteratorOfRClasses 3");
>   fi;
> od;
gap> s := Semigroup(gens);;
gap> GreensRClasses(s) = out;
true
gap> s := Semigroup(gens);;
gap> f := Transformation([888888888]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 888888888 ] )>
gap> Transformation([111111111]) in last;
true
gap> GreensRClasses(s) = out;
true
gap> s := Semigroup(gens);;
gap> f := Transformation([666464446]);;
gap> f in s;
true
gap> GreensRClasses(s) = out;
true
gap> iter := IteratorOfRClasses(s);
<iterator>
gap> for i in [1 .. 500] do NextIterator(iter); od;
gap> s := Semigroup(gens);;
gap> iter := IteratorOfRClasses(s);;
gap> for i in [1 .. 1000] do NextIterator(iter); od;
gap> iter := ShallowCopy(iter);
<iterator>
gap> out := [];;
gap> for i in iter do Add(out, i); od;
gap> Set(out) = Set(GreensRClasses(s));
true
gap> gens := [Transformation([12543876]),
>   Transformation([16347258]),
>   Transformation([21678345]),
>   Transformation([32361612]),
>   Transformation([52363474])];;
gap> s := Semigroup(gens);
<transformation semigroup of degree 8 with 5 generators>
gap> f := Transformation([25474363]);;
gap> r := RClass(s, f);
<Green's R-class: Transformation( [ 25474363 ] )>
gap> Transformation([25474363]) in last;
true
gap> NrHClasses(r);
12
gap> d := DClass(r);
<Green's D-class: Transformation( [ 25474363 ] )>
gap> Transformation([25474363]) in last;
true
gap> NrHClasses(d);
72
gap> l := LClass(s, f);
<Green's L-class: Transformation( [ 25474363 ] )>
gap> Transformation([25474363]) in last;
true
gap> NrHClasses(l);
6
gap> NrHClasses(s);
1555
gap> gens := [Transformation([465213]),
>   Transformation([632541]),
>   Transformation([124356]),
>   Transformation([356123]),
>   Transformation([536662]),
>   Transformation([232646]),
>   Transformation([212224]),
>   Transformation([441212])];;
gap> s := Semigroup(gens);;
gap> NrRClasses(s);
150
gap> Size(s);
6342
gap> f := Transformation([133135]);;
gap> d := DClass(s, f);
<Green's D-class: Transformation( [ 133135 ] )>
gap> Transformation([242221]) in last;
true
gap> NrRClasses(d);
87
gap> s := Semigroup(Transformation([214563]),
> Transformation([231541]));;
gap> f := Transformation([214563]);;
gap> GreensLClassOfElement(s, f);
<Green's L-class: Transformation( [ 214563 ] )>
gap> Transformation([214563]) in last;
true
gap> s := Semigroup(Transformation([44353]),
> Transformation([51141]),
> Transformation([55445]));;
gap> f := Transformation([45555]);;
gap> SchutzenbergerGroup(DClass(s, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(RClass(s, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(LClass(s, f));
Group([ (4,5) ])
gap> SchutzenbergerGroup(HClass(s, f));
Group([ (4,5) ])
gap> s := FullTransformationSemigroup(8);;
gap> f := Transformation([11234567]);;
gap> Size(s);
16777216
gap> iter := IteratorOfDClasses(s);
<iterator>
gap> d := NextIterator(iter);;
gap> d := NextIterator(iter);
<Green's D-class: Transformation( [ 12345671 ] )>
gap> Transformation([12345671]) in last;
true
gap> r := GreensRClassOfElement(s, f);
<Green's R-class: Transformation( [ 11234567 ] )>
gap> Transformation([11234567]) in last;
true
gap> elts := Elements(r);;
gap> for i in elts do if not i in d then Print("Error 1");fi; od;
gap> rr := GreensRClassOfElement(s, Transformation([11123456]));;
gap> rr = RClass(s, Transformation([11134567]));
true
gap> elts := Elements(rr);; d := DClassOfRClass(rr);;
gap> for i in elts do if not i in d then Print("Error 2");  fi; od;
gap> Sum(List(GreensDClasses(s), Size)); 8 ^ 8;
16777216
16777216
gap> iter := IteratorOfDClassReps(s);
<iterator>
gap> for i in [1 .. 8] do NextIterator(iter); od;
gap> IsDoneIterator(iter);
true
gap> s := FullTransformationSemigroup(10);;
gap> f := Transformation([810856107299]);;
gap> d := GreensDClassOfElementNC(s, f);;  # 1s with NC check efficiency here!
gap> Idempotents(d);;  # 1.3s
gap> NrIdempotents(d);
41160
gap> ForAll(Idempotents(d), IsIdempotent);
true
gap> gens := [Transformation([28371526]),
>   Transformation([35725638]),
>  Transformation([41835735]),
>  Transformation([43456412]),
>  Transformation([54885615]),
>  Transformation([67414162]),
>  Transformation([71222745]),
>  Transformation([88517528])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([52727258]);;
gap> d := GreensDClassOfElementNC(s, f);;
gap> d := GreensDClassOfElement(s, f);;
gap> RClassReps(d);;
gap> NrRClasses(d);
260
gap> s := FullTransformationSemigroup(5);;
gap> f := Transformation([55113]);;
gap> d := GreensDClassOfElement(s, f);;
gap> ForAll(RClassReps(d), x -> x in d);
true
gap> Length(Set(RClassReps(d), x -> RClass(d, x))) = Length(RClassReps(d));
true
gap> gens := [Transformation([28371526]),
>  Transformation([35725638]),
>  Transformation([67414162]),
>  Transformation([88517528])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([11766721]);;
gap> d := GreensDClassOfElement(s, f);
<Green's D-class: Transformation( [ 11766721 ] )>
gap> Transformation([11766721]) in last;
true
gap> RClassReps(d);;
gap> NrRClasses(d);
1728
gap> gens := [Transformation([56731428]),
> Transformation([36857428])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([48876258]);;
gap> r := GreensRClassOfElement(s, f);;
gap> r = RClass(s, Transformation([48876258]));
true
gap> d := DClassOfRClass(r);;
gap> d = DClass(s, Transformation([48876258]));
true
gap> gens := [Transformation([56731428]),
>  Transformation([36857428])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([36857428]);;
gap> r := GreensRClassOfElement(s, f);
<Green's R-class: Transformation( [ 36857428 ] )>
gap> Transformation([36857428]) in last;
true
gap> d := DClassOfRClass(r);
<Green's D-class: Transformation( [ 36857428 ] )>
gap> Transformation([36857428]) in last;
true
gap> R := GreensRClasses(d);
[ <Green's R-class: Transformation( [ 36857428 ] )>,
  <Green's R-class: Transformation( [ 74283568 ] )>,
  <Green's R-class: Transformation( [ 35627848 ] )>,
  <Green's R-class: Transformation( [ 78463258 ] )>,
  <Green's R-class: Transformation( [ 32547688 ] )>,
  <Green's R-class: Transformation( [ 76853428 ] )>,
  <Green's R-class: Transformation( [ 34287568 ] )>,
  <Green's R-class: Transformation( [ 75623848 ] )>,
  <Green's R-class: Transformation( [ 38467258 ] )>,
  <Green's R-class: Transformation( [ 72543688 ] )> ]
gap> Transformation([36857428])
> in RClass(s, Transformation([36857428]));
true
gap> Transformation([74283568])
> in RClass(s, Transformation([74283568]));
true
gap> Transformation([35627848])
> in RClass(s, Transformation([35627848]));
true
gap> Transformation([78463258])
> in RClass(s, Transformation([78463258]));
true
gap> Transformation([32547688])
> in RClass(s, Transformation([32547688]));
true
gap> Transformation([76853428])
> in RClass(s, Transformation([76853428]));
true
gap> Transformation([34287568])
> in RClass(s, Transformation([34287568]));
true
gap> Transformation([75623848])
> in RClass(s, Transformation([75623848]));
true
gap> Transformation([38467258])
> in RClass(s, Transformation([38467258]));
true
gap> Transformation([72543688])
> in RClass(s, Transformation([72543688]));
true
gap> r := R[10];;
gap> HClassReps(r);
[ Transformation( [ 72543688 ] ),
  Transformation( [ 37164288 ] ),
  Transformation( [ 43526788 ] ),
  Transformation( [ 64172388 ] ),
  Transformation( [ 26537488 ] ),
  Transformation( [ 72143688 ] ),
  Transformation( [ 37564288 ] ),
  Transformation( [ 43126788 ] ),
  Transformation( [ 64572388 ] ),
  Transformation( [ 26137488 ] ) ]

# GreensTest2
gap> t := FullTransformationSemigroup(5);;
gap> iter := Iterator(t);
<iterator of semigroup>
gap> for i in iter do od;
gap> IsDoneIterator(iter);
true
gap> iter := ShallowCopy(iter);
<iterator of semigroup>
gap> NextIterator(iter);
Transformation( [ 11111 ] )
gap> NextIterator(iter);
Transformation( [ 11112 ] )
gap> NextIterator(iter);
Transformation( [ 11113 ] )
gap> NextIterator(iter);
Transformation( [ 11114 ] )
gap> NextIterator(iter);
Transformation( [ 1111 ] )
gap> NextIterator(iter);
Transformation( [ 11121 ] )
gap> IsDoneIterator(iter);
false
gap> for i in iter do od;
gap> IsDoneIterator(iter);
true

# GreensTest3: GreensLClassOfElement(D-class, transformation);
gap> gens := [Transformation([28371526]),
>   Transformation([35725638]),
>   Transformation([41835735]),
>   Transformation([43456412]),
>   Transformation([54885615]),
>   Transformation([67414162]),
>   Transformation([71222745]),
>   Transformation([88517528])];;
gap> s := Semigroup(gens);;
gap> f := Transformation([32535333]);;
gap> d := DClass(s, f);;
gap> d = DClass(s, Transformation([81585888]));
true
gap> f := Transformation([64888464]);;
gap> l := LClass(d, f);
<Green's L-class: Transformation( [ 64888464 ] )>
gap> Transformation([68464666]) in last;
true
gap> ll := LClass(s, f);
<Green's L-class: Transformation( [ 64888464 ] )>
gap> Transformation([68464666]) in last;
true
gap> l = ll;
true
gap> ll = l;
true
gap> ll < l;
false
gap> l < ll;
false
gap> Elements(l) = Elements(ll);
true
gap> Size(l); Size(ll);
2256
2256
gap> DClassOfLClass(ll) = DClassOfLClass(l);
true
gap> DClassOfLClass(ll) = d;
true
gap> NrHClasses(l);
376
gap> NrHClasses(ll);
376
gap> HClassReps(l) = HClassReps(ll);
true
gap> NrIdempotents(ll);
109
gap> NrIdempotents(l);
109
gap> IsRegularDClass(d);
true
gap> Size(s);
597369
gap> Set(HClasses(l)) = Set(HClasses(ll));
true

# GreensTest4: GreensHClassOfElement(D-class, transformation);
gap> gens := [Transformation([21453789106]),
> Transformation([12435678910]),
> Transformation([12345610987]),
> Transformation([9143693439])];;
gap> s := Monoid(gens);;
gap> GreensDClasses(s);;
gap> f := Transformation([851058555510]);;
gap> d := DClass(s, f);;
gap> d = DClass(s, Transformation([3934934343]));
true
gap> f := Transformation([6456446645]);;
gap> h := GreensHClassOfElement(d, f);
<Green's H-class: Transformation( [ 6456446645 ] )>
gap> Transformation([6456446645]) in last;
true
gap> hh := HClass(s, f);
<Green's H-class: Transformation( [ 6456446645 ] )>
gap> Transformation([6456446645]) in last;
true
gap> hh = h;
true
gap> h = hh;
true
gap> Elements(h) = Elements(hh);
true
gap> f := Transformation([4888448448]);;
gap> d := DClass(s, f);;
gap> d = DClass(s, Transformation([3434434343]));
true
gap> f := Transformation([4334333344]);;
gap> h := HClass(d, f);
<Green's H-class: Transformation( [ 4334333344 ] )>
gap> Transformation([4334333344]) in last;
true
gap> hh := HClass(s, f);;
gap> hh = h;
true
gap> h = hh;
true
gap> Elements(h) = Elements(hh);
true

# GreensTest5
gap> S := Semigroup(Transformation([3444]),
> Transformation([4312]));;
gap> GreensDClasses(S);
[ <Green's D-class: Transformation( [ 3444 ] )>,
  <Green's D-class: Transformation( [ 4312 ] )>,
  <Green's D-class: Transformation( [ 4444 ] )> ]
gap> GreensHClasses(S);
[ <Green's H-class: Transformation( [ 3444 ] )>,
  <Green's H-class: Transformation( [ 1222 ] )>,
  <Green's H-class: Transformation( [ 4434 ] )>,
  <Green's H-class: Transformation( [ 2212 ] )>,
  <Green's H-class: Transformation( [ 4344 ] )>,
  <Green's H-class: Transformation( [ 2122 ] )>,
  <Green's H-class: Transformation( [ 4443 ] )>,
  <Green's H-class: Transformation( [ 2221 ] )>,
  <Green's H-class: Transformation( [ 4312 ] )>,
  <Green's H-class: Transformation( [ 4444 ] )>,
  <Green's H-class: Transformation( [ 2222 ] )>,
  <Green's H-class: Transformation( [ 3333 ] )>,
  <Green's H-class: Transformation( [ 1111 ] )> ]
gap> GreensLClasses(S);
[ <Green's L-class: Transformation( [ 3444 ] )>,
  <Green's L-class: Transformation( [ 1222 ] )>,
  <Green's L-class: Transformation( [ 4312 ] )>,
  <Green's L-class: Transformation( [ 4444 ] )>,
  <Green's L-class: Transformation( [ 2222 ] )>,
  <Green's L-class: Transformation( [ 3333 ] )>,
  <Green's L-class: Transformation( [ 1111 ] )> ]
gap> GreensRClasses(S);
[ <Green's R-class: Transformation( [ 3444 ] )>,
  <Green's R-class: Transformation( [ 4312 ] )>,
  <Green's R-class: Transformation( [ 4444 ] )>,
  <Green's R-class: Transformation( [ 4434 ] )>,
  <Green's R-class: Transformation( [ 4344 ] )>,
  <Green's R-class: Transformation( [ 4443 ] )> ]
gap> D := GreensDClasses(S)[1];
<Green's D-class: Transformation( [ 3444 ] )>
gap> Transformation([3444]) in D;
true
gap> GreensLClasses(D);
[ <Green's L-class: Transformation( [ 3444 ] )>,
  <Green's L-class: Transformation( [ 1222 ] )> ]
gap> GreensRClasses(D);
[ <Green's R-class: Transformation( [ 3444 ] )>,
  <Green's R-class: Transformation( [ 4434 ] )>,
  <Green's R-class: Transformation( [ 4344 ] )>,
  <Green's R-class: Transformation( [ 4443 ] )> ]
gap> GreensHClasses(D);
[ <Green's H-class: Transformation( [ 3444 ] )>,
  <Green's H-class: Transformation( [ 1222 ] )>,
  <Green's H-class: Transformation( [ 4434 ] )>,
  <Green's H-class: Transformation( [ 2212 ] )>,
  <Green's H-class: Transformation( [ 4344 ] )>,
  <Green's H-class: Transformation( [ 2122 ] )>,
  <Green's H-class: Transformation( [ 4443 ] )>,
  <Green's H-class: Transformation( [ 2221 ] )> ]
gap> R := GreensRClasses(D)[1];
<Green's R-class: Transformation( [ 3444 ] )>
gap> Transformation([3444]) in last;
true
gap> GreensHClasses(R);
[ <Green's H-class: Transformation( [ 3444 ] )>,
  <Green's H-class: Transformation( [ 1222 ] )> ]
gap> Transformation([1222])
> in HClass(R, Transformation([1222]));
true
gap> L := GreensLClasses(D)[1];
<Green's L-class: Transformation( [ 3444 ] )>
gap> Transformation([3444]) in L;
true
gap> GreensHClasses(L);
[ <Green's H-class: Transformation( [ 3444 ] )>,
  <Green's H-class: Transformation( [ 4434 ] )>,
  <Green's H-class: Transformation( [ 4344 ] )>,
  <Green's H-class: Transformation( [ 4443 ] )> ]

# GreensTest6
gap> S := Semigroup(Transformation([3444]),
> Transformation([4312]));;
gap> DClassReps(S);
[ Transformation( [ 3444 ] ), Transformation( [ 4312 ] ),
  Transformation( [ 4444 ] ) ]
gap> HClassReps(S);
[ Transformation( [ 3444 ] ), Transformation( [ 1222 ] ),
  Transformation( [ 4312 ] ), Transformation( [ 4444 ] ),
  Transformation( [ 2222 ] ), Transformation( [ 3333 ] ),
  Transformation( [ 1111 ] ), Transformation( [ 4434 ] ),
  Transformation( [ 2212 ] ), Transformation( [ 4344 ] ),
  Transformation( [ 2122 ] ), Transformation( [ 4443 ] ),
  Transformation( [ 2221 ] ) ]
gap> LClassReps(S);
[ Transformation( [ 3444 ] ), Transformation( [ 1222 ] ),
  Transformation( [ 4312 ] ), Transformation( [ 4444 ] ),
  Transformation( [ 2222 ] ), Transformation( [ 3333 ] ),
  Transformation( [ 1111 ] ) ]
gap> RClassReps(S);
[ Transformation( [ 3444 ] ), Transformation( [ 4312 ] ),
  Transformation( [ 4444 ] ), Transformation( [ 4434 ] ),
  Transformation( [ 4344 ] ), Transformation( [ 4443 ] ) ]
gap> D := GreensDClasses(S)[1];
<Green's D-class: Transformation( [ 3444 ] )>
gap> Transformation([3444]) in last;
true
gap> LClassReps(D);
[ Transformation( [ 3444 ] ), Transformation( [ 1222 ] ) ]
gap> HClassReps(D);
[ Transformation( [ 3444 ] ), Transformation( [ 1222 ] ),
  Transformation( [ 4434 ] ), Transformation( [ 2212 ] ),
  Transformation( [ 4344 ] ), Transformation( [ 2122 ] ),
  Transformation( [ 4443 ] ), Transformation( [ 2221 ] ) ]
gap> RClassReps(D);
[ Transformation( [ 3444 ] ), Transformation( [ 4434 ] ),
  Transformation( [ 4344 ] ), Transformation( [ 4443 ] ) ]
gap> R := GreensRClasses(D)[1];;
gap> HClassReps(R);
[ Transformation( [ 3444 ] ), Transformation( [ 1222 ] ) ]
gap> L := GreensLClasses(D)[1];;
gap> HClassReps(L);
[ Transformation( [ 3444 ] ), Transformation( [ 4434 ] ),
  Transformation( [ 4344 ] ), Transformation( [ 4443 ] ) ]

#
gap> SEMIGROUPS.StopTest();
gap> STOP_TEST("Semigroups package: extreme/greens-acting.tst");

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