semigroups / Semigroups

The GAP package Semigroups
https://semigroups.github.io/Semigroups/
Other
24 stars 36 forks source link

IsLTrivial for finite finitely presented monoids #145

Closed james-d-mitchell closed 7 years ago

james-d-mitchell commented 8 years ago

Originally reported by: Nicolas M. Thiéry (Bitbucket: nthiery, GitHub: nthiery)


Let's create the 0-Hecke monoid as a finitely presented monoid:

gap> LoadPackage("semigroups");
gap> M := FreeMonoid(2);
gap> m1 := M.1; m2 := M.2;
gap> H := M / [ [ m1^2, m1], [m2^2, m2], [m1*m2*m1, m2*m1*m2]];
gap> IsFinite(H);
true
gap> Size(H);
6
gap> JClasses(H);
[ {m1*m2*m1}, {m2*m1}, {m1}, {m1*m2}, {m2}, {<identity ...>} ]

This is all very nice!

Which makes the missing bit unexpected:

gap> IsLTrivial(H);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 2nd choice method found for `IsLTrivial' on 1 arguments called from
<function "HANDLE_METHOD_NOT_FOUND">( <arguments> )
 called from read-eval loop at line 12 of *stdin*
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue

james-d-mitchell commented 8 years ago

Original comment by Nicolas M. Thiéry (Bitbucket: nthiery, GitHub: nthiery):


Thanks!

james-d-mitchell commented 8 years ago

Original comment by James Mitchell (Bitbucket: james-d-mitchell, GitHub: james-d-mitchell):


This is fixed in the 3.0-dev branch and so this issue will be resolved when we release 3.0.

james-d-mitchell commented 7 years ago

This is resolved so I'm going to close the issue.