Skip to content
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

Merged
merged 16 commits into from
Mar 15, 2024
Merged

Conversation

Jun2M
Copy link
Contributor

@Jun2M Jun2M commented Feb 7, 2024

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.

@james-d-mitchell james-d-mitchell added the new-feature A label for PRs that contain new features label Feb 10, 2024
doc/semicons.xml Outdated Show resolved Hide resolved
Copy link
Collaborator

@james-d-mitchell james-d-mitchell left a 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!

@james-d-mitchell james-d-mitchell added the waiting-for-creator-input A label for issues or PR that are waiting for input from their creator label Mar 13, 2024
@james-d-mitchell james-d-mitchell enabled auto-merge (rebase) March 13, 2024 21:32
@james-d-mitchell
Copy link
Collaborator

@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:

gap-system/gap#5672

@james-d-mitchell james-d-mitchell added Re-run ci Label for PR where the CI should be re-run at some point because there is a failure in a dependency. and removed waiting-for-creator-input A label for issues or PR that are waiting for input from their creator labels Mar 14, 2024
@james-d-mitchell
Copy link
Collaborator

CI re-run after gap-system/gap#5672 closed. Fingers crossed...

@james-d-mitchell james-d-mitchell removed the Re-run ci Label for PR where the CI should be re-run at some point because there is a failure in a dependency. label Mar 15, 2024
@Jun2M
Copy link
Contributor Author

Jun2M commented Mar 15, 2024

The check was not successful because the test for NumberOfLeftCongruences failed? I don't think I touched that code at all..?

@james-d-mitchell
Copy link
Collaborator

Probably just a spurious error, running it again :)

@james-d-mitchell james-d-mitchell merged commit fa9344f into semigroups:main Mar 15, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A label for PRs that contain new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants