From 35a4196e8527da12ac63fb361211d138de8f62af Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 2 Jul 2019 09:34:55 +0000 Subject: [Pretyping] Do not use the stale evarmap (in thin_evars) Fixes #10300 and #10285. --- test-suite/bugs/closed/bug_10300.v | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test-suite/bugs/closed/bug_10300.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_10300.v b/test-suite/bugs/closed/bug_10300.v new file mode 100644 index 0000000000..374c2cf967 --- /dev/null +++ b/test-suite/bugs/closed/bug_10300.v @@ -0,0 +1,14 @@ +Set Implicit Arguments. + +Definition hprop := nat -> Prop. + +Definition himpl := fun H1 H2 : hprop => forall (h : nat), H1 h -> H2 h. + +Parameter himpl_refl : forall H : hprop, himpl H H. + +Parameter hstar : hprop -> hprop -> hprop. + +Parameter hpure : hprop. + +Lemma test : (forall (H:hprop), himpl (hstar H H) hpure -> True) -> True. +Proof. intros M. eapply M. apply himpl_refl. Abort. -- cgit v1.2.3