Debian Codegraph @

test-suite/bugs/bug_3664.v

raw
1 Require Import TestSuite.admit.
2 Module NonPrim.
3 Unset Primitive Projections.
4 Record c := { d : Set }.
5 Definition a x := d x.
6 Goal forall x, a x.
7 intro x.
8 Fail progress simpl. (* [progress simpl] fails correctly *)
9 Fail progress cbn. (* [progress cbn] fails correctly *)
10 admit.
11 Defined.
12 End NonPrim.
13
14 Module Prim.
15 Set Primitive Projections.
16 Record c := { d : Set }.
17 Definition a x := d x.
18 Goal forall x, a x.
19 intro x.
20 Fail progress simpl. (* [progress simpl] fails correctly *)
21 Fail progress cbn. (* [cbn] succeeds incorrectly, giving [d x] *)
22 admit.
23 Defined.
24 End Prim.