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

Removing dependency on mathcomp #30

Closed
raoxiaojia opened this issue Nov 15, 2023 · 2 comments
Closed

Removing dependency on mathcomp #30

raoxiaojia opened this issue Nov 15, 2023 · 2 comments
Assignees

Comments

@raoxiaojia
Copy link
Contributor

As far as I'm aware, only the ssreflect part of mathcomp is used in the repository, which is now meregd into base Coq (as of version 8.18). So it makes sense to remove the dependency on it to avoid dealing with the slightly awkward CeCILL-B license (discovered in #29).

@raoxiaojia raoxiaojia self-assigned this Nov 15, 2023
@palmskog
Copy link

@raoxiaojia looking around the codebase, it's pretty clear that you are using significant pieces of mathcomp-ssreflect that are not in Coq itself. The general idea is that the proof language SSReflect is in Coq, but most theories except for booleans is outside of Coq in MathComp.

Specifically, the theories here are defining canonical structures with decidable equality (eqType) and using MathComp sequences/lists and their notations (seq). This would be work to remove, just to avoid the CECILL-B licensing issues (which are basically only triggered by GPLv2 and GPLv3, which are not common in the Coq ecosystem).

cc: @spitters

@raoxiaojia
Copy link
Contributor Author

raoxiaojia commented Nov 15, 2023

That is true -- I had some thoughts about eqTypes and other things, but haven't realised that their lists (seq) are also not in base Coq. I guess this is too low a priority for now then.

@raoxiaojia raoxiaojia added wontfix This will not be worked on and removed wontfix This will not be worked on labels Nov 15, 2023
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