-
Notifications
You must be signed in to change notification settings - Fork 234
Support for Rocq/Coq 9.0 #547
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
Open
xavierleroy
wants to merge
8
commits into
master
Choose a base branch
from
coq-9.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Works around a strange link-time inconsistency in some cases.
For compatibility with Rocq 9.0.
New Flocq require >= 8.15. Coq 9.0 is supported. Warn if Rocq is installed but not Coq.
Coq is now able to extract empty Coq types to empty OCaml types. This triggers a "unused-case" warning on pattern-matches involving the `BI_platform` constructor of argument `platform_builtin`, since the type `platform_builtin` is empty for RISC-V. This commit simply turns warning "unused-case" (56) off for extracted files. Note that "unused-case" warning is triggered by pattern-matching cases that are not reachable for reasons of types. It concerns mainly GADTs. The classic, non-type based "redundant-case" warning (11) is still active.
Rocq 9.0 wants `From Stdlib`, but Coq 8 understands `From Coq`. Changing `From Coq` to `From Stdlib` later will be easy.
CI action |
The docker situation was resolved (thanks @erikmd !), so the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds basic support for the Rocq prover version 9.0.
We still use the
coqc
,coqtop
, etc, command-line tools, relying on the Coq 9.0 compatibility layer.The main change is the explicit prefixing of imports from the standard library with
From Coq
. At some later point this will becomeFrom Stdlib
, but right now this would break compatibility with Coq 8.