aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/coq/nested.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/coq/nested.v b/etc/coq/nested.v
new file mode 100644
index 00000000..db7608ea
--- /dev/null
+++ b/etc/coq/nested.v
@@ -0,0 +1,19 @@
+(*
+ Example nested proof script for testing support of nested proofs.
+*)
+
+Goal (A,B:Prop)(A /\ B) -> (B /\ A).
+ Intros A B H.
+ Induction H.
+ Apply conj.
+ Lemma foo: (A,B:Prop)(A /\ B) -> (B /\ A).
+ Intros A B H.
+ Induction H.
+ Apply conj.
+ Assumption.
+ Assumption.
+ Save.
+ Assumption.
+ Assumption.
+Save and_comms.
+