diff options
author | 2017-08-31 12:41:12 +0200 | |
---|---|---|
committer | 2017-08-31 12:41:12 +0200 | |
commit | b8ddc6e8b7788bfdb92ebd5238ca92c633b3e092 (patch) | |
tree | f4338fa301a1d71f4e74eb681c9692591c2423c8 /test-suite/bugs | |
parent | 8f04b4714f2a797b98be4d87866af3d93ecb78b6 (diff) | |
parent | ae43495dee6e3f4ab407a49050ea2546ab6bd428 (diff) |
Merge PR #994: Fix BZ#5245 hnf on projections with simpl never flag
Diffstat (limited to 'test-suite/bugs')
-rw-r--r-- | test-suite/bugs/closed/5245.v | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/5245.v b/test-suite/bugs/closed/5245.v new file mode 100644 index 000000000..77bf169e1 --- /dev/null +++ b/test-suite/bugs/closed/5245.v @@ -0,0 +1,18 @@ +Set Primitive Projections. + +Record foo := Foo { + foo_car : Type; + foo_rel : foo_car -> foo_car -> Prop +}. +Arguments foo_rel : simpl never. + +Definition foo_fun {A B} := Foo (A -> B) (fun f g => forall x, f x = g x). + +Goal @foo_rel foo_fun (fun x : nat => x) (fun x => x). +Proof. +intros x; exact eq_refl. +Undo. +progress hnf; intros; exact eq_refl. +Undo. +unfold foo_rel. intros x. exact eq_refl. +Qed.
\ No newline at end of file |