-
Notifications
You must be signed in to change notification settings - Fork 632
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
cbn reduces in the context of the goal's evars #11083
Labels
needs: triage
The validity of this issue needs to be checked, or the issue itself updated.
Comments
Alizter
added
kind: bug
An error, flaw, fault or unintended behaviour.
needs: triage
The validity of this issue needs to be checked, or the issue itself updated.
labels
Sep 29, 2021
Relevant code: Lines 833 to 835 in f81225b
|
Maybe we could reduce evar arguments with delta of the proof context off? Or maybe it would be enough to reduce only the non-identity parts of the instance?
I don't ever expect anyone to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the problem
The following program does not terminate (it allocates until it crashes):
Goal (0 = 0). pose (Nat.pow 2 30). etransitivity. clear. cbn.
This is because cbn reduces the context of the evars that appear in the goal in addition to the goal itself:
Is that on purpose? (simpl doesn't do that) Don't we expect users to run
instantiate (1 := ltac:(cbn in * )).
for that instead?I came across this while porting some code from 8.4 to 8.9; I changed some
simpl
s tocbn
s and everything blew up.Coq Version
8.9.1.
The text was updated successfully, but these errors were encountered: