-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FreeSemilattice constructor #995
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only question I have is should the returned semilattice have 2^n
elements or (2^n) - 1
elements as you've implemented? @Jun2M can you possibly say why you chose this approach?
Otherwise this looks great!
@Jun2M I don't think the CI tests failing are anything to do the changes in your PR, there seems to be an issue with GAP at the moment: |
CI re-run after gap-system/gap#5672 closed. Fingers crossed... |
The check was not successful because the test for NumberOfLeftCongruences failed? I don't think I touched that code at all..? |
Probably just a spurious error, running it again :) |
This pull request adds a new constructor for the FreeSemilattice class. The constructor takes a positive integer as input and creates a FreeSemilattice object based on the specified semigroup type. The constructor supports various semigroup types such as IsFpSemigroup, IsTransformationSemigroup, and IsPartialPermSemigroup. This addition enhances the functionality of the FreeSemilattice class and provides more flexibility in creating semilattices.