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

The empty semigroup is not monogenic #567

Conversation

wilfwilson
Copy link
Collaborator

Currently, an empty semigroup is set to be monogenic by an immediate method. But I don't think that it should count as monogenic: its rank isn't 1, and there exists no element inside the empty semigroup that generates the empty semigroup.

I know that we normally avoid empty semigroups, and for certain properties it's probably not very clear whether the empty semigroup has that property. But here I think it's clear so we may as well fix it.

@james-d-mitchell
Copy link
Collaborator

@wilfwilson this seems to cause some of the GAP tests to fail. Any thoughts?

@james-d-mitchell james-d-mitchell added the bug-fix A label for PRs that fix a bug. label Nov 26, 2018
@wilfwilson wilfwilson force-pushed the empty-semigroup-is-not-monogenic branch 2 times, most recently from 8fd0a04 to 7f1b54d Compare November 26, 2018 11:34
@wilfwilson wilfwilson force-pushed the empty-semigroup-is-not-monogenic branch from 7f1b54d to 4cf4d51 Compare November 26, 2018 12:07
@wilfwilson
Copy link
Collaborator Author

@james-d-mitchell the test failures were unrelated to this PR, and were caused by first this gap-system/gap#3052 and then this gap-system/gap#3053 being merged into GAP master. For the first, this caused our testinstall.tst to fail, which I had forgotten to check, whoops. I fixed this by pushing directly to the branch (testinstall: stop printing an empty semigroup). For the second, I knew this PR would break the Semigroups tests, but I had already made the fix in #566 - it just needed to be merged 🙂

So (having changed nothing about this PR), the tests on this should pass now.

@james-d-mitchell
Copy link
Collaborator

Thanks @wilfwilson !

@james-d-mitchell james-d-mitchell merged commit feb7cf2 into semigroups:stable-3.1 Nov 26, 2018
@wilfwilson wilfwilson deleted the empty-semigroup-is-not-monogenic branch November 26, 2018 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix A label for PRs that fix a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants