-
Notifications
You must be signed in to change notification settings - Fork 260
Define IsUnitalMagma and IsQuasigroup
#1501
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
Conversation
|
Hi @Akshobhya1234, thank you for the PR! Got a few comments:
|
|
Oh and and you'll need to run |
IsUnitalMagma and IsQuasigroup
IsUnitalMagma and IsQuasigroupIsUnitalMagma , IsQuasigroup and IsLoop
|
Hi @Akshobhya1234, maybe let's just stick with I see that you have carried out points 1. and 3. from review, thanks! Do you know what to do for point 2.? |
Hi @MatthewDaggitt I am not sure about point 2. I will remove IsLoop for this PR. |
IsUnitalMagma , IsQuasigroup and IsLoopIsUnitalMagma and IsQuasigroup
|
@Akshobhya1234 apologies for the delay in replying. Had a paper deadline last week and this slipped off my radar. What I mean by point 2. is that you will need to construct the new structures you've added in larger structures that contain those structures. For example, look at how agda-stdlib/src/Algebra/Structures.agda Lines 129 to 138 in 28cdb06
In the same way you should make it so Does that make sense? |
|
@MatthewDaggitt Thank you for the specific example. I will look into it. However I see that it is indeed a quadratic problem. I will try to come up with something at the earliest. |
|
I don't really have additional comments beyond @MatthewDaggitt -- when are you going to complete the changes that were asked? |
@JacquesCarette apologies for the delay. I will try and complete it by next week. |
|
@MatthewDaggitt Kindly let me know if I am missing something. If I open isUnitalMagma in IsMonoid using isMagma, then, in MonoidMonomorphism I get this error "Cannot resolve overloaded projection isMagma because it is not applied to a visible argument when checking that the expression M.isMagma has type IsMagma ≈₂ ◦" So I didn't do it as it will fail the make test. |
|
Thanks, that looks good! I've made a few minor tweaks, and if the tests pass then I'll merge it in.
Yes, you don't want to reopen |
|
Tests are passing so merging in! Thanks for the PR @Akshobhya1234, sorry it's taken so long. Hopefully we'll get any future ones you make merged in quicker. |
Uh oh!
There was an error while loading. Please reload this page.