-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix the compilation warnings #17
Comments
Move the `Require` outside of the `Section`. Concerning issue #17
Fixing the
|
@Columbus240 Are you sure that these hints would behave differently if you just dropped the |
Globals behave the same as their |
Hm, I thought I tried that once and it failed. Will check again. Thanks for pointing that out. |
Note that it's not the case for the |
It seems Lemma foo {X : Type} : 0 = 0.
Admitted.
Lemma bar (X : Type) : 0 = 0.
Admitted.
Fail Hint Rewrite foo : core. (* Cannot infer implicit parameter X of foo whose type is "Type". *)
Hint Rewrite bar : core. Concretely, the first failure appeared on |
Despite the name, |
Edit: In terms of foo: Lemma foo {X : Type} : 0 = 0.
Admitted.
Hint Rewrite @foo : core. (* causes a |
I probably treated the |
This fix is incompatible with coq v8.10. Concerns issue coq-community#17
This fix is incompatible with coq v8.10. Concerns issue coq-community#17
This fix is incompatible with coq v8.10. Concerns issue coq-community#17
The newer coq versions give some compilation warnings about how some hints are defined. (fragile-hint-constr)
Look into that and either disable the warning or follow the recommendation of the warning (declare constants for the hints).
The text was updated successfully, but these errors were encountered: