| 1 |
Require Import TestSuite.admit. |
| 2 |
(* Check that Goal.hyps and Goal.env are consistent *) |
| 3 |
|
| 4 |
(* This is a shorten variant of the initial bug which raised anomaly *) |
| 5 |
|
| 6 |
Goal forall x : nat, (forall z, (exists y:nat, z = y) -> True) -> True. |
| 7 |
evar nat. |
| 8 |
intros x H. |
| 9 |
apply (H n). |
| 10 |
unfold n. clear n. |
| 11 |
eexists. |
| 12 |
reflexivity. |
| 13 |
Unshelve. |
| 14 |
admit. |
| 15 |
Admitted. |
| 16 |
|
| 17 |
(* Alternative variant which failed but without raising anomaly *) |
| 18 |
|
| 19 |
Goal forall x : nat, True. |
| 20 |
evar nat. |
| 21 |
intro x. |
| 22 |
evar nat. |
| 23 |
assert (H := eq_refl : n0 = n). |
| 24 |
clearbody n n0. |
| 25 |
exact I. |
| 26 |
Unshelve. |
| 27 |
admit. |
| 28 |
Admitted. |