aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/lego
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1999-11-13 13:52:52 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1999-11-13 13:52:52 +0000
commit18de9e47c089594762123ef8f9a80428aba7eef8 (patch)
tree7525ac19c5f5f00275f87126efea6268b1e4054e /etc/lego
parent2b2a5250ea25f2ebd841fbb552f06d6a97fa8772 (diff)
Test case
Diffstat (limited to 'etc/lego')
-rw-r--r--etc/lego/unsaved-goals.l23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/lego/unsaved-goals.l b/etc/lego/unsaved-goals.l
new file mode 100644
index 00000000..55275eca
--- /dev/null
+++ b/etc/lego/unsaved-goals.l
@@ -0,0 +1,23 @@
+(*
+ test case for closing off unsaved goals:
+ P.G. should close Goal->Immed even though there
+ is no Save. Pred definition should not be
+ part of closed region
+ (test with undoing and redoing)
+*)
+
+
+
+Module unsaved Import lib_logic;
+
+Goal {A,B:Prop}(and A B) -> (and B A);
+intros;
+Refine H;
+intros;
+andI;
+Immed;
+
+[Pred = [s:Type]s->Prop];
+
+Goal {A,B:Prop}(and A B) -> (and B A);
+