Debian Codegraph @

test-suite/bugs/bug_8270.v

raw
1 (* Don't do zeta in cbn when not asked for *)
2
3 Goal let x := 0 in
4 let y := x in
5 y = 0.
6 (* We use "cofix" as an example because there are obviously no
7 cofixpoints in sight. This problem arises with any set of
8 reduction flags (not including zeta where the lets are of course reduced away) *)
9 cbn cofix.
10 intro x.
11 unfold x at 1. (* Should succeed *)
12 Undo 2.
13 cbn zeta.
14 Fail unfold x at 1.
15 Abort.