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
((_ %/ _) %/ _)%Z
does not typecheck if polydiv is imported
#742
Comments
I thought there would be an intermediate structure between integral domains and fields (such as Euclidean domains) that subsumes these concepts of division operators. However, |
@pi8027 in CoqEAL there are euclidean domains. |
Now I think Notation "m %/ d" := (divz m%Z d%Z) : int_scope. BTW, the following doesn't have the same effect and doesn't work. What is the difference? @proux01 Notation "m %/ d" := (divz m d)
(m in scope int_scope, d in scope int_scope) : int_scope. |
I'm also a bit surprised since |
I guess the difference is between deep scope opening (with |
About the initial issue, maybe |
If |
Apparently because it's overriden by Arguments divz (m d)%ring_scope |
Thanks. That explains the issue! What we need is probably: Arguments divz (m d)%int_scope%ring_scope where my intention is to give priority to |
Also, always opening |
Yes, we should probably add something like |
Arguments divz _%int_scope _%int_scope
does not fix this.I guess we have to wait until Coq 8.14: coq/coq#13965.This one is for abbreviations so unrelated...The text was updated successfully, but these errors were encountered: