aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/lego
diff options
context:
space:
mode:
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);
+