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

Update for Coq v8.19, drop support of v8.15 and earlier #47

Closed
wants to merge 4 commits into from

Conversation

Columbus240
Copy link
Collaborator

@Columbus240 Columbus240 commented Aug 6, 2024

Coq v8.19 dropped the old & deprecated stdlib sections concerning Even
and Odd. The new definitions that need to be used are only available
since Coq v8.16. So support for these needs to be dropped or the
relevant sections would need to be backported to Coq v8.12 to v8.15.

Coq v8.16 was released in September 2022 and according to
https://repology.org/project/coq/versions most major distributions have
at least v8.16 available.

Problem: Hydra-battles uses zorns-lemma as a dependency and currently
supports from v8.14 onwards. A new release of zorns-lemma would force
hydra-battles to upgrade as well.

The problematic parts of the stdlib are only used in coq-topology but not
in coq-zorns-lemma. So it would be possible to only drop support for
versions < v8.16 in coq-topology and keep the other versions in
coq-zorns-lemma. But this would require changes in the
GitHub-Workflows which I don't yet know how to do.

@Columbus240
Copy link
Collaborator Author

The current failure of the CI with v8.19 is due to rate limiting of the CI. The failures with <= v8.15 are due to the definitions of Even/Odd.

@Columbus240 Columbus240 changed the title Update for Coq v8.19 Update for Coq v8.19, drop support of v8.15 and earlier Aug 6, 2024
The changes in the stdlib regarding `Nat` broke some proofs.
Coq v8.19 dropped the old & deprecated stdlib sections concerning `Even`
and `Odd`. The new definitions that need to be used are only available
since Coq v8.16. So support for these needs to be dropped or the
relevant sections would need to be backported to Coq v8.12 to v8.15.

Coq v8.16 was released in September 2022 and according to
https://repology.org/project/coq/versions most major distributions have
at least v8.16 available.

Problem: Hydra-battles uses zorns-lemma as a dependency and currently
supports from v8.14 onwards. A new release of zorns-lemma would force
hydra-battles to upgrade as well.

The problematic parts of the stdlib are only used in `coq-topology` but not
in `coq-zorns-lemma`. So it would be possible to only drop support for
versions < v8.16 in `coq-topology` and keep the other versions in
`coq-zorns-lemma`. But this would require changes in the
GitHub-Workflows which I don't yet know how to do.
@Columbus240
Copy link
Collaborator Author

I pushed such changes directly to master.

@Columbus240 Columbus240 deleted the Fix_for_8.19 branch August 12, 2024 10:33
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

Successfully merging this pull request may close these issues.

1 participant