diff options
author | David Aspinall <da@inf.ed.ac.uk> | 1999-10-06 17:33:24 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 1999-10-06 17:33:24 +0000 |
commit | 29c93767fd12ff1fd1172ce1aa7b2bc378f77aa6 (patch) | |
tree | 28509865771093d5f3aee5738749de441228ec66 /etc/coq | |
parent | 9e66d4299fcdac8ea7f2e929d4f10b9b31d9a2b4 (diff) |
Test for Unnamed_thm.
Diffstat (limited to 'etc/coq')
-rw-r--r-- | etc/coq/unnamed_thm.v | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/coq/unnamed_thm.v b/etc/coq/unnamed_thm.v new file mode 100644 index 00000000..2bd82b7b --- /dev/null +++ b/etc/coq/unnamed_thm.v @@ -0,0 +1,30 @@ +(* + Test for Unnamed_thm + + $Id$ +*) + +(* Coq calls this "Unamed_thm", so must forget it like any other *) + +(* test: do, undo, then check shell buffer to see "Reset Unnamed_thm" *) + +Goal (A,B:Prop)(and A B) -> (and B A). +Intros A B H. +Induction H. +Apply conj. +Assumption. +Assumption. +Save. + +(* Odd side effect: two unnamed theorems in a row are not possible! *) + +Goal (A,B:Prop)(and A B) -> (and B A). +Intros A B H. +Induction H. +Apply conj. +Assumption. +Assumption. +Save. + + + |