aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-12 17:57:06 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2002-06-12 17:57:06 +0000
commit6b17247776e8cf3b4b8660631c41279a6c5a7296 (patch)
tree8d93a8e2feeb0d5d4bbc25c5da6d0204473e5b05 /etc/coq
parent0c7da70d41db22be8b627f5dce5f54819e41edea (diff)
Note of another bug
Diffstat (limited to 'etc/coq')
-rw-r--r--etc/coq/nested.v11
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/coq/nested.v b/etc/coq/nested.v
index 975101cd..f0d625b3 100644
--- a/etc/coq/nested.v
+++ b/etc/coq/nested.v
@@ -1,5 +1,11 @@
(* Nested Proofs, and backtrack mechanism in general.
Bugs:
+
+ - Undo of "Require Omega" in proof uses Undo instead of Back.
+ [ coq-count-undos needs fixing to use Back as well as Undo ? ]
+
+======= Below here fixed?
+
- once point 12 is reached, sould have one
block from 3 to 12. With the goalsave test :
OK but the reset command is wrong.
@@ -19,11 +25,14 @@ Require List. (* 2 This needs "Back 1" to be retracted *)
Lemma t1: (n: nat ) {n=O} + {(EX y | n = (S y))}.
(* 3 This needs "Restart" to be retracted if inside the proof, and
-"Reset t1. Back 3." if outside (after point 12). 3 because of the
+"Reset t1. Back 4." if outside (after point 12). 3 because of the
Require and the two lemmas inside the proof. If only "Reset t1", like
with the current version of PG, then t2 and t3 are still in the
environment. Try this with the current version and with my patch *)
+(* da: Back command seems much better behaved than "Reset", which
+ always clears proof state, I think. Should PG always use Back? *)
+
Intros. (* 4 This needs "Undo" to be retracted *)
Case n. (* 5 "Undo" *)
EAuto. (* 6 "Undo" *)