-
Notifications
You must be signed in to change notification settings - Fork 134
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
Specification of div seems to be incorrect #2285
Labels
Comments
This specification was written for div on Reals this is why the filename has Real. If I recall correctly, there was a different one for the integer division. |
but it seems to be instantiated only with types that need integer division.
|
Good catch @facundominguez !!! Specifically the clause on line 27
Is wrong: the output is only < x if 0 < x We should have quickchecked these specs! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following example doesn't go well
It passes verification, but then fails to terminate.
I think the problem might be that the specification of
div
uses real division where integer division is expected.The text was updated successfully, but these errors were encountered: