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

Discrepency in monoids constraint on Semigroups, Monoids and Groups tutorial #607

Closed
N-J-Martin opened this issue Nov 9, 2023 · 2 comments

Comments

@N-J-Martin
Copy link
Contributor

I have been updating the Semigroups, Monoids and Groups google notebook tutorial, here, to use the latest conjure version (Version 9) as described by Issue #597 . However I noticed that when describing monoids, it says there has to be some element of the semigroup, e, that acts as an identity such that for all integers i and a function R,
R(i,e) = R(e,i) = e.

However what the example code shows is:
R((e,i)) = i /\ R((i,e)) = i.

Here, the e in the described constraint is replaced by i in the constraint actually used. They seem to be saying two different things. This discrepancy is also present in the original tutorial here.

As you wrote the original tutorial @ChrisJefferson (I can't seem to tag Alice Lynch) I was wondering if you could confirm the intention here?

Thank you!

@ChrisJefferson
Copy link
Collaborator

ChrisJefferson commented Nov 10, 2023 via email

@N-J-Martin
Copy link
Contributor Author

Thank you! That make a lot more sense now and helps a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants