aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa/Example.ML
diff options
context:
space:
mode:
authorGravatar Makarius Wenzel <makarius@sketis.net>1999-09-22 15:04:35 +0000
committerGravatar Makarius Wenzel <makarius@sketis.net>1999-09-22 15:04:35 +0000
commitf7effc5e138ecedac5074a31d17b498d37d51f7b (patch)
treedb50d649ad27ec8f1a3cb610292d48e837b5d479 /isa/Example.ML
parent94b2d0305ad6caed4893e6da0ed83b5be8061fb4 (diff)
tuned example according to Isabelle style-guide;
Diffstat (limited to 'isa/Example.ML')
-rw-r--r--isa/Example.ML13
1 files changed, 13 insertions, 0 deletions
diff --git a/isa/Example.ML b/isa/Example.ML
new file mode 100644
index 00000000..929c7ad8
--- /dev/null
+++ b/isa/Example.ML
@@ -0,0 +1,13 @@
+(*
+ Example proof script for Isabelle Proof General.
+
+ $Id$
+*)
+
+Goal "A & B --> B & A";
+by (rtac impI 1);
+by (etac conjE 1);
+by (rtac conjI 1);
+by (assume_tac 1);
+by (assume_tac 1);
+qed "and_comms";