| 1 |
(* Testing remember and co *) |
| 2 |
|
| 3 |
Lemma A : forall (P: forall X, X -> Prop), P nat 0 -> P nat 0. |
| 4 |
intros. |
| 5 |
Fail remember nat as X. |
| 6 |
Fail remember nat as X in H. (* This line used to succeed in 8.3 *) |
| 7 |
Fail remember nat as X. |
| 8 |
Abort. |
| 9 |
|
| 10 |
(* Testing Ltac interpretation of remember (was not working up to r16181) *) |
| 11 |
|
| 12 |
Goal (1 + 2 + 3 = 6). |
| 13 |
let name := fresh "fresh" in |
| 14 |
remember (1 + 2) as x eqn:name. |
| 15 |
rewrite fresh. |
| 16 |
Abort. |
| 17 |
|
| 18 |
(* An example which was working in 8.4 but failing in 8.5 and 8.5pl1 *) |
| 19 |
|
| 20 |
Module A. |
| 21 |
Axiom N : nat. |
| 22 |
End A. |
| 23 |
Module B. |
| 24 |
Include A. |
| 25 |
End B. |
| 26 |
Goal id A.N = B.N. |
| 27 |
reflexivity. |
| 28 |
Qed. |
| 29 |
|